har X[200]; return 3; }" | $* -S -x c -c -m64 -O0
> -mcmodel=kernel -fno-PIE -fstack-protector - -o - 2> /dev/null | grep -q "%gs"
> --
> 2.17.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Best Regards
Masahiro Yamada
line
> +is a comment.
> +
>
> Kconfig hints
> -
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Best Regards
Masahiro Yamada
ts except headers_install, and external modules
are the cases.
Signed-off-by: Masahiro Yamada
---
Changes in v2: None
Makefile | 22 +-
1 file changed, 17 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index 413c2ed..f1e06fba 100644
--- a/Makefile
+++ b/Makefi
t to 'make kernelrelease'.
Signed-off-by: Masahiro Yamada
---
Changes in v2: None
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index f1e06fba..bb7394a 100644
--- a/Makefile
+++ b/Makefile
@@ -225,7 +225,8 @@ no-dot-config-target
ues building; /bin/false let the creation of
'include/config/auto.config' fail, but Make can ignore the error since
it is included by the '-include' directive.
Use the 'include' directive instead. This allows the /bin/false
to correctly terminate the whole build pr
With the special case handling for Blackfin and Metag was removed by
commit 94e58e0ac312 ("export.h: remove code for prefixing symbols with
underscore"), VMLINUX_SYMBOL_STR() can be replaced with string literal.
Signed-off-by: Masahiro Yamada
---
drivers/mtd/chips/gen_probe.c | 4 ++
SYMBOL_STR().
Signed-off-by: Masahiro Yamada
---
include/linux/module.h | 4 ++--
kernel/module.c| 6 ++
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/include/linux/module.h b/include/linux/module.h
index d44df9b..f807f15 100644
--- a/include/linux/module.h
+++ b/inc
Update the help message.
Signed-off-by: Masahiro Yamada
---
init/Kconfig | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/init/Kconfig b/init/Kconfig
index fde3d09..041f3a0 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1051,10 +1051,9 @@ config LD_DEAD_CODE_D
Hi.
2018-06-18 22:25 GMT+09:00 Eric W. Biederman :
> Masahiro Yamada writes:
>
>> - drop CONFIG_CROSS_COMPILE support
>
> aka
>> commit f1089c92da791034af73478159626007cba7f092
>> Author: Masahiro Yamada
>> Date: Mon May 28 18:21:39 2018 +0900
>>
your patch is applied to the wrong git tree, please drop us a note to
> help improve the system]
>
> url:
> https://github.com/0day-ci/linux/commits/Masahiro-Yamada/kbuild-use-include-directive-to-load-auto-conf-from-top-Makefile/20180623-220114
> base:
> https://git.ker
hen select maximum ECC strength which can be fit with
>available OOB size.
>
> This patch introduces nand_ecc_choose_conf function which calls the
> required helper functions for the above logic. The drivers can use
> this single function instead of calling the 3 helper functions
&g
The UniPhier platform highly relies on the reset controller.
Select RESET_CONTROLLER to enable it forcibly.
Signed-off-by: Masahiro Yamada
---
arch/arm64/Kconfig.platforms | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index
The UniPhier platform highly relies on the reset controller.
Select RESET_CONTROLLER to enable it forcibly.
Signed-off-by: Masahiro Yamada
---
arch/arm/mach-uniphier/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-uniphier/Kconfig b/arch/arm/mach-uniphier/Kconfig
cooling device properties for CPUS
- fix widget name of headphone
- select RESET_CONTROLLER
Katsuhiro Suzuki (1):
arm64: dts: uniphier: fix widget name of headphone for LD11/LD20 boards
Masahiro Yamada (2):
ARM
2018-06-25 23:16 GMT+09:00 Steven Rostedt :
> On Sat, 23 Jun 2018 02:42:26 +0900
> Masahiro Yamada wrote:
>
>> 2018-06-09 6:47 GMT+09:00 Greg Thelen :
>> > Non gcc-5 builds with CONFIG_STACK_VALIDATION=y and
>> > SKIP_STACK_VALIDATION=1 fail.
>> > Exampl
t; spdif-out {
> --
> 2.18.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Best Regards
Masahiro Yamada
Commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6")
bumped the minimum GCC version to 4.6 for all architectures.
The GCC version checks in arch/powerpc/Makefile are obsolete now.
Signed-off-by: Masahiro Yamada
---
arch/powerpc/Mak
Commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6")
bumped the minimum GCC version to 4.6 for all architectures.
The version check in arch/parisc/Makefile is obsolete now.
Signed-off-by: Masahiro Yamada
---
arch/parisc/Makefile | 9 -
1 file changed, 9
Commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6")
bumped the minimum GCC version to 4.6 for all architectures.
The workaround code in fs/reiserfs/Makefile is obsolete now.
Signed-off-by: Masahiro Yamada
---
fs/reiserfs/Makefile | 9 -
1 file changed, 9
Commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6")
bumped the minimum GCC version to 4.6 for all architectures.
With GCC >= 4.6 assumed, 'upto_gcc44' is empty, 'atleast_gcc44' is y.
Signed-off-by: Masahiro Yamada
---
arch/arc/Makefile |
lder.
Signed-off-by: Masahiro Yamada
---
scripts/Makefile.build | 2 --
1 file changed, 2 deletions(-)
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index 1c48572..5a2d1c9 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -246,8 +246,6 @@ objtool_args += -
Commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6")
bumped the minimum GCC version to 4.6 for all architectures.
'$(call cc-option,-fno-unit-at-a-time)' is now dead code since
'$(cc-version) -lt 0400' is always false.
Signed-off-by: Masahiro Yama
Commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6")
bumped the minimum GCC version to 4.6 for all architectures.
Remove the workaround code.
It was the only user of cc-if-fullversion. Remove the macro as well.
Signed-off-by: Masahiro Yamada
---
arch/x86/Makefile
ero.
In this case, there is no point for calling nand_scan() because we know
it will fail for sure. Let's make the probe function fail immediately.
Signed-off-by: Masahiro Yamada
---
Changes in v2:
- Return -ENODEV immediately if no chip was found on the board
for some reasons.
Th
e,
> # and causing a panic. Since this behavior only affects ppc32, this ifeq
> # will work around it. If any other architecture displays this behavior,
> # add it here.
> ccflags-$(CONFIG_PPC32) := $(call cc-ifversion, -lt, 0400, -O1)
>
> Arnd
Recently, I sent out patches to remove redundant GCC version checks,
including this one.
https://lore.kernel.org/patchwork/patch/977808/
I do not know who is maintaining reiserfs, though.
--
Best Regards
Masahiro Yamada
anged, 185 insertions(+)
>
> --
> 2.7.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Best Regards
Masahiro Yamada
2018-07-20 17:50 GMT+09:00 Masahiro Yamada :
> Catch up with the new binding of the Denali IP where three clocks,
> "nand", "nand_x", "ecc" are required.
>
> For UniPhier SoCs, the "nand_x" and "ecc" are tied up because they
>
Hi Randy
2018-08-29 4:55 GMT+09:00 Randy Dunlap :
> On 08/23/2018 09:20 PM, Masahiro Yamada wrote:
>> Hi Randy,
>>
>>
>> 2018-08-24 3:13 GMT+09:00 Randy Dunlap :
>>> From: Randy Dunlap
>>>
>>> When $DEPMOD is not found, only print a warning
gets] Save vmlinux linker map file(s)'
> @echo ''
> @echo 'Execute "make" or "make all" to build all targets marked with
> [*] '
> @echo 'For further info see the ./README file'
> --
> 2.18.0.13.gd42ae10
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Best Regards
Masahiro Yamada
+# e.g. 'SRCDIR_cmdline.o := lib'
This does not work for single targets.
'make foo/bar/cmdline.o' works,
but 'make foo/bar/cmdline.i' does not.
> +.SECONDEXPANSION:
> +srcdir := $$(if $$(SRCDIR_$$(@F)),$$(SRCDIR_$$(@F)),$(src))
>
--
Best Regards
Masahiro Yamada
The host-progs has been supported as an alias of hostprogs-y at least
since the beginning of Git era, with the clear prompt:
Usage of host-progs is deprecated. Please replace with hostprogs-y!
Enough time for the migration has passed.
Signed-off-by: Masahiro Yamada
---
arch/xtensa/boot
cause
they are reduced to common_stmt.
Signed-off-by: Masahiro Yamada
---
scripts/kconfig/zconf.y | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/zconf.y
index 4b68272..95a4fd3 100644
--- a/scripts/kconfig/zconf.y
+++ b/scrip
x86 will use it.
>
> Cc: Sam Ravnborg
> Cc: Masahiro Yamada
I added this in the previous version.
Acked-by: Masahiro Yamada
When you send a new version,
please make sure to add Acked-by/Reviewed-by reviewers have given.
Thanks.
> Cc: Michal Marek
> Cc: Thomas Gleixner
port. Then, they needed to shrink the
silicon die size, and gave up the UHS, but forgot to remove the pin
assignment.
Signed-off-by: Masahiro Yamada
---
Changes in v2:
- rebase onto linux-pinctrl/devel branch
drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c | 5 ++---
1 file changed, 2
> echo $@ >>$DEBUG_FILE
>> $@ 2>>$DEBUG_FILE
>> - if [[ $? -ne 0 ]]; then
>> + err=$?
>> + if [[ $err -ne 0 ]]; then
>> echo "coccicheck failed"
>> - exit $?
>> + exit $err
>> fi
>> }
>>
>> --
>> 2.17.1
>>
>>
--
Best Regards
Masahiro Yamada
gcc-plugin.sh
This shell script should exit 0
only when GCC plugin is supported.
Kees?
--
Best Regards
Masahiro Yamada
This function is unused since commit 104daea149c4 ("kconfig: reference
environment variables directly and remove 'option env='").
Signed-off-by: Masahiro Yamada
---
scripts/kconfig/lkc.h| 1 -
scripts/kconfig/symbol.c | 9 -
2 files changed, 10 deletions(-)
This property is not set by anyone since commit 104daea149c4 ("kconfig:
reference environment variables directly and remove 'option env='").
Signed-off-by: Masahiro Yamada
---
scripts/kconfig/expr.h | 1 -
scripts/kconfig/qconf.cc | 1 -
scripts/kconfig/symbol.c | 2 --
_pfx "mask is not constant"); \
> - BUILD_BUG_ON_MSG(!(_mask), _pfx "mask is zero");\
> + BUILD_BUG_ON_MSG((_mask) == 0, _pfx "mask is zero");\
> BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \
> ~((_mask) >> __bf_shf(_mask)) & (_val) : 0, \
> _pfx "value too large for the field"); \
> --
> 2.18.0
>
--
Best Regards
Masahiro Yamada
2018-08-14 6:29 GMT+09:00 Stefan Agner :
> On 13.08.2018 22:18, Kees Cook wrote:
>> On Mon, Aug 13, 2018 at 1:10 PM, Kees Cook wrote:
>>> On Mon, Aug 13, 2018 at 12:38 AM, Masahiro Yamada
>>> wrote:
>>>> 2018-08-11 18:48 GMT+09:00 Stefan Agner :
>>&g
-12,7 +12,7 @@
>>
>> compiler="$*"
>>
>> -if !( $compiler --version | grep -q clang) ; then
>> +if ! ( $compiler --version | grep -q clang) ; then
>> echo 0
>> exit 1
>> fi
>> --
>> 2.18.0
>>
>
>
>
> --
> Kees Cook
> Pixel Security
--
Best Regards
Masahiro Yamada
t; --
> Cheers,
> Stephen Rothwell
--
Best Regards
Masahiro Yamada
2018-08-14 2:20 GMT+09:00 Sam Ravnborg :
> On Tue, Aug 14, 2018 at 01:48:38AM +0900, Masahiro Yamada wrote:
>> This function is unused since commit 104daea149c4 ("kconfig: reference
>> environment variables directly and remove 'option env='").
>>
>> S
2018-08-09 15:47 GMT+09:00 Masahiro Yamada :
> The rule of mainmenu_stmt does not have debug print of zconf_lineno(),
> but if it had, it would print a wrong line number for the same reason
> as commit b2d00d7c61c8 ("kconfig: fix line numbers for if-entries in
> menu tree").
_expr_deps() should recurse to
not only sym->rev_dep.expr but also sym->implied.expr .
At this moment, sym_check_print_recursive() cannot distinguish
'select' and 'imply' since it does not know the precise context
where the recursive dependency is hit. This will be so
s commit changes the message for the latter case like this:
symbol B depends on A
symbol A prompt is visible depending on B
Also, 'select' and 'imply' are distinguished.
Signed-off-by: Masahiro Yamada
---
scripts/kconfig/symbol.c | 48 +++
2018-08-14 16:56 GMT+09:00 Johannes Berg :
> On Tue, 2018-08-14 at 08:57 +0900, Masahiro Yamada wrote:
>> 2018-08-14 7:09 GMT+09:00 Arnd Bergmann :
>> > Passing an enum into FIELD_GET() produces a long but harmless warning on
>> > newer compilers:
>> >
>
in order to disable features not supported by Clang.
Fixes: cafa0010cd51 ("Raise the minimum required gcc version to 4.6")
Signed-off-by: Masahiro Yamada
---
include/linux/compiler-gcc.h | 34 --
1 file changed, 28 insertions(+), 6 deletions(-)
diff --g
Hi Frank,
2018-08-21 14:37 GMT+09:00 Frank Rowand :
> On 08/20/18 19:08, Masahiro Yamada wrote:
>> Hi Frank,
>>
>> 2018-08-21 10:31 GMT+09:00 Frank Rowand :
>>> On 08/20/18 14:32, Rob Herring wrote:
>>>> On Mon, Aug 20, 2018 at 1:55 PM Frank Rowand
ove the code that is causing NULL pointer dereference. Now, the
maxchips passed to nand_scan() is the maximum number of chip selects
supported by the IP (typically 4 or 8). Leave all the chip detection
process to nand_scan_ident().
Signed-off-by: Masahiro Yamada
---
drivers/mtd/nand/raw/
(+CC Rob, DT, LKML)
I forgot to CC this to DT community...
2018-08-21 18:30 GMT+09:00 Masahiro Yamada :
> The MIO DMAC (Media IO DMA Controller) is used in UniPhier LD4,
> Pro4, and sLD8 SoCs.
>
> Signed-off-by: Masahiro Yamada
> ---
>
> .../devicetree/bindings/dma/uniphi
(+CC LKML just in case)
2018-08-21 18:30 GMT+09:00 Masahiro Yamada :
> The MIO DMAC (Media IO DMA Controller) is used in UniPhier LD4,
> Pro4, and sLD8 SoCs.
>
> Signed-off-by: Masahiro Yamada
> ---
>
> MAINTAINERS | 1 +
> drivers/dma/Kconfig
LD_BUG_ON_MSG should use
> _Static_assert, then have fallbacks for gcc < 4.6.
>
> On Sun, Aug 19, 2018 at 9:14 AM Kees Cook wrote:
>>
>> On Sat, Aug 18, 2018 at 10:51 PM, Masahiro Yamada
>> wrote:
>> > __compiletime_assert_fallback() is supposed to stop build
2018-08-22 1:33 GMT+09:00 Joe Perches :
> On Tue, 2018-08-21 at 15:48 +0900, Masahiro Yamada wrote:
>> Commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6")
>> missed the fact that is included by Clang
>> as well as by GCC.
>>
>> Clan
Hi Joe,
2018-08-21 19:39 GMT+09:00 Joe Perches :
> On Tue, 2018-08-21 at 15:48 +0900, Masahiro Yamada wrote:
>> Commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6")
>> missed the fact that is included by Clang
>> as well as by GCC.
>&g
UILD_ prefixed variables for the internally
appended options, so here is one more conversion to sanitize the
naming convention.
I did not touch Makefiles under tools/ since the tools build system
is a different world.
Signed-off-by: Masahiro Yamada
Acked-by: Kirill A. Shutemov
This config option should be enabled only when both the compiler and
the linker support necessary flags. Add proper dependencies to Kconfig.
Signed-off-by: Masahiro Yamada
---
Makefile | 8 ++--
init/Kconfig | 2 ++
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a
Hi Frank
2018-08-22 3:02 GMT+09:00 Frank Rowand :
> On 08/21/18 00:18, Masahiro Yamada wrote:
>> Hi Frank,
>>
>>
>> 2018-08-21 14:37 GMT+09:00 Frank Rowand :
>>> On 08/20/18 19:08, Masahiro Yamada wrote:
>>>> Hi Frank,
>>>>
>>&g
finitions into mutually
> exclusive headers, do more proper compiler detection, and keep shared
> definitions in compiler_types.h.
>
> Reported-by: Masahiro Yamada
> Suggested-by: Eli Friedman
> Suggested-by: Joe Perches
> Signed-off-by: Nick Desaulniers
> ---
> arch
Hi Jassi,
2018-08-21 19:44 GMT+09:00 Jassi Brar :
> On 21 August 2018 at 15:17, Masahiro Yamada
> wrote:
>> (+CC Rob, DT, LKML)
>>
>> I forgot to CC this to DT community...
>>
>>
>> 2018-08-21 18:30 GMT+09:00 Masahiro Yamada :
>>> The MIO DMA
a warning on a host that never runs "make
>> modules_install"?
>> Can this check be only done when we actually try to install modules?
>
>
> So Nikolaus: how do you provoke this problem that you are reporting?
> It's not just a theoretical problem, is i
exit 1
'exit 0' is missing here.
This shell script would fail, then abort the build process.
> ../scripts/depmod.sh: line 44: /sbin/depmod: No such file or directory
> make[1]: *** [/home/rdunlap/lnx/lnx-418/Makefile:1244: _modinst_post] Error
> 127
> make: *** [Makefile:146: sub-make] Error 2
--
Best Regards
Masahiro Yamada
\
${1}"
- ${LD} ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} \
+ ${LD} ${KBUILD_LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} \
-T ${lds} ${objects}
else
objects="-Wl,--whole-archive\
--
Best Regards
Masahiro Yamada
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -220,7 +220,7 @@ sub_cmd_record_mcount = set -e ; perl
$(srctree)/scripts/recordmcount.pl "$(ARCH
"$(if $(CONFIG_CPU_BIG_ENDIAN),big,little)" \
"$(if $(CONFIG_64BIT),64,32)" \
"$(OBJDUMP)" "$(OBJCOPY)" "$(CC) $(KBUILD_CFLAGS)" \
- "$(LD)" "$(NM)" "$(RM)" "$(MV)" \
+ "$(LD) $(LDFLAGS)" "$(NM)" "$(RM)" "$(MV)" \
"$(if $(part-of-module),1,0)" "$(@)";
recordmcount_source := $(srctree)/scripts/recordmcount.pl
endif # BUILD_C_RECORDMCOUNT
--
Best Regards
Masahiro Yamada
Since commit 0fbe9a245c60 ("microblaze: add endianness options to
LDFLAGS instead of LD"), you cannot build the kernel for microblaze
with CONFIG_DYNAMIC_FTRACE.
Fixes: 0fbe9a245c60 ("microblaze: add endianness options to LDFLAGS instead of
LD")
Signed-off-by: Masahiro Yamada
UILD_ prefixed variables for the internally
appended options, so here is one more conversion to sanitize the
naming convention.
I did not touch Makefiles under tools/ since the tools build system
is a different world.
Signed-off-by: Masahiro Yamada
Acked-by: Kirill A. Shutemov
Reviewed-by: Palmer
Hi Rob, Jassi,
2018-08-23 23:12 GMT+09:00 Jassi Brar :
> On 23 August 2018 at 18:51, Rob Herring wrote:
>> On Thu, Aug 23, 2018 at 12:38 AM Jassi Brar
>> wrote:
>>> On 23 August 2018 at 10:48, Masahiro Yamada
>
>>> >
>>> > If desired, I
The MIO DMAC (Media IO DMA Controller) is used in UniPhier LD4,
Pro4, and sLD8 SoCs.
Signed-off-by: Masahiro Yamada
---
Changes in v2:
- Rename the node "dmac" to "dma-controller"
- Remove dma-channels property
.../devicetree/bindings/dma/uniphie
The MIO DMAC (Media IO DMA Controller) is used in UniPhier LD4,
Pro4, and sLD8 SoCs.
Signed-off-by: Masahiro Yamada
---
Changes in v2:
- Use platform_irq_count() to get the number of channels
MAINTAINERS | 1 +
drivers/dma/Kconfig | 11 +
drivers/dma/Makefile
1/2: DT-binding
2/2: driver
Masahiro Yamada (2):
dt-bindings: dmaengine: add DT binding for UniPhier MIO DMAC
dmaengine: uniphier-mdmac: add UniPhier MIO DMAC driver
.../devicetree/bindings/dma/uniphier-mio-dmac.txt | 25 ++
MAINTAINERS| 1
ess went well,
but depmod is actually skipped because System.map is
generated by "make vmlinux"
What do you think we should do about this case?
Skip depmod silently?
Make it fail?
Print noisy warning like missing depmod case?
--
Best Regards
Masahiro Yamada
This becomes much neater in Kconfig.
Signed-off-by: Masahiro Yamada
---
arch/riscv/Kconfig | 1 +
arch/riscv/Makefile | 2 --
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index a344980..ed81df4 100644
--- a/arch/riscv/Kconfig
+++ b/arch
Hi Boris,
2018-08-24 21:55 GMT+09:00 Boris Brezillon :
> Hi Masahiro,
>
> On Tue, 21 Aug 2018 17:23:19 +0900
> Masahiro Yamada wrote:
>
>> Commit 49aa76b16676 ("mtd: rawnand: do not execute nand_scan_ident()
>> if maxchips is zero") gave a new meaning
c fixes and cleanups
Andrzej Pietrasiewicz (1):
kbuild: make sorting initramfs contents independent of locale
Masahiro Yamada (13):
scripts/dtc: consolidate include path options in Makefile
kconfig: error out when seeing
d5a
>
> This changed again when -findirect-inline was added -- i.e.,
> BUILD_BUG_ON could be used on parameters of inline functions even when
> called by pointer, although the caller needed __flatten in some cases --
> a bit messy.
>
> Daniel
--
Best Regards
Masahiro Yamada
.
Let's give up __compiletime_assert_fallback(). This commit does not
change the current behavior since it just rips off the useless code.
Signed-off-by: Masahiro Yamada
Reviewed-by: Kees Cook
Reviewed-by: Nick Desaulniers
---
Changes in v2:
- Rebase
include/linux/compiler.h | 17 +--
master->min_speed_hz = DIV_ROUND_UP(clksrc, SSI_MAX_CLK_DIVIDER);
> + master->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LSB_FIRST;
> + master->dev.of_node = pdev->dev.of_node;
> + master->bus_num = pdev->id;
> + master->bits_per_word_mask = SPI_BPW_RANGE_MASK(1, 32);
> +
> + master->set_cs = uniphier_spi_set_cs;
> + master->transfer_one = uniphier_spi_transfer_one;
> + master->prepare_transfer_hardware
> + = uniphier_spi_prepare_transfer_hardware;
> + master->unprepare_transfer_hardware
> + = uniphier_spi_unprepare_transfer_hardware;
> + master->num_chipselect = 1;
> +
> + ret = devm_spi_register_master(&pdev->dev, master);
> + if (ret)
> + goto out_disable_clk;
> +
> + return ret;
I think
return 0;
will be clearer.
> +
> +out_disable_clk:
> + clk_disable_unprepare(priv->clk);
> +
> +out_master_put:
> + spi_master_put(master);
> + return ret;
> +}
> +
> +static int uniphier_spi_remove(struct platform_device *pdev)
> +{
> + struct uniphier_spi_priv *priv = platform_get_drvdata(pdev);
> +
> + clk_disable_unprepare(priv->clk);
> +
> + return 0;
> +}
> +
> +static const struct of_device_id uniphier_spi_match[] = {
> + { .compatible = "socionext,uniphier-scssi", },
> + { /* sentinel */ },
> +};
> +MODULE_DEVICE_TABLE(of, uniphier_spi_match);
> +
> +static struct platform_driver uniphier_spi_driver = {
> + .probe = uniphier_spi_probe,
> + .remove = uniphier_spi_remove,
> + .driver = {
> + .name = "uniphier-spi",
> + .of_match_table = uniphier_spi_match,
> + },
> +};
> +module_platform_driver(uniphier_spi_driver);
> +
> +MODULE_AUTHOR("Kunihiko Hayashi ");
> +MODULE_AUTHOR("Keiji Hayashibara ");
> +MODULE_DESCRIPTION("Socionext UniPhier SPI controller driver");
> +MODULE_LICENSE("GPL v2");
> --
> 2.7.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Best Regards
Masahiro Yamada
2018-07-27 2:21 GMT+09:00 Christoph Hellwig :
> On Wed, Jul 25, 2018 at 01:30:24PM +0900, Masahiro Yamada wrote:
>> Could you check the difference of CONFIG_PREEMPT_COUNT, please?
>>
>>
>> For alpha, hexagon, um,
>> CONFIG_PREEMPT_COUNT was previousl
2018-07-27 16:48 GMT+09:00 Christoph Hellwig :
> On Fri, Jul 27, 2018 at 10:32:19AM +0900, Masahiro Yamada wrote:
>> This will just add a new unmet dependency warning.
>> CONFIG_PREEMPT_COUNT will be still selected.
>
> True. I guess we simply need to prohibit CONF
2018-07-26 0:01 GMT+09:00 Jeremy Cline :
> On 07/25/2018 10:39 AM, Masahiro Yamada wrote:
>> 2018-07-21 4:35 GMT+09:00 Jeremy Cline :
>>> Use the print function. This maintains Python 2 support and should have
>>> no functional change.
>>>
>>> Sign
machine_early_init is defined in arch/microblaze/kernel/setup.c
I do not see mach-* directory for MicroBlaze.
Signed-off-by: Masahiro Yamada
---
arch/microblaze/kernel/head.S | 5 -
1 file changed, 5 deletions(-)
diff --git a/arch/microblaze/kernel/head.S b/arch/microblaze/kernel/head.S
e body of a message to majord...@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Best Regards
Masahiro Yamada
insertions(+)
--
Best Regards
Masahiro Yamada
/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 2 ++
3 files changed, 4 insertions(+)
--
Best Regards
Masahiro Yamada
Masahiro Yamada (3):
ARM: uniphier: select RESET_CONTROLLER
arm64: uniphier: select RESET_CONTROLLER
ARM: uniphier: remove empty Makefile
arch/arm/Makefile | 1 -
arch/arm/configs/multi_v7_defconfig | 2 ++
arch/arm/mach-uniphier/Kconfig | 1 +
arch/arm/mach
)
>
> # ld-option
> -# Usage: LDFLAGS += $(call ld-option, -X)
> -ld-option = $(call try-run, $(LD) $(LDFLAGS) $(1) -v,$(1),$(2))
> +# Usage: LDFLAGS += $(call ld-option, -X, -Y)
> +ld-option = $(call try-run, $(LD) $(LDFLAGS) $(1) -v,$(1),$(2),$(3))
>
> # ar-option
>
mpressed/vmlinux.bin"
> "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}"
> --
> 2.11.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Best Regards
Masahiro Yamada
+ ;;
> *)
> [ -f "${KBUILD_IMAGE}" ] && cp -v -- "${KBUILD_IMAGE}"
> "${tmpdir}/boot/vmlinux-kbuild-${KERNELRELEASE}"
> echo "" >&2
> --
> 2.11.0
>
--
Best Regards
Masahiro Yamada
ERNELRELEASE}"
> --
> 2.17.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Best Regards
Masahiro Yamada
2018-07-12 23:05 GMT+09:00 Kirill A. Shutemov :
> On Thu, Jul 12, 2018 at 05:01:30PM +0900, Masahiro Yamada wrote:
>>
>> This series renames LDFLAGS to KBUILD_LDFLAGS
>> after some Makefile cleanups.
>>
>> Currently, the last patch does not apply to Linus'
2018-07-19 15:18 GMT+09:00 Keiji Hayashibara :
> From: Kunihiko Hayashi
>
> Add reset control for SPI controller on UniPhier SoCs.
>
> Signed-off-by: Kunihiko Hayashi
> ---
Acked-by: Masahiro Yamada
> drivers/reset/reset-uniphier.c | 9 +
> 1 file changed,
2018-07-19 18:05 GMT+09:00 Keiji Hayashibara :
> From: Kunihiko Hayashi
>
> Add pin-mux settings for spi controller.
>
> Signed-off-by: Kunihiko Hayashi
> Signed-off-by: Keiji Hayashibara
> ---
Acked-by: Masahiro Yamada
> Changes since v1:
> - Fix build error
t to 'make kernelrelease'.
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index ad83917..0ec1c27 100644
--- a/Makefile
+++ b/Makefile
@@ -225,7 +225,8 @@ no-dot-config-target
ommit 87a5f98d248f ("[SV 102] Don't show unnecessary include file
errors.") However, older GNU Make versions are still widely used.
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
scripts/kconfig/conf.c | 31 +--
scripts/kconfig/con
;2 " Run 'make oldconfig && make prepare' on kernel src
to fix it."; \
echo >&2 ; \
/bin/false)
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
scripts/Kbuild.include | 3
ts except headers_install, and external modules
are the cases.
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Makefile | 27 ---
1 file changed, 20 insertions(+), 7 deletions(-)
diff --git a/Makefile b/Makefile
index 2fa9830..ad83917 100644
--- a/Makefile
+++
.
- I am keeping include/config/auto.conf as the prerequisite of modules.builtin
(11/11)
Masahiro Yamada (11):
kconfig: rename file_write_dep and move it to confdata.c
kconfig: split out useful helpers in confdata.c
kconfig: remove unneeded directory generation from local*config
kconfig
ws scripts/kconfig/Makefile cleanups; syncconfig can
be merged into simple-targets.
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
scripts/kconfig/Makefile | 15 ++-
scripts/kconfig/confdata.c | 14 ++
2 files changed, 20 insertions(+), 9 deletions(-)
diff --git
file_write_dep() is called only from conf_write_autoconf().
Move it from util.c to confdata.c to make it static.
Also, rename it to conf_write_dep() since it should belong to
the group of conf_write* functions.
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
scripts/kconfig/confdata.c
:
#
# Compiler: aarch64-linux-gcc (GCC) 9.0.0 20180628 (experimental)
#
... which carries the information of the old compiler.
If KCONFIG_NOSILENTUPDATE is set, syncconfig is not allowed to update
the .config file. Otherwise, it is fine to update it regardless of
sym_change_count.
301 - 400 of 7499 matches
Mail list logo