[PATCH net-next v2 2/2] selftests: net: add new ioam tests

2024-10-02 Thread Justin Iurman
This patch re-adds the (updated) ioam selftests with support for the tunsrc feature. Signed-off-by: Justin Iurman --- tools/testing/selftests/net/Makefile |2 + tools/testing/selftests/net/config |1 + tools/testing/selftests/net/ioam6.sh | 1683

[PATCH net-next v2 0/2] selftests: net: ioam: add tunsrc support

2024-10-02 Thread Justin Iurman
is one of the changes in this patch (see the description of the topology at the top of ioam6.sh for explanations). Another change is that all IPv6 addresses used in the topology are now based on the documentation prefix (2001:db8::/32). Also, the tests have been improved and there are now many more of them

[PATCH net-next v2 1/2] selftests: net: remove ioam tests

2024-10-02 Thread Justin Iurman
This patch entirely removes the ioam selftests to prepare for the next patch in this series, which re-adds the new ioam selftests for better readability. Signed-off-by: Justin Iurman --- tools/testing/selftests/net/Makefile | 2 - tools/testing/selftests/net/config | 1

Re: [PATCH net-next] selftests: net: ioam: add tunsrc support

2024-09-23 Thread Justin Iurman
On 9/19/24 09:57, Paolo Abeni wrote: On 9/7/24 18:42, Justin Iurman wrote: TL;DR This patch comes from a discussion we had with Jakub and Paolo. This patch updates the IOAM selftests to support the new "tunsrc" feature of IOAM. As a consequence, some changes were required. For ex

Re: [PATCH] kunit: tool: Build compile_commands.json

2024-09-12 Thread Justin Stitt
= ['make', 'all', 'compile_commands.json', 'ARCH=' + > self._linux_arch, > + 'O=' + build_dir, '--jobs=' + str(jobs)] > if make_options: > command.extend(make_options) > if self._cross_compile: > > --- > base-commit: 3c999d1ae3c75991902a1a7dad0cb62c2a3008b4 > change-id: 20240516-kunit-compile-commands-d994074fc2be > > Best regards, > -- > Brendan Jackman > Reviewed-by: Justin Stitt Thanks Justin

[PATCH net-next] selftests: net: ioam: add tunsrc support

2024-09-07 Thread Justin Iurman
readability. Note: this patch needs this [1] iproute2-next patch to be merged (waiting for David to do so, should be done soon). [1] https://patchwork.kernel.org/project/netdevbpf/list/?series=884653 Signed-off-by: Justin Iurman --- tools/testing/selftests/net/ioam6.sh | 1832 +

Re: [PATCH] tracing: Replace strncpy() with strscpy() when copying comm

2024-08-27 Thread Justin Stitt
Hi, On Wed, Jul 31, 2024 at 03:50:58PM GMT, Jinjie Ruan wrote: > Replace the depreciated[1] strncpy() calls with strscpy() > when copying comm. > > Link: https://github.com/KSPP/linux/issues/90 [1] > Signed-off-by: Jinjie Ruan Reviewed-by: Justin Stitt > --- >

Re: [PATCH 1/2] compiler_types: Ensure __diag_clang() is always available

2024-03-19 Thread Justin Stitt
-op when using GCC. > > Fixes: f014a00bbeb0 ("compiler-clang.h: Add __diag infrastructure for clang") > Signed-off-by: Nathan Chancellor Reviewed-by: Justin Stitt > --- > include/linux/compiler_types.h | 4 > 1 file changed, 4 insertions(+) > > diff --gi

Re: [PATCH 2/2] tracing: Ignore -Wstring-compare with diagnostic macros

2024-03-19 Thread Justin Stitt
On Tue, Mar 19, 2024 at 9:08 AM Nathan Chancellor wrote: > > Commit b1afefa62ca9 ("tracing: Use strcmp() in __assign_str() WARN_ON() > check") addressed a clang warning, -Wstring-compare, with the use of > __builtin_constant_p() to dispatch to strcmp() if the source string is a > string literal an

Re: [PATCH v2 0/2] get_maintainer: add patch-only keyword matching

2023-09-28 Thread Justin Stitt
On Fri, Sep 29, 2023 at 11:50 AM Joe Perches wrote: > > On Fri, 2023-09-29 at 11:07 +0900, Justin Stitt wrote: > > On Fri, Sep 29, 2023 at 12:52 AM Nick Desaulniers > > wrote: > > > > > > On Wed, Sep 27, 2023 at 11:09 PM Joe Perches wrote: > > >

Re: [PATCH v2 0/2] get_maintainer: add patch-only keyword matching

2023-09-28 Thread Justin Stitt
On Fri, Sep 29, 2023 at 12:52 AM Nick Desaulniers wrote: > > On Wed, Sep 27, 2023 at 11:09 PM Joe Perches wrote: > > > > On Thu, 2023-09-28 at 14:31 +0900, Justin Stitt wrote: > > > On Thu, Sep 28, 2023 at 2:01 PM Joe Perches wrote: > > > > > >

Re: [PATCH v2 1/2] get_maintainer: add patch-only keyword-matching

2023-09-27 Thread Justin Stitt
On Thu, Sep 28, 2023 at 1:46 PM Joe Perches wrote: > > On Thu, 2023-09-28 at 04:23 +, Justin Stitt wrote: > > Add the "D:" type which behaves the same as "K:" but will only match > > content present in a patch file. > > > > To illustrate: >

[PATCH v2 2/2] MAINTAINERS: migrate some K to D

2023-09-27 Thread Justin Stitt
Let's get the ball rolling with some changes from K to D. Ultimately, if it turns out that 100% of K users want to change to D then really the behavior of K could just be changed. Signed-off-by: Justin Stitt Original-author: Kees Cook --- MAINTAINERS | 16 +--- 1 file chang

[PATCH v2 1/2] get_maintainer: add patch-only keyword-matching

2023-09-27 Thread Justin Stitt
e given like: $ ./scripts/get_maintainer.pl ./lib/string.c Han will not be noisily to/cc'd (like a K: type would in this circumstance) Signed-off-by: Justin Stitt --- MAINTAINERS | 5 + scripts/get_maintainer.pl | 12 ++-- 2 files changed, 15 insertions(+), 2 deletions(

[PATCH v2 0/2] get_maintainer: add patch-only keyword matching

2023-09-27 Thread Justin Stitt
e this series as, at the very least, a gentle migration in behavior which is purely opt-in and at some point could eagerly be merged with K:. [1]: https://lore.kernel.org/all/20230925172037.work.853-k...@kernel.org/ Signed-off-by: Justin Stitt --- Changes in v2: - remove bits about non-patch usage b

Re: [PATCH 3/3] get_maintainer: add patch-only pattern matching type

2023-09-26 Thread Justin Stitt
On Wed, Sep 27, 2023 at 3:14 PM Greg KH wrote: > > On Wed, Sep 27, 2023 at 03:19:16AM +, Justin Stitt wrote: > > Note that folks really shouldn't be using get_maintainer on tree files > > anyways [1]. > > That's not true, Linus and I use it on a daily basis t

[PATCH 3/3] get_maintainer: add patch-only pattern matching type

2023-09-26 Thread Justin Stitt
Add the "D:" type which behaves the same as "K:" but will only match content present in a patch file. To illustrate: Imagine this entry in MAINTAINERS: NEW REPUBLIC M: Han Solo W: https://www.jointheresistance.org D: \bstrncpy\b Our maintainer, Han, will only be added to the recipients if a pa

[PATCH 1/3] MAINTAINERS: add documentation for D:

2023-09-26 Thread Justin Stitt
Document what "D:" does. This is more or less the same as what "K:" does but only works for patch files. See [3/3] for more info and an illustrative example. --- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b19995690904..de68d2c0cf29 100644 -

Re: [PATCH 1/3] MAINTAINERS: add documentation for D:

2023-09-26 Thread Justin Stitt
On Wed, Sep 27, 2023 at 12:27 PM Joe Perches wrote: > > On Wed, 2023-09-27 at 03:19 +, Justin Stitt wrote: > > Document what "D:" does. > > > > This is more or less the same as what "K:" does but only works for patch > > files. > > Nack.

[PATCH 0/3] get_maintainer: add patch-only keyword matching

2023-09-26 Thread Justin Stitt
human eye. [1]: https://lore.kernel.org/all/20230726151515.1650519-1-k...@kernel.org/ [2]: https://lore.kernel.org/all/20230925172037.work.853-k...@kernel.org/ Signed-off-by: Justin Stitt --- Justin Stitt (3): MAINTAINERS: add documentation for D: get_maintainer: run perltidy

[PATCH] HID: uhid: refactor deprecated strncpy

2023-09-14 Thread Justin Stitt
nux/issues/90 Cc: linux-harden...@vger.kernel.org Cc: Kees Cook Signed-off-by: Justin Stitt --- drivers/hid/uhid.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/hid/uhid.c b/drivers/hid/uhid.c index 4588d2cd4ea4..00e1566ad37b 100644 --- a/drivers/hid/u

[PATCH] HID: prodikeys: refactor deprecated strncpy

2023-09-14 Thread Justin Stitt
. Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strncpy-on-nul-terminated-strings [1] Link: https://manpages.debian.org/testing/linux-manual-4.8/strscpy.9.en.html [2] Link: https://github.com/KSPP/linux/issues/90 Cc: linux-harden...@vger.kernel.org Signed-off-by: Justin Stitt

[PATCH] firmware: ti_sci: refactor deprecated strncpy

2023-09-13 Thread Justin Stitt
nual-4.8/strscpy.9.en.html [2] Link: https://github.com/KSPP/linux/issues/90 Cc: linux-harden...@vger.kernel.org Signed-off-by: Justin Stitt --- Note: build-tested only. --- drivers/firmware/ti_sci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/ti_sci.c b/drivers/

[PATCH] firmware: tegra: bpmp: refactor deprecated strncpy

2023-09-13 Thread Justin Stitt
...@vger.kernel.org Signed-off-by: Justin Stitt --- Note: compile tested only. --- drivers/firmware/tegra/bpmp-debugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/firmware/tegra/bpmp-debugfs.c b/drivers/firmware/tegra/bpmp-debugfs.c index 6dfe3d34109e..bbcdd9fed3fb 100644

[PATCH v3] EDAC/mc_sysfs: refactor deprecated strncpy

2023-09-13 Thread Justin Stitt
: https://www.kernel.org/doc/html/latest/process/deprecated.html#strncpy-on-nul-terminated-strings [1] Link: https://manpages.debian.org/testing/linux-manual-4.8/strscpy.9.en.html [2] Link: https://github.com/KSPP/linux/issues/90 Cc: linux-harden...@vger.kernel.org Signed-off-by: Justin Stitt

Re: [PATCH] EDAC/mc_sysfs: refactor deprecated strncpy

2023-09-13 Thread Justin Stitt
ensure that the functionality is the same. > > > > Link: > > https://www.kernel.org/doc/html/latest/process/deprecated.html#strncpy-on-nul-terminated-strings > > [1] > > Link: > > https://manpages.debian.org/testing/linux-manual-4.8/strscpy.9.en.html [2] > > L

[PATCH v2] ipmi: refactor deprecated strncpy

2023-09-13 Thread Justin Stitt
d.net/ [2] Link: https://github.com/KSPP/linux/issues/90 Cc: linux-harden...@vger.kernel.org Cc: Kees Cook Signed-off-by: Justin Stitt --- Changes in v2: - use memcpy_and_pad (thanks Corey) - Link to v1: https://lore.kernel.org/r/20230912-strncpy-drivers-char-ipmi-ipmi-v1-1-cc43e0d1c...@googl

Re: [PATCH] EDAC/mc_sysfs: refactor deprecated strncpy

2023-09-12 Thread Justin Stitt
On Tue, Sep 12, 2023 at 6:26 PM Justin Stitt wrote: > > `strncpy` is deprecated for use on NUL-terminated destination strings [1]. > > We should prefer more robust and less ambiguous string interfaces. > > A suitable replacement is `strscpy_pad` [2] due to the fact that i

[PATCH v2] EDAC/mc_sysfs: refactor deprecated strncpy

2023-09-12 Thread Justin Stitt
https://manpages.debian.org/testing/linux-manual-4.8/strscpy.9.en.html [2] Link: https://github.com/KSPP/linux/issues/90 Cc: linux-harden...@vger.kernel.org Signed-off-by: Justin Stitt --- Changes in v2: - included refactor of another strncpy in same file - Link to v1: https://lore.kernel.org/r/202

[PATCH] EDAC/mc_sysfs: refactor deprecated strncpy

2023-09-12 Thread Justin Stitt
https://manpages.debian.org/testing/linux-manual-4.8/strscpy.9.en.html [2] Link: https://github.com/KSPP/linux/issues/90 Cc: linux-harden...@vger.kernel.org Signed-off-by: Justin Stitt --- Note: build-tested only. --- drivers/edac/edac_mc_sysfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 dele

[PATCH] dax: refactor deprecated strncpy

2023-09-12 Thread Justin Stitt
on-nul-terminated-strings [1] Link: https://manpages.debian.org/testing/linux-manual-4.8/strscpy.9.en.html [2] Link: https://github.com/KSPP/linux/issues/90 Cc: linux-harden...@vger.kernel.org Signed-off-by: Justin Stitt --- Note: build-tested only. --- drivers/dax/bus.c | 2 +- 1 file changed, 1 ins

Re: [PATCH] ipmi: refactor deprecated strncpy

2023-09-12 Thread Justin Stitt
On Tue, Sep 12, 2023 at 5:55 PM Justin Stitt wrote: > > On Tue, Sep 12, 2023 at 5:19 PM Corey Minyard wrote: > > > > On Tue, Sep 12, 2023 at 11:43:05PM +, Justin Stitt wrote: > > > `strncpy` is deprecated for use on NUL-terminated destination strings [1]. > >

Re: [PATCH] ipmi: refactor deprecated strncpy

2023-09-12 Thread Justin Stitt
On Tue, Sep 12, 2023 at 5:19 PM Corey Minyard wrote: > > On Tue, Sep 12, 2023 at 11:43:05PM +, Justin Stitt wrote: > > `strncpy` is deprecated for use on NUL-terminated destination strings [1]. > > > > In this case, strncpy is being used specifically for its NUL-paddi

[PATCH] cpuidle: dt: refactor deprecated strncpy

2023-09-12 Thread Justin Stitt
-harden...@vger.kernel.org Signed-off-by: Justin Stitt --- Note: build-tested only --- drivers/cpuidle/dt_idle_states.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cpuidle/dt_idle_states.c b/drivers/cpuidle/dt_idle_states.c index 12fec92a85fd..97feb7d8fb23 100644

[PATCH] cpufreq: refactor deprecated strncpy

2023-09-12 Thread Justin Stitt
4.8/strscpy.9.en.html [2] Link: https://github.com/KSPP/linux/issues/90 Cc: linux-harden...@vger.kernel.org Signed-off-by: Justin Stitt --- Note: build-tested --- drivers/cpufreq/cpufreq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpuf

[PATCH] ipmi: refactor deprecated strncpy

2023-09-12 Thread Justin Stitt
well then we should opt again for `strscpy_pad`. Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strncpy-on-nul-terminated-strings [1] Link: https://github.com/KSPP/linux/issues/90 Cc: linux-harden...@vger.kernel.org Cc: Kees Cook Signed-off-by: Justin Stitt --- drivers/char

[PATCH] bus: fsl-mc: refactor deprecated strncpy

2023-09-12 Thread Justin Stitt
s/90 Cc: linux-harden...@vger.kernel.org Cc: Kees Cook Signed-off-by: Justin Stitt --- Note: build-tested --- drivers/bus/fsl-mc/dprc.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/bus/fsl-mc/dprc.c b/drivers/bus/fsl-mc/dprc.c index d129338b8bc0..dd1b

Re: [PATCH] um,ethertap: refactor deprecated strncpy

2023-09-12 Thread Justin Stitt
On Tue, Sep 12, 2023 at 12:36 AM Geert Uytterhoeven wrote: > > Hi Justin, > > Thanks for your patch! > > On Mon, Sep 11, 2023 at 7:53 PM Justin Stitt wrote: > > `strncpy` is deprecated for use on NUL-terminated destination strings [1]. > > > > `gate_buf` shou

Re: [PATCH] tpm: Fix typo in tpmrm class definition

2023-09-12 Thread Justin Forbes
On Tue, Sep 12, 2023 at 4:41 AM Jarkko Sakkinen wrote: > > On Tue Sep 12, 2023 at 1:32 AM EEST, Justin M. Forbes wrote: > > Commit d2e8071bed0be ("tpm: make all 'class' structures const") > > unfortunately had a typo for the name on tpmrm. > > &g

[PATCH v2] tpm: Fix typo in tpmrm class definition

2023-09-12 Thread Justin M. Forbes
Commit d2e8071bed0be ("tpm: make all 'class' structures const") unfortunately had a typo for the name on tpmrm. Fixes: d2e8071bed0b ("tpm: make all 'class' structures const") Signed-off-by: Justin M. Forbes --- drivers/char/tpm/tpm-chip.c | 2 +- 1

Re: [PATCH] x86/tdx: refactor deprecated strncpy

2023-09-11 Thread Justin Stitt
On Mon, Sep 11, 2023 at 11:51 AM Dave Hansen wrote: > > On 9/11/23 11:27, Justin Stitt wrote: > > `strncpy` is deprecated and we should prefer more robust string apis. > > I dunno. It actually seems like a pretty good fit here. > > > In this case, `message.str

[PATCH] auxdisplay: panel: refactor deprecated strncpy

2023-09-11 Thread Justin Stitt
its behavior. Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#strncpy-on-nul-terminated-strings [1] Link: https://github.com/KSPP/linux/issues/90 Cc: linux-harden...@vger.kernel.org Cc: Kees Cook Signed-off-by: Justin Stitt --- Note: build-tested --- drivers/auxdisplay

[PATCH] tpm: Fix typo in tpmrm class definition

2023-09-11 Thread Justin M. Forbes
Commit d2e8071bed0be ("tpm: make all 'class' structures const") unfortunately had a typo for the name on tpmrm. Fixes: d2e8071bed0b ("tpm: make all 'class' structures const") Signed-off-by: Justin M. Forbes --- drivers/char/tpm/tpm-chip.c | 2 +- 1

Re: [PATCH] Fix typo in tpmrm class definition

2023-09-11 Thread Justin Forbes
On Mon, Sep 11, 2023 at 5:09 PM Jarkko Sakkinen wrote: > > On Fri Sep 8, 2023 at 5:06 PM EEST, Justin M. Forbes wrote: > > Commit d2e8071bed0be ("tpm: make all 'class' structures const") > > unfortunately had a typo for the name on tpmrm. > > &g

[PATCH] ACPI: OSI: refactor deprecated strncpy

2023-09-11 Thread Justin Stitt
ul-terminated-strings [1] Link: https://manpages.debian.org/testing/linux-manual-4.8/strscpy.9.en.html [2] Link: https://github.com/KSPP/linux/issues/90 Cc: linux-harden...@vger.kernel.org Cc: Kees Cook Signed-off-by: Justin Stitt --- Note: build-tested --- drivers/acpi/osi.c | 2 +- 1 file changed

[PATCH] x86/tdx: refactor deprecated strncpy

2023-09-11 Thread Justin Stitt
r to understand interface. Link: www.kernel.org/doc/html/latest/process/deprecated.html#strncpy-on-nul-terminated-strings[1] Link: https://github.com/KSPP/linux/issues/90 Cc: linux-harden...@vger.kernel.org Cc: Kees Cook Cc: Nick Desaulniers Signed-off-by: Justin Stitt --- Note: build-tested ---

[PATCH] xen/efi: refactor deprecated strncpy

2023-09-11 Thread Justin Stitt
st/process/deprecated.html#strncpy-on-nul-terminated-strings[1] Link: https://manpages.debian.org/testing/linux-manual-4.8/strscpy.9.en.html [2] Link: https://github.com/KSPP/linux/issues/90 Cc: linux-harden...@vger.kernel.org Cc: Kees Cook Signed-off-by: Justin Stitt --- Note: build-tested --- ar

[PATCH] um,ethertap: refactor deprecated strncpy

2023-09-11 Thread Justin Stitt
www.kernel.org/doc/html/latest/process/deprecated.html#strncpy-on-nul-terminated-strings[1] Link: https://manpages.debian.org/testing/linux-manual-4.8/strscpy.9.en.html [2] Link: https://github.com/KSPP/linux/issues/90 Cc: linux-harden...@vger.kernel.org Cc: Kees Cook Signed-off-by: Justin St

RE: [PATCH v2] device-dax: use fallback nid when numa node is invalid

2021-09-14 Thread Justin He
> -Original Message- > From: Dan Williams > Sent: Wednesday, September 15, 2021 1:16 PM > To: Justin He > Cc: Vishal Verma ; Dave Jiang > ; David Hildenbrand ; Linux NVDIMM > ; Linux Kernel Mailing List ker...@vger.kernel.org>; nd > Subject: Re: [PATCH v

RE: [PATCH v2] device-dax: use fallback nid when numa node is invalid

2021-09-13 Thread Justin He
Hi Dan, > -Original Message- > From: Dan Williams > Sent: Friday, September 10, 2021 11:42 PM > To: Justin He > Cc: Vishal Verma ; Dave Jiang > ; David Hildenbrand ; Linux NVDIMM > ; Linux Kernel Mailing List ker...@vger.kernel.org> > Subject: Re: [PATCH v

[tip: x86/platform] x86/platform/uv: Fix indentation warning in Documentation/ABI/testing/sysfs-firmware-sgi_uv

2021-03-06 Thread tip-bot2 for Justin Ernst
The following commit has been merged into the x86/platform branch of tip: Commit-ID: e93d757c3f33c8a09f4aae579da4dc4500707471 Gitweb: https://git.kernel.org/tip/e93d757c3f33c8a09f4aae579da4dc4500707471 Author:Justin Ernst AuthorDate:Fri, 19 Feb 2021 12:28:52 -06:00

NAND Flash Issue Need Help!

2021-03-05 Thread Justin Mitchell
; to addr 0x2200 with size 2968536 (0x002d4bd8)... UBIFS error (pid 0): ubifs_read_node: bad node type (255 but expected 1) UBIFS error (pid 0): ubifs_read_node: bad node at LEB 215:0 UBIFS error (pid 0): do_readpage: cannot read page 178 of inode 1244, error -22 Error reading file 'k

RE: [PATCH] KVM: arm64: Fix unaligned addr case in mmu walking

2021-03-03 Thread Justin He
Hi Marc > -Original Message- > From: Will Deacon > Sent: Thursday, March 4, 2021 5:13 AM > To: Marc Zyngier > Cc: Justin He ; kvm...@lists.cs.columbia.edu; James > Morse ; Julien Thierry ; > Suzuki Poulose ; Catalin Marinas > ; Gavin Shan ; Yanan Wang > ;

RE: [PATCH] KVM: arm64: Fix unaligned addr case in mmu walking

2021-03-03 Thread Justin He
9 PM > To: Marc Zyngier > Cc: Justin He ; kvm...@lists.cs.columbia.edu; James > Morse ; Julien Thierry ; > Suzuki Poulose ; Catalin Marinas > ; Will Deacon ; Gavin Shan > ; Yanan Wang ; linux-arm- > ker...@lists.infradead.org; linux-kernel@vger.kernel.org > Subject: Re: [PATC

[tip: x86/platform] x86/platform/uv: Fix indentation warning in Documentation/ABI/testing/sysfs-firmware-sgi_uv

2021-03-01 Thread tip-bot2 for Justin Ernst
The following commit has been merged into the x86/platform branch of tip: Commit-ID: 2430915f8291212f2bd2155176b817c34a18a2b1 Gitweb: https://git.kernel.org/tip/2430915f8291212f2bd2155176b817c34a18a2b1 Author:Justin Ernst AuthorDate:Fri, 19 Feb 2021 12:28:52 -06:00

RE: linux-next: build warning in Linus' tree

2021-02-23 Thread Ernst, Justin
> Hi all, > > On Thu, 18 Feb 2021 22:47:57 + "Ernst, Justin" > wrote: > > > > Hi, > > We made a special effort to squash the unexpected indentation warnings in > > c159376490ee > (https://lore.kernel.org/lkml/20201130214304.369348-1-justi

[PATCH] x86/platform/uv: Fix indentation warning in Documentation/ABI/testing/sysfs-firmware-sgi_uv

2021-02-19 Thread Justin Ernst
nk line to remove the warning message. Reported-by: Stephen Rothwell Fixes: c9624cb7db1c ("x86/platform/uv: Update sysfs documentation") Acked-by: Mike Travis Signed-off-by: Justin Ernst --- Documentation/ABI/testing/sysfs-firmware-sgi_uv | 2 +- 1 file changed, 1 insertion(+), 1 del

RE: linux-next: build warning in Linus' tree

2021-02-18 Thread Ernst, Justin
"5.0" = UV3 "7.0" = UV4 Thanks, Justin > Hi all, > > Building Linus' tree, today's linux-next build (htmldocs) produced > this warning: > > Documentation/ABI/testing/sysfs-firmware-sgi_uv:2: WARNING: Unexpect

Re: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT modules

2021-01-26 Thread Justin Forbes
On Tue, Jan 26, 2021 at 11:07 AM Greg KH wrote: > > On Tue, Jan 26, 2021 at 10:19:34AM -0600, Josh Poimboeuf wrote: > > On Tue, Jan 26, 2021 at 10:15:52AM -0600, Justin Forbes wrote: > > > On Tue, Jan 26, 2021 at 10:05 AM Peter Zijlstra > > > wrote: > > >

Re: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT modules

2021-01-26 Thread Justin Forbes
On Tue, Jan 26, 2021 at 10:05 AM Peter Zijlstra wrote: > > On Tue, Jan 26, 2021 at 09:46:51AM -0600, Josh Poimboeuf wrote: > > On Tue, Jan 26, 2021 at 04:15:37PM +0100, Peter Zijlstra wrote: > > > On Tue, Jan 26, 2021 at 08:51:55AM -0600, Josh Poimboeuf wrote: > > > > User space mixes compiler ver

Re: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT modules

2021-01-26 Thread Justin Forbes
ption? It's harmless, and will make distro's (and their > > users') lives easier. > > > > Either GCC mismatch is ok, or it's not. Let's not half-enforce it. > > As I said earlier, it's not ok, we can not support it at all. > Support and enforce are 2 completely different things. To shed a bit more light on this, the real issue that prompted this was breaking CI systems. As we enabled gcc plugins in Fedora, and the toolchain folks went through 3 different snapshots of gcc 11 in a week. Any CI process that built an out of tree module failed. I don't think this is nearly as much of a concern for stable distros, as it is for CI in development cycles. Justin

RE: [RFC PATCH 0/2] Avoid booting stall caused by idmap_kpti_install_ng_mappings

2021-01-24 Thread Justin He
Hi Marc > -Original Message- > From: Justin He > Sent: Wednesday, January 20, 2021 11:56 PM > To: Marc Zyngier > Cc: Catalin Marinas ; Will Deacon > ; linux-arm-ker...@lists.infradead.org; linux- > ker...@vger.kernel.org; Anshuman Khandual ; > Suzuki Poulose ; Ma

RE: [RFC PATCH 0/2] Avoid booting stall caused by idmap_kpti_install_ng_mappings

2021-01-20 Thread Justin He
Hi Marc > -Original Message- > From: Marc Zyngier > Sent: Wednesday, January 20, 2021 6:58 PM > To: Justin He > Cc: Catalin Marinas ; Will Deacon > ; linux-arm-ker...@lists.infradead.org; linux- > ker...@vger.kernel.org; Anshuman Khandual ; > Suzuki Poulose ; Ma

RE: [RFC PATCH 0/2] Avoid booting stall caused by idmap_kpti_install_ng_mappings

2021-01-19 Thread Justin He
Hi, Kindly ping 😊 > -Original Message- > From: Jia He > Sent: Wednesday, January 13, 2021 9:41 AM > To: Catalin Marinas ; Will Deacon > ; linux-arm-ker...@lists.infradead.org; linux- > ker...@vger.kernel.org > Cc: Anshuman Khandual ; Suzuki Poulose > ;

RE: [PATCH 04/10] ABI: sysfs-firmware-sgi_uv

2021-01-14 Thread Ernst, Justin
; fixing this warning: > > .../Documentation/ABI/testing/sysfs-firmware-sgi_uv:2: WARNING: > Unexpected indentation. > > Signed-off-by: Mauro Carvalho Chehab Thanks for finding and fixing this. I was able to replicate the warning and confirm the fix. Reviewed-by: Justin Ernst >

Re: [PATCH] mm/filemap: add static for function __add_to_page_cache_locked

2020-12-07 Thread Justin Forbes
gt;> void **shadowp) > > > > > > It's unclear to me whether BTF_ID() requires that the target symbol be > > > non-static. It doesn't actually reference the symbol: > > > > > > #define BTF_ID(prefix, name) \ > > > __BTF_ID(__ID(__BTF_ID__##prefix##__##name##__)) > > > > > > > The above usage make me thought BTF don't require the symbol, though > > the symbol still exist in vmlinux with 'static'. > > > > So any comments of this, Alexei? > > It's probably more complicated: our v5.10-rc7 builds with > CONFIG_DEBUG_INFO_BTF=y fail on ppc64 and ppc64le with > > BTFIDS vmlinux >FAILED unresolved symbol __add_to_page_cache_locked > > > but succeed on x86_64, i586, aarch64 and s390x. So far I don't see why > this should depend on architecture. > Fedora is failing with rc7 on the same issue on PPC only. Justin

[tip: x86/platform] x86/platform/uv: Update ABI documentation of /sys/firmware/sgi_uv/

2020-12-01 Thread tip-bot2 for Justin Ernst
The following commit has been merged into the x86/platform branch of tip: Commit-ID: c159376490eef39f0f2cb1ce5dd38a6d41c859b4 Gitweb: https://git.kernel.org/tip/c159376490eef39f0f2cb1ce5dd38a6d41c859b4 Author:Justin Ernst AuthorDate:Wed, 25 Nov 2020 11:54:43 -06:00

[tip: x86/platform] x86/platform/uv: Update MAINTAINERS for uv_sysfs driver

2020-12-01 Thread tip-bot2 for Justin Ernst
The following commit has been merged into the x86/platform branch of tip: Commit-ID: 6043082c96844fa3a047896212e2da0adc1dde81 Gitweb: https://git.kernel.org/tip/6043082c96844fa3a047896212e2da0adc1dde81 Author:Justin Ernst AuthorDate:Wed, 25 Nov 2020 11:54:44 -06:00

RE: linux-next: build warnings after merge of the tip tree

2020-11-30 Thread Ernst, Justin
> > 7ac2f1017115 ("x86/platform/uv: Update ABI documentation of > > /sys/firmware/sgi_uv/") > > Yah, I can reproduce but I have no clue what sphinx wants from me. Line > 2 looks ok which could mean that the warning line it points to is bogus. > > Justin, this is

[PATCH] x86/platform/uv: Fix/cleanup ABI documentation of /sys/firmware/sgi_uv/

2020-11-30 Thread Justin Ernst
warnings. Lines directly before codeblock sections with one ':' get a second ':' to match required formating. Change an 'If' to 'It'. This patch depends on a patch in the prior v2 patchset sent by Mike Travis x86/platform/uv: Update MAINTAINER

[tip: x86/platform] x86/platform/uv: Add and export uv_bios_* functions

2020-11-26 Thread tip-bot2 for Justin Ernst
The following commit has been merged into the x86/platform branch of tip: Commit-ID: 9a3c425cfdfee169622f1cb1a974b2f287e5560c Gitweb: https://git.kernel.org/tip/9a3c425cfdfee169622f1cb1a974b2f287e5560c Author:Justin Ernst AuthorDate:Wed, 25 Nov 2020 11:54:41 -06:00

[tip: x86/platform] x86/platform/uv: Add new uv_sysfs platform driver

2020-11-26 Thread tip-bot2 for Justin Ernst
The following commit has been merged into the x86/platform branch of tip: Commit-ID: 4fc2cf1f2daf8303000efb7c9dc0307ea638a8f3 Gitweb: https://git.kernel.org/tip/4fc2cf1f2daf8303000efb7c9dc0307ea638a8f3 Author:Justin Ernst AuthorDate:Wed, 25 Nov 2020 11:54:42 -06:00

[tip: x86/platform] x86/platform/uv: Update MAINTAINERS for uv_sysfs driver

2020-11-26 Thread tip-bot2 for Justin Ernst
The following commit has been merged into the x86/platform branch of tip: Commit-ID: caf371103ea17de58251714131b06682d86b0df8 Gitweb: https://git.kernel.org/tip/caf371103ea17de58251714131b06682d86b0df8 Author:Justin Ernst AuthorDate:Wed, 25 Nov 2020 11:54:44 -06:00

[tip: x86/platform] x86/platform/uv: Update ABI documentation of /sys/firmware/sgi_uv/

2020-11-26 Thread tip-bot2 for Justin Ernst
The following commit has been merged into the x86/platform branch of tip: Commit-ID: 7ac2f1017115ece5288465da2906ad23b8b07a65 Gitweb: https://git.kernel.org/tip/7ac2f1017115ece5288465da2906ad23b8b07a65 Author:Justin Ernst AuthorDate:Wed, 25 Nov 2020 11:54:43 -06:00

[tip: x86/platform] x86/platform/uv: Remove existing /sys/firmware/sgi_uv/ interface

2020-11-26 Thread tip-bot2 for Justin Ernst
The following commit has been merged into the x86/platform branch of tip: Commit-ID: 8f061abbf543355d77fac5c23521b6b452da6310 Gitweb: https://git.kernel.org/tip/8f061abbf543355d77fac5c23521b6b452da6310 Author:Justin Ernst AuthorDate:Wed, 25 Nov 2020 11:54:40 -06:00

[PATCH v3 2/5] x86/platform/uv: Add and export uv_bios_* functions

2020-11-25 Thread Justin Ernst
Add additional uv_bios_call variant functions to expose information needed by the new uv_sysfs driver. This includes the addition of several new data types defined by UV BIOS and used in the new functions. Signed-off-by: Justin Ernst Reviewed-by: Steve Wahl --- arch/x86/include/asm/uv/bios.h

[PATCH v3 3/5] x86/platform/uv: Add new uv_sysfs platform driver

2020-11-25 Thread Justin Ernst
, including physical location of PCI cards Together, the information provides a robust physical description of a UV system, useful for correlating to performance data or performing remote support. Signed-off-by: Justin Ernst Reviewed-by: Steve Wahl --- drivers/platform/x86/Kconfig| 11 + drivers

[PATCH v3 4/5] x86/platform/uv: Update ABI documentation of /sys/firmware/sgi_uv/

2020-11-25 Thread Justin Ernst
Update the ABI documentation to describe the sysfs interface provided by the new uv_sysfs platform driver. Signed-off-by: Justin Ernst Reviewed-by: Steve Wahl --- .../ABI/testing/sysfs-firmware-sgi_uv | 141 -- 1 file changed, 127 insertions(+), 14 deletions(-) diff

[PATCH v3 5/5] x86/platform/uv: Update MAINTAINERS for uv_sysfs driver

2020-11-25 Thread Justin Ernst
Add an entry and email address for the new uv_sysfs driver and its maintainer. Signed-off-by: Justin Ernst Acked-by: Steve Wahl --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b43b59542d15..f693d2d97203 100644 --- a/MAINTAINERS +++ b

[PATCH v3 0/5] x86/platform/uv: Add uv_sysfs platform driver

2020-11-25 Thread Justin Ernst
/sgi_uv/coherence_id file in the new driver after removing it in Patch 1/5. This keeps the userspace API unbroken. Justin Ernst (5): x86/platform/uv: Remove existing /sys/firmware/sgi_uv/ interface x86/platform/uv: Add and export uv_bios_* functions x86/platform/uv: Add new uv_sysfs

[PATCH v3 1/5] x86/platform/uv: Remove existing /sys/firmware/sgi_uv/ interface

2020-11-25 Thread Justin Ernst
Remove existing interface at /sys/firmware/sgi_uv/, created by arch/x86/platform/uv/uv_sysfs.c This interface includes: /sys/firmware/sgi_uv/coherence_id /sys/firmware/sgi_uv/partition_id Both coherence_id and partition_id will be re-introduced via a new uv_sysfs driver. Signed-off-by: Justin

RE: [PATCH v2 0/5] Add uv_sysfs platform driver

2020-11-25 Thread Ernst, Justin
ce in drivers/platform/x86/uv_sysfs.c:uv_ports_exit() caused by calling kobject_put() on an out of range index value. I will be resubmitting the patch series shortly as v3. I apologize for the hiccup. Thanks, Justin > -Original Message- > From: Hans de Goede [mailto:hdego...@redhat.

RE: [PATCH] vfio iommu type1: Bypass the vma permission check in vfio_pin_pages_remote()

2020-11-24 Thread Justin He
Hi Peter > -Original Message- > From: Peter Xu > Sent: Wednesday, November 25, 2020 2:12 AM > To: Justin He > Cc: Alex Williamson ; Cornelia Huck > ; k...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] vfio iommu type1: Bypass the vm

RE: [PATCH] vfio iommu type1: Bypass the vma permission check in vfio_pin_pages_remote()

2020-11-22 Thread Justin He
Hi Alex, thanks for the comments. See mine below: > -Original Message- > From: Alex Williamson > Sent: Friday, November 20, 2020 1:05 AM > To: Justin He > Cc: Cornelia Huck ; k...@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH] vfio iommu

RE: [PATCH net] vsock/virtio: discard packets only when socket is really closed

2020-11-22 Thread Justin He
> -Original Message- > From: Stefano Garzarella > Sent: Friday, November 20, 2020 6:48 PM > To: net...@vger.kernel.org > Cc: Sergio Lopez ; David S. Miller ; > Stefano Garzarella ; Justin He ; > k...@vger.kernel.org; linux-kernel@vger.kernel.org; Stefan Haj

[PATCH v2 0/5] Add uv_sysfs platform driver

2020-11-18 Thread Justin Ernst
removing it in Patch 1/5. This keeps the userspace API unbroken. Justin Ernst (5): x86/platform/uv: Remove existing /sys/firmware/sgi_uv/ interface x86/platform/uv: Add and export uv_bios_* functions x86/platform/uv: Add new uv_sysfs platform driver x86/platform/uv: Update ABI

[PATCH v2 4/5] x86/platform/uv: Update ABI documentation of /sys/firmware/sgi_uv/

2020-11-18 Thread Justin Ernst
Update the ABI documentation to describe the sysfs interface provided by the new uv_sysfs platform driver. Signed-off-by: Justin Ernst Reviewed-by: Steve Wahl --- .../ABI/testing/sysfs-firmware-sgi_uv | 141 -- 1 file changed, 127 insertions(+), 14 deletions(-) diff

[PATCH v2 5/5] x86/platform/uv: Update MAINTAINERS for uv_sysfs driver

2020-11-18 Thread Justin Ernst
Add an entry and email address for the new uv_sysfs driver and its maintainer. Signed-off-by: Justin Ernst Acked-by: Steve Wahl --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b43b59542d15..f693d2d97203 100644 --- a/MAINTAINERS +++ b

[PATCH v2 1/5] x86/platform/uv: Remove existing /sys/firmware/sgi_uv/ interface

2020-11-18 Thread Justin Ernst
Remove existing interface at /sys/firmware/sgi_uv/, created by arch/x86/platform/uv/uv_sysfs.c This interface includes: /sys/firmware/sgi_uv/coherence_id /sys/firmware/sgi_uv/partition_id Both coherence_id and partition_id will be re-introduced via a new uv_sysfs driver. Signed-off-by: Justin

[PATCH v2 3/5] x86/platform/uv: Add new uv_sysfs platform driver

2020-11-18 Thread Justin Ernst
, including physical location of PCI cards Together, the information provides a robust physical description of a UV system, useful for correlating to performance data or performing remote support. Signed-off-by: Justin Ernst Reviewed-by: Steve Wahl --- drivers/platform/x86/Kconfig| 11 + drivers

[PATCH v2 2/5] x86/platform/uv: Add and export uv_bios_* functions

2020-11-18 Thread Justin Ernst
Add additional uv_bios_call variant functions to expose information needed by the new uv_sysfs driver. This includes the addition of several new data types defined by UV BIOS and used in the new functions. Signed-off-by: Justin Ernst Reviewed-by: Steve Wahl --- arch/x86/include/asm/uv/bios.h

RE: [PATCH 0/5] Add uv_sysfs platform driver

2020-11-18 Thread Ernst, Justin
> Hi, > > On 11/17/20 9:42 PM, Justin Ernst wrote: > > Introduce a new platform driver to gather topology information from UV > > systems > > and expose that information via a sysfs interface at /sys/firmware/sgi_uv/. > > > > Justin Ernst (5): > > x

[PATCH 3/5] x86/platform/uv: Add new uv_sysfs platform driver

2020-11-17 Thread Justin Ernst
, including physical location of PCI cards Together, the information provides a robust physical description of a UV system, useful for correlating to performance data or performing remote support. Signed-off-by: Justin Ernst Reviewed-by: Steve Wahl --- drivers/platform/x86/Kconfig| 11 + drivers

[PATCH 2/5] x86/platform/uv: Add and export uv_bios_* functions

2020-11-17 Thread Justin Ernst
Add additional uv_bios_call variant functions to expose information needed by the new uv_sysfs driver. This includes the addition of several new data types defined by UV BIOS and used in the new functions. Signed-off-by: Justin Ernst Reviewed-by: Steve Wahl --- arch/x86/include/asm/uv/bios.h

[PATCH 5/5] x86/platform/uv: Update MAINTAINERS for uv_sysfs driver

2020-11-17 Thread Justin Ernst
Add an entry and email address for the new uv_sysfs driver and its maintainer. Signed-off-by: Justin Ernst Acked-by: Steve Wahl --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b43b59542d15..f693d2d97203 100644 --- a/MAINTAINERS +++ b

[PATCH 1/5] x86/platform/uv: Remove existing /sys/firmware/sgi_uv/ interface

2020-11-17 Thread Justin Ernst
Remove existing interface at /sys/firmware/sgi_uv/, created by arch/x86/platform/uv/uv_sysfs.c This interface includes: /sys/firmware/sgi_uv/coherence_id /sys/firmware/sgi_uv/partition_id Signed-off-by: Justin Ernst Reviewed-by: Steve Wahl --- arch/x86/platform/uv/Makefile | 2 +- arch/x86

[PATCH 4/5] x86/platform/uv: Update ABI documentation of /sys/firmware/sgi_uv/

2020-11-17 Thread Justin Ernst
Update the ABI documentation to describe the sysfs interface provided by the new uv_sysfs platform driver. Signed-off-by: Justin Ernst Reviewed-by: Steve Wahl --- .../ABI/testing/sysfs-firmware-sgi_uv | 137 -- 1 file changed, 122 insertions(+), 15 deletions(-) diff

[PATCH 0/5] Add uv_sysfs platform driver

2020-11-17 Thread Justin Ernst
Introduce a new platform driver to gather topology information from UV systems and expose that information via a sysfs interface at /sys/firmware/sgi_uv/. Justin Ernst (5): x86/platform/uv: Remove existing /sys/firmware/sgi_uv/ interface x86/platform/uv: Add and export uv_bios_* functions

5.9.3: "md0:" is showing in dmesg/printk but with no other information is provided

2020-11-11 Thread Justin Piszcz
2020] md0: [Thu Nov 5 13:12:00 2020] md0: [Sat Nov 7 06:53:59 2020] md0: [Sat Nov 7 06:54:07 2020] md0: [Tue Nov 10 08:09:27 2020] md0: [Wed Nov 11 12:43:06 2020] md0: Regards, Justin.

Re: [PATCH 5.8 35/99] tools/libbpf: Avoid counting local symbols in ABI check

2020-09-30 Thread Justin Forbes
On Wed, Sep 30, 2020 at 12:02 AM Tony Ambardar wrote: > > [adding Michael Ellerman, linux-ppc maintainer] > > Hello Justin, > > On Tue, 29 Sep 2020 at 14:54, Justin Forbes wrote: > > > > On Tue, Sep 29, 2020 at 6:53 AM Greg Kroah-Hartman > > wr

  1   2   3   4   5   6   7   8   9   >