linux/arch/powerpc/platforms/8xx
Herve Codina b38736ac01
powerpc/8xx: Use a larger CPM1 command check mask
The CPM1 command mask is defined for use with the standard
CPM1 command register as described in the user's manual:
  0  |1        3|4    7|8   11|12      14| 15|
  RST|    -     |OPCODE|CH_NUM|     -    |FLG|

In the QMC extension the CPM1 command register is redefined
(QMC supplement user's manuel) with the following mapping:
  0  |1        3|4    7|8           13|14| 15|
  RST|QMC OPCODE|  1110|CHANNEL_NUMBER| -|FLG|

Extend the check command mask in order to support both the
standard CH_NUM field and the QMC extension CHANNEL_NUMBER
field.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Acked-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230217145645.1768659-5-herve.codina@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-03-05 23:37:01 +00:00
..
adder875.c powerpc/8xx: Remove mpc8xx_pics_init() 2022-05-11 23:06:40 +10:00
cpm1-ic.c powerpc/8xx: Use kmalloced data structure instead of global static 2022-05-11 23:06:40 +10:00
cpm1.c powerpc/8xx: Use a larger CPM1 command check mask 2023-03-05 23:37:01 +00:00
ep88xc.c powerpc/8xx: Remove mpc8xx_pics_init() 2022-05-11 23:06:40 +10:00
Kconfig powerpc/8xx: Always pin kernel text TLB 2020-12-09 23:47:45 +11:00
m8xx_setup.c powerpc/8xx: Remove mpc8xx_pics_init() 2022-05-11 23:06:40 +10:00
machine_check.c powerpc: bad_page_fault get registers from regs 2021-02-09 00:02:09 +11:00
Makefile powerpc/8xx: Move CPM interrupt controller into a dedicated file 2022-05-11 23:06:39 +10:00
micropatch.c powerpc/8xx: Fix early debug when SMC1 is relocated 2020-12-09 17:00:54 +11:00
mpc8xx.h powerpc/8xx: Remove mpc8xx_pics_init() 2022-05-11 23:06:40 +10:00
mpc86xads_setup.c powerpc/8xx: Remove mpc8xx_pics_init() 2022-05-11 23:06:40 +10:00
mpc86xads.h
mpc885ads_setup.c powerpc/8xx: Remove mpc8xx_pics_init() 2022-05-11 23:06:40 +10:00
mpc885ads.h
pic.c powerpc/8xx: Remove mpc8xx_pics_init() 2022-05-11 23:06:40 +10:00
pic.h powerpc/8xx: Remove mpc8xx_pics_init() 2022-05-11 23:06:40 +10:00
tqm8xx_setup.c powerpc/8xx: Add missing of_node_put() in tqm8xx_setup.c 2022-09-05 17:28:25 +10:00