Re: [PATCH v3 1/3] powerpc/config: Cleanup pmac32_defconfig

2023-09-14 Thread Yuan Tan
Hi Michael On 9/14/2023 9:10 PM, Michael Ellerman wrote: Yuan Tan writes: Use 'make savedefconfig' to cleanup pmac32_defconfig, based on Linux 7.6-rc1 Thanks but I don't like doing these updates in a single commit like this, it's easy to accidentally lose a symbol.

[PATCH v3 3/3] powerpc/config: Simplify pmac32_defconfig

2023-09-14 Thread Yuan Tan
Simplify pmac32_defconfig with POWER_RESET dependences. Regenerate pmac32_defconfig with 'make savedefconfig'. Suggested-by: Philippe Mathieu-Daudé Suggested-by: Christophe Leroy Signed-off-by: Yuan Tan --- arch/powerpc/configs/pmac32_defconfig | 2 +- 1 file changed, 1 inser

[PATCH v3 2/3] Kconfig: Add dependencies of POWER_RESET for pmac32

2023-09-14 Thread Yuan Tan
pmac32's power off depends on ADB_CUDA to work. Enable it when POWER_RESET is set for convenience. Suggested-by: Zhangjin Wu Signed-off-by: Yuan Tan --- arch/powerpc/platforms/powermac/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/powermac/Kconfig b

[PATCH v3 1/3] powerpc/config: Cleanup pmac32_defconfig

2023-09-14 Thread Yuan Tan
Use 'make savedefconfig' to cleanup pmac32_defconfig, based on Linux 7.6-rc1 Suggested-by: Philippe Mathieu-Daudé Suggested-by: Christophe Leroy Signed-off-by: Yuan Tan --- arch/powerpc/configs/pmac32_defconfig | 44 --- 1 file changed, 19 insertions(+), 25

[PATCH v3 0/3] Kconfig: Add dependencies of POWER_RESET for pmac32

2023-09-14 Thread Yuan Tan
/lore.kernel.org/all/20230831201727.3177853-1-tany...@tinylab.org/ v2: https://lore.kernel.org/all/cover.1693535514.git.tany...@tinylab.org/ --- Changes in v2: - Fix the mistake of using spaces instead of tabs in kconfig. Changes in v3: - Enable POWER_RESET and simplify the deconfig. - Select ADB_CUDA

Re: [PATCH v2 1/3] kconfig: add dependencies of POWER_RESET for mips malta

2023-09-14 Thread Yuan Tan
On 9/4/2023 6:51 PM, Philippe Mathieu-Daudé wrote: On 4/9/23 11:24, Yuan Tan wrote: Hi, On 9/4/2023 3:40 PM, Philippe Mathieu-Daudé wrote: Hi, On 1/9/23 04:42, Yuan Tan wrote: MIPS Malta's power off depends on PCI, PCI_QUIRKS, and POWER_RESET_PIIX4_POWEROFF to work. Enable them

Re: [PATCH v2 1/3] kconfig: add dependencies of POWER_RESET for mips malta

2023-09-05 Thread Yuan Tan
Hi, On 9/4/2023 3:40 PM, Philippe Mathieu-Daudé wrote: Hi, On 1/9/23 04:42, Yuan Tan wrote: MIPS Malta's power off depends on PCI, PCI_QUIRKS, and POWER_RESET_PIIX4_POWEROFF to work. Enable them when POWER_RESET is set for convenience. Suggested-by: Zhangjin Wu Signed-off-by: Yua

Re: [PATCH v2 1/3] kconfig: add dependencies of POWER_RESET for mips malta

2023-09-04 Thread Yuan Tan
On 9/4/2023 6:58 PM, Christophe Leroy wrote: Le 04/09/2023 à 12:51, Philippe Mathieu-Daudé a écrit : On 4/9/23 11:24, Yuan Tan wrote: Hi, On 9/4/2023 3:40 PM, Philippe Mathieu-Daudé wrote: Hi, On 1/9/23 04:42, Yuan Tan wrote: MIPS Malta's power off depends on PCI, PCI_QUIRKS

Re: [PATCH v2 3/3] kconfig: add dependencies of POWER_RESET for PowerMac

2023-09-01 Thread Yuan Tan
Hi, On 9/1/2023 2:10 PM, Christophe Leroy wrote: Le 01/09/2023 à 04:43, Yuan Tan a écrit : PowerMac's power off depends on ADB_CUDA to work. Enable it when POWER_RESET is set for convenience. Suggested-by: Zhangjin Wu Signed-off-by: Yuan Tan --- arch/powerpc/platforms/powermac/Kc

[PATCH v2 3/3] kconfig: add dependencies of POWER_RESET for PowerMac

2023-08-31 Thread Yuan Tan
PowerMac's power off depends on ADB_CUDA to work. Enable it when POWER_RESET is set for convenience. Suggested-by: Zhangjin Wu Signed-off-by: Yuan Tan --- arch/powerpc/platforms/powermac/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/powermac/Kconfig b

[PATCH v2 2/3] kconfig: add dependencies of POWER_RESET for x86

2023-08-31 Thread Yuan Tan
x86 and x86_64's power off depends on ACPI and PCI to work. Enable them when POWER_RESET is set for convenience. Suggested-by: Zhangjin Wu Signed-off-by: Yuan Tan --- arch/x86/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 982b777

[PATCH v2 1/3] kconfig: add dependencies of POWER_RESET for mips malta

2023-08-31 Thread Yuan Tan
MIPS Malta's power off depends on PCI, PCI_QUIRKS, and POWER_RESET_PIIX4_POWEROFF to work. Enable them when POWER_RESET is set for convenience. Suggested-by: Zhangjin Wu Signed-off-by: Yuan Tan --- arch/mips/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/mips/Kcon

[PATCH v2 0/3] Add dependencies of POWER_RESET for MIPS Malta, x86, and PowerMac

2023-08-31 Thread Yuan Tan
lab.org/ [3]: https://lore.kernel.org/all/983843582e52e83fba79ad45cea6c79e1f62ec6c.1690489039.git.fal...@tinylab.org/ --- Changes since v1: - Fix the mistake of using spaces instead of tabs in kconfig. Yuan Tan (3): kconfig: add dependencies of POWER_RESET for mips malta kconfig: add dependencie

[PATCH v1 0/3] Add dependencies of POWER_RESET for MIPS Malta, x86, and PowerMac.

2023-08-31 Thread Yuan Tan
lore.kernel.org/lkml/511b2f6009fb830b3f32b4be3dca99596c684fa3.1689759351.git.fal...@tinylab.org/ [2]: https://lore.kernel.org/all/983843582e52e83fba79ad45cea6c79e1f62ec6c.1690489039.git.fal...@tinylab.org/ Yuan Tan (3): kconfig: add dependencies of POWER_RESET for mips malta kconfig: add dependencies of POWER_RESET for x86 kconfig:

[PATCH v1 1/3] kconfig: add dependencies of POWER_RESET for mips malta

2023-08-31 Thread Yuan Tan
MIPS Malta's power off depends on PCI, PCI_QUIRKS, and POWER_RESET_PIIX4_POWEROFF to work. Enable them when POWER_RESET is set for convenience. Suggested-by: Zhangjin Wu Signed-off-by: Yuan Tan --- arch/mips/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/mips/Kcon

[PATCH v1 2/3] kconfig: add dependencies of POWER_RESET for x86

2023-08-31 Thread Yuan Tan
x86 and x86_64's power off depends on ACPI and PCI to work. Enable them when POWER_RESET is set for convenience. Suggested-by: Zhangjin Wu Signed-off-by: Yuan Tan --- arch/x86/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 982b777

[PATCH v1 3/3] kconfig: add dependencies of POWER_RESET for PowerMac

2023-08-31 Thread Yuan Tan
PowerMac's power off depends on ADB_CUDA to work. Enable it when POWER_RESET is set for convenience. Suggested-by: Zhangjin Wu Signed-off-by: Yuan Tan --- arch/powerpc/platforms/powermac/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/powermac/Kconfig b

Re: [PATCH] powerpc: pmac32: enable serial options by default in defconfig

2023-08-02 Thread Yuan Tan
Hi Christophe On 8/2/2023 9:58 PM, Christophe Leroy wrote: Le 02/08/2023 à 15:41, Yuan Tan a écrit : [Vous ne recevez pas souvent de courriers de tany...@tinylab.org. Découvrez pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification ] Serial is a critical feature for

[PATCH] powerpc: pmac32: enable serial options by default in defconfig

2023-08-02 Thread Yuan Tan
Serial is a critical feature for logging and debuging, and the other architectures enable serial by default. Let's enable CONFIG_SERIAL_PMACZILOG and CONFIG_SERIAL_PMACZILOG_CONSOLE by default. Signed-off-by: Yuan Tan --- arch/powerpc/configs/pmac32_defconfig | 3 ++- 1 file chang