mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] platform: arm64: huawei-gaokun-ec: Fix short transfers and PAN ACK masks
@ 2026-11-28  9:06 YoungJoon Lee
  2026-11-28  9:06 ` [PATCH v2 1/2] platform: arm64: huawei-gaokun-ec: Reject short I2C transfers YoungJoon Lee
  2026-11-28  9:06 ` [PATCH v2 2/2] platform: arm64: huawei-gaokun-ec: Validate the PAN ACK bit index YoungJoon Lee
  0 siblings, 2 replies; 3+ messages in thread
From: YoungJoon Lee @ 2026-11-28  9:06 UTC (permalink / raw)
  To: mitltlatltl, hansg, ilpo.jarvinen
  Cc: bryan.odonoghue, platform-driver-x86, linux-kernel

These two fixes address short I2C transfers and PAN ACK mask
construction in the Huawei MateBook E Go EC driver.

Changes in v2:
- Patch 1 is unchanged.
- Patch 2 validates against the two physical connectors, as suggested
  by Pengyu Luo. The no-port-update sentinel still sends a zero mask.

An I2C stub and UBSan verified the empty ACK, both valid masks,
rejection of invalid indices without an I2C transfer, and short
transfer handling. The series builds as an arm64 Image and EC module.

OpenAI Codex assisted with source inspection, regression testing and
drafting.

Lee Youngjoon (2):
  platform: arm64: huawei-gaokun-ec: Reject short I2C transfers
  platform: arm64: huawei-gaokun-ec: Validate the PAN ACK bit index

 drivers/platform/arm64/huawei-gaokun-ec.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)


base-commit: d4000e7b99e06e92f21a3c92098a0476d316e9d6
-- 
2.53.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-28  9:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-28  9:06 [PATCH v2 0/2] platform: arm64: huawei-gaokun-ec: Fix short transfers and PAN ACK masks YoungJoon Lee
2026-11-28  9:06 ` [PATCH v2 1/2] platform: arm64: huawei-gaokun-ec: Reject short I2C transfers YoungJoon Lee
2026-11-28  9:06 ` [PATCH v2 2/2] platform: arm64: huawei-gaokun-ec: Validate the PAN ACK bit index YoungJoon Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®