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

From: Jay Buddhabhatti
Date: Tue Dec 19 2023 - 00:50:59 EST


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@xxxxxxx/
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(-)

--
2.17.1