Re: [PATCH v11 0/4] Support SMT control on arm64

2025-03-03 Thread Yicong Yang
On 2025/2/28 19:12, Dietmar Eggemann wrote: > On 18/02/2025 15:10, Yicong Yang wrote: >> From: Yicong Yang >> >> The core CPU control framework supports runtime SMT control which >> is not yet supported on arm64. Besides the general vulnerabilities >> concerns we want this runtime control on our a

[PATCH 02/19] arm64: Make asm/cache.h compatible with vDSO

2025-03-03 Thread Thomas Weißschuh
asm/cache.h can be used during the vDSO build through vdso/cache.h. Not all definitions in it are compatible with the vDSO, especially the compat vDSO. Hide the more complex definitions from the vDSO build. Signed-off-by: Thomas Weißschuh --- arch/arm64/include/asm/cache.h | 4 ++-- 1 file chang

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

2025-03-03 Thread Rob Herring
On Wed, Feb 26, 2025 at 11:29:54AM -0600, Rob Herring (Arm) wrote: > > On Wed, 26 Feb 2025 16:57:17 +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 strin

Re: [PATCH v9 19/20] fs/dax: Properly refcount fs dax pages

2025-03-03 Thread David Hildenbrand
-static inline unsigned long dax_folio_share_put(struct folio *folio) +static inline unsigned long dax_folio_put(struct folio *folio) { - return --folio->page.share; + unsigned long ref; + int order, i; + + if (!dax_folio_is_shared(folio)) + ref = 0; +

Re: [PATCH] powerpc: Don't use %pK through printk

2025-03-03 Thread Thomas Weißschuh
On Fri, Feb 28, 2025 at 08:15:02PM +, Maciej W. Rozycki wrote: > On Wed, 26 Feb 2025, Thomas Weißschuh wrote: > > > > > By default, when kptr_restrict is set to 0, %pK behaves the same as %p. > > > > The same happened for a bunch of other architectures and nobody seems > > > > to have noticed

[PATCH 10/19] vdso/gettimeofday: Prepare do_coarse_timens() for introduction of struct vdso_clock

2025-03-03 Thread Thomas Weißschuh
From: Anna-Maria Behnsen To support multiple PTP clocks, the VDSO data structure needs to be reworked. All clock specific data will end up in struct vdso_clock and in struct vdso_time_data there will be array of it. At the moment, vdso_clock is simply a define which maps vdso_clock to vdso_time_d

[PATCH 05/19] vdso/helpers: Prepare introduction of struct vdso_clock

2025-03-03 Thread Thomas Weißschuh
From: Anna-Maria Behnsen To support multiple PTP clocks, the VDSO data structure needs to be reworked. All clock specific data will end up in struct vdso_clock and in struct vdso_time_data there will be array of it. By now, vdso_clock is simply a define which maps vdso_clock to vdso_time_data. P

[PATCH 06/19] vdso/gettimeofday: Prepare introduction of struct vdso_clock

2025-03-03 Thread Thomas Weißschuh
From: Anna-Maria Behnsen To support multiple PTP clocks, the VDSO data structure needs to be reworked. All clock specific data will end up in struct vdso_clock and in struct vdso_time_data there will be array of it. At the moment, vdso_clock is simply a define which maps vdso_clock to vdso_time_d

[PATCH 00/19] vdso: Rework struct vdso_time_data and introduce struct vdso_clock

2025-03-03 Thread Thomas Weißschuh
To support multiple PTP clocks, the VDSO data structure needs to be reworked. All clock specific data will end up in struct vdso_clock and in struct vdso_time_data there will be an array of it. This series is based on and intended to be merged through tip/timers/vdso. Signed-off-by: Thomas Weißsc

[PATCH 07/19] vdso/gettimeofday: Prepare do_hres() for introduction of struct vdso_clock

2025-03-03 Thread Thomas Weißschuh
From: Anna-Maria Behnsen To support multiple PTP clocks, the VDSO data structure needs to be reworked. All clock specific data will end up in struct vdso_clock and in struct vdso_time_data there will be array of it. By now, vdso_clock is simply a define which maps vdso_clock to vdso_time_data. P

[PATCH 13/19] vdso/namespace: Rename timens_setup_vdso_data() to reflect new vdso_clock struct

2025-03-03 Thread Thomas Weißschuh
From: Anna-Maria Behnsen To support multiple PTP clocks, the VDSO data structure needs to be reworked. All clock specific data will end up in struct vdso_clock and in struct vdso_time_data there will be array of it. For time namespace, vdso_time_data needs to be set up. But this is only the cloc

[PATCH 09/19] vdso/gettimeofday: Prepare do_coarse() for introduction of struct vdso_clock

2025-03-03 Thread Thomas Weißschuh
From: Anna-Maria Behnsen To support multiple PTP clocks, the VDSO data structure needs to be reworked. All clock specific data will end up in struct vdso_clock and in struct vdso_time_data there will be array of it. By now, vdso_clock is simply a define which maps vdso_clock to vdso_time_data. P

[PATCH 08/19] vdso/gettimeofday: Prepare do_hres_timens() for introduction of struct vdso_clock

2025-03-03 Thread Thomas Weißschuh
From: Anna-Maria Behnsen To support multiple PTP clocks, the VDSO data structure needs to be reworked. All clock specific data will end up in struct vdso_clock and in struct vdso_time_data there will be array of it. By now, vdso_clock is simply a define which maps vdso_clock to vdso_time_data. P

[PATCH 03/19] vdso: Make vdso_time_data cacheline aligned

2025-03-03 Thread Thomas Weißschuh
From: Anna-Maria Behnsen vdso_time_data is not cacheline aligned at the moment. When instantiating an array, the start of the second array member is not cache line aligned. This increases the number of the required cache lines which needs to be read when handling e.g. CLOCK_MONOTONIC_RAW, because

[PATCH 16/19] arm64/vdso: Prepare introduction of struct vdso_clock

2025-03-03 Thread Thomas Weißschuh
From: Nam Cao To support multiple PTP clocks, the VDSO data structure needs to be reworked. All clock specific data will end up in struct vdso_clock and in struct vdso_time_data there will be array of it. By now, vdso_clock is simply a define which maps vdso_clock to vdso_time_data. To prepare f

[PATCH 17/19] powerpc/vdso: Prepare introduction of struct vdso_clock

2025-03-03 Thread Thomas Weißschuh
From: Nam Cao To support multiple PTP clocks, the VDSO data structure needs to be reworked. All clock specific data will end up in struct vdso_clock and in struct vdso_time_data there will be array of it. By now, vdso_clock is simply a define which maps vdso_clock to vdso_time_data. To prepare f

[PATCH 19/19] vdso: Rework struct vdso_time_data and introduce struct vdso_clock

2025-03-03 Thread Thomas Weißschuh
From: Anna-Maria Behnsen To support multiple PTP clocks, the VDSO data structure needs to be reworked. All clock specific data will end up in struct vdso_clock and in struct vdso_time_data there will be an array of it. Now all preparation is in place: Split the clock related struct members into

[PATCH 15/19] x86/vdso: Prepare introduction of struct vdso_clock

2025-03-03 Thread Thomas Weißschuh
From: Anna-Maria Behnsen To support multiple PTP clocks, the VDSO data structure needs to be reworked. All clock specific data will end up in struct vdso_clock and in struct vdso_time_data there will be array of it. By now, vdso_clock is simply a define which maps vdso_clock to vdso_time_data. T

[PATCH 12/19] vdso/vsyscall: Prepare introduction of struct vdso_clock

2025-03-03 Thread Thomas Weißschuh
From: Anna-Maria Behnsen To support multiple PTP clocks, the VDSO data structure needs to be reworked. All clock specific data will end up in struct vdso_clock and in struct vdso_time_data there will be array of it. By now, vdso_clock is simply a define which maps vdso_clock to vdso_time_data. T

[PATCH 14/19] time/namespace: Prepare introduction of struct vdso_clock

2025-03-03 Thread Thomas Weißschuh
From: Anna-Maria Behnsen To support multiple PTP clocks, the VDSO data structure needs to be reworked. All clock specific data will end up in struct vdso_clock and in struct vdso_time_data there will be array of it. By now, vdso_clock is simply a define which maps vdso_clock to vdso_time_data. T

[PATCH 01/19] vdso: Introduce vdso/cache.h

2025-03-03 Thread Thomas Weißschuh
The vDSO implementation can only include headers from the vdso/ namespace. To enable the usage of cacheline_aligned from the vDSO, move it and its dependencies into a new header vdso/cache.h. Keep compatibility by including vdso/cache.h from linux/cache.h. Signed-off-by: Thomas Weißschuh ---

Re: [PATCH v11 3/4] arm64: topology: Support SMT control on ACPI based system

2025-03-03 Thread Sudeep Holla
On Mon, Mar 03, 2025 at 10:56:12AM +0100, Pierre Gondois wrote: > On 2/28/25 20:06, Sudeep Holla wrote: > > > > > > > > Ditto as previous patch, can get rid if it is default 1. > > > > > > > > > > On non-SMT platforms, not calling cpu_smt_set_num_threads() leaves > > > cpu_smt_num_threads uninitial

[PATCH 18/19] vdso: Move arch related data before basetime

2025-03-03 Thread Thomas Weißschuh
From: Anna-Maria Behnsen Architecture related vdso data is required in fastpath when acquiring CLOCK_MONOTONIC or CLOCK_REALTIME. At the moment, this information is located at the end of the vdso_time_data structure. The whole structure has to be loaded into cache to be able to access this inform

[PATCH v7 0/6] ptrace: introduce PTRACE_SET_SYSCALL_INFO API

2025-03-03 Thread Dmitry V. Levin
PTRACE_SET_SYSCALL_INFO is a generic ptrace API that complements PTRACE_GET_SYSCALL_INFO by letting the ptracer modify details of system calls the tracee is blocked in. This API allows ptracers to obtain and modify system call details in a straightforward and architecture-agnostic way, providing a

[PATCH v7 2/6] syscall.h: add syscall_set_arguments()

2025-03-03 Thread Dmitry V. Levin
This function is going to be needed on all HAVE_ARCH_TRACEHOOK architectures to implement PTRACE_SET_SYSCALL_INFO API. This partially reverts commit 7962c2eddbfe ("arch: remove unused function syscall_set_arguments()") by reusing some of old syscall_set_arguments() implementations. Signed-off-by:

[PATCH v7 3/6] syscall.h: introduce syscall_set_nr()

2025-03-03 Thread Dmitry V. Levin
Similar to syscall_set_arguments() that complements syscall_get_arguments(), introduce syscall_set_nr() that complements syscall_get_nr(). syscall_set_nr() is going to be needed along with syscall_set_arguments() on all HAVE_ARCH_TRACEHOOK architectures to implement PTRACE_SET_SYSCALL_INFO API. S

[PATCH 04/19] vdso/datapage: Define for vdso_data to make rework of vdso possible

2025-03-03 Thread Thomas Weißschuh
From: Anna-Maria Behnsen PTP clocks could also be supported by the vdso to use the advantages of this implementation. Therefore the struct must be reworked. For a transition to the new structure of the vdso, add a define which maps vdso_clock to vdso_data. This will be removed when all users are

Re: [PATCH v11 3/4] arm64: topology: Support SMT control on ACPI based system

2025-03-03 Thread Pierre Gondois
On 2/28/25 20:06, Sudeep Holla wrote: On Fri, Feb 28, 2025 at 06:51:16PM +0100, Pierre Gondois wrote: On 2/28/25 14:56, Sudeep Holla wrote: On Tue, Feb 18, 2025 at 10:10:17PM +0800, Yicong Yang wrote: From: Yicong Yang For ACPI we'll build the topology from PPTT and we cannot directly g

[PATCH 11/19] vdso/gettimeofday: Prepare helper functions for introduction of struct vdso_clock

2025-03-03 Thread Thomas Weißschuh
From: Anna-Maria Behnsen To support multiple PTP clocks, the VDSO data structure needs to be reworked. All clock specific data will end up in struct vdso_clock and in struct vdso_time_data there will be array of it. By now, vdso_clock is simply a define which maps vdso_clock to vdso_time_data. T

Re: [PATCH 3/4] ASoC: dt-bindings: fsl,audmix: make 'dais' property to be optional

2025-03-03 Thread Rob Herring (Arm)
On Wed, 26 Feb 2025 18:05:07 +0800, Shengjiu Wang wrote: > Make 'dais' property to be optional. When there is no 'dais' property, > driver won't register the card, dts should have audio graph card node > for linking this device. > > Signed-off-by: Shengjiu Wang > --- > Documentation/devicetree

Re: [PATCH 2/4] ASoC: dt-bindings: fsl,audmix: Document audio graph port

2025-03-03 Thread Rob Herring (Arm)
On Wed, 26 Feb 2025 18:05:06 +0800, Shengjiu Wang wrote: > This device can be used in conjunction with audio-graph-card to provide > an endpoint for binding with the other side of the audio link. > > Signed-off-by: Shengjiu Wang > --- > .../devicetree/bindings/sound/fsl,audmix.yaml | 60 ++

Re: [PATCH v11 1/4] cpu/SMT: Provide a default topology_is_primary_thread()

2025-03-03 Thread Yicong Yang
On 2025/2/28 21:54, Sudeep Holla wrote: > On Tue, Feb 18, 2025 at 10:10:15PM +0800, Yicong Yang wrote: >> From: Yicong Yang >> >> Currently if architectures want to support HOTPLUG_SMT they need to >> provide a topology_is_primary_thread() telling the framework which >> thread in the SMT cannot of

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

2025-03-03 Thread Rob Herring
On Wed, Feb 26, 2025 at 12:45:17PM -0600, Rob Herring (Arm) wrote: > > On Wed, 26 Feb 2025 18:01:41 +0100, J. Neuschäfer wrote: > > Formalize the binding already supported by the fsl_elbc_nand.c driver > > and used in several device trees in arch/powerpc/boot/dts/. > > > > raw-nand-chip.yaml is r

Re: [PATCH 1/4] ASoC: dt-bindings: fsl,sai: Document audio graph port

2025-03-03 Thread Rob Herring (Arm)
On Wed, 26 Feb 2025 18:05:05 +0800, Shengjiu Wang wrote: > This device can be used in conjunction with audio-graph-card to provide > an endpoint for binding with the other side of the audio link. > > Signed-off-by: Shengjiu Wang > --- > .../devicetree/bindings/sound/fsl,sai.yaml| 51 ++

Re: [PATCH] book3s64/radix : Align section vmemmap start address to PAGE_SIZE

2025-03-03 Thread Aneesh Kumar K . V
Donet Tom writes: > A vmemmap altmap is a device-provided region used to provide > backing storage for struct pages. For each namespace, the altmap > should belong to that same namespace. If the namespaces are > created unaligned, there is a chance that the section vmemmap > start address could a

Re: [PATCH v11 1/4] cpu/SMT: Provide a default topology_is_primary_thread()

2025-03-03 Thread Yicong Yang
On 2025/2/28 19:10, Dietmar Eggemann wrote: > On 18/02/2025 15:10, Yicong Yang wrote: >> From: Yicong Yang > > [...] > >> diff --git a/include/linux/topology.h b/include/linux/topology.h >> index 52f5850730b3..b3aba443c4eb 100644 >> --- a/include/linux/topology.h >> +++ b/include/linux/topology.

Re: [PATCH v11 2/4] arch_topology: Support SMT control for OF based system

2025-03-03 Thread Yicong Yang
On 2025/2/28 21:54, Sudeep Holla wrote: > On Tue, Feb 18, 2025 at 10:10:16PM +0800, Yicong Yang wrote: >> From: Yicong Yang >> >> On building the topology from the devicetree, we've already >> gotten the SMT thread number of each core. Update the largest >> SMT thread number and enable the SMT con

Re: [PATCH v11 2/4] arch_topology: Support SMT control for OF based system

2025-03-03 Thread Yicong Yang
On 2025/2/28 19:11, Dietmar Eggemann wrote: > On 18/02/2025 15:10, Yicong Yang wrote: >> From: Yicong Yang >> >> On building the topology from the devicetree, we've already >> gotten the SMT thread number of each core. Update the largest >> SMT thread number and enable the SMT control by the end o

Re: [PATCH v11 3/4] arm64: topology: Support SMT control on ACPI based system

2025-03-03 Thread Yicong Yang
On 2025/3/3 19:16, Sudeep Holla wrote: > On Mon, Mar 03, 2025 at 10:56:12AM +0100, Pierre Gondois wrote: >> On 2/28/25 20:06, Sudeep Holla wrote: > > Ditto as previous patch, can get rid if it is default 1. > On non-SMT platforms, not calling cpu_smt_set_num_threads() leaves >

Re: [PATCH v11 3/4] arm64: topology: Support SMT control on ACPI based system

2025-03-03 Thread Yicong Yang
On 2025/2/25 14:08, Hanjun Guo wrote: > On 2025/2/18 22:10, Yicong Yang wrote: >> From: Yicong Yang >> >> For ACPI we'll build the topology from PPTT and we cannot directly >> get the SMT number of each core. Instead using a temporary xarray >> to record the heterogeneous information (from ACPI_PP

Re: [PATCH v9 00/20] fs/dax: Fix ZONE_DEVICE page reference counts

2025-03-03 Thread Andrew Morton
On Fri, 28 Feb 2025 14:42:40 +1100 Alistair Popple wrote: > This is essentially the same as what's currently in mm-unstable aside from > the two updates listed below. The main thing to note is it incorporates > Balbir's fixup which is currently in mm-unstable as c98612955016 > ("mm-allow-compound

[PATCH v3 net-next 07/13] net: enetc: check if the RSS hfunc is toeplitz

2025-03-03 Thread Wei Fang
Both ENETC v1 and ENETC v4 only support the toeplitz algorithm for RSS, so add a check for RSS hfunc. Signed-off-by: Wei Fang --- drivers/net/ethernet/freescale/enetc/enetc_ethtool.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/ethernet/freescale/enetc/enetc_ethtool.c

[PATCH v3 net-next 09/13] net: enetc: move generic VLAN filter interfaces to enetc-core

2025-03-03 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 v3 net-next 10/13] net: enetc: move generic VLAN hash filter functions to enetc_pf_common.c

2025-03-03 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 v3 net-next 11/13] net: enetc: add VLAN filtering support for i.MX95 ENETC PF

2025-03-03 Thread Wei Fang
Add VLAN hash filter support for i.MX95 ENETC PF. If VLAN filtering is disabled, then VLAN promiscuous mode will be enabled, which means that PF qualifies for reception of all VLAN tags. Signed-off-by: Wei Fang --- .../net/ethernet/freescale/enetc/enetc4_hw.h | 4 .../net/ethernet/freesca

[PATCH v3 net-next 08/13] net: enetc: enable RSS feature by default

2025-03-03 Thread Wei Fang
Receive side scaling (RSS) is a network driver technology that enables the efficient distribution of network receive processing across multiple CPUs in multiprocessor systems. Therefore, it is better to enable RSS by default so that the CPU load can be balanced and network performance can be improv

[PATCH v3 net-next 12/13] net: enetc: add loopback support for i.MX95 ENETC PF

2025-03-03 Thread Wei Fang
Add internal loopback support for i.MX95 ENETC PF, the default loopback mode is MAC level loopback, the MAC Tx data is looped back onto the Rx. The MAC interface runs at a fixed 1:8 ratio of NETC clock in MAC-level loopback mode, with no dependency on Tx clock. Signed-off-by: Wei Fang --- .../ne

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

2025-03-03 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

[PATCH v3 net-next 06/13] net: enetc: add RSS support for i.MX95 ENETC PF

2025-03-03 Thread Wei Fang
Add Receive side scaling (RSS) support for i.MX95 ENETC PF to improve the network performance and balance the CPU loading. The main changes are as follows. 1. Since i.MX95 ENETC (v4) use NTMP 2.0 to manage the RSS table, which is different from LS1028A ENETC (v1). In order to reuse some functions

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

2025-03-03 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

Re: [PATCH v3 1/1] cxl: Remove driver

2025-03-03 Thread Martin K. Petersen
Hi Madhavan! > This patch has depenednecy with the first patch > > https://lists.ozlabs.org/pipermail/linuxppc-dev/2025-February/280990.html > > Which is already part of your staging tree. Can you please > take this patch along with the previous patch. If I merge the main cxl patch we'll have

Build Warnings at arch/powerpc/

2025-03-03 Thread Venkat Rao Bagalkote
l.org/pub/scm/linux/kernel/git/next/linux-next.git master branch next Kernel Version: 6.14.0-rc5-next-20250303 On linux-next kernel issue got introduced b/w next-20250227 and next-20250303 Build Warnings: arch/powerpc/kvm/book3s_hv_rmhandlers.o: warning: objtool: .text+0xe84: intra_function

Re: Build Warnings at arch/powerpc/

2025-03-03 Thread Madhavan Srinivasan
merge branch > > PPC Kernel Version: 6.14.0-rc4-g1304f486dbf1 > next Repo: > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > branch > > next Kernel Version: 6.14.0-rc5-next-20250303 > > > On linux-next kernel issue got introduced

Re: [PATCH v3 1/1] cxl: Remove driver

2025-03-03 Thread Madhavan Srinivasan
On 3/4/25 8:31 AM, Martin K. Petersen wrote: > > Hi Madhavan! > >> This patch has depenednecy with the first patch >> >> https://lists.ozlabs.org/pipermail/linuxppc-dev/2025-February/280990.html >> >> Which is already part of your staging tree. Can you please >> take this patch along with the

Re: [PATCH v4] powerpc/hugetlb: Disable gigantic hugepages if fadump is active

2025-03-03 Thread IBM
Sourabh Jain writes: > Hello Ritesh, > > Thanks for the review. > > On 02/03/25 12:05, Ritesh Harjani (IBM) wrote: >> Sourabh Jain writes: >> >>> The fadump kernel boots with limited memory solely to collect the kernel >>> core dump. Having gigantic hugepages in the fadump kernel is of no use. >

[PATCH v3 net-next 04/13] net: enetc: add MAC filter for i.MX95 ENETC PF

2025-03-03 Thread Wei Fang
The i.MX95 ENETC supports both MAC hash filter and MAC exact filter. MAC hash filter is implenented through a 64-bits hash table to match against the hashed addresses, PF and VFs each have two MAC hash tables, one is for unicast and the other one is for multicast. But MAC exact filter is shared bet

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

2025-03-03 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 v3 net-next 00/13] Add more feautues for ENETC v4 - round 2

2025-03-03 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

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

2025-03-03 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 v3 net-next 05/13] net: enetc: add debugfs interface to dump MAC filter

2025-03-03 Thread Wei Fang
ENETC's MAC filter consists of hash MAC filter and exact MAC filter. Hash MAC filter is a 64-entry hash table consisting of two 32-bit registers. Exact MAC filter is implemented by configuring MAC address filter table through command BD ring. The table is stored in ENETC's internal memory and needs

Re: [PATCH] book3s64/radix : Align section vmemmap start address to PAGE_SIZE

2025-03-03 Thread Donet Tom
On 3/3/25 18:32, Aneesh Kumar K.V wrote: Donet Tom writes: A vmemmap altmap is a device-provided region used to provide backing storage for struct pages. For each namespace, the altmap should belong to that same namespace. If the namespaces are created unaligned, there is a chance that the s