lkml.org 
[lkml]   [2022]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 4/8] soc: fujitsu: Add Kconfig/Makefile to build hardware prefetch control driver
    Date
    Adds Kconfig/Makefile to build hardware prefetch control driver for
    A64FX support, and also adds a MAINTAINERS entry.

    Signed-off-by: Kohei Tarumizu <tarumizu.kohei@fujitsu.com>
    ---
    MAINTAINERS | 1 +
    drivers/soc/Kconfig | 1 +
    drivers/soc/Makefile | 1 +
    drivers/soc/fujitsu/Kconfig | 11 +++++++++++
    drivers/soc/fujitsu/Makefile | 2 ++
    5 files changed, 16 insertions(+)
    create mode 100644 drivers/soc/fujitsu/Kconfig
    create mode 100644 drivers/soc/fujitsu/Makefile

    diff --git a/MAINTAINERS b/MAINTAINERS
    index f188403bc2e9..dd1345087881 100644
    --- a/MAINTAINERS
    +++ b/MAINTAINERS
    @@ -8624,6 +8624,7 @@ HARDWARE PREFETCH CONTROL DRIVERS
    M: Kohei Tarumizu <tarumizu.kohei@fujitsu.com>
    S: Maintained
    F: drivers/base/pfctl.c
    +F: drivers/soc/fujitsu/a64fx-pfctl.c
    F: include/linux/pfctl.h

    HARDWARE RANDOM NUMBER GENERATOR CORE
    diff --git a/drivers/soc/Kconfig b/drivers/soc/Kconfig
    index c5aae42673d3..d87754799d90 100644
    --- a/drivers/soc/Kconfig
    +++ b/drivers/soc/Kconfig
    @@ -9,6 +9,7 @@ source "drivers/soc/atmel/Kconfig"
    source "drivers/soc/bcm/Kconfig"
    source "drivers/soc/canaan/Kconfig"
    source "drivers/soc/fsl/Kconfig"
    +source "drivers/soc/fujitsu/Kconfig"
    source "drivers/soc/imx/Kconfig"
    source "drivers/soc/ixp4xx/Kconfig"
    source "drivers/soc/litex/Kconfig"
    diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile
    index 904eec2a7871..6c8ff1792cda 100644
    --- a/drivers/soc/Makefile
    +++ b/drivers/soc/Makefile
    @@ -12,6 +12,7 @@ obj-$(CONFIG_SOC_CANAAN) += canaan/
    obj-$(CONFIG_ARCH_DOVE) += dove/
    obj-$(CONFIG_MACH_DOVE) += dove/
    obj-y += fsl/
    +obj-y += fujitsu/
    obj-$(CONFIG_ARCH_GEMINI) += gemini/
    obj-y += imx/
    obj-y += ixp4xx/
    diff --git a/drivers/soc/fujitsu/Kconfig b/drivers/soc/fujitsu/Kconfig
    new file mode 100644
    index 000000000000..d711e6139840
    --- /dev/null
    +++ b/drivers/soc/fujitsu/Kconfig
    @@ -0,0 +1,11 @@
    +# SPDX-License-Identifier: GPL-2.0-only
    +
    +menu "Fujitsu SoC drivers"
    +
    +config A64FX_HWPF_CONTROL
    + tristate "A64FX Hardware Prefetch Control driver"
    + depends on ARM64 && HWPF_CONTROL
    + help
    + This adds Hardware Prefetch driver control support for A64FX.
    +
    +endmenu
    diff --git a/drivers/soc/fujitsu/Makefile b/drivers/soc/fujitsu/Makefile
    new file mode 100644
    index 000000000000..35e284a548bb
    --- /dev/null
    +++ b/drivers/soc/fujitsu/Makefile
    @@ -0,0 +1,2 @@
    +# SPDX-License-Identifier: GPL-2.0-only
    +obj-$(CONFIG_A64FX_HWPF_CONTROL) += a64fx-pfctl.o
    --
    2.27.0
    \
     
     \ /
      Last update: 2022-05-18 08:35    [W:2.664 / U:0.284 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site