summaryrefslogtreecommitdiff
path: root/include/linux/coreboot.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-05-01 04:50:19 +0300
committerJakub Kicinski <kuba@kernel.org>2026-05-01 04:50:19 +0300
commit85da3965df5e6f1e1c48d2c435e140c5b66625ef (patch)
tree146a63ec56a5d451fd21558c1b97890f01baf0b1 /include/linux/coreboot.h
parent75df490c9e8457990c8b227650f6491218ce018b (diff)
parentbc968f61bf0ad4f085559e5e3d168105fdf88204 (diff)
downloadlinux-85da3965df5e6f1e1c48d2c435e140c5b66625ef.tar.xz
Merge branch 'octeontx2-af-npc-cn20k-mcam-fixes'
Ratheesh Kannoth says: ==================== octeontx2-af: npc: cn20k: MCAM fixes This series tightens Marvell OcteonTX2 AF NPC support for CN20K silicon around MCAM key typing, optional debugfs setup, defrag allocation rollback, defrag entry relocation bookkeeping, logical MCAM clear and programming, default-rule index handling with explicit teardown, and NIXLF reserved-slot lookup when default rules are missing. Patches 1 through 3 focus on AF error handling: propagate npc_mcam_idx_2_key_type() failures through cn20k MCAM enable, config, copy, and read paths; treat cn20k NPC debugfs nodes as optional so probe does not fail when debugfs is unavailable; and fix defrag MCAM allocation rollback so allocation errno is not overwritten during subbank index resolution. Patch 4 fixes npc_defrag_move_vdx_to_free(): when an MCAM line is moved to a new physical index, move entry2target_pffunc[] association to the new slot, clear the old slot, and retarget the matching mcam_rules entry so software state matches hardware after defrag. Patches 5 through 7 refine cn20k MCAM programming: clear entries using the logical MCAM index and resolved key width, fix bank/CFG sequencing in npc_cn20k_config_mcam_entry(), and read action metadata from the correct bank in npc_cn20k_read_mcam_entry(). Patches 8 through 10 complete default-rule lifecycle handling: initialize default-rule index outputs eagerly, tear down reserved default MCAM rules explicitly (coordinated with npc_mcam_free_all_entries()), and reject USHRT_MAX sentinel indices from npc_get_nixlf_mcam_index() on cn20k. ==================== Link: https://patch.msgid.link/20260429022722.1110289-1-rkannoth@marvell.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/coreboot.h')
0 files changed, 0 insertions, 0 deletions