Home
last modified time | relevance | path

Searched hist:"91389 c390521a02ecfb91270f5b9d7fae4312ae5" (Results 1 – 4 of 4) sorted by relevance

/linux/include/linux/clk/
H A Dsunxi-ng.hdiff 91389c390521a02ecfb91270f5b9d7fae4312ae5 Fri Nov 19 04:33:37 CET 2021 Samuel Holland <samuel@sholland.org> clk: sunxi-ng: Allow the CCU core to be built as a module

Like the individual CCU drivers, it can be beneficial for memory
consumption of cross-platform configurations to only load the CCU core
on the relevant platform. For example, a generic arm64 kernel sees the
following improvement when building the CCU core and drivers as modules:

before:
text data bss dec hex filename
13882360 5251670 360800 19494830 12977ae vmlinux

after:
text data bss dec hex filename
13734787 5086442 360800 19182029 124b1cd vmlinux

So the result is a 390KB total reduction in kernel image size.

The one early clock provider (sun5i) requires the core to be built in.

Now that loading the MMC driver will trigger loading the CCU core, the
MMC timing mode functions do not need a compile-time fallback.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20211119033338.25486-5-samuel@sholland.org
/linux/drivers/clk/sunxi-ng/
H A Dccu_common.cdiff 91389c390521a02ecfb91270f5b9d7fae4312ae5 Fri Nov 19 04:33:37 CET 2021 Samuel Holland <samuel@sholland.org> clk: sunxi-ng: Allow the CCU core to be built as a module

Like the individual CCU drivers, it can be beneficial for memory
consumption of cross-platform configurations to only load the CCU core
on the relevant platform. For example, a generic arm64 kernel sees the
following improvement when building the CCU core and drivers as modules:

before:
text data bss dec hex filename
13882360 5251670 360800 19494830 12977ae vmlinux

after:
text data bss dec hex filename
13734787 5086442 360800 19182029 124b1cd vmlinux

So the result is a 390KB total reduction in kernel image size.

The one early clock provider (sun5i) requires the core to be built in.

Now that loading the MMC driver will trigger loading the CCU core, the
MMC timing mode functions do not need a compile-time fallback.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20211119033338.25486-5-samuel@sholland.org
/linux/drivers/clk/
H A DMakefilediff 91389c390521a02ecfb91270f5b9d7fae4312ae5 Fri Nov 19 04:33:37 CET 2021 Samuel Holland <samuel@sholland.org> clk: sunxi-ng: Allow the CCU core to be built as a module

Like the individual CCU drivers, it can be beneficial for memory
consumption of cross-platform configurations to only load the CCU core
on the relevant platform. For example, a generic arm64 kernel sees the
following improvement when building the CCU core and drivers as modules:

before:
text data bss dec hex filename
13882360 5251670 360800 19494830 12977ae vmlinux

after:
text data bss dec hex filename
13734787 5086442 360800 19182029 124b1cd vmlinux

So the result is a 390KB total reduction in kernel image size.

The one early clock provider (sun5i) requires the core to be built in.

Now that loading the MMC driver will trigger loading the CCU core, the
MMC timing mode functions do not need a compile-time fallback.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20211119033338.25486-5-samuel@sholland.org
/linux/drivers/mmc/host/
H A DKconfigdiff 91389c390521a02ecfb91270f5b9d7fae4312ae5 Fri Nov 19 04:33:37 CET 2021 Samuel Holland <samuel@sholland.org> clk: sunxi-ng: Allow the CCU core to be built as a module

Like the individual CCU drivers, it can be beneficial for memory
consumption of cross-platform configurations to only load the CCU core
on the relevant platform. For example, a generic arm64 kernel sees the
following improvement when building the CCU core and drivers as modules:

before:
text data bss dec hex filename
13882360 5251670 360800 19494830 12977ae vmlinux

after:
text data bss dec hex filename
13734787 5086442 360800 19182029 124b1cd vmlinux

So the result is a 390KB total reduction in kernel image size.

The one early clock provider (sun5i) requires the core to be built in.

Now that loading the MMC driver will trigger loading the CCU core, the
MMC timing mode functions do not need a compile-time fallback.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20211119033338.25486-5-samuel@sholland.org