Re: [PATCH v5] selftests: riscv: add misaligned access testing

2025-08-06 Thread patchwork-bot+linux-riscv
Hello: This patch was applied to riscv/linux.git (for-next) by Alexandre Ghiti : On Fri, 11 Jul 2025 13:19:24 + you wrote: > This selftest tests all the currently emulated instructions (except for > the RV32 compressed ones which are left as a future exercise for a RV32 > user). For the FPU i

[PATCH v2 1/2] vhost: vringh: Remove unused iotlb functions

2025-06-16 Thread linux
an Gilbert Reviewed-by: Simon Horman --- drivers/vhost/vringh.c | 43 -- include/linux/vringh.h | 5 - 2 files changed, 48 deletions(-) diff --git a/drivers/vhost/vringh.c b/drivers/vhost/vringh.c index bbce65452701..67a028d6fb5f 100644 --- a/drivers/

[PATCH v2 2/2] vhost: vringh: Remove unused functions

2025-06-16 Thread linux
Remove them and the two helper functions they used. Signed-off-by: Dr. David Alan Gilbert --- drivers/vhost/vringh.c | 75 -- include/linux/vringh.h | 7 2 files changed, 82 deletions(-) diff --git a/drivers/vhost/vringh.c b/drivers/vhost/vringh.

[PATCH v2 0/2] vringh small unused functions

2025-06-16 Thread linux
rt (2): vhost: vringh: Remove unused iotlb functions vhost: vringh: Remove unused functions drivers/vhost/vringh.c | 118 - include/linux/vringh.h | 12 - 2 files changed, 130 deletions(-) -- 2.49.0

[PATCH 1/2] vhost: vringh: Remove unused iotlb functions

2025-06-13 Thread linux
. David Alan Gilbert --- drivers/vhost/vringh.c | 43 -- include/linux/vringh.h | 5 - 2 files changed, 48 deletions(-) diff --git a/drivers/vhost/vringh.c b/drivers/vhost/vringh.c index bbce65452701..67a028d6fb5f 100644 --- a/drivers/vhost/vringh.c +++ b/dr

[PATCH 2/2] vhost: vringh: Remove unused functions

2025-06-13 Thread linux
Remove them. Signed-off-by: Dr. David Alan Gilbert --- drivers/vhost/vringh.c | 61 -- include/linux/vringh.h | 7 - 2 files changed, 68 deletions(-) diff --git a/drivers/vhost/vringh.c b/drivers/vhost/vringh.c index 67a028d6fb5f..c99070da39a6 100644

[PATCH 0/2] vringh small unused functions

2025-06-13 Thread linux
gh.c | 104 - include/linux/vringh.h | 12 - 2 files changed, 116 deletions(-) -- 2.49.0

Re: [PATCH] kunit: qemu_configs: Add riscv32 config

2025-06-10 Thread patchwork-bot+linux-riscv
Hello: This patch was applied to riscv/linux.git (fixes) by Shuah Khan : On Mon, 07 Apr 2025 10:17:12 +0200 you wrote: > Add a basic config to run kunit tests on riscv32. > > Signed-off-by: Thomas Weißschuh > --- > tools/testing/kunit/qemu_configs/riscv32.py | 17 + > 1 file ch

Re: [PATCH v2] selftests: riscv: fix v_exec_initval_nolibc.c

2025-04-05 Thread patchwork-bot+linux-riscv
Hello: This patch was applied to riscv/linux.git (for-next) by Alexandre Ghiti : On Thu, 06 Mar 2025 20:49:27 +0100 you wrote: > Vector registers are zero initialized by the kernel. Stop accepting > "all ones" as a clean value. > > Note that this was not working as expected given that > va

[PATCH v2] x86/paravirt: Remove unused paravirt_disable_iospace

2025-03-02 Thread linux
From: "Dr. David Alan Gilbert" The last use of paravirt_disable_iospace() was removed in 2015 by commit d1c29465b8a5 ("lguest: don't disable iospace.") Remove it. Note the comment above it about 'entry.S' is unrelated to this but stayed when intervening code got deleted. Signed-off-by: Dr. Dav

[PATCH] x86/paravirt: Remove unused paravirt_disable_iospace

2025-03-02 Thread linux
From: "Dr. David Alan Gilbert" The last use of paravirt_disable_iospace() was removed in 2015 by commit d1c29465b8a5 ("lguest: don't disable iospace.") Remove it. Note the comment above it about 'entry.S' is unrelated to this but stayed when intervening code got deleted. Signed-off-by: Dr. Dav

[PATCH 1/2] libnvdimm: Remove unused nd_region_conflict

2025-02-19 Thread linux
From: "Dr. David Alan Gilbert" nd_region_conflict() has been unused since 2019's commit a3619190d62e ("libnvdimm/pfn: stop padding pmem namespaces to section alignment") Remove it, and the region_confict() helper it uses, and the associated struct conflict_context. Signed-off-by: Dr. David Alan

[PATCH 2/2] libnvdimm: Remove unused nd_attach_ndns

2025-02-19 Thread linux
From: "Dr. David Alan Gilbert" nd_attach_ndns() hasn't been used since 2017's commit 452bae0aede7 ("libnvdimm: fix nvdimm_bus_lock() vs device_lock() ordering") Remove it. Note the __ version is still used and has been left. Signed-off-by: Dr. David Alan Gilbert --- drivers/nvdimm/claim.c

[PATCH 0/2] nvdimm deadcoding

2025-02-19 Thread linux
From: "Dr. David Alan Gilbert" Hi, A couple of nvdimm dead coding patches; they just remove entirely unused functions. Signed-off-by: Dr. David Alan Gilbert Dr. David Alan Gilbert (2): libnvdimm: Remove unused nd_region_conflict libnvdimm: Remove unused nd_attach_ndns drivers/nvdimm/c

Re: [PATCH v2] rseq/selftests: Fix riscv rseq_offset_deref_addv inline asm

2025-02-13 Thread patchwork-bot+linux-riscv
Hello: This patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt : On Tue, 14 Jan 2025 17:07:21 + you wrote: > When working on OpenRISC support for restartable sequences I noticed > and fixed these two issues with the riscv support bits. > > 1 The 'inc' argument to RSEQ_ASM_OP_R_D

Re: [PATCH 0/6] selftests/nolibc: wire up riscv32

2025-02-03 Thread patchwork-bot+linux-riscv
Hello: This series was applied to riscv/linux.git (fixes) by Thomas Weißschuh : On Sat, 21 Dec 2024 15:44:27 +0100 you wrote: > Nolibc has support for riscv32. But the testsuite did not allow to test > it so far. Add a test configuration. > > Signed-off-by: Thomas Weißschuh > --- > Thomas Weißs

Re: [PATCH 0/2] selftest: fix riscv/vector tests

2025-01-09 Thread patchwork-bot+linux-riscv
Hello: This series was applied to riscv/linux.git (fixes) by Palmer Dabbelt : On Fri, 20 Dec 2024 17:17:25 +0800 you wrote: > Add test counts and pass message to remove warning of riscv/vector tests. > > Yong-Xuan Wang (2): > tools: selftests: riscv: Add pass message for v_initval_nolibc > t

Re: [PATCH v6] riscv: selftests: Fix warnings pointer masking test

2025-01-08 Thread patchwork-bot+linux-riscv
Hello: This patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt : On Wed, 11 Dec 2024 23:01:43 -0800 you wrote: > When compiling the pointer masking tests with -Wall this warning > is present: > > pointer_masking.c: In function ‘test_tagged_addr_abi_sysctl’: > pointer_masking.c:203:9:

[RFC net-next] net: mac802154: Remove unused ieee802154_mlme_tx_one

2024-12-24 Thread linux
From: "Dr. David Alan Gilbert" ieee802154_mlme_tx_one() was added in 2022 by commit ddd9ee7cda12 ("net: mac802154: Introduce a synchronous API for MLME commands") but has remained unused. Remove it. Note, there's still a ieee802154_mlme_tx_one_locked() variant that is used. Signed-off-by: Dr.

[PATCH] hwspinlock: Remove unused hwspin_lock_get_id

2024-12-14 Thread linux
. Signed-off-by: Dr. David Alan Gilbert --- Documentation/locking/hwspinlock.rst | 11 --- drivers/hwspinlock/hwspinlock_core.c | 17 ----- include/linux/hwspinlock.h | 6 -- 3 files changed, 34 deletions(-) diff --git a/Documentation/locking/hwspinlock.rst b/D

Re: [PATCH fixes] riscv: mm: Do not call pmd dtor on vmemmap page table teardown

2024-12-11 Thread patchwork-bot+linux-riscv
Hello: This patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt : On Wed, 20 Nov 2024 14:12:02 +0100 you wrote: > From: Björn Töpel > > The vmemmap's, which is used for RV64 with SPARSEMEM_VMEMMAP, page > tables are populated using pmd (page middle directory) hugetables. > However, t

Re: [PATCH V2 0/4] A few fixes for RISC-V

2024-12-11 Thread patchwork-bot+linux-riscv
Hello: This series was applied to riscv/linux.git (fixes) by Andrew Morton : On Tue, 8 Oct 2024 17:41:37 +0800 you wrote: > These patches are all simple fixes with no strong dependency though, > I hope that making them a patchset will be more convenient for merge. > > The patchset are based on

Re: [PATCH 1/2] selftest/mm: Fix typo in virtual_address_range

2024-12-11 Thread patchwork-bot+linux-riscv
Hello: This series was applied to riscv/linux.git (fixes) by Andrew Morton : On Fri, 13 Sep 2024 10:26:34 +0800 you wrote: > The function name should be *hint* address, so correct it. > > Signed-off-by: Chunyan Zhang > --- > tools/testing/selftests/mm/virtual_address_range.c | 4 ++-- > 1 file

Re: [PATCH V2 0/4] A few fixes for RISC-V

2024-10-24 Thread patchwork-bot+linux-riscv
Hello: This series was applied to riscv/linux.git (fixes) by Palmer Dabbelt : On Tue, 8 Oct 2024 17:41:37 +0800 you wrote: > These patches are all simple fixes with no strong dependency though, > I hope that making them a patchset will be more convenient for merge. > > The patchset are based on

Re: [Regression] wifi problems since tg3 started throwing rcu stall warnings

2024-10-23 Thread Linux regression tracking (Thorsten Leemhuis)
On 23.10.24 12:09, Frederic Weisbecker wrote: > Le Wed, Oct 23, 2024 at 10:27:18AM +0200, Linux regression tracking (Thorsten > Leemhuis) a écrit : >> Hi, Thorsten here, the Linux kernel's regression tracker. >> >> Frederic, I noticed a report about a regression i

Re: [Regression] wifi problems since tg3 started throwing rcu stall warnings

2024-10-23 Thread Linux regression tracking (Thorsten Leemhuis)
[reply to self to CC the tg3 maintainers, netdev, and linux-wireless; sorry, forgot them earlier, but they should be involved, as I guess this is a problem in tg3 interfering with wifi drivers that the rcu change just exposed] On 23.10.24 10:27, Linux regression tracking (Thorsten Leemhuis) wrote

[Regression] wifi problems since tg3 started throwing rcu stall warnings

2024-10-23 Thread Linux regression tracking (Thorsten Leemhuis)
Hi, Thorsten here, the Linux kernel's regression tracker. Frederic, I noticed a report about a regression in bugzilla.kernel.org that appears to be caused by the following change of yours: 55d4669ef1b768 ("rcu: Fix rcu_barrier() VS post CPUHP_TEARDOWN_CPU invocation") As many

Re: [PATCH 5/5] KVM: VMX: Always honor guest PAT on CPUs that support self-snoop

2024-10-07 Thread Linux regression tracking (Thorsten Leemhuis)
On 07.10.24 15:38, Vitaly Kuznetsov wrote: > "Linux regression tracking (Thorsten Leemhuis)" > writes: > >> On 30.08.24 11:35, Vitaly Kuznetsov wrote: >>> Sean Christopherson writes: >>> >>>> Unconditionally honor guest PAT on CPUs that su

Re: [PATCH 5/5] KVM: VMX: Always honor guest PAT on CPUs that support self-snoop

2024-10-07 Thread Linux regression tracking (Thorsten Leemhuis)
s basically a configuration error :-). E.g: > [...] This regression made it to the list of tracked regressions. It seems this thread stalled a while ago. Was this ever fixed? Does not look like it, but I might have missed something. Or is this a regression I should just ignore for one reason or an

Re: [PATCH] selftests: riscv: Allow mmap test to compile on 32-bit

2024-09-17 Thread patchwork-bot+linux-riscv
Hello: This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt : On Thu, 08 Aug 2024 11:41:40 -0700 you wrote: > Macros needed for 32-bit compilations were hidden behind 64-bit riscv > ifdefs. Fix the 32-bit compilations by moving macros to allow the > memory_layout test to run on

Re: [PATCH RFC 0/3] Revert "virtio_net: rx enable premapped mode by default"

2024-08-15 Thread Linux regression tracking (Thorsten Leemhuis)
On 15.08.24 12:22, Darren Kenny wrote: > On Thursday, 2024-08-15 at 09:14:27 +02, Linux regression tracking (Thorsten > Leemhuis) wrote: >> On 14.08.24 08:59, Michael S. Tsirkin wrote: >>> Note: Xuan Zhuo, if you have a better idea, pls post an alternative >>>

Re: [PATCH RFC 0/3] Revert "virtio_net: rx enable premapped mode by default"

2024-08-15 Thread Linux regression tracking (Thorsten Leemhuis)
[side note: the message I have been replying to at least when downloaded from lore has two message-ids, one of them identical two a older message, which is why this looks odd in the lore archives: https://lore.kernel.org/all/20240511031404.30903-1-xuanz...@linux.alibaba.com/] On 14.08.24 08:59, Mi

Re: [PATCH] trace: riscv: Remove deprecated kprobe on ftrace support

2024-07-25 Thread patchwork-bot+linux-riscv
Hello: This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt : On Thu, 13 Jun 2024 19:13:47 +0800 you wrote: > Since commit 7caa9765465f60 ("ftrace: riscv: move from REGS to ARGS"), > kprobe on ftrace is not supported by riscv, because riscv's support for > FTRACE_WITH_REGS has b

Re: [PATCH v4 00/11] riscv: Memory Hot(Un)Plug support

2024-06-27 Thread patchwork-bot+linux-riscv
Hello: This series was applied to riscv/linux.git (for-next) by Palmer Dabbelt : On Wed, 5 Jun 2024 13:40:43 +0200 you wrote: > From: Björn Töpel > > > Memory Hot(Un)Plug support (and ZONE_DEVICE) for the RISC-V port > ==

Re: [PATCH -fixes] riscv: patch: Flush the icache right after patching to avoid illegal insns

2024-06-27 Thread patchwork-bot+linux-riscv
Hello: This patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt : On Mon, 24 Jun 2024 10:21:41 +0200 you wrote: > We cannot delay the icache flush after patching some functions as we may > have patched a function that will get called before the icache flush. > > The only way to comple

Re: Bug in Kernel 6.8.x, 6.9.x Causing Trace/Panic During Shutdown/Reboot

2024-06-13 Thread Linux regression tracking (Thorsten Leemhuis)
On 13.06.24 09:32, Ilkka Naulapää wrote: > On Wed, Jun 12, 2024 at 6:56 PM Steven Rostedt wrote: >> On Wed, 12 Jun 2024 15:36:22 +0200 >> "Linux regression tracking (Thorsten Leemhuis)" >> wrote: >>> >>> Ilkka or Steven, what happened t

Re: Bug in Kernel 6.8.x, 6.9.x Causing Trace/Panic During Shutdown/Reboot

2024-06-12 Thread Linux regression tracking (Thorsten Leemhuis)
Hi, Thorsten here, the Linux kernel's regression tracker. Top-posting for once, to make this easily accessible to everyone. Ilkka or Steven, what happened to this? This thread looks stalled. I also was unsuccessful when looking for other threads related to this report or the culprit. Did it

Re: Bug in Kernel 6.8.x, 6.9.x Causing Trace/Panic During Shutdown/Reboot

2024-05-24 Thread Linux regression tracking (Thorsten Leemhuis)
[CCing a few people] On 24.05.24 12:31, Ilkka Naulapää wrote: > > I have encountered a critical bug in the Linux vanilla kernel that > leads to a kernel panic during the shutdown or reboot process. The > issue arises after all services, including `journald`, have been > stopped. A

Re: [PATCH] riscv: Fix early ftrace nop patching

2024-05-23 Thread patchwork-bot+linux-riscv
Hello: This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt : On Thu, 23 May 2024 13:51:34 +0200 you wrote: > Commit c97bf629963e ("riscv: Fix text patching when IPI are used") > converted ftrace_make_nop() to use patch_insn_write() which does not > emit any icache flush relying

Re: [PATCH] ftrace: riscv: move from REGS to ARGS

2024-05-22 Thread patchwork-bot+linux-riscv
Hello: This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt : On Fri, 5 Apr 2024 14:24:53 + you wrote: > This commit replaces riscv's support for FTRACE_WITH_REGS with support > for FTRACE_WITH_ARGS. This is required for the ongoing effort to stop > relying on stop_machine(

[PATCH] ftrace: Remove unused global 'ftrace_direct_func_count'

2024-05-06 Thread linux
From: "Dr. David Alan Gilbert" Commit 8788ca164eb4b ("ftrace: Remove the legacy _ftrace_direct API") stopped setting the 'ftrace_direct_func_count' variable, but left it around. Clean it up. Signed-off-by: Dr. David Alan Gilbert --- include/linux/ftrace.h | 2 -

[PATCH] virt: acrn: Remove unusted list 'acrn_irqfd_clients'

2024-05-04 Thread linux
From: "Dr. David Alan Gilbert" It doesn't look like this was ever used. Build tested only. Signed-off-by: Dr. David Alan Gilbert --- drivers/virt/acrn/irqfd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/virt/acrn/irqfd.c b/drivers/virt/acrn/irqfd.c index d4ad211dce7a3..346cf0

[PATCH] ftrace: Remove unused list 'ftrace_direct_funcs'

2024-05-04 Thread linux
led) Signed-off-by: Dr. David Alan Gilbert --- include/linux/ftrace.h | 1 - kernel/trace/ftrace.c | 8 2 files changed, 9 deletions(-) diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index 54d53f345d149..b01cca36147ff 100644 --- a/include/linux/ftrace.h +++ b/include

Re: [PATCH v3 0/2] riscv: fix patching with IPI

2024-04-28 Thread patchwork-bot+linux-riscv
Hello: This series was applied to riscv/linux.git (for-next) by Palmer Dabbelt : On Thu, 29 Feb 2024 13:10:54 +0100 you wrote: > patch 1 removes a useless memory barrier and patch 2 actually fixes the > issue with IPI in the patching code. > > Changes in v3: > - Remove wrong cleanup as noted by

Re: [PATCH v12 for-next 0/4] riscv: ftrace: Miscellaneous ftrace improvements

2024-01-20 Thread patchwork-bot+linux-riscv
Hello: This series was applied to riscv/linux.git (fixes) by Palmer Dabbelt : On Thu, 30 Nov 2023 13:15:27 +0100 you wrote: > From: Björn Töpel > > NB! Song told me that he would not have the time work on this series, > so I picked it up. > > This series includes a three ftrace improvements fo

Re: [PATCH v2 1/2] kbuild: unify vdso_install rules

2023-11-11 Thread patchwork-bot+linux-riscv
Hello: This series was applied to riscv/linux.git (fixes) by Masahiro Yamada : On Sat, 14 Oct 2023 19:54:35 +0900 you wrote: > Currently, there is no standard implementation for vdso_install, > leading to various issues: > > 1. Code duplication > > Many architectures duplicate similar code

Re: [PATCH -fixes] riscv: Fix ftrace syscall handling which are now prefixed with __riscv_

2023-10-12 Thread patchwork-bot+linux-riscv
Hello: This patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt : On Tue, 3 Oct 2023 20:24:07 +0200 you wrote: > ftrace creates entries for each syscall in the tracefs but has failed > since commit 08d0ce30e0e4 ("riscv: Implement syscall wrappers") which > prefixes all riscv syscalls

Re: [PATCH v3] riscv: Only consider swbp/ss handlers for correct privileged mode

2023-09-21 Thread patchwork-bot+linux-riscv
Hello: This patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt : On Tue, 12 Sep 2023 08:56:19 +0200 you wrote: > From: Björn Töpel > > RISC-V software breakpoint trap handlers are used for {k,u}probes. > > When trapping from kernelmode, only the kernelmode handlers should be > cons

Re: [PATCH net-next 1/2] net: phy: marvell-88x2222: check that link is operational

2021-04-13 Thread Russell King - ARM Linux admin
Hi Andrew, On Tue, Apr 13, 2021 at 03:12:05PM +0200, Andrew Lunn wrote: > Is there something like this in the marvell10 driver? No, it doesn't seem to be necessary there - I haven't seen spontaneous link-ups with the 88x3310 there. Even if we did, that would cause other issues beyond a nusience l

Re: [RFC v4 net-next 1/4] net: phy: add MediaTek PHY driver

2021-04-13 Thread Russell King - ARM Linux admin
On Tue, Apr 13, 2021 at 11:59:20AM +0800, DENG Qingfang wrote: > Within 12 hours, I got some spontaneous link down/ups when EEE is enabled: > > [16334.236233] mt7530 mdio-bus:1f wan: Link is Down > [16334.241340] br-lan: port 3(wan) entered disabled state > [16337.355988] mt7530 mdio-bus:1f wan: L

Re: [PATCH v2 0/7] remove different PHY fixups

2021-04-13 Thread Russell King - ARM Linux admin
On Tue, Apr 13, 2021 at 12:00:45PM +0200, Lucas Stach wrote: > I agree with the opinion that those PHY fixups introduce more harm than > good. Essentially they are pushing board specific configuration values > into the PHY, without any checks that the fixup is even running on the > specific board i

Re: [PATCH net-next 1/2] net: phy: marvell-88x2222: check that link is operational

2021-04-13 Thread Russell King - ARM Linux admin
On Tue, Apr 13, 2021 at 10:19:30AM +0300, Ivan Bornyakov wrote: > On Tue, Apr 13, 2021 at 01:40:32AM +0200, Andrew Lunn wrote: > > On Mon, Apr 12, 2021 at 03:16:59PM +0300, Ivan Bornyakov wrote: > > > Some SFP modules uses RX_LOS for link indication. In such cases link > > > will be always up, even

Re: [PATCH net-next] net: mvpp2: Add parsing support for different IPv4 IHL values

2021-04-13 Thread Russell King - ARM Linux admin
On Tue, Apr 13, 2021 at 11:45:31AM +0300, stef...@marvell.com wrote: > From: Stefan Chulski > > Add parser entries for different IPv4 IHL values. > Each entry will set the L4 header offset according to the IPv4 IHL field. > L3 header offset will set during the parsing of the IPv4 protocol. What

Re: [PATCH] platform/x86: pmc_atom: Match all Beckhoff Automation baytrail boards with critclk_systems DMI table

2021-04-12 Thread linux-kernel-dev
On Mo, 2021-04-12 at 13:54 +0300, Andy Shevchenko wrote: > CAUTION: External Email!! > > > On Mon, Apr 12, 2021 at 1:39 PM linux-kernel-dev > wrote: > > On Mo, 2021-04-12 at 12:43 +0300, Andy Shevchenko wrote: > > > On Mon, Apr 12, 2021 at 12:29 PM S

Re: [PATCH] platform/x86: pmc_atom: Match all Beckhoff Automation baytrail boards with critclk_systems DMI table

2021-04-12 Thread linux-kernel-dev
On Mo, 2021-04-12 at 12:43 +0300, Andy Shevchenko wrote: > > On Mon, Apr 12, 2021 at 12:29 PM Steffen Dirkwinkel > wrote: > > > > From: Steffen Dirkwinkel > > > > pmc_plt_clk* clocks are used for ethernet controllers so need to stay > > turned on. This adds the affected board family to critclk_sy

Re: [PATCH] phy: nxp-c45: add driver for tja1103

2021-04-12 Thread Russell King - ARM Linux admin
On Fri, Apr 09, 2021 at 09:41:06PM +0300, Radu Pirea (NXP OSS) wrote: > +#define B100T1_PMAPMD_CTL0x0834 > +#define B100T1_PMAPMD_CONFIG_EN BIT(15) > +#define B100T1_PMAPMD_MASTER BIT(14) > +#define MASTER_MODE (B100T1_PMAPMD_CONFIG_EN | > B100T1_P

Re: Bogus struct page layout on 32-bit

2021-04-10 Thread Russell King - ARM Linux admin
On Sat, Apr 10, 2021 at 03:06:52PM +0100, Matthew Wilcox wrote: > How about moving the flags into the union? A bit messy, but we don't > have to play games with __packed__. Yes, that is probably the better solution, avoiding the games to try and get the union appropriately placed on 32-bit system

Re: [PATCH net-next v2 0/2] Enable 2.5Gbps speed for stmmac

2021-04-07 Thread Russell King - ARM Linux admin
On Wed, Apr 07, 2021 at 02:44:39PM +0200, Andrew Lunn wrote: > > Intel mgbe is flexible to pair with any PHY. Only Aquantia/Marvell > > multi-gige PHY can do rate adaption right? > > The Marvell/Marvell multi-gige PHY can also do rate > adaptation. Marvell buying Aquantia made naming messy :-( > I

Re: [PATCH 00/20] kbuild: unify the install.sh script usage

2021-04-07 Thread Russell King - ARM Linux admin
On Wed, Apr 07, 2021 at 10:07:29AM +0200, Greg Kroah-Hartman wrote: > On Wed, Apr 07, 2021 at 09:02:29AM +0100, Russell King - ARM Linux admin > wrote: > > On Wed, Apr 07, 2021 at 09:46:18AM +0200, Greg Kroah-Hartman wrote: > > > On Wed, Apr 07, 2021 at 09:18:11AM +0200, Gee

Re: [PATCH 00/20] kbuild: unify the install.sh script usage

2021-04-07 Thread Russell King - ARM Linux admin
On Wed, Apr 07, 2021 at 09:46:18AM +0200, Greg Kroah-Hartman wrote: > On Wed, Apr 07, 2021 at 09:18:11AM +0200, Geert Uytterhoeven wrote: > > Hi Greg, > > > > Thanks for your series! > > > > On Wed, Apr 7, 2021 at 7:34 AM Greg Kroah-Hartman > > wrote: > > > Almost every architecture has copied t

Re: [PATCH 2/2] net: mdio: support c45 peripherals on c22 busses

2021-04-05 Thread Russell King - ARM Linux admin
On Mon, Apr 05, 2021 at 08:58:07PM +0200, Danilo Krummrich wrote: > On Mon, Apr 05, 2021 at 03:33:55PM +0200, Andrew Lunn wrote: > However, this was about something else - Russell wrote: > > > > We have established that MDIO drivers need to reject accesses for > > > > reads/writes that they do not

Re: [PATCH 2/2] net: mdio: support c45 peripherals on c22 busses

2021-04-02 Thread Russell King - ARM Linux admin
On Fri, Apr 02, 2021 at 03:10:49AM +0200, Danilo Krummrich wrote: > On Thu, Apr 01, 2021 at 09:48:58AM +0100, Russell King - ARM Linux admin > wrote: > > Do you actually have a requirement for this? > > > Yes, the Marvell 88Q2112 1000Base-T1 PHY. But actually, I just recogniz

Re: [PATCH net-next 1/2] net: stmmac: enable 2.5Gbps link speed

2021-04-01 Thread Russell King - ARM Linux admin
On Thu, Apr 01, 2021 at 11:01:51PM +0800, Michael Sit Wei Hong wrote: > + /* 2.5G mode only support 2500baseT full duplex only */ > + if (priv->plat->has_gmac4 && priv->plat->speed_2500_en) { > + phylink_set(mac_supported, 2500baseT_Full); > + phylink_set(mask, 10bas

Re: [PATCH 2/2] net: mdio: support c45 peripherals on c22 busses

2021-04-01 Thread Russell King - ARM Linux admin
On Thu, Apr 01, 2021 at 03:23:05AM +0200, danilokrummr...@dk-develop.de wrote: > On 2021-03-31 20:35, Russell King - ARM Linux admin wrote: > > On Wed, Mar 31, 2021 at 07:58:33PM +0200, danilokrummr...@dk-develop.de > > wrote: > > > For this cited change the only th

Re: [PATCH 2/2] net: mdio: support c45 peripherals on c22 busses

2021-03-31 Thread Russell King - ARM Linux admin
On Wed, Mar 31, 2021 at 07:58:33PM +0200, danilokrummr...@dk-develop.de wrote: > For this cited change the only thing happening is that if get_phy_device() > already failed for probing with is_c45==false (C22 devices) it tries to > probe with is_c45==true (C45 devices) which then either results int

Re: [PATCH v2] mm: Move mem_init_print_info() into mm_init()

2021-03-31 Thread Russell King - ARM Linux admin
On Wed, Mar 17, 2021 at 09:52:10AM +0800, Kefeng Wang wrote: > mem_init_print_info() is called in mem_init() on each architecture, > and pass NULL argument, so using void argument and move it into mm_init(). > > Acked-by: Dave Hansen > Signed-off-by: Kefeng Wang Acked-by: Russell King # for ar

Re: [PATCH] arm: 9016/2: Make symbol 'tmp_pmd_table' static

2021-03-27 Thread Russell King - ARM Linux admin
Why do you have 9016/2 in the subject line? That's an identifier from the patch system which shouldn't be in the subject line. If you want to refer to something already committed, please do so via the sha1 git hash and quote the first line of the commit description within ("...") in the body of yo

Re: [PATCH] ARM: fix smp_processor_id() in preemptible warning in harden_branch_predictor()

2021-03-25 Thread Russell King - ARM Linux admin
On Thu, Mar 25, 2021 at 09:32:35PM +0800, Liu Xiang wrote: > Russell King - ARM Linux admin 于2021年3月25日周四 下午6:06写道: > > > > On Thu, Mar 25, 2021 at 05:50:49PM +0800, Liu Xiang wrote: > > > When CONFIG_HARDEN_BRANCH_PREDICTOR is selected and user aborts occur,

Re: [PATCH] ARM: syscalls: switch to generic syscalltbl.sh

2021-03-25 Thread Russell King - ARM Linux admin
On Fri, Mar 05, 2021 at 11:53:39PM +0900, Masahiro Yamada wrote: > On Fri, Mar 5, 2021 at 7:04 PM Linus Walleij wrote: > > > > On Mon, Mar 1, 2021 at 3:29 PM Masahiro Yamada wrote: > > > > > Many architectures duplicate similar shell scripts. > > > > > > This commit converts ARM to use scripts/sy

Re: [PATCH] ARM: fix smp_processor_id() in preemptible warning in harden_branch_predictor()

2021-03-25 Thread Russell King - ARM Linux admin
On Thu, Mar 25, 2021 at 05:50:49PM +0800, Liu Xiang wrote: > When CONFIG_HARDEN_BRANCH_PREDICTOR is selected and user aborts occur, > there is a warning: > > BUG: using smp_processor_id() in preemptible [] code: errnotest/577 > caller is __do_user_fault.constprop.4+0x24/0x88 > CPU: 1 PID:

Re: [PATCH net-next v3 2/2] net: pcs: configure xpcs 2.5G speed mode

2021-03-25 Thread Russell King - ARM Linux admin
On Thu, Mar 25, 2021 at 04:38:06PM +0800, Michael Sit Wei Hong wrote: > diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c > index 12a047d47dec..c95dfe4e5310 100644 > --- a/drivers/net/phy/phylink.c > +++ b/drivers/net/phy/phylink.c > @@ -290,6 +290,8 @@ static int phylink_parse_mod

Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig

2021-03-23 Thread Russell King - ARM Linux admin
On Mon, Mar 22, 2021 at 06:10:01PM +0100, Cye Borg wrote: > PWS 500au: > > snow / # lspci -vvx -s 7.1 > 00:07.1 IDE interface: Contaq Microsystems 82c693 (prog-if 80 [ISA > Compatibility mode-only controller, supports bus mastering]) > Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGAS

Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig

2021-03-23 Thread Russell King - ARM Linux admin
On Mon, Mar 22, 2021 at 04:33:14PM +0100, Christoph Hellwig wrote: > On Mon, Mar 22, 2021 at 04:18:23PM +0100, Christoph Hellwig wrote: > > On Mon, Mar 22, 2021 at 03:15:03PM +, Russell King - ARM Linux admin > > wrote: > > > It gets worse than that though - d

Re: [PATCH] ARM: delay: avoid clang -Wtautological-constant warning

2021-03-23 Thread Russell King - ARM Linux admin
On Tue, Mar 23, 2021 at 02:20:23PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > Passing an 8-bit constant into delay() triggers a warning when building > with 'make W=1' using clang: > > drivers/clk/actions/owl-pll.c:182:2: error: result of comparison of constant > 2000 with expression

Re: [PATCH] ARM: dma-mapping: fix out of bounds access in CMA

2021-03-23 Thread Russell King - ARM Linux admin
On Tue, Mar 23, 2021 at 02:14:13PM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > Dereferencing a zero-length array is always a bug, and we get a warning > with 'make W=1' here: > > arch/arm/mm/dma-mapping.c: In function 'dma_contiguous_early_fixup': > arch/arm/mm/dma-mapping.c:395:15: er

Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig

2021-03-22 Thread Russell King - ARM Linux admin
On Mon, Mar 22, 2021 at 05:09:13PM +0100, John Paul Adrian Glaubitz wrote: > On 3/22/21 4:15 PM, Russell King - ARM Linux admin wrote: > > I'm quite surprised that the CY82C693 even works on Alpha - I've > > asked for a lspci for that last week but nothing has yet been >

Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig

2021-03-22 Thread Russell King - ARM Linux admin
On Mon, Mar 22, 2021 at 04:18:23PM +0100, Christoph Hellwig wrote: > On Mon, Mar 22, 2021 at 03:15:03PM +, Russell King - ARM Linux admin > wrote: > > It gets worse than that though - due to a change to remove > > pcibios_min_io from the generic code, moving it into the AR

Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig

2021-03-22 Thread Russell King - ARM Linux admin
On Mon, Mar 22, 2021 at 03:54:03PM +0100, Christoph Hellwig wrote: > On Fri, Mar 19, 2021 at 05:53:12PM +, Russell King - ARM Linux admin > wrote: > > If I extend the arch/arm/kernel/bios32.c code to kill BARs 2/3 (which > > actually are not present on the CY82C693) then th

Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig

2021-03-19 Thread Russell King - ARM Linux admin
On Fri, Mar 19, 2021 at 05:07:53PM +, Russell King - ARM Linux admin wrote: > On Thu, Mar 18, 2021 at 05:56:58AM +0100, Christoph Hellwig wrote: > > footbridge_defconfig enables CONFIG_IDE but no actual host controller > > driver, so just drop it. > > I have been using t

Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig

2021-03-19 Thread Russell King - ARM Linux admin
On Thu, Mar 18, 2021 at 05:56:58AM +0100, Christoph Hellwig wrote: > footbridge_defconfig enables CONFIG_IDE but no actual host controller > driver, so just drop it. I have been using the Cypress 82C693 IDE driver on Footbridge for a CD ROM drive, and I know it doesn't work with the PATA driver -

Re: [syzbot] upstream boot error: WARNING in __context_tracking_enter

2021-03-19 Thread Russell King - ARM Linux admin
On Fri, Mar 19, 2021 at 10:54:48AM +0100, Dmitry Vyukov wrote: > .On Fri, Mar 19, 2021 at 10:44 AM syzbot > wrote: > > syzbot found the following issue on: > > > > HEAD commit:8b12a62a Merge tag 'drm-fixes-2021-03-19' of git://anongit.. > > git tree: upstream > > console output: https://

Re: [PATCH net V2 1/1] net: phy: fix invalid phy id when probe using C22

2021-03-19 Thread Russell King - ARM Linux admin
On Fri, Mar 19, 2021 at 08:40:45AM +0100, Heiner Kallweit wrote: > Is there a specific reason why c22 is probed first? Reversing the order > would solve the issue we speak about here. > c45-probing of c22-only PHY's shouldn't return false positives > (at least at a first glance). That would likely

Re: [PATCH net V2 1/1] net: phy: fix invalid phy id when probe using C22

2021-03-18 Thread Russell King - ARM Linux admin
nsidered an ABI breakage, > unless we filter out what we report to user-space via SIOGCMIIREG and > /sys/class/mdio_bus/*/*/phy_id > > Ideally we would have assigned an unique PHY OUI to the fixed PHY but > that would have required registering Linux as a vendor, and the proces

Re: [syzbot] kernel panic: corrupted stack end in openat

2021-03-16 Thread Russell King - ARM Linux admin
On Tue, Mar 16, 2021 at 04:44:45PM +0100, Arnd Bergmann wrote: > On Tue, Mar 16, 2021 at 11:17 AM Dmitry Vyukov wrote: > > On Tue, Mar 16, 2021 at 11:02 AM Arnd Bergmann wrote: > > > > On Tue, Mar 16, 2021 at 8:18 AM syzbot > > > > > > > [<8073772c>] (integrity_kernel_read) from [<8073a904>] > >

Re: [EXT] Re: [V2 net-next] net: mvpp2: Add reserved port private flag configuration

2021-03-16 Thread Russell King - ARM Linux admin
On Tue, Mar 16, 2021 at 03:28:51PM +, Stefan Chulski wrote: > No XDP doesn't require this. One of the use cases of the port reservation > feature is the Marvell User Space SDK (MUSDK) which its latest code is > publicly available here: > https://github.com/MarvellEmbeddedProcessors/musdk-marv

Re: [syzbot] kernel panic: corrupted stack end in openat

2021-03-16 Thread Russell King - ARM Linux admin
On Tue, Mar 16, 2021 at 08:59:17AM +0100, Dmitry Vyukov wrote: > On Tue, Mar 16, 2021 at 8:18 AM syzbot > wrote: > > > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit:1e28eed1 Linux 5.12-rc3 > > gi

Re: [net-next] net: mvpp2: Add reserved port private flag configuration

2021-03-10 Thread Russell King - ARM Linux admin
> During port reservation all common configurations are preserved and > only RXQ, TXQ, and interrupt vectors are disabled. If a port is reserved for use by the CM3, what are the implications for Linux running on the AP? Should Linux have knowledge of the port? What configurations of the por

Re: arm: lockdep complaining about locks allocations in static memory

2021-03-10 Thread Russell King - ARM Linux admin
itmem is static > memory. I'm using linux 5.4, as that is what is used in the next OpenWrt > version. > > [ 92.198989] WARNING: CPU: 0 PID: 2015 at kernel/locking/lockdep.c:1119 > alloc_netdev_mqs+0xb4/0x3b0 > > I guess CONFIG_PREEMT just changes the timing of allocations, and

Re: [PATCH] clk: Fix doc of clk_get_parent

2021-03-07 Thread Russell King - ARM Linux admin
On Sun, Mar 07, 2021 at 02:29:07PM +, Paul Cercueil wrote: > Hi, > > Le dim. 7 mars 2021 à 14:27, Russell King - ARM Linux admin > a écrit : > > On Sun, Mar 07, 2021 at 02:06:26PM +, Paul Cercueil wrote: > > > On error, or when the passed parameter i

Re: [PATCH] clk: Fix doc of clk_get_parent

2021-03-07 Thread Russell King - ARM Linux admin
On Sun, Mar 07, 2021 at 02:06:26PM +, Paul Cercueil wrote: > On error, or when the passed parameter is NULL, the return value is NULL > and not a PTR_ERR()-encoded value. No, the documentation is accurate. The CCF is just an implementation of the API, the file you are modifying is the definiti

Re: [PATCH v2] amba: Remove deferred device addition

2021-03-04 Thread Russell King - ARM Linux admin
On Wed, Mar 03, 2021 at 08:08:44PM -0800, Saravana Kannan wrote: > Marek, > > I tested it and saw the device get added before the resources were > available and the uevent file looked okay. Would you mind testing it > further? To put it bluntly, if you have tested this, the testing was not very e

Re: [PATCH drivers/net] #ifdef mdio_bus_phy_suspend() and mdio_bus_phy_suspend()

2021-03-03 Thread Russell King - ARM Linux admin
On Wed, Mar 03, 2021 at 09:53:38AM -0800, Paul E. McKenney wrote: > drivers/net: #ifdef mdio_bus_phy_suspend() and mdio_bus_phy_suspend() > > The following build error is emitted by rcutorture builds of v5.12-rc1: > > drivers/net/phy/phy_device.c:293:12: warning: ‘mdio_bus_phy_resume’ defined >

Re: [PATCH v3] net: phy: add Marvell 88X2222 transceiver support

2021-03-03 Thread Russell King - ARM Linux admin
Hi, Mostly great, but just a couple more points. On Wed, Mar 03, 2021 at 01:57:57PM +0300, Ivan Bornyakov wrote: > + adv = 0; > + > + if (linkmode_test_bit(ETHTOOL_LINK_MODE_1000baseX_Full_BIT, > + priv->supported)) > + adv |= ADVERTISE_1000XFULL; > +

Re: [PATCH] module: remove duplicate include in arch/arm/mach-sa1100/hackkit.c

2021-03-03 Thread Russell King - ARM Linux admin
On Tue, Mar 02, 2021 at 11:17:21PM -0800, menglong8.d...@gmail.com wrote: > From: Zhang Yunkai > > 'linux/tty.h' included in 'arch/arm/mach-sa1100/hackkit.c' is duplicated. > > Signed-off-by: Zhang Yunkai I don't see this change has anything to do wit

Re: [PATCH] module: remove duplicate include in ./arch/arm/include/asm/pgtable.h

2021-03-03 Thread Russell King - ARM Linux admin
On Tue, Mar 02, 2021 at 06:04:22PM -0800, menglong8.d...@gmail.com wrote: > From: Zhang Yunkai > > 'asm-generic/pgtable-nopud.h' included in 'pgtable.h' is duplicated. > > Signed-off-by: Zhang Yunkai I don't see this change has anything to do with module code, so what is the reason for "module

Re: [PATCH 02/11] pragma once: convert arch/arm/tools/gen-mach-types

2021-03-01 Thread Russell King - ARM Linux admin
On Sun, Feb 28, 2021 at 07:59:16PM +0300, Alexey Dobriyan wrote: > From 72842f89ae91a4d02ea29604f87c373052bd3f64 Mon Sep 17 00:00:00 2001 > From: Alexey Dobriyan > Date: Tue, 9 Feb 2021 14:37:40 +0300 > Subject: [PATCH 02/11] pragma once: convert arch/arm/tools/gen-mach-types > > Generate arch/ar

Re: [PATCH 1/1] arm: print alloc free paths for address in registers

2021-02-24 Thread Russell King - ARM Linux admin
On Wed, Feb 24, 2021 at 06:07:34PM +0530, Maninder Singh wrote: > +bool slab_page_object(unsigned long address, void **object, struct > kmem_cache **cache) > +{ > + void *addr = (void *)address; > + struct page *page; > + > + if ((addr >= (void *)PAGE_OFFSET) && > +

Re: [PATCH] [RFC]ARM: ftrace: pause/unpause function graph tracer in cpu_suspend()

2021-02-24 Thread Russell King - ARM Linux admin
On Wed, Feb 24, 2021 at 07:14:54PM +0800, liang wang wrote: > Hi Russell, > > On Wed, 24 Feb 2021 at 18:39, Russell King - ARM Linux admin > wrote: > > > > On Wed, Feb 24, 2021 at 06:35:47PM +0800, liang wang wrote: > > > Hi,all > > > > > > ftr

Re: [PATCH] [RFC]ARM: ftrace: pause/unpause function graph tracer in cpu_suspend()

2021-02-24 Thread Russell King - ARM Linux admin
On Wed, Feb 24, 2021 at 06:35:47PM +0800, liang wang wrote: > Hi,all > > ftrace function_graph tracer always cause kernel panic on my ARM device with > multiple CPUs, I found a solution for the problem on ARM64, refers to > the patch above, > I was wondering why this bugfix on ARM64 hasn't been up

Re: [PATCH v4] ARM: Implement SLS mitigation

2021-02-21 Thread Russell King - ARM Linux admin
On Fri, Feb 19, 2021 at 03:08:13PM -0800, Jian Cai wrote: > diff --git a/security/Kconfig.hardening b/security/Kconfig.hardening > index 269967c4fc1b..146b75a79d9e 100644 > --- a/security/Kconfig.hardening > +++ b/security/Kconfig.hardening > @@ -121,6 +121,16 @@ choice > > endchoice > > +conf

  1   2   3   4   5   6   7   8   9   10   >