[PATCH v4 net-next 03/14] net: enetc: move generic MAC filterng interfaces to enetc-core

2025-03-10 Thread Wei Fang
Although only ENETC PF can access the MAC address filter table, the table entries can specify MAC address filtering for one or more SIs based on SI_BITMAP, which means that the table also supports MAC address filtering for VFs. Currently, only the ENETC v1 PF driver supports MAC address filtering.

[PATCH v4 net-next 01/14] net: enetc: add initial netc-lib driver to support NTMP

2025-03-10 Thread Wei Fang
Some NETC functionality is controlled using control messages sent to the hardware using BD ring interface with 32B descriptor similar to transmit BD ring used on ENETC. This BD ring interface is referred to as command BD ring. It is used to configure functionality where the underlying resources may

[PATCH v3 1/2] book3s64/radix: Fix compile errors when CONFIG_ARCH_WANT_OPTIMIZE_DAX_VMEMMAP=n

2025-03-10 Thread Donet Tom
From: "Ritesh Harjani (IBM)" Fix compile errors when CONFIG_ARCH_WANT_OPTIMIZE_DAX_VMEMMAP=n Signed-off-by: Ritesh Harjani (IBM) Signed-off-by: Donet Tom --- arch/powerpc/mm/book3s64/radix_pgtable.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/mm/book3s64

[PATCH v4 net-next 02/14] net: enetc: add command BD ring support for i.MX95 ENETC

2025-03-10 Thread Wei Fang
The command BD ring is used to configure functionality where the underlying resources may be shared between different entities or being too large to configure using direct registers (such as lookup tables). Because the command BD and table formats of i.MX95 and LS1028A are very different, the soft

[PATCH v4 net-next 00/14] Add more feautues for ENETC v4 - round 2

2025-03-10 Thread Wei Fang
This patch set adds the following features. 1. Compared with ENETC v1, the formats of tables and command BD of ENETC v4 have changed significantly, and the two are not compatible. Therefore, in order to support the NETC Table Management Protocol (NTMP) v2.0, we introduced the netc-lib driver and ad

Re: [PATCH 07/13] s390: make setup_zero_pages() use memblock

2025-03-10 Thread Mike Rapoport
On Fri, Mar 07, 2025 at 04:28:15PM +0100, Heiko Carstens wrote: > On Thu, Mar 06, 2025 at 08:51:17PM +0200, Mike Rapoport wrote: > > From: "Mike Rapoport (Microsoft)" > > > > Allocating the zero pages from memblock is simpler because the memory is > > already reserved. > > > > This will also hel

[PATCH v4 net-next 10/14] net: enetc: move generic VLAN filter interfaces to enetc-core

2025-03-10 Thread Wei Fang
For ENETC, each SI has a corresponding VLAN hash table. That is to say, both PF and VFs can support VLAN filter. However, currently only ENETC v1 PF driver supports VLAN filter. In order to make i.MX95 ENETC (v4) PF and VF drivers also support VLAN filter, some related macros are moved from enetc_p

[PATCH v4 net-next 11/14] net: enetc: move generic VLAN hash filter functions to enetc_pf_common.c

2025-03-10 Thread Wei Fang
Since the VLAN hash filter of ENETC v1 and v4 is the basically same, the only difference is the offset of the VLAN hash filter registers. So, the .set_si_vlan_hash_filter() hook is added to struct enetc_pf_ops to set the registers of the corresponding platform. In addition, the common VLAN hash fil

[PATCH v4 net-next 07/14] net: enetc: make enetc_set_rss_key() reusable

2025-03-10 Thread Wei Fang
Since the offset of the RSS key registers of i.MX95 ENETC is different from that of LS1028A, so add enetc_get_rss_key_base() to get the base offset for the different chips, so that enetc_set_rss_key() can be reused for this trivial. Signed-off-by: Wei Fang --- drivers/net/ethernet/freescale/enet

[PATCH v4 net-next 06/14] net: enetc: add set/get_rss_table() to enetc_si_ops

2025-03-10 Thread Wei Fang
Since i.MX95 ENETC (v4) uses NTMP 2.0 to manage the RSS table, which is different from LS1028A ENETC (v1). In order to reuse some functions related to the RSS table, so add .get_rss_table() and .set_rss_table() hooks to enetc_si_ops. Signed-off-by: Wei Fang --- drivers/net/ethernet/freescale/ene

[PATCH v4 net-next 14/14] MAINTAINERS: add new file ntmp.h to ENETC driver

2025-03-10 Thread Wei Fang
Add new file ntmp.h. to ENETC driver. Signed-off-by: Wei Fang --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7078199fcebf..e259b659eadb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9174,6 +9174,7 @@ F: Documentation/devicetree/bindin

Re: [PATCH v4 4/6] kvm powerpc/book3s-apiv2: Introduce kvm-hv specific PMU

2025-03-10 Thread Vaibhav Jain
Athira Rajeev writes: >> On 24 Feb 2025, at 6:45 PM, Vaibhav Jain wrote: >> >> Introduce a new PMU named 'kvm-hv' inside a new module named 'kvm-hv-pmu' >> to report Book3s kvm-hv specific performance counters. This will expose >> KVM-HV specific performance attributes to user-space via kernel'

Re: [PATCH] powerpc/boot: Fix build with gcc 15

2025-03-10 Thread Michal Suchánek
On Fri, Mar 07, 2025 at 10:20:52AM +0100, Michal Suchanek wrote: > Similar to x86 the ppc boot code does not build with GCC 15. > > Copy the fix from > commit ee2ab467bddf ("x86/boot: Use '-std=gnu11' to fix build with GCC 15") > > Signed-off-by: Michal Suchanek > --- > arch/powerpc/boot/Makefi

[powerpc:next-test] BUILD SUCCESS 861efb8a48ee8b73ae4e8817509cd4e82fd52bc4

2025-03-10 Thread kernel test robot
randconfig-001-20250310gcc-13.2.0 arc randconfig-002-20250310gcc-13.2.0 arm allmodconfiggcc-14.2.0 arm allnoconfigclang-17 arm allyesconfiggcc-14.2.0 arm

[RFC 0/2] mm/ptdump: Drop assumption that pxd_val() is u64

2025-03-10 Thread Anshuman Khandual
Last argument passed down in note_page() is u64 assuming pxd_val() returned value (all page table levels) is 64 bit - which might not be the case going ahead when D128 page tables is enabled on arm64 platform. Besides pxd_val() is very platform specific and its type should not be assumed in generic

[RFC 2/2] arm64/ptdump: Replace u64 with pteval_t

2025-03-10 Thread Anshuman Khandual
Page table entry's value, mask and protection are represented with pteval_t data type format not u64 that has been assumed while dumping the page table entries. Replace all such u64 instances with pteval_t instead as required. Cc: Catalin Marinas Cc: Will Deacon Cc: Marc Zyngier Cc: linux-arm-k

Re: [PATCH v4] dt-bindings: dma: Convert fsl,elo*-dma to YAML

2025-03-10 Thread Vinod Koul
On Sat, 08 Mar 2025 19:33:39 +0100, J. Neuschäfer wrote: > The devicetree bindings for Freescale DMA engines have so far existed as > a text file. This patch converts them to YAML, and specifies all the > compatible strings currently in use in arch/powerpc/boot/dts. > > Applied, thanks! [1/1]

Re: [PATCH v3 2/3] dt-bindings: nand: Add fsl,elbc-fcm-nand

2025-03-10 Thread Miquel Raynal
On 08/03/2025 at 18:40:43 GMT, J. Neuschäfer wrote: > Miquel, what do you think about Rob's suggestion below? > > On Mon, Mar 03, 2025 at 08:00:21AM -0600, Rob Herring wrote: >> On Wed, Feb 26, 2025 at 12:45:17PM -0600, Rob Herring (Arm) wrote: >> > >> > On Wed, 26 Feb 2025 18:01:41 +0100, J. Ne

Re: PowerPC: Observing Kernel softlockup while running ftrace selftest

2025-03-10 Thread Hari Bathini
Venkat, can you confirm if the issue is reproducible disabling CONFIG_PPC_IRQ_SOFT_MASK_DEBUG ? On 06/03/25 6:04 pm, Venkat Rao Bagalkote wrote: Greetings!!! I am observing soft lock up's while running ftrace selftest on linux- next kernel. Kernel Version: next-20250305 make run_tests TA

Re: [PATCH v3 1/2] book3s64/radix: Fix compile errors when CONFIG_ARCH_WANT_OPTIMIZE_DAX_VMEMMAP=n

2025-03-10 Thread IBM
Christophe Leroy writes: > Le 10/03/2025 à 13:44, Donet Tom a écrit : >> From: "Ritesh Harjani (IBM)" >> >> Fix compile errors when CONFIG_ARCH_WANT_OPTIMIZE_DAX_VMEMMAP=n > > I don't understand your patch. > > As far as I can see, CONFIG_ARCH_WANT_OPTIMIZE_DAX_VMEMMAP is selected > when CONFI