<html><head></head><body><div>BugLink: <a href="https://bugs.launchpad.net/bugs/2018282">https://bugs.launchpad.net/bugs/2018282</a></div><div><br></div><div>SRU Justification:</div><div><br></div><div>[Impact]</div><div>Adding support for TGPIO for Intel Raptor Lake platform</div><div><br></div><div>[Fix]</div><div>This is a series of patches to add support for TGPIO for the Intel Raptor Lake platform</div><div><br></div><div><br></div><div>[Test Plan]</div><div>I've performed some testing Raptor Lake, and the QA team, and Intel will be performing more thorough testing once a kernel with this support is available in an IOTG image.</div><div><br></div><div>[Where problems could occur]</div><div>This is a backport from a 5.19 kernel. Most of the patches had some minor context changes, but there were no major changes required. There is a chance that the behaviour has changed for previous platforms and the existing functionality is altered. I believe this is not likely, as most of the patches seem to be extending functionality, rather than changing the flow of existing code for the most part.</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: "Noto Sans"; font-size: 14.666667px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0px; text-decoration: none;"><br></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: "Noto Sans"; font-size: 14.666667px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0px; text-decoration: none;">----------------------------------------------------------------</div><br class="Apple-interchange-newline"><div>The following changes since commit eee29863cc23b88440594cf17517ce648fe02ec1:</div><div><br></div><div> UBUNTU: Ubuntu-intel-iotg-5.15.0-1029.34 (2023-04-28 06:39:34 -0400)</div><div><br></div><div>are available in the Git repository at:</div><div><br></div><div> git://git.launchpad.net/~philcox/+git/kreview philcox/lp2018282</div><div><br></div><div>for you to fetch changes up to 0867f73de4129190d732e13e52330a2009a221cf:</div><div><br></div><div> ptp: Enable preempt if it is disabled (2023-05-02 11:18:34 +0200)</div><div><br></div><div>----------------------------------------------------------------</div><div>Christopher Hall (1):</div><div> Kernel Argument Bypassing ART Detection</div><div><br></div><div>D, Lakshmi Sowjanya (3):</div><div> ptp: tgpio: PSE TGPIO crosststamp, counttstamp</div><div> ptp: S/W workaround for PMC TGPIO h/w bug</div><div> ptp: Fix for PSE TGPIO Oneshot output and counttstamp</div><div><br></div><div>Hao Li (2):</div><div> tgpio: Fix compilation errors for PSE TGPIO</div><div> drivers/ptp: Add COMPV GPIO Mode for PSE TGPIO</div><div><br></div><div>Lakshmi Sowjanya D (4):</div><div> ptp: Fix for PSE TGPIO frequency Adjustment issue</div><div> ptp: Add PTP_EVENT_COUNTER_MODE in v1 valid flags</div><div> tools: testptp: Update period for periodic output mode</div><div> ptp: Enable preempt if it is disabled</div><div><br></div><div>Padmasanan, Prathisna (1):</div><div> GPIO: Fix for PSE GPIO generating only one event as interrupt source</div><div><br></div><div>Pandith N (1):</div><div> TGPIO: Calling power management calls without entering critical section.</div><div><br></div><div>Rajvi Jingar (6):</div><div> Added TGPIO pin check before input event read</div><div> Added an Example to adjust frequency for output</div><div> Added single-shot output mode support for TGPIO</div><div> Added an example to poll for edges</div><div> Added support to get TGPIO/System Clock Offset</div><div> Added single-shot output mode option for TGPIO pin</div><div><br></div><div>Raymond Tan (1):</div><div> mfd: intel-ehl-gpio: Introduce MFD framework to PSE GPIO/TGPIO</div><div><br></div><div>Tamal Saha (1):</div><div> TGPIO: Fix PSE TGPIO PTP driver ioctls fail</div><div><br></div><div>Tan, Raymond (1):</div><div> selftests: ptp: Added COMPV GPIO Input Mode for TGPIO</div><div><br></div><div>hkoayx (1):</div><div> ptp: Introduce PTP_PINDESC_INPUTPOLL for Intel PMC TGPIO</div><div><br></div><div> arch/x86/include/asm/tsc.h | 2 +</div><div> arch/x86/kernel/tsc.c | 106 ++++++++++++++++---</div><div> drivers/gpio/Kconfig | 11 ++</div><div> drivers/gpio/Makefile | 1 +</div><div> drivers/gpio/gpio-ehl-pse-plat.c | 493 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</div><div> drivers/mfd/Kconfig | 12 +++</div><div> drivers/mfd/Makefile | 1 +</div><div> drivers/mfd/intel-ehl-gpio.c | 248 +++++++++++++++++++++++++++++++++++++++++++++</div><div> drivers/ptp/Kconfig | 11 ++</div><div> drivers/ptp/Makefile | 1 +</div><div> drivers/ptp/ptp-intel-pmc-tgpio.c | 26 ++++-</div><div> drivers/ptp/ptp-intel-tgpio-plat.c | 759 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</div><div> drivers/ptp/ptp_chardev.c | 6 +-</div><div> include/uapi/linux/ptp_clock.h | 2 +</div><div> tools/testing/selftests/ptp/testptp.c | 213 +++++++++++++++++++++++++++++++++++----</div><div> 15 files changed, 1857 insertions(+), 35 deletions(-)</div><div> create mode 100644 drivers/gpio/gpio-ehl-pse-plat.c</div><div> create mode 100644 drivers/mfd/intel-ehl-gpio.c</div><div> create mode 100644 drivers/ptp/ptp-intel-tgpio-plat.c</div><div><a href="mailto:philcox@cox">philcox@cox</a>:~/build/ubuntu/jammy-intel-iotg (philcox/lp2018282)$ </div><div><br></div><div><span></span></div></body></html>