[V2,0/2] add platform check in event manager driver

Message ID 20231219055025.27570-1-jay.buddhabhatti@amd.com
Headers
Series add platform check in event manager driver |

Message

Buddhabhatti, Jay Dec. 19, 2023, 5:50 a.m. UTC
  Some error event IDs for Versal and Versal NET are different.
Both the platforms should access their respective error event
IDs so use sub_family_code to check for Versal or Versal NET
platform and check error IDs for respective platforms.

V1: https://lore.kernel.org/lkml/20231218094009.13528-1-jay.buddhabhatti@amd.com/
Changes in v2:
 - Fixed compilation error in edac driver

Jay Buddhabhatti (2):
  firmware: xilinx: Export function to use in other module
  drivers: soc: xilinx: add check for platform

 drivers/edac/versal_edac.c              |  4 ++--
 drivers/firmware/xilinx/zynqmp.c        |  3 ++-
 drivers/soc/xilinx/xlnx_event_manager.c | 25 ++++++++++++++++++++-----
 include/linux/firmware/xlnx-zynqmp.h    | 22 ++++++++++++++++++----
 4 files changed, 42 insertions(+), 12 deletions(-)