changes
- get/set the framer configuration
Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
Signed-off-by: Christophe Leroy
---
v4: Fixed wrong names in three EXPORT_SYMBOL()
---
drivers/net/wan/Kconfig| 2 +
drivers/net/wan/Makefile | 2 +
drivers/net/wan
From: Herve Codina
The Lantiq PEF2256 is a framer and line interface component designed to
fulfill all required interfacing between an analog E1/T1/J1 line and the
digital PCM system highway/H.100 bus.
Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
Signed-off-by: Christophe Leroy
Codina
Reviewed-by: Christophe Leroy
Signed-off-by: Christophe Leroy
---
sound/soc/codecs/Kconfig| 15 ++
sound/soc/codecs/Makefile | 2 +
sound/soc/codecs/framer-codec.c | 413
3 files changed, 430 insertions(+)
create mode 100644 sound/soc/codecs
according to
IF_IFACE_{E1,T1} information.
Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
Signed-off-by: Christophe Leroy
---
drivers/net/wan/fsl_qmc_hdlc.c | 239 -
1 file changed, 235 insertions(+), 4 deletions(-)
diff --git a/drivers/net/wan/fsl_qmc_hdlc.c
From: Herve Codina
The Lantiq PEF2256 is a framer and line interface component designed to
fulfill all required interfacing between an analog E1/T1/J1 line and the
digital PCM system highway/H.100 bus.
Signed-off-by: Herve Codina
Signed-off-by: Christophe Leroy
---
.../bindings/net/lantiq
disabled one fixes the issue.
Fixes: 22380b65dc70 ("mfd: mfd-core: Ensure disabled devices are ignored
without error")
Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
Signed-off-by: Christophe Leroy
---
drivers/mfd/mfd-core.c | 17 -
1 file changed, 12 insert
-by: Christophe Leroy
Signed-off-by: Christophe Leroy
---
drivers/pinctrl/Kconfig| 14 ++
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/pinctrl-pef2256-regs.h | 65 ++
drivers/pinctrl/pinctrl-pef2256.c | 308 +
4 files changed, 388
From: Herve Codina
After contributing the driver, add myself as the maintainer for the
Lantiq PEF2256 driver.
Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
Signed-off-by: Christophe Leroy
---
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b
From: Herve Codina
The Tx and Rx entries for a given channel are set in one function.
In order to modify Rx entries and Tx entries independently of one other,
split this function in one for the Rx part and one for the Tx part.
Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
Signed
and check the available timeslots instead of the used
timeslots in qmc_check_chans().
Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
Signed-off-by: Christophe Leroy
---
drivers/soc/fsl/qe/qmc.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/soc
From: Herve Codina
In order to allow runtime timeslot route changes, disabling channel TSA
entries needs to be supported.
Add support for this new feature.
Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
Signed-off-by: Christophe Leroy
---
drivers/soc/fsl/qe/qmc.c | 20
From: Herve Codina
Timeslots setting is done at channel start() and stop().
There is no more need to do that during setup_chan().
Simply remove timeslot setting from setup_chan().
Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
Signed-off-by: Christophe Leroy
---
drivers/soc/fsl
From: Herve Codina
qmc_setup_tsa* are called once at initialisation.
They initialize the QMC TSA table.
In order to introduce setup function later on for dynamic timeslots
management, rename the function to avoid later confusion.
Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
, these flags have no meaning. Keep only one read
complete() API and update the consumers working in transparent mode.
In this case, the newly introduced flags parameter is simply unused.
Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
Signed-off-by: Christophe Leroy
---
drivers/soc/fsl/qe
bus used by the
QMC HDLC and the E1/T1 line.
The QMC HDLC can use this framer to get information about the E1/T1 line
and configure the E1/T1 line.
Signed-off-by: Herve Codina
Signed-off-by: Christophe Leroy
---
.../devicetree/bindings/net/fsl,qmc-hdlc.yaml | 46 +++
1 file
each time we need it.
It is set once at initialization.
Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
Signed-off-by: Christophe Leroy
---
drivers/soc/fsl/qe/qmc.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/soc/fsl/qe/qmc.c b/drivers/soc/fsl/qe
.
Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
Signed-off-by: Christophe Leroy
---
drivers/soc/fsl/qe/qmc.c | 51
include/soc/fsl/qe/qmc.h | 10
2 files changed, 61 insertions(+)
diff --git a/drivers/soc/fsl/qe/qmc.c b/drivers/soc/fsl
the channel from stopped
state to started state.
Fix the issue removing the is_rx_stopped flag setting from
qmc_chan_reset()
Fixes: 3178d58e0b97 ("soc: fsl: cpm1: Add support for QMC")
Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
Signed-off-by: Christophe Leroy
---
drivers/
From: Herve Codina
The newly introduced qmc_chan_setup_tsa* functions check that the
channel entries are not already used.
These checks are also performed by qmc_check_chans() and are no more
needed.
Remove them from qmc_check_chans().
Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
. changing timeslots
at runtime).
Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
Signed-off-by: Christophe Leroy
---
drivers/soc/fsl/qe/qmc.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/soc/fsl/qe/qmc.c b/drivers/soc/fsl/qe/qmc.c
index
by: Andrew Lunn
Reviewed-by: Christophe Leroy
Signed-off-by: Christophe Leroy
---
drivers/soc/fsl/qe/qmc.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/soc/fsl/qe/qmc.c b/drivers/soc/fsl/qe/qmc.c
index 2d2a9d88ba6c..459e0bbd723d 100644
--- a/drivers/
From: Herve Codina
In order to support runtime timeslot route changes, enable the
channel timeslot entries at channel start() and disable them at
channel stop().
Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
Signed-off-by: Christophe Leroy
---
drivers/soc/fsl/qe/qmc.c | 175
From: Herve Codina
The QMC HDLC driver provides support for HDLC using the QMC (QUICC
Multichannel Controller) to transfer the HDLC data.
Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
Signed-off-by: Christophe Leroy
---
drivers/net/wan/Kconfig| 12 +
drivers/net/wan
From: Herve Codina
Introduce the qmc_chan_setup_tsa* functions to setup entries related
to the given channel.
Use them during QMC channels setup.
Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
Signed-off-by: Christophe Leroy
---
drivers/soc/fsl/qe/qmc.c | 161
From: Herve Codina
After contributing the driver, add myself as the maintainer for the
Freescale QMC HDLC driver.
Signed-off-by: Herve Codina
Signed-off-by: Christophe Leroy
---
MAINTAINERS | 8
1 file changed, 8 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index
20230323103154.264546-1-herve.cod...@bootlin.com/
Changes v3 -> v4
- Fixes build failure with CONFIG_MODULES in patch 21 (net: wan: Add framer
framework support)
Changes v2 -> v3
- Patches 1, 2, 3, 4
Add 'Reviewed-by: Christophe Leroy '
- New patch
Remove inline keyword from the exis
...
Indeed, some variable were declared 'type *__iomem var' instead of
'type __iomem *var'.
Use the correct declaration to remove these warnings.
Fixes: 3178d58e0b97 ("soc: fsl: cpm1: Add support for QMC")
Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
Signed-off-by:
'type *__iomem var' instead of
'type __iomem *var'.
Use the correct declaration to remove these warnings.
Fixes: 1d4ba0b81c1c ("soc: fsl: cpm1: Add support for TSA")
Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
Signed-off-by: Christophe Leroy
---
drivers/soc/f
-Radix.
And update access_error() so that a non exec fault on a VM_EXEC only
mapping is always invalid, even when the underlying layer don't
always generate a fault for that.
Signed-off-by: Christophe Leroy
Cc: Russell Currey
Cc: Kees Cook
---
arch/powerpc/include/asm/book3s/32/pgtable.h | 1
On powerpc 8xx, exec does not imply read so
redefine PAGE_NONE_X as PAGE_NONE + X
Signed-off-by: Christophe Leroy
Cc: Russell Currey
Cc: Kees Cook
---
arch/powerpc/include/asm/nohash/32/pte-8xx.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/include/asm
Le 18/08/2023 à 11:16, Erhard Furtner a écrit :
> On Fri, 18 Aug 2023 09:13:21 +1000
> Michael Ellerman wrote:
>
>> Try just removing the call to btext_unmap() entirely and see how far it goes?
>>
>> cheers
>
> Ok, I commented out btext_unmap() in MMU_init() and the freeze just happens
>
t;perf: Rework and fix the arch CPU-hotplug hooks")
Cc: Peter Zijlstra
Cc: Thomas Gleixner
Signed-off-by: Christophe Leroy
Cc: Arnd Bergmann
---
arch/powerpc/perf/core-fsl-emb.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/perf/core-fsl-emb.c
arch_dma_set_mask() definition into dma-map-ops.h and
include it in arch/powerpc/kernel/dma-mask.c
Signed-off-by: Christophe Leroy
Cc: Arnd Bergmann
---
arch/powerpc/kernel/dma-mask.c | 1 +
include/linux/dma-map-ops.h| 6 ++
kernel/dma/mapping.c | 6 --
3 files changed, 7
mpc512x_select_reset_compat() is only used in the file it
is defined.
Make it static.
Move mpc512x_restart_init() after mpc512x_select_reset_compat().
Signed-off-by: Christophe Leroy
---
v2: Move mpc512x_restart_init() after mpc512x_select_reset_compat().
---
arch/powerpc/platforms/512x
/platforms/4xx/soc.c:193:6: warning: no previous prototype for
'ppc4xx_reset_system' [-Wmissing-prototypes]
193 | void ppc4xx_reset_system(char *cmd)
| ^~~
Add missing includes to get the missing prototypes.
Signed-off-by: Christophe Leroy
Cc: Arnd Bergmann
---
arch
)
| ^~
early_init_mmu_47x() is used only at one place and only locally.
Fold it into its only caller and remove it.
Signed-off-by: Christophe Leroy
Cc: Arnd Bergmann
---
v2: Remove prototype mmu_init_secondary() belonging to another patch
---
arch/powerpc/mm/nohash/tlb.c | 19 +--
1 file changed, 5
Add a prototype in mmu_decl.h
Signed-off-by: Christophe Leroy
Cc: Arnd Bergmann
---
arch/powerpc/mm/mmu_decl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/mm/mmu_decl.h b/arch/powerpc/mm/mmu_decl.h
index c6dccb4f06dc..7f9ff0640124 100644
--- a/arch/powerpc/mm/mmu_decl.h
)
| ^~
early_init_mmu_47x() is used only at one place and only locally.
Fold it into its only caller and remove it.
Signed-off-by: Christophe Leroy
Cc: Arnd Bergmann
---
arch/powerpc/mm/mmu_decl.h | 1 +
arch/powerpc/mm/nohash/tlb.c | 19 +--
2 files changed, 6 insertions(+), 14 deletions(-)
diff
iated list as it will now remain empty
hence becomes useless.
Signed-off-by: Christophe Leroy
Cc: Arnd Bergmann
---
arch/powerpc/platforms/44x/warp.c | 55 ---
1 file changed, 55 deletions(-)
diff --git a/arch/powerpc/platforms/44x/warp.c
b/arch/powerpc/platforms/44x/wa
Signed-off-by: Christophe Leroy
Cc: Arnd Bergmann
---
arch/powerpc/kernel/traps.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c
index f5ce282dc4b8..eeff136b83d9 100644
--- a/arch/powerpc/kernel/traps.c
+++ b/ar
Signed-off-by: Christophe Leroy
Cc: Arnd Bergmann
---
arch/powerpc/platforms/8xx/m8xx_setup.c | 17 +
1 file changed, 5 insertions(+), 12 deletions(-)
diff --git a/arch/powerpc/platforms/8xx/m8xx_setup.c
b/arch/powerpc/platforms/8xx/m8xx_setup.c
index 3c5c4e08b6a9..2336b687b
CONFIG_8272 is never used, remove it.
CONFIG_8260 is redundant with CONFIG_PPC_82xx, remove it.
Signed-off-by: Christophe Leroy
---
arch/powerpc/include/asm/cputable.h | 2 +-
arch/powerpc/platforms/82xx/Kconfig | 25 -
arch/powerpc/platforms/Kconfig | 2 +-
3
Commit 859b21a008eb ("powerpc: drop PowerQUICC II Family ADS platform
support") removed last user of pq2_init_pci.
Remove it.
Signed-off-by: Christophe Leroy
---
arch/powerpc/platforms/82xx/pq2.c | 46 ---
1 file changed, 46 deletions(-)
diff --git a/ar
Le 15/08/2023 à 22:01, Erhard Furtner a écrit :
> On Tue, 15 Aug 2023 17:25:13 +
> Christophe Leroy wrote:
>
>> I just sent a patch with additional pr_info() in order to help locate
>> the issue, please provide output with that patch.
>>
>> Thanks
>>
usb.c contains three independent parts with no common part.
Split it.
Signed-off-by: Christophe Leroy
---
arch/powerpc/platforms/83xx/Makefile | 3 +
.../platforms/83xx/{usb.c => usb_831x.c} | 118 --
arch/powerpc/platforms/83xx/usb_834x.c|
Replace printk(KERN_WARN with pr_warn(
Remove a couple of blank lines
Re-align multi-line code.
Replace asm/io.h by linux/io.h
mpc83xx.h doesn't need linux/device.h or asm/pci-bridge.h
Signed-off-by: Christophe Leroy
---
arch/powerpc/platforms/83xx/mpc83xx.h | 2 --
arch/powerpc/platforms
mpc512x_select_reset_compat() is only used in the file it
is defined.
Make it static.
Signed-off-by: Christophe Leroy
---
arch/powerpc/platforms/512x/mpc512x.h| 1 -
arch/powerpc/platforms/512x/mpc512x_shared.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch
Since commit 905e75c46dba ("powerpc/fsl-pci: Unify pci/pcie initialization
code")
fsl_add_bridge() is not used anymore outside of fsl_pci.c
Make it static.
Signed-off-by: Christophe Leroy
---
arch/powerpc/sysdev/fsl_pci.c | 2 +-
arch/powerpc/sysdev/fsl_pci.h | 1 -
2 files
__set_pte_at() handles 3 main cases with #ifdefs plus the 'percpu'
subcase which leads to code duplication.
Rewrite the function using IS_ENABLED() to minimise the total number
of cases and remove duplicated code.
Signed-off-by: Christophe Leroy
---
v2: Reorganise comments, first case becomes
Le 14/08/2023 à 19:27, Erhard Furtner a écrit :
> On Mon, 14 Aug 2023 09:40:44 +
> Christophe Leroy wrote:
>
>> Interesting. That means we get stuck somewhere around MMU_init()
>>
>> We know that MMU_init_hw() is called and runs at least until:
>>
>&
Signed-off-by: Christophe Leroy
---
arch/powerpc/kernel/btext.c | 2 ++
arch/powerpc/mm/book3s32/kuap.c | 5 +
arch/powerpc/mm/book3s32/mmu.c | 3 +++
arch/powerpc/mm/kasan/init_32.c | 3 +++
arch/powerpc/mm/pgtable_32.c| 4
5 files changed, 17 insertions(+)
diff --git a/arch
zalloc_maybe_bootmem() is only used by PCI related functions.
Move it into pci-common.c and remove the always built alloc.c
Signed-off-by: Christophe Leroy
---
arch/powerpc/include/asm/pci.h | 2 ++
arch/powerpc/include/asm/setup.h | 1 -
arch/powerpc/kernel/pci-common.c | 16
Le 14/08/2023 à 14:37, Michael Ellerman a écrit :
> Linus Walleij writes:
>> Making virt_to_pfn() a static inline taking a strongly typed
>> (const void *) makes the contract of a passing a pointer of that
>> type to the function explicit and exposes any misuse of the
>> macro virt_to_pfn()
Le 13/08/2023 à 21:38, Erhard Furtner a écrit :
> On Fri, 11 Aug 2023 06:45:14 +
> Christophe Leroy wrote:
>
>> Le 11/08/2023 à 01:48, Erhard Furtner a écrit :
>>> I wanted to fire up my PowerMac G4 MDD (Dual CPU) with a KASAN debug build
>>> of ke
Le 14/08/2023 à 08:24, Nicholas Piggin a écrit :
> On Wed Aug 9, 2023 at 6:01 PM AEST, Christophe Leroy wrote:
>> With skiboot_defconfig, Clang reports:
>>
>>CC arch/powerpc/mm/book3s64/radix_tlb.o
>> arch/powerpc/mm/book3s64/radix_tlb.c:419
Le 10/08/2023 à 17:47, Jakub Kicinski a écrit :
> On Wed, 9 Aug 2023 15:27:27 +0200 Herve Codina wrote:
>> The series contains the full story and detailed modifications.
>> If needed, the series can be split and/or commmits can be squashed.
>> Let me know.
>
> Are there any dependencies in one
Le 11/08/2023 à 01:48, Erhard Furtner a écrit :
> I wanted to fire up my PowerMac G4 MDD (Dual CPU) with a KASAN debug build of
> kernel 6.5-rc5 for testing purposes. But the kernel fails to boot at a very
> early stage. I only get a white screen reading
> "done
> found display:
; 'ams_init' [-Werror=missing-prototypes]
>
> Signed-off-by: Arnd Bergmann
Reviewed-by: Christophe Leroy
> ---
> drivers/macintosh/ams/ams-core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/macintosh/ams/ams-core.c
> b/drivers/m
ve inline specifiers.
>
> Fixes: 3178d58e0b97 ("soc: fsl: cpm1: Add support for QMC")
> Signed-off-by: Herve Codina
> Suggested-by: Andrew Lunn
Reviewed-by: Christophe Leroy
> ---
> drivers/soc/fsl/qe/qmc.c | 14 +++---
> 1 file changed, 7 insertions(+), 7 deleti
Le 09/08/2023 à 15:10, Arnd Bergmann a écrit :
> From: Arnd Bergmann
>
> A while ago I created a2305e3de8193 ("powerpc: mark local variables
> around longjmp as volatile") in order to allow building powerpc with
> -Wextra enabled on gcc-11.
Should this be explained in
/
Signed-off-by: Christophe Leroy
---
drivers/spi/spi-fsl-cpm.c | 74 +++
1 file changed, 37 insertions(+), 37 deletions(-)
diff --git a/drivers/spi/spi-fsl-cpm.c b/drivers/spi/spi-fsl-cpm.c
index 38452089e8f3..47c7a5c6257f 100644
--- a/drivers/spi/spi-fsl-cpm.c
es:
https://lore.kernel.org/oe-kbuild-all/202307260802.mjr99p5o-...@intel.com/
Signed-off-by: Christophe Leroy
---
arch/powerpc/mm/book3s64/radix_tlb.c | 240 ++-
1 file changed, 121 insertions(+), 119 deletions(-)
diff --git a/arch/powerpc/mm/book3s64/radix_tlb.c
b/arch/powerpc/m
IF_GET_IFACE and configure the line interface according to
> IF_IFACE_{E1,T1} information.
>
> Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
> ---
> drivers/net/wan/fsl_qmc_hdlc.c | 239 -
> 1 file changed, 235 insertions(+), 4 deletion
> detection feature.
>
> Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
See below
> +static int framer_dai_hw_rule_channels_by_format(struct snd_soc_dai *dai,
> + struct s
Le 26/07/2023 à 17:02, Herve Codina a écrit :
> After contributing the driver, add myself as the maintainer for the
> Lantiq PEF2256 driver.
>
> Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
> ---
> MAINTAINERS | 9 +
> 1 file changed, 9 insertio
g part (pins RP(A..D) and pins
> XP(A..D)) of the PEF2256.
>
> Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
> ---
> drivers/pinctrl/Kconfig| 14 ++
> drivers/pinctrl/Makefile | 1 +
> drivers/pinctrl/pinctrl-pef2256-reg
Le 26/07/2023 à 17:02, Herve Codina a écrit :
> The Lantiq PEF2256 is a framer and line interface component designed to
> fulfill all required interfacing between an analog E1/T1/J1 line and the
> digital PCM system highway/H.100 bus.
>
> Signed-off-by: Herve Codina
Reviewed
Continue searching for an other device instead of aborting on the
> first disabled one fixes the issue.
>
> Fixes: 22380b65dc70 ("mfd: mfd-core: Ensure disabled devices are ignored
> without error")
> Signed-off-by: Herve Codina
Reviewed-by: Christophe Le
f the framer
> - get the framer status (line state)
> - be notified on framer status changes
> - get/set the framer configuration
>
> Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
> ---
> drivers/net/wan/Kconfig| 2 +
> drivers/net/wan/
Codina
Reviewed-by: Christophe Leroy
> ---
> drivers/net/wan/fsl_qmc_hdlc.c | 169 -
> 1 file changed, 168 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/net/wan/fsl_qmc_hdlc.c b/drivers/net/wan/fsl_qmc_hdlc.c
> index b4ebae963d39..c449edf
o() must be called with the channel rx and/or tx
> stopped.
>
> Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
> ---
> drivers/soc/fsl/qe/qmc.c | 51
> include/soc/fsl/qe/qmc.h | 10
> 2 files changed, 61 insertio
Le 26/07/2023 à 17:02, Herve Codina a écrit :
> Timeslots setting is done at channel start() and stop().
> There is no more need to do that during setup_chan().
>
> Simply remove timeslot setting from setup_chan().
>
> Signed-off-by: Herve Codina
Reviewed-by
Le 26/07/2023 à 17:02, Herve Codina a écrit :
> In order to support runtime timeslot route changes, enable the
> channel timeslot entries at channel start() and disable them at
> channel stop().
>
> Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
> ---
> dri
to avoid extra computation to
> determine the table format each time we need it.
> It is set once at initialization.
>
> Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
> ---
> drivers/soc/fsl/qe/qmc.c | 5 -
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
f-by: Herve Codina
Reviewed-by: Christophe Leroy
> ---
> drivers/soc/fsl/qe/qmc.c | 49
> 1 file changed, 35 insertions(+), 14 deletions(-)
>
> diff --git a/drivers/soc/fsl/qe/qmc.c b/drivers/soc/fsl/qe/qmc.c
> index 146eebc12737..c8d
Le 26/07/2023 à 17:02, Herve Codina a écrit :
> In order to allow runtime timeslot route changes, disabling channel TSA
> entries needs to be supported.
>
> Add support for this new feature.
>
> Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
> ---
>
call should be the available ones.
>
> Simply update and check the available timeslots instead of the used
> timeslots in qmc_check_chans().
>
> Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
> ---
> drivers/soc/fsl/qe/qmc.c | 8
> 1 file c
).
>
> Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
> ---
> drivers/soc/fsl/qe/qmc.c | 20
> 1 file changed, 20 deletions(-)
>
> diff --git a/drivers/soc/fsl/qe/qmc.c b/drivers/soc/fsl/qe/qmc.c
> index c5552a0b5b19..33761c39aee1 10064
Le 26/07/2023 à 17:02, Herve Codina a écrit :
> Introduce the qmc_chan_setup_tsa* functions to setup entries related
> to the given channel.
> Use them during QMC channels setup.
>
> Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
> ---
> drivers/s
gned-off-by: Herve Codina
Reviewed-by: Christophe Leroy
> ---
> drivers/soc/fsl/qe/qmc.c | 16
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/soc/fsl/qe/qmc.c b/drivers/soc/fsl/qe/qmc.c
> index 21ad7e79e7bd..64a11f5c6f85 100644
>
> This prepares the dynamic timeslots management (ie. changing timeslots
> at runtime).
>
> Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
> ---
> drivers/soc/fsl/qe/qmc.c | 8 ++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/
Le 26/07/2023 à 17:02, Herve Codina a écrit :
> The QMC HDLC driver provides support for HDLC using the QMC (QUICC
> Multichannel Controller) to transfer the HDLC data.
>
> Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
> diff --git a/drivers/net/wan/fsl_qmc_hdlc.
> read complete() call.
>
> In TRANSPARENT mode, these flags have no meaning. Keep only one read
> complete() API and update the consumers working in transparent mode.
> In this case, the newly introduced flags parameter is simply unused.
>
> Signed-off-by: Herve Co
> stopped. Only a qmc_chan_start() call can move the channel from stopped
> state to started state.
>
> Fix the issue removing the is_rx_stopped flag setting from
> qmc_chan_reset()
>
> Fixes: 3178d58e0b97 ("soc: fsl: cpm1: Add support for QMC")
> Signed-off
port for QMC")
> Signed-off-by: Herve Codina
Reviewed-by: Christophe Leroy
> ---
> drivers/soc/fsl/qe/qmc.c | 34 +-
> 1 file changed, 17 insertions(+), 17 deletions(-)
>
> diff --git a/drivers/soc/fsl/qe/qmc.c b/drivers/soc/fsl/qe/qmc.c
&
iomem *
>--- 8< ---
>
> Indeed, some variable were declared 'type *__iomem var' instead of
> 'type __iomem *var'.
>
> Use the correct declaration to remove these warnings.
>
> Fixes: 1d4ba0b81c1c ("soc: fsl: cpm1: Add support for TSA")
> Signed-off-by: Herve
And avoid
going through local pointers that hide the pointed structure.
Signed-off-by: Christophe Leroy
---
arch/powerpc/include/asm/fs_pd.h| 8 ---
arch/powerpc/platforms/8xx/cpm1.c | 10 ++--
arch/powerpc/platforms/8xx/m8xx_setup.c | 66 +++--
3 files c
void
going through local pointers that hide the pointed structure.
Signed-off-by: Christophe Leroy
---
arch/powerpc/include/asm/fs_pd.h | 8
arch/powerpc/sysdev/cpm2.c | 32 +++-
arch/powerpc/sysdev/cpm2_pic.c | 3 +--
3 files changed, 12 inserti
CONFIG_PCI_8260 is not used anymore, remove it.
Signed-off-by: Christophe Leroy
---
arch/powerpc/Kconfig| 6 --
arch/powerpc/platforms/82xx/Kconfig | 1 +
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index
SIU_INT_IRQ1 is not used anywhere and __IO_BASE is defined in
asm/io.h
Remove m82xx_pci.h
Then the only thing remaining in mpc8260.h is MPC82XX_BCR_PLDP
Move MPC82XX_BCR_PLDP into asm/cpm2.h then remove mpc8260.h
Signed-off-by: Christophe Leroy
---
arch/powerpc/include/asm/cpm2.h
Do the same as for cmp2_immr : declare it at the same place
as its type immap_t, that is in 8xx_immap.h instead of fs_pd.h
Signed-off-by: Christophe Leroy
---
arch/powerpc/include/asm/8xx_immap.h | 2 ++
arch/powerpc/include/asm/fs_pd.h | 2 --
arch/powerpc/platforms/8xx
tqm8xx_setup.c and fs_enet.h don't use any items provided by fs_pd.h
Remove unneeded #include
Signed-off-by: Christophe Leroy
---
arch/powerpc/platforms/8xx/tqm8xx_setup.c| 1 -
drivers/net/ethernet/freescale/fs_enet/fs_enet.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/arch
Le 19/05/2023 à 13:38, Michael Ellerman a écrit :
> Commit 1e8fed873e74 ("powerpc: drop ranges for definition of
> ARCH_FORCE_MAX_ORDER") removed the limits on the possible values for
> ARCH_FORCE_MAX_ORDER.
>
> However removing the ranges entirely causes some common work flows to
> break. For
Hello,
Le 20/07/2023 à 12:17, zhangyongle...@208suo.com a écrit :
> [Vous ne recevez pas souvent de courriers de zhangyongle...@208suo.com.
> D?couvrez pourquoi ceci est important ?
> https://aka.ms/LearnAboutSenderIdentification ]
>
> Fix twoce occurrences of the checkpatch.pl error:
> ERROR:
Hello,
Le 20/07/2023 à 09:34, hanyu...@208suo.com a écrit :
> Fix below checkpatch errors:
>
> ./arch/powerpc/mm/book3s32/tlb.c:102: ERROR: spaces required around that
> '?' (ctx:VxW)
> ./arch/powerpc/mm/book3s32/tlb.c:102: ERROR: spaces required around that
> ':' (ctx:VxW)
Can you please
linux/fs_enet_pd.h is not used anymore.
Remove it.
Signed-off-by: Christophe Leroy
---
MAINTAINERS| 1 -
include/linux/fs_enet_pd.h | 118 -
2 files changed, 119 deletions(-)
delete mode 100644 include/linux/fs_enet_pd.h
diff --git
cpm_dpxxx() macros are now always referring to cpm_muram_xxx() fonctions
directly since commit 3dd82a1ea724 ("[POWERPC] CPM: Always use new
binding.")
Use cpm_muram_xxx() functions directly so that the cpm_dpxxx() macros
can be removed in the near future.
Signed-off-by: Christ
Since commit 3dd82a1ea724 ("[POWERPC] CPM: Always use new binding.")
has_phy field is never set.
Remove dead code and remove the field.
Signed-off-by: Christophe Leroy
---
drivers/net/ethernet/freescale/fs_enet/mac-fec.c | 14 --
include/linux/fs
Three platforms in arch/powerpc/platforms/8xx/ include fs_enet_pd.h
but don't use anything from it.
Remove the includes.
Signed-off-by: Christophe Leroy
---
arch/powerpc/platforms/8xx/adder875.c| 1 -
arch/powerpc/platforms/8xx/mpc885ads_setup.c | 1 -
arch/powerpc/platforms/8xx
tform_info into fs_enet.h
Signed-off-by: Christophe Leroy
---
.../net/ethernet/freescale/fs_enet/fs_enet.h | 19 ++-
.../net/ethernet/freescale/fs_enet/mii-fec.c | 1 +
include/linux/fs_enet_pd.h| 16
3 files changed, 19 insertions(+), 17
501 - 600 of 9598 matches
Mail list logo