sh updates for v6.14
- sh: boards: Use imply to enable hardware with complex dependencies - sh: Migrate to the generic rule for built-in DTB - sh: irq: Use seq_put_decimal_ull_width() for decimal values -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEYv+KdYTgKVaVRgAGdCY7N/W1+RMFAmefPVYACgkQdCY7N/W1 +ROC5A//cG3N/oT8RhKtGNQyeuEBpxswHY0itbQ7G7N6DPXMcryu2jjg+ipVLobC 6+fEsSQZt8AhsGOWsaem3adNsqPh362RhhgrMStmree8wMXyEDFUOGn4QtW0GHHA Y/UODeJxjwgAIBLuQ5ckn6c1+k0iVc51zeBvtQkQI86h2TT4IYehB8e605EFsman h6PvinS+n7cyEtYQrszUFH3VpYX1Q4xPKQREhmzVIyRNQonfwEZNAbgJUxs3JsV8 BJqxJoCST7DNdiq6969DaFGuGcIldQcuARDxEAv1NZwymudVsEJWjpyfR23SyIbe ztsB4NHkxGwHml51dVLliLHCnY2ARdoo2Ohq6wpa7OdwOKA42FdSSgrVYEjMHRCT PlEuPMnNxNXcckUG6hW5G5GoxY7LOCrcOeJrpoNDmQsNHq88+N3Y5Vj5YTuGUwun 826r5ilxQHGwBlhZW6kbAvaTGdLCs9bSwS1Sc4yojlBUxSM1Bgtuv0iBY7zNIfiX 9f7zb7Xde5XGMpMoRtL8A3FzMFKDaMTuLSXbNL7KCkQJvsb9Q45zOd5G+eawcBMr 0bJDRFo6MUmQfXXkGtZLK8zqixOnrL3JQaBNtQhiB8QDueyaaXtJza5TPFeNE25j /8VldUlv/bQyymOvuOHoEEG3kQBQGc7Iwb9dBtbZiLLRpgdxNY8= =G6GL -----END PGP SIGNATURE----- Merge tag 'sh-for-v6.14-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux Pull sh updates from John Paul Adrian Glaubitz: "Fixes and improvements for sh: - replace seq_printf() with the more efficient seq_put_decimal_ull_width() to increase performance when stress reading /proc/interrupts (David Wang) - migrate sh to the generic rule for built-in DTB to help avoid race conditions during parallel builds which can occur because Kbuild decends into arch/*/boot/dts twice (Masahiro Yamada) - replace select with imply in the board Kconfig for enabling hardware with complex dependencies. This addresses warnings which were reported by the kernel test robot (Geert Uytterhoeven)" * tag 'sh-for-v6.14-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux: sh: boards: Use imply to enable hardware with complex dependencies sh: Migrate to the generic rule for built-in DTB sh: irq: Use seq_put_decimal_ull_width() for decimal values
This commit is contained in:
commit
5d82ca7b50
6 changed files with 11 additions and 11 deletions
|
@ -1,7 +1,6 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
obj-y += kernel/ mm/ boards/
|
||||
obj-$(CONFIG_SH_FPU_EMU) += math-emu/
|
||||
obj-$(CONFIG_USE_BUILTIN_DTB) += boot/dts/
|
||||
|
||||
obj-$(CONFIG_HD6446X_SERIES) += cchips/hd6446x/
|
||||
|
||||
|
|
|
@ -648,10 +648,11 @@ endmenu
|
|||
|
||||
menu "Boot options"
|
||||
|
||||
config USE_BUILTIN_DTB
|
||||
config BUILTIN_DTB
|
||||
bool "Use builtin DTB"
|
||||
default n
|
||||
depends on SH_DEVICE_TREE
|
||||
select GENERIC_BUILTIN_DTB
|
||||
help
|
||||
Link a device tree blob for particular hardware into the kernel,
|
||||
suppressing use of the DTB pointer provided by the bootloader.
|
||||
|
@ -659,10 +660,10 @@ config USE_BUILTIN_DTB
|
|||
not capable of providing a DTB to the kernel, or for experimental
|
||||
hardware without stable device tree bindings.
|
||||
|
||||
config BUILTIN_DTB_SOURCE
|
||||
config BUILTIN_DTB_NAME
|
||||
string "Source file for builtin DTB"
|
||||
default ""
|
||||
depends on USE_BUILTIN_DTB
|
||||
depends on BUILTIN_DTB
|
||||
help
|
||||
Base name (without suffix, relative to arch/sh/boot/dts) for the
|
||||
a DTS file that will be used to produce the DTB linked into the
|
||||
|
|
|
@ -80,8 +80,8 @@ config SH_7724_SOLUTION_ENGINE
|
|||
select SOLUTION_ENGINE
|
||||
depends on CPU_SUBTYPE_SH7724
|
||||
select GPIOLIB
|
||||
select SND_SOC_AK4642 if SND_SIMPLE_CARD
|
||||
select REGULATOR_FIXED_VOLTAGE if REGULATOR
|
||||
imply SND_SOC_AK4642 if SND_SIMPLE_CARD
|
||||
help
|
||||
Select 7724 SolutionEngine if configuring for a Hitachi SH7724
|
||||
evaluation board.
|
||||
|
@ -259,8 +259,8 @@ config SH_ECOVEC
|
|||
bool "EcoVec"
|
||||
depends on CPU_SUBTYPE_SH7724
|
||||
select GPIOLIB
|
||||
select SND_SOC_DA7210 if SND_SIMPLE_CARD
|
||||
select REGULATOR_FIXED_VOLTAGE if REGULATOR
|
||||
imply SND_SOC_DA7210 if SND_SIMPLE_CARD
|
||||
help
|
||||
Renesas "R0P7724LC0011/21RL (EcoVec)" support.
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
obj-$(CONFIG_USE_BUILTIN_DTB) += $(addsuffix .dtb.o, $(CONFIG_BUILTIN_DTB_SOURCE))
|
||||
obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .dtb.o, $(CONFIG_BUILTIN_DTB_NAME))
|
||||
|
|
|
@ -43,9 +43,9 @@ int arch_show_interrupts(struct seq_file *p, int prec)
|
|||
{
|
||||
int j;
|
||||
|
||||
seq_printf(p, "%*s: ", prec, "NMI");
|
||||
seq_printf(p, "%*s:", prec, "NMI");
|
||||
for_each_online_cpu(j)
|
||||
seq_printf(p, "%10u ", per_cpu(irq_stat.__nmi_count, j));
|
||||
seq_put_decimal_ull_width(p, " ", per_cpu(irq_stat.__nmi_count, j), 10);
|
||||
seq_printf(p, " Non-maskable interrupts\n");
|
||||
|
||||
seq_printf(p, "%*s: %10u\n", prec, "ERR", atomic_read(&irq_err_count));
|
||||
|
|
|
@ -249,7 +249,7 @@ void __ref sh_fdt_init(phys_addr_t dt_phys)
|
|||
/* Avoid calling an __init function on secondary cpus. */
|
||||
if (done) return;
|
||||
|
||||
#ifdef CONFIG_USE_BUILTIN_DTB
|
||||
#ifdef CONFIG_BUILTIN_DTB
|
||||
dt_virt = __dtb_start;
|
||||
#else
|
||||
dt_virt = phys_to_virt(dt_phys);
|
||||
|
@ -323,7 +323,7 @@ void __init setup_arch(char **cmdline_p)
|
|||
sh_early_platform_driver_probe("earlyprintk", 1, 1);
|
||||
|
||||
#ifdef CONFIG_OF_EARLY_FLATTREE
|
||||
#ifdef CONFIG_USE_BUILTIN_DTB
|
||||
#ifdef CONFIG_BUILTIN_DTB
|
||||
unflatten_and_copy_device_tree();
|
||||
#else
|
||||
unflatten_device_tree();
|
||||
|
|
Loading…
Add table
Reference in a new issue