[PATCH 1/6] ARC: build: remove non-existing bootpImage from KBUILD_IMAGE

2020-11-21 Thread Masahiro Yamada
The deb-pkg builds for ARCH=arc fail. $ export CROSS_COMPILE= $ make -s ARCH=arc defconfig $ make ARCH=arc bindeb-pkg SORTTAB vmlinux SYSMAP System.map MODPOST Module.symvers make KERNELRELEASE=5.10.0-rc4 ARCH=arc KBUILD_BUILD_VERSION=2 -f ./Makefile intdeb-pkg sh ./scripts/packa

[PATCH 0/6] ARC: build: fix various issues in arc boot Makefile

2020-11-21 Thread Masahiro Yamada
Masahiro Yamada (6): ARC: build: remove non-existing bootpImage from KBUILD_IMAGE ARC: build: add uImage.lzma to the top-level target ARC: build: add boot_targets to PHONY ARC: build: move symlink creation to arch/arc/Makefile to avoid race ARC: build: remove unneeded extra-y ARC: b

[PATCH 5/6] ARC: build: remove unneeded extra-y

2020-11-21 Thread Masahiro Yamada
Adding vmlinux.* to extra-y has no point because we expect they are built on demand while building uImage.* Add them to 'targets' is enough to include the corresponding .cmd file. Signed-off-by: Masahiro Yamada --- arch/arc/boot/Makefile | 7 +++ 1 file changed, 3 insertions(+), 4 deletion

[PATCH 2/6] ARC: build: add uImage.lzma to the top-level target

2020-11-21 Thread Masahiro Yamada
arch/arc/boot/Makefile supports uImage.lzma, but you cannot do 'make uImage.lzma' because the corresponding target is missing in arch/arc/Makefile. Add it. I also changed the assignment operator '+=' to ':=' since this is the only place where we expect this variable to be set. Signed-off-by: Masa

[PATCH 6/6] ARC: build: use $(READELF) instead of hard-coded readelf

2020-11-21 Thread Masahiro Yamada
The top Makefile defines READELF as the readelf in the cross-toolchains. Use it rather than the host readelf. Signed-off-by: Masahiro Yamada --- arch/arc/boot/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arc/boot/Makefile b/arch/arc/boot/Makefile index b3870

Re: [PATCH v4 02/18] dt-bindings: usb: Convert generic USB properties to DT schemas

2020-11-21 Thread Rob Herring
On Wed, 11 Nov 2020 12:08:37 +0300, Serge Semin wrote: > The generic USB properties have been described in the legacy bindings > text file: Documentation/devicetree/bindings/usb/generic.txt . Let's > convert its content into the generic USB, USB HCD and USB DRD DT > schemas. So the Generic USB sche

[PATCH 3/6] ARC: build: add boot_targets to PHONY

2020-11-21 Thread Masahiro Yamada
The top-level boot_targets (uImage and uImage.*) should be phony targets. They just let Kbuild descend into arch/arc/boot/ and create files there. If a file exists in the top directory with the same name, the boot image will not be created. You can confirm it by the following steps: $ export C

[PATCH 4/6] ARC: build: move symlink creation to arch/arc/Makefile to avoid race

2020-11-21 Thread Masahiro Yamada
If you run 'make uImage uImage.gz' with the parallel option, uImage.gz will be created by two threads simultaneously. This is because arch/arc/Makefile does not specify the dependency between uImage and uImage.gz. Hence, GNU Make assumes they can be built in parallel. One thread descends into arch

Re: [PATCH v4 10/18] dt-bindings: usb: Convert DWC USB3 bindings to DT schema

2020-11-21 Thread Rob Herring
On Thu, Nov 12, 2020 at 01:29:46PM +0300, Serge Semin wrote: > On Wed, Nov 11, 2020 at 02:14:23PM -0600, Rob Herring wrote: > > On Wed, Nov 11, 2020 at 12:08:45PM +0300, Serge Semin wrote: > > > DWC USB3 DT node is supposed to be compliant with the Generic xHCI > > > Controller schema, but with add