Re: [PATCH v4] Documentation: tpm_tis

2024-03-22 Thread Daniel P. Smith
Hi Jarkko, On 3/22/24 08:35, Jarkko Sakkinen wrote: Based recent discussions on LKML, provide preliminary bits of tpm_tis_core dependent drivers. Includes only bare essentials but can be extended later on case by case. This way some people may even want to read it later on. Cc: Jonathan Corbet

Re: [PATCH v4] Documentation: tpm_tis

2024-03-22 Thread Jakub Kicinski
On Fri, 22 Mar 2024 14:35:36 +0200 Jarkko Sakkinen wrote: > +TCG PTP Specification defines two interface types: FIFO and CRB. The former > is Could be worth spelling out the PTP part here, I'm guessing get_maintainer made you CC netdev because it thought it stands for Precision Time Protocol. And

Re: [PATCH v3 1/2] Documentation: coding-style: ask function-like macros to evaluate parameters

2024-03-22 Thread Mark Brown
On Fri, Mar 22, 2024 at 09:49:36PM +1300, Barry Song wrote: > The driver code, for itself, seems be quite innocent and placing > maybe_unused seems pointless, > > struct page *dst_page = sg_page(req->dst); > > for (i = 0; i < nr_pages; i++) > flush_dcache_page(dst_page + i); > > And it

[PATCH v4] Documentation: tpm_tis

2024-03-22 Thread Jarkko Sakkinen
Based recent discussions on LKML, provide preliminary bits of tpm_tis_core dependent drivers. Includes only bare essentials but can be extended later on case by case. This way some people may even want to read it later on. Cc: Jonathan Corbet CC: Daniel P. Smith Cc: Lino Sanfilippo Cc: Jason Gu

[PATCH] Documentation: embargoed-hardware-issues.rst: Add myself for Power

2024-03-22 Thread Michael Ellerman
Unfortunately Anton has left IBM. Add myself as the contact for Power, until someone else volunteers. Signed-off-by: Michael Ellerman --- Documentation/process/embargoed-hardware-issues.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/process/embargoed-hardwa

[PATCH v3 2/2] scripts: checkpatch: Check unused parameters for function-like macro

2024-03-22 Thread Barry Song
From: Xining Xu If function-like macros do not utilize a parameter, it might result in a build warning. In our coding style guidelines, we advocate for utilizing static inline functions to replace such macros. This patch verifies compliance with the new rule. For a macro such as the one below,

[PATCH v3 1/2] Documentation: coding-style: ask function-like macros to evaluate parameters

2024-03-22 Thread Barry Song
From: Barry Song Recent commit 77292bb8ca69c80 ("crypto: scomp - remove memcpy if sg_nents is 1 and pages are lowmem") leads to warnings on xtensa and loongarch, In file included from crypto/scompress.c:12: include/crypto/scatterwalk.h: In function 'scatterwalk_pagedone': include/crypto/

[PATCH v3 0/2] codingstyle: avoid unused parameters for a function-like macro

2024-03-22 Thread Barry Song
From: Barry Song A function-like macro could result in build warnings such as "unused variable." This patchset updates the guidance to recommend always using a static inline function instead and also provides checkpatch support for this new rule. Barry Song (1): Documentation: coding-style: a