The preamble length can be configured in ucc_geth, however it just
ends-up always being configured to 7 bytes, as nothing ever changes the
default value of 7.
Make that value the default value when the MACCFG2 register gets
initialized, and remove the code to configure that value altogether.
Revi
Hello everyone,
This is V2 of the ucc_geth phylink conversion.
There were two main reviews from the first iteration :
- The WoL configuration was not accounting for most of the WoL flags.
The Wol config was reworked (however, not tested unfortunately) to
better account for what the PHY an
On Thu, Nov 14, 2024 at 2:11 PM Michael Ellerman wrote:
> The macio-adb driver depends on PPC_CHRP, which has been removed, remove
> the driver also.
>
> Signed-off-by: Michael Ellerman
Acked-by: Geert Uytterhoeven
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- Th
Mark Maddy as a co-maintainer, so that he can get a kernel.org account
and help manage the powerpc tree on kernel.org.
Signed-off-by: Michael Ellerman
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 21fdaa19229a..4fdb9759f37d 10
On 11/14/24 07:31, Michael Ellerman wrote:
Shrikanth Hegde writes:
Thank you Sebastian for taking a look and rwb tag.
On 2024-11-08 15:48:53 [+0530], Shrikanth Hegde wrote:
Define preempt lazy bit for Powerpc. Use bit 9 which is free and within
16 bit range of NEED_RESCHED, so compiler ca
On 11/9/24 22:24, Shrikanth Hegde wrote:
On 11/9/24 00:36, Ankur Arora wrote:
Shrikanth Hegde writes:
Define preempt lazy bit for Powerpc. Use bit 9 which is free and within
16 bit range of NEED_RESCHED, so compiler can issue single andi.
Since Powerpc doesn't use the generic entry/exi
Hi Michael,
> IBM Cell Blades used the Cell processor and the "blade" server form
> factor. They were sold as models QS20, QS21 & QS22 from roughly 2006 to
> 2012 [1]. They were used in a few supercomputers (eg. Roadrunner) that
> have since been dismantled, and were not that widely used otherwise
On Wed, Nov 13, 2024 at 04:56:13PM -0600, Rob Herring (Arm) wrote:
> The type definition of "fsl,liodn" is defined as uint32 in
> crypto/fsl,sec-v4.0.yaml and uint32-array in soc/fsl/fsl,bman.yaml,
> soc/fsl/fsl,qman-portal.yaml, and soc/fsl/fsl,qman.yaml. Unify the type to
> be uint32-array and co
On Fri, Nov 15, 2024 at 12:11:04AM +1100, Michael Ellerman wrote:
> CHRP (Common Hardware Reference Platform) was a standard developed by
> IBM & Apple for PowerPC-based systems.
>
> The standard was used in the development of some machines but never
> gained wide spread adoption.
>
> The Linux C
On Mon, 4 Nov 2024, Athira Rajeev wrote:
> Currently print_overall_results prints the number of
> fails in the summary, example from base_probe tests in
> testsuite_probe:
>
> ## [ FAIL ] ## perf_probe :: test_invalid_options SUMMARY ::
> 11 failures found
>
> test_invalid_options contains
On Sun, 3 Nov 2024, Athira Rajeev wrote:
> > On 17 Oct 2024, at 3:44 PM, Michael Petlan wrote:
> >
> > On Mon, 14 Oct 2024, Athira Rajeev wrote:
[...]
> >
> > I am wondering how it could happen that there were other
> > probes in the system?
>
> Hi Michael,
>
Hello Athira.
> Sorry for the late
Le Thu, Nov 14, 2024 at 08:38:59AM +0100, Christophe Leroy a écrit :
> Hi,
>
> Le 04/09/2024 à 04:26, Hongbo Li a écrit :
> > Replace kthread_create/kthread_bind/wake_up_process() with
> > kthread_run_on_cpu() to simplify the code.
> >
> > Signed-off-by: Hongbo Li
>
> A similar change is propos
Some of the __do_xxx() defines do nothing useful, they just existed to
make the previous hooking macros work. So remove them.
Signed-off-by: Michael Ellerman
---
arch/powerpc/include/asm/io.h | 21 +++--
1 file changed, 7 insertions(+), 14 deletions(-)
diff --git a/arch/powerpc/
This driver can no longer be built since support for IBM Cell Blades was
removed, in particular PPC_IBM_CELL_BLADE.
Remove the driver and the documentation.
Remove the MAINTAINERS entry, and add Ishizaki and Geoff to CREDITS.
Signed-off-by: Michael Ellerman
---
CREDITS
The symbols are no longer selectable so remove references to them.
Signed-off-by: Michael Ellerman
---
arch/powerpc/boot/Makefile | 2 --
arch/powerpc/configs/cell_defconfig | 2 --
arch/powerpc/configs/ppc64_defconfig | 2 --
3 files changed, 6 deletions(-)
diff --git a/arch/powerpc
On Thu, Nov 07, 2024 at 10:35:58PM +1100, Michael Ellerman wrote:
> "Rob Herring (Arm)" writes:
> > While OpenFirmware originally allowed walking parent nodes and default
> > root values for #address-cells and #size-cells, FDT has long required
> > explicit values. It's been a warning in dtc for t
This driver can no longer be built since support for IBM Cell Blades was
removed, in particular CBE_RAS.
Remove the driver.
Signed-off-by: Michael Ellerman
---
drivers/cpufreq/Kconfig.powerpc | 18 --
drivers/cpufreq/Makefile| 3 -
drivers/cpufreq/ppc_cbe_cpuf
CONFIG_PPC_PMI is no longer selectable now that PPC_IBM_CELL_BLADE has
been removed, via the dependency on PPC_IBM_CELL_POWERBUTTON.
So remove it and the driver, and the pmi.h header which it was the only
user of.
Signed-off-by: Michael Ellerman
---
arch/powerpc/include/asm/pmi.h | 53 ---
Now that PPC_INDIRECT_MMIO is removed, PCI_FIX_ADDR does nothing, so
remove it.
Signed-off-by: Michael Ellerman
---
arch/powerpc/include/asm/io.h | 86 +--
arch/powerpc/mm/ioremap_64.c | 2 +-
2 files changed, 43 insertions(+), 45 deletions(-)
diff --git a/arch
CHRP (Common Hardware Reference Platform) was a standard developed by
IBM & Apple for PowerPC-based systems.
The standard was used in the development of some machines but never
gained wide spread adoption.
The Linux CHRP code only supports a handful of machines, all 32-bit, eg.
IBM B50, bplan/Gen
The i2c-hydra driver depends on PPC_CHRP which has now been removed,
remove the driver also.
Signed-off-by: Michael Ellerman
---
drivers/i2c/busses/Kconfig | 12 ---
drivers/i2c/busses/Makefile| 1 -
drivers/i2c/busses/i2c-hydra.c | 150 -
3 files chang
PPC_CHRP has been removed, so remove the reference to it in Kconfig.
Signed-off-by: Michael Ellerman
---
drivers/i2c/busses/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index cbd072955e45..153929ac5f59 100644
Signed-off-by: Michael Ellerman
---
arch/powerpc/configs/52xx/cm5200_defconfig| 1 -
arch/powerpc/configs/52xx/lite5200b_defconfig | 1 -
arch/powerpc/configs/52xx/motionpro_defconfig | 1 -
arch/powerpc/configs/52xx/pcm030_defconfig| 1 -
arch/powerpc/configs/52xx/tqm5200
The macio-adb driver depends on PPC_CHRP, which has been removed, remove
the driver also.
Signed-off-by: Michael Ellerman
---
drivers/macintosh/Kconfig | 9 --
drivers/macintosh/Makefile| 1 -
drivers/macintosh/adb.c | 4 -
drivers/macintosh/macio-adb.c | 288
ISA support depended on PPC_CHRP which has now been removed, making
ISA unselectable, so remove it.
Signed-off-by: Michael Ellerman
---
arch/powerpc/Kconfig | 11 ---
arch/powerpc/configs/chrp32_defconfig | 1 -
arch/powerpc/configs/ppc6xx_defconfig | 1 -
3 files chan
Remove various bits of code that are dead now that PPC_CHRP has been
removed.
Signed-off-by: Michael Ellerman
---
arch/powerpc/Kconfig | 5 +--
arch/powerpc/boot/Makefile | 1 -
arch/powerpc/include/asm/processor.h | 6 ---
arch/powerpc/kernel/head_book3s_32.S | 12 -
Although these work arounds aren't guarded by PPC_CHRP, they should only
ever have taken effect on CHRP Long Trail machines due to the firmware
version check. With CHRP support removed they are no longer needed,
remove them.
Signed-off-by: Michael Ellerman
---
arch/powerpc/kernel/prom_init.c | 6
Now that the chrp machine has been removed this test can never be
true, remove it.
Signed-off-by: Michael Ellerman
---
arch/powerpc/platforms/powermac/nvram.c | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/powerpc/platforms/powermac/nvram.c
b/arch/powerpc/platfo
The IBM Cell blade support was the last user of UDBG_RTAS_CONSOLE.
Although it's still possible to build it via
PPC_EARLY_DEBUG_UDBG_RTAS_CONSOLE, AFAIK it's not useful on any
other platfoms, because only Cell and JS20 era machines provided the
RTAS get/put-term-char functions.
If anyone is using
Hi Michael,
On Thu, Nov 14, 2024 at 2:11 PM Michael Ellerman wrote:
> The i2c-hydra driver depends on PPC_CHRP which has now been removed,
> remove the driver also.
>
> Signed-off-by: Michael Ellerman
Thanks for your patch!
> --- a/drivers/i2c/busses/i2c-hydra.c
> +++ /dev/null
> -#include
On Thu, Nov 14, 2024, at 13:50, Michael Ellerman wrote:
> The Cell blade support was the last user of PPC_INDIRECT_MMIO, so it can
> now be removed.
>
> PPC_INDIRECT_PIO is still used by Power8 powernv, so it needs to remain.
>
> Signed-off-by: Michael Ellerman
I think the powernv side only uses
On Thu, Nov 14, 2024, at 13:51, Michael Ellerman wrote:
> This driver can no longer be built since support for IBM Cell Blades was
> removed, in particular PPC_IBM_CELL_BLADE.
>
> Remove the driver and the documentation.
> Remove the MAINTAINERS entry, and add Ishizaki and Geoff to CREDITS.
>
> Sig
On Thu, Nov 14, 2024, at 13:51, Michael Ellerman wrote:
> Now that PPC_INDIRECT_MMIO is removed, PCI_FIX_ADDR does nothing, so
> remove it.
>
> Signed-off-by: Michael Ellerman
Acked-by: Arnd Bergmann
> static inline unsigned char __raw_readb(const volatile void __iomem *addr)
> {
> - ret
On Thu, Nov 14, 2024 at 03:37:15PM +0100, Geert Uytterhoeven wrote:
> CC linux-i2c
>
> On Thu, Nov 14, 2024 at 2:11 PM Michael Ellerman wrote:
> > The i2c-hydra driver depends on PPC_CHRP which has now been removed,
> > remove the driver also.
> >
> > Signed-off-by: Michael Ellerman
>
> Acked-b
To support performance measurement for KVM on PowerVM(KoP)
feature, PowerVM hypervisor has added couple of new software
counters in Virtual Process Area(VPA) of the partition.
Commit e1f288d2f9c69 ("KVM: PPC: Book3S HV nestedv2: Add
support for reading VPA counters for pseries guests")
have update
Enhance the vpa_pmu driver with a feature to observe context switch
latency event for both per-task (tid) and per-pid (pid) option.
Couple of new helper functions are added to hide the abstraction of
reading the context switch latency counter from kvm_vcpu_arch struct
and these helper functions are
Details are added for the vpa_pmu event and format
attributes in the ABI documentation.
Signed-off-by: Kajol Jain
Co-developed-by: Madhavan Srinivasan
Signed-off-by: Madhavan Srinivasan
---
.../sysfs-bus-event_source-devices-vpa-pmu| 24 +++
1 file changed, 24 insertions(+)
Commit e1f288d2f9c69 ("KVM: PPC: Book3S HV nestedv2: Add support
for reading VPA counters for pseries guests") introduced support for new
Virtual Process Area(VPA) based software counters. These counters are
useful when observing context switch latency of L1 <-> L2. It also
added access to counters
Fix typo in the following kvm function names from:
kmvhv_counters_tracepoint_regfunc -> kvmhv_counters_tracepoint_regfunc
kmvhv_counters_tracepoint_unregfunc -> kvmhv_counters_tracepoint_unregfunc
Fixes: e1f288d2f9c6 ("KVM: PPC: Book3S HV nestedv2: Add support for reading VPA
counters for pserie
On Thu, Nov 14, 2024, at 13:51, Michael Ellerman wrote:
> Some of the __do_xxx() defines do nothing useful, they just existed to
> make the previous hooking macros work. So remove them.
>
> Signed-off-by: Michael Ellerman
Reviewed-by: Arnd Bergmann
> @@ -607,27 +600,27 @@ static inline u32 read
On Thu, Nov 14, 2024, at 13:50, Michael Ellerman wrote:
> IBM Cell Blades used the Cell processor and the "blade" server form
> factor. They were sold as models QS20, QS21 & QS22 from roughly 2006 to
> 2012 [1]. They were used in a few supercomputers (eg. Roadrunner) that
> have since been dismantl
On Thu, Nov 14, 2024, at 14:11, Michael Ellerman wrote:
>
> -config ADB_MACIO
> - bool "Include MacIO (CHRP) ADB driver"
> - depends on ADB && PPC_CHRP && !PPC_PMAC64
The dependency looked weird to me, so I had to look up
what that thing is. Apparently this originally had a PPC_PMAC
depen
On Thu, Nov 14, 2024, at 15:31, Geert Uytterhoeven wrote:
> On Thu, Nov 14, 2024 at 2:11 PM Michael Ellerman wrote:
>> CHRP (Common Hardware Reference Platform) was a standard developed by
>> IBM & Apple for PowerPC-based systems.
>>
>> The standard was used in the development of some machines but
A number of parallel MII interfaces also exist in a "Reduced" mode,
usually with higher clock rates and fewer data lines, to ease the
hardware design. This is what the 'R' stands for in RGMII, RMII, RTBI,
RXAUI, etc.
The UCC Geth controller has a special configuration bit that needs to be
set when
The get/set_wol ethtool ops rely on querying the PHY for its WoL
capabilities, checking for the presence of a PHY and a PHY interrupts
isn't enough. Address that by cleaning up the WoL configuration
sequence.
Signed-off-by: Maxime Chevallier
---
V2: Reworked the whole configuration sequence, and
In april 2007, ucc_geth was converted to phylib with :
commit 728de4c927a3 ("ucc_geth: migrate ucc_geth to phylib").
In that commit, the device-tree property "interface", that could be used to
retrieve the PHY interface mode was deprecated.
DTS files that still used that property were converted
From: Yicong Yang
Enable HOTPLUG_SMT for SMT control.
Signed-off-by: Yicong Yang
---
arch/arm64/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 70d7f4f20225..5eecd2e2c093 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -243,
CC linux-i2c
On Thu, Nov 14, 2024 at 2:11 PM Michael Ellerman wrote:
> The i2c-hydra driver depends on PPC_CHRP which has now been removed,
> remove the driver also.
>
> Signed-off-by: Michael Ellerman
Acked-by: Geert Uytterhoeven
> ---
> drivers/i2c/busses/Kconfig | 12 ---
> drivers/i
As this driver pre-dates phylib, it uses a private pointer to get a
reference to the attached phy_device. Drop that pointer and use the
netdev's pointer instead.
Reviewed-by: Andrew Lunn
Signed-off-by: Maxime Chevallier
---
V2: No changes
drivers/net/ethernet/freescale/ucc_geth.c | 27
The frame length check is configured when the phy interface is setup.
However, it's configured according to an internal flag that is always
false. So, just make so that we disable the relevant bit in the MACCFG2
register upon accessing it for other MAC configuration operations.
Reviewed-by: Andrew
The uec_configure_serdes() function deals with serialized linkmodes
settings. It's used during the link bringup sequence. It is planned to
be used during the phylink conversion for mac configuration, but it
needs to me moved around in the process. To make the phylink port
clearer, this commit moves
ucc_geth is quite capable in terms of supported interfaces, and even
includes an externally controlled PCS (well, TBI). Port that driver to
phylink.
Signed-off-by: Maxime Chevallier
---
V2: Adjust the WoL sequence, split-out a few things from patches 8/9
drivers/net/ethernet/freescale/Kconfig
Preparing the phylink conversion, split the adjust_link callbaclk, by
clearly separating the mac configuration, link_up and link_down phases.
Reviewed-by: Andrew Lunn
Signed-off-by: Maxime Chevallier
---
V2: No changes.
Russell, I did see your comment with regards to the overall usefulness
of t
The WoL opts are represented through a bitmask stored in a u32. As this
mask is copied as-is in the driver, make sure we use the exact same type
to store them internally.
Signed-off-by: Maxime Chevallier
---
V2: New patch
drivers/net/ethernet/freescale/ucc_geth.h | 2 +-
1 file changed, 1 inser
Hi Arnd,
On Thu, Nov 14, 2024 at 4:42 PM Arnd Bergmann wrote:
> I also found the promotional video from 1996 at
> https://www.youtube.com/watch?v=NrvrIEPeSNA .
Amazing to finally see this, 20y after mine died...
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There'
The Cell blade support was the last user of PPC_OF_PLATFORM_PCI, so
remove it.
Signed-off-by: Michael Ellerman
---
arch/powerpc/Kconfig | 5 --
arch/powerpc/kernel/Makefile | 2 +-
arch/powerpc/kernel/of_platform.c | 102 --
3 files changed, 1 in
Now that CONFIG_PPC_CELL_NATIVE is removed, iommu_fixed_is_weak will
always be false, so remove it entirely.
Also remove a hack/quirk in the HTAB code that was only used on Cell.
Signed-off-by: Michael Ellerman
---
arch/powerpc/include/asm/iommu.h | 6 --
arch/powerpc/kernel/dma-iommu
Although this driver is still buildable, it can't actually do anything
in practice now that the low-level cpufreq driver for Cell has been
disabled due to the removal of CBE_RAS.
Signed-off-by: Michael Ellerman
---
arch/powerpc/platforms/cell/Kconfig | 9 --
arch/powerpc/platforms/ce
The Cell blade support was the last user of PPC_INDIRECT_MMIO, so it can
now be removed.
PPC_INDIRECT_PIO is still used by Power8 powernv, so it needs to remain.
Signed-off-by: Michael Ellerman
---
arch/powerpc/include/asm/io.h | 58 +++---
arch/powerpc/kernel/setup
Now that the IBM Cell Blade support is removed, the xmon SPU support is
effectively unusable. That is because PS3 doesn't implement udbg_getc
which is required to send input to xmon.
So remove the xmon SPU support.
Signed-off-by: Michael Ellerman
---
arch/powerpc/include/asm/xmon.h| 2
Remove a reference to PPC_IBM_CELL_BLADE which has been removed.
Signed-off-by: Michael Ellerman
---
drivers/net/ethernet/toshiba/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/toshiba/Kconfig
b/drivers/net/ethernet/toshiba/Kconfig
index 2b10815
This driver can no longer be built since support for IBM Cell Blades was
removed, in particular PPC_CELL_COMMON.
Remove the driver.
Signed-off-by: Michael Ellerman
---
drivers/edac/Kconfig | 8 --
drivers/edac/Makefile| 1 -
drivers/edac/cell_edac.c | 281 ---
The Cell blade support was the last user of PPC_IO_WORKAROUNDS, so they
can now be removed.
Signed-off-by: Michael Ellerman
---
arch/powerpc/include/asm/io-workarounds.h | 55 --
arch/powerpc/kernel/Makefile | 2 -
arch/powerpc/kernel/io-workarounds.c | 197 -
The Cell blade support was the last user of DCR_MMIO, so it can now
be removed.
That only leaves DCR_NATIVE, meaning the DCR generic layer which allows
using either DCR_NATIVE or DCR_MMIO is also unnecessary, remove it too.
Signed-off-by: Michael Ellerman
---
arch/powerpc/Kconfig
The powerpc Cell blade support, now removed, was the only user of
IRQ_EDGE_EOI_HANDLER, so remove it.
Signed-off-by: Michael Ellerman
---
kernel/irq/Kconfig | 4
kernel/irq/chip.c | 47 --
2 files changed, 51 deletions(-)
diff --git a/kernel/ir
Remove a reference to CBE_CPUFREQ_SPU_GOVERNOR which has been removed.
Signed-off-by: Michael Ellerman
---
Documentation/admin-guide/kernel-per-CPU-kthreads.rst | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/Documentation/admin-guide/kernel-per-CPU-kthreads.rst
b/Docu
Now that the chrp machine has been removed these tests can never be
true, remove them.
Signed-off-by: Michael Ellerman
---
arch/powerpc/kernel/rtasd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/kernel/rtasd.c b/arch/powerpc/kernel/rtasd.c
index 9bba46923
Now that PPC_INDIRECT_MMIO is removed, it's not possible/necessary
to hook any of the "memory" accessors, so turn them back into regular
static inlines, and restrict the hooking mechanism to the "pio"
accessors only.
Signed-off-by: Michael Ellerman
---
arch/powerpc/include/asm/io-defs.h | 70 ++
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 arm64 server for:
- better single CPU performance in some cases
- saving overall power consumption
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 of
topology parsing.
The core's SMT control provides two interface to the users [1]:
1) enable/disab
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_PPTT_ACPI_IDENTICAL)
and SMT information of the first core in its heterogeneous CPU cluster
whe
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 offline. However arm64 doesn't have a
restriction on which thread in the SMT cannot offline, a simplest
choice is that
On Thu, Nov 14, 2024 at 2:11 PM Michael Ellerman wrote:
> CHRP (Common Hardware Reference Platform) was a standard developed by
> IBM & Apple for PowerPC-based systems.
>
> The standard was used in the development of some machines but never
> gained wide spread adoption.
>
> The Linux CHRP code on
On Thu, Nov 14, 2024 at 2:11 PM Michael Ellerman wrote:
> Although these work arounds aren't guarded by PPC_CHRP, they should only
> ever have taken effect on CHRP Long Trail machines due to the firmware
> version check. With CHRP support removed they are no longer needed,
> remove them.
>
> Signe
On Thu, Nov 14, 2024 at 2:11 PM Michael Ellerman wrote:
> ISA support depended on PPC_CHRP which has now been removed, making
> ISA unselectable, so remove it.
>
> Signed-off-by: Michael Ellerman
Acked-by: Geert Uytterhoeven
Gr{oetje,eeting}s,
Geert
--
Geert Uytterho
75 matches
Mail list logo