[PATCH -next 0/2] Add i2c arbitration support for new SoCs

Jan Dabros posted 2 patches 3 years, 6 months ago
arch/x86/include/asm/amd_nb.h               |   1 +
arch/x86/kernel/amd_nb.c                    |   3 +-
drivers/i2c/busses/i2c-designware-amdpsp.c  | 199 +++++++++++++-------
drivers/i2c/busses/i2c-designware-core.h    |   1 -
drivers/i2c/busses/i2c-designware-platdrv.c |   1 -
5 files changed, 134 insertions(+), 71 deletions(-)
[PATCH -next 0/2] Add i2c arbitration support for new SoCs
Posted by Jan Dabros 3 years, 6 months ago
This patchset comprises changes into i2c-designware-amdpsp.c module
which aims to add support for new SoCs, while keep backward
compatibility with Cezanne platforms.

Beside new algorithm introduced for the PSP-x86 communication, it also
switches from MSR/MMIO access to SMN (System Management Network) since
only the latter is working on both old new revisions of SoCs.

Jan Dabros (2):
  i2c: designware: Switch from using MMIO access to SMN access
  i2c: designware: Add support for new SoCs in AMDPSP driver

 arch/x86/include/asm/amd_nb.h               |   1 +
 arch/x86/kernel/amd_nb.c                    |   3 +-
 drivers/i2c/busses/i2c-designware-amdpsp.c  | 199 +++++++++++++-------
 drivers/i2c/busses/i2c-designware-core.h    |   1 -
 drivers/i2c/busses/i2c-designware-platdrv.c |   1 -
 5 files changed, 134 insertions(+), 71 deletions(-)

-- 
2.37.3.968.ga6b4b080e4-goog
Re: [PATCH -next 0/2] Add i2c arbitration support for new SoCs
Posted by Andy Shevchenko 3 years, 6 months ago
On Fri, Sep 16, 2022 at 03:18:52PM +0200, Jan Dabros wrote:
> This patchset comprises changes into i2c-designware-amdpsp.c module
> which aims to add support for new SoCs, while keep backward
> compatibility with Cezanne platforms.
> 
> Beside new algorithm introduced for the PSP-x86 communication, it also
> switches from MSR/MMIO access to SMN (System Management Network) since
> only the latter is working on both old new revisions of SoCs.

Which one is better performance/energy/etc wise? If it's not the SMN,
can we keep better in place?

-- 
With Best Regards,
Andy Shevchenko