[RFC] dt-bindings: riscv: enum for riscv,isa

2021-04-06 Thread Heinrich Schuchardt
In Documentation/devicetree/bindings/riscv/cpus.yaml I find for riscv,isa: enum: - rv64imac - rv64imafdc This implies that 'rv64imafc' or 'rv64imafdqc' would be illegal values while these combinations of extensions would be compliant with "The RISC-V Instruction Set Manual". To

[efitools PATCH 1/1] Make.rules: enable building on riscv64

2021-04-01 Thread Heinrich Schuchardt
We can use just the same flags as for aarch64. Signed-off-by: Heinrich Schuchardt --- RISC-V patches for gnu-efi are not yet accepted in upstream. Cf. [Gnu-efi-discuss] [PATCH 1/1] Initial support for RISCV64 https://sourceforge.net/p/gnu-efi/mailman/gnu-efi-discuss/thread/20210401153553.103286

Re: [PATCH 1/1] RISC-V: correct enum sbi_ext_rfence_fid

2021-03-09 Thread Heinrich Schuchardt
On 08.03.21 11:55, Anup Patel wrote: > On Mon, Mar 8, 2021 at 1:19 PM Atish Patra wrote: >> >> On Sat, Mar 6, 2021 at 4:12 AM Anup Patel wrote: >>> >>> On Sat, Mar 6, 2021 at 11:19 AM Heinrich Schuchardt >>> wrote: >>>> >>>

[PATCH 1/1] RISC-V: correct enum sbi_ext_rfence_fid

2021-03-05 Thread Heinrich Schuchardt
v0.2 extension definitions") Reported-by: Sean Anderson Signed-off-by: Heinrich Schuchardt --- arch/riscv/include/asm/sbi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/riscv/include/asm/sbi.h b/arch/riscv/include/asm/sbi.h index 99895d9c3bdd..d7027411d

[BUG] checkpatch: false positive unwrapped commit description

2021-02-19 Thread Heinrich Schuchardt
506070 Unicode code point 0x2018 (‘) is counted as three characters instead of one. This code point is used in the GCC 11 warning sizeof-array-div. Citing the warning verbatim lead to the observation. Signed-off-by: Heinrich Schuchardt --- foo.txt | 0 1 file changed, 0

[PATCH 1/1] efi/efivars: ConInDev, ConOutDev, ConErrDev are volatile

2021-02-18 Thread Heinrich Schuchardt
UEFI variables ConInDev, ConOutDev, ConErrDev are volatile variables that are set by the firmware on every reset. It does not make sense to set these variables via the efivarfs filesystem. Signed-off-by: Heinrich Schuchardt --- drivers/firmware/efi/vars.c | 3 --- 1 file changed, 3 deletions

[PATCH] docs: update EFI stub description

2021-02-06 Thread Heinrich Schuchardt
-off-by: Heinrich Schuchardt --- Documentation/admin-guide/efi-stub.rst | 47 +++--- 1 file changed, 27 insertions(+), 20 deletions(-) diff --git a/Documentation/admin-guide/efi-stub.rst b/Documentation/admin-guide/efi-stub.rst index 833edb0d0bc4..9e1bb79e8655 100644

[PATCH 1/1] docs: arm: /chosen node parameters

2021-02-06 Thread Heinrich Schuchardt
Add missing items to table of parameters set in the /chosen node by the EFI stub. Signed-off-by: Heinrich Schuchardt --- Documentation/arm/uefi.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/arm/uefi.rst b/Documentation/arm/uefi.rst index f732f957421f..9b0b5e458a1e

[PATCH 1/1] efi/efi_test: read Revision

2021-01-14 Thread Heinrich Schuchardt
EFI_RUNTIME_GET_REVISION \ _IOR('p', 0x0D, unsigned int) unsigned int revision; fd = open("/dev/efi_test", O_RDWR); ret = ioctl(fd, EFI_RUNTIME_GET_REVISION, ); For UEFI specification 2.8 this will yield revision == 0x250 == (2 << 16) | 80 Signed-off-by: Heinrich Schuchardt

Re: [PATCH 1/1] efi/efi_test: read RuntimeServicesSupported

2020-12-26 Thread Heinrich Schuchardt
On 11/27/20 8:20 PM, Heinrich Schuchardt wrote: Since the UEFI 2.8A specification the UEFI enabled firmware provides a configuration table EFI_RT_PROPERTIES_TABLE which indicates which runtime services are enabled. The EFI stub reads this table and saves the value of the field

Re: [PATCH v4 1/3] dt-bindings: input: adc-keys bindings documentation

2020-12-22 Thread Heinrich Schuchardt
On 12/22/20 11:12 AM, Heinrich Schuchardt wrote: On 12/22/20 9:56 AM, Marek Szyprowski wrote: Dump adc-keys bindings documentation from Linux kernel source tree v5.10. Signed-off-by: Marek Szyprowski ---   doc/device-tree-bindings/input/adc-keys.txt | 49 +   1 file changed

[PATCH 1/1] dt-bindings: adc-keys.txt: clarify description

2020-12-22 Thread Heinrich Schuchardt
is closest to press-threshold-microvolt. This patch nails down the definitions and provides an interpretation of the supplied example. Signed-off-by: Heinrich Schuchardt --- I know that this file needs to be converted to YAML. But lets first get the text right. --- .../devicetree/bindings/input/ad

Re: [PATCH v4 1/3] dt-bindings: input: adc-keys bindings documentation

2020-12-22 Thread Heinrich Schuchardt
On 12/22/20 9:56 AM, Marek Szyprowski wrote: Dump adc-keys bindings documentation from Linux kernel source tree v5.10. Signed-off-by: Marek Szyprowski --- doc/device-tree-bindings/input/adc-keys.txt | 49 + 1 file changed, 49 insertions(+) create mode 100644

Re: [PATCH] efi/libstub: Allow EFI_NOT_FOUND on LOAD_FILE2_PROTOCOL calls for initrd

2020-12-14 Thread Heinrich Schuchardt
On 14.12.20 18:01, Ilias Apalodimas wrote: > At the moment the EFI stub tries to load an initrd from the > cmdline provided option only if the LoadFile2 protocol does not exist > on the initrd device path. > > This might prove problematic for EFI installers that need their own > version of initrd

[tip: efi/core] efi/efi_test: read RuntimeServicesSupported

2020-12-10 Thread tip-bot2 for Heinrich Schuchardt
The following commit has been merged into the efi/core branch of tip: Commit-ID: ff20661bb54cd57a18207b33cc57eb8d5c758a86 Gitweb: https://git.kernel.org/tip/ff20661bb54cd57a18207b33cc57eb8d5c758a86 Author:Heinrich Schuchardt AuthorDate:Fri, 27 Nov 2020 20:20:51 +01:00

Re: [PATCH 1/1] efi/efi_test: read RuntimeServicesSupported

2020-12-02 Thread Heinrich Schuchardt
On 12/3/20 2:20 AM, ivanhu wrote: On 12/2/20 7:38 PM, Heinrich Schuchardt wrote: On 11/30/20 11:38 AM, ivanhu wrote: On 11/30/20 5:17 PM, Heinrich Schuchardt wrote: On 11/30/20 9:16 AM, ivanhu wrote: Hi Heinrich, Thanks for the patch. It looks good to me, but I noticed

Re: [PATCH 1/1] efi/efi_test: read RuntimeServicesSupported

2020-12-02 Thread Heinrich Schuchardt
On 11/30/20 11:38 AM, ivanhu wrote: On 11/30/20 5:17 PM, Heinrich Schuchardt wrote: On 11/30/20 9:16 AM, ivanhu wrote: Hi Heinrich, Thanks for the patch. It looks good to me, but I noticed that the runtime_supported_mask was introduced after 5.7-rc1. Maybe we should add the kernel version

Re: [PATCH 1/1] efi/efi_test: read RuntimeServicesSupported

2020-11-30 Thread Heinrich Schuchardt
. Best regards Heinrich Cheers, Ivan On 11/28/20 3:20 AM, Heinrich Schuchardt wrote: Since the UEFI 2.8A specification the UEFI enabled firmware provides a configuration table EFI_RT_PROPERTIES_TABLE which indicates which runtime services are enabled. The EFI stub reads this table and saves

[PATCH 1/1] arm64: dts: allwinner: H5: NanoPi Neo Plus2: phy-mode rgmii-id

2020-11-29 Thread Heinrich Schuchardt
("net: phy: realtek: fix rtl8211e rx/tx delay config") Signed-off-by: Heinrich Schuchardt --- arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts b

[PATCH 1/1] arm64: dts: allwinner: A64 Sopine: phy-mode rgmii-id

2020-11-29 Thread Heinrich Schuchardt
("net: phy: realtek: fix rtl8211e rx/tx delay config") Signed-off-by: Heinrich Schuchardt --- arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts b

Re: ACK: [PATCH 1/1] efi/efi_test: read RuntimeServicesSupported

2020-11-28 Thread Heinrich Schuchardt
On 11/27/20 8:29 PM, Ard Biesheuvel wrote: On Fri, 27 Nov 2020 at 20:28, Colin Ian King wrote: On 27/11/2020 19:20, Heinrich Schuchardt wrote: Since the UEFI 2.8A specification the UEFI enabled firmware provides a configuration table EFI_RT_PROPERTIES_TABLE which indicates which runtime

[PATCH 1/1] efi/efi_test: read RuntimeServicesSupported

2020-11-27 Thread Heinrich Schuchardt
= open("/dev/efi_test", O_RDWR); ret = ioctl(fd, EFI_RUNTIME_GET_SUPPORTED_MASK, ); Signed-off-by: Heinrich Schuchardt --- drivers/firmware/efi/test/efi_test.c | 16 drivers/firmware/efi/test/efi_test.h | 3 +++ 2 files changed, 19 insertions(+) diff --git

Re: [SPECIFICATION RFC] The firmware and bootloader log specification

2020-11-18 Thread Heinrich Schuchardt
On 14.11.20 00:52, Daniel Kiper wrote: > Hey, > > This is next attempt to create firmware and bootloader log specification. > Due to high interest among industry it is an extension to the initial > bootloader log only specification. It takes into the account most of the > comments which I got up

[tip: efi/core] efi/libstub/x86: simplify efi_is_native()

2020-11-17 Thread tip-bot2 for Heinrich Schuchardt
The following commit has been merged into the efi/core branch of tip: Commit-ID: bc13809f1c47245cd584f4ad31ad06a5c5f40e54 Gitweb: https://git.kernel.org/tip/bc13809f1c47245cd584f4ad31ad06a5c5f40e54 Author:Heinrich Schuchardt AuthorDate:Sat, 03 Oct 2020 08:03:56 +02:00

Re: [PATCH v2 1/2] docs: admin-guide: fdt and initrd load in EFI stub

2020-10-03 Thread Heinrich Schuchardt
On 03.10.20 09:34, Atish Patra wrote: > On Fri, Oct 2, 2020 at 11:38 PM Heinrich Schuchardt > wrote: >> >> Describe how a device tree and an initial RAM disk can be passed to the EFI >> Boot Stub. >> >> Signed-off-by: Heinrich Schuchar

[PATCH v2 0/2] docs: admin-guide: EFI Boot Stub

2020-10-03 Thread Heinrich Schuchardt
in the admin-guide. Heinrich Schuchardt (2): docs: admin-guide: fdt and initrd load in EFI stub docs: admin-guide: EFI stub to main Linux handoff Documentation/admin-guide/efi-stub.rst | 47 ++ 1 file changed, 47 insertions(+) -- 2.28.0

[PATCH v2 1/2] docs: admin-guide: fdt and initrd load in EFI stub

2020-10-03 Thread Heinrich Schuchardt
Describe how a device tree and an initial RAM disk can be passed to the EFI Boot Stub. Signed-off-by: Heinrich Schuchardt --- v2: mention EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER (thx Atish) --- Documentation/admin-guide/efi-stub.rst | 35 ++ 1 file changed, 35

[PATCH v2 2/2] docs: admin-guide: EFI stub to main Linux handoff

2020-10-03 Thread Heinrich Schuchardt
Describe the handoff from the EFI stub to the main Linux kernel. Signed-off-by: Heinrich Schuchardt --- v2: new patch --- Documentation/admin-guide/efi-stub.rst | 12 1 file changed, 12 insertions(+) diff --git a/Documentation/admin-guide/efi-stub.rst b/Documentation

[PATCH 1/1] efi/libstub/x86: simplify efi_is_native()

2020-10-03 Thread Heinrich Schuchardt
CONFIG_EFI_MIXED depends on CONFIG_X86_64=y. There is no need to check CONFIG_X86_64 again. Signed-off-by: Heinrich Schuchardt --- arch/x86/include/asm/efi.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/include/asm/efi.h b/arch/x86/include/asm/efi.h index b9c2667ac46c

[tip: x86/urgent] Documentation/x86: Fix incorrect references to zero-page.txt

2020-10-02 Thread tip-bot2 for Heinrich Schuchardt
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 0c7689830e907668288a1a1da84dca66dbdb4728 Gitweb: https://git.kernel.org/tip/0c7689830e907668288a1a1da84dca66dbdb4728 Author:Heinrich Schuchardt AuthorDate:Fri, 02 Oct 2020 21:06:23 +02:00

Re: [PATCH 1/1] docs: admin-guide: fdt and initrd load in EFI stub

2020-10-02 Thread Heinrich Schuchardt
On 10/2/20 9:21 PM, Ard Biesheuvel wrote: > On Fri, 2 Oct 2020 at 21:14, Heinrich Schuchardt wrote: >> >> On 10/2/20 7:21 PM, Ard Biesheuvel wrote: >>> Hi Heinrich, >>> >>> Thanks for documenting this. >>> >>> >>> On Fri, 2

Re: [PATCH 1/1] docs: admin-guide: fdt and initrd load in EFI stub

2020-10-02 Thread Heinrich Schuchardt
On 10/2/20 7:21 PM, Ard Biesheuvel wrote: > Hi Heinrich, > > Thanks for documenting this. > > > On Fri, 2 Oct 2020 at 19:11, Heinrich Schuchardt wrote: >> >> Describe how a device tree and an initial RAM disk can be passed to the EFI >> Boot Stub. >

[PATCH 1/1] Documentation/x86: incorrect reference zero-page.txt

2020-10-02 Thread Heinrich Schuchardt
File zero-page.txt does not exit. Add links for zero-page.rst. Signed-off-by: Heinrich Schuchardt --- Documentation/x86/boot.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/x86/boot.rst b/Documentation/x86/boot.rst index 5325c71ca877..49c3ebe8a439

Re: [PATCH 1/1] docs: admin-guide: fdt and initrd load in EFI stub

2020-10-02 Thread Heinrich Schuchardt
On 02.10.20 19:21, Ard Biesheuvel wrote: > Hi Heinrich, > > Thanks for documenting this. > > > On Fri, 2 Oct 2020 at 19:11, Heinrich Schuchardt wrote: >> >> Describe how a device tree and an initial RAM disk can be passed to the EFI >> Boot Stub. >

[PATCH 1/1] docs: admin-guide: fdt and initrd load in EFI stub

2020-10-02 Thread Heinrich Schuchardt
Describe how a device tree and an initial RAM disk can be passed to the EFI Boot Stub. Signed-off-by: Heinrich Schuchardt --- Documentation/admin-guide/efi-stub.rst | 35 ++ 1 file changed, 35 insertions(+) diff --git a/Documentation/admin-guide/efi-stub.rst b

[PATCH 1/1] of: properties of reserved-memory nodes

2020-09-10 Thread Heinrich Schuchardt
The reusable and the no-map property are mutually exclusive. Clarify this in the documentation. Signed-off-by: Heinrich Schuchardt --- .../devicetree/bindings/reserved-memory/reserved-memory.txt| 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings

Re: [PATCH 1/1] efi/libstub: DRAM base calculation

2020-09-07 Thread Heinrich Schuchardt
On 07.09.20 09:00, Maxim Uvarov wrote: > On Fri, 4 Sep 2020 at 18:50, Heinrich Schuchardt wrote: >> >> In the memory map the regions with the lowest addresses may be of type >> EFI_RESERVED_TYPE. The reserved areas may be discontinuous relative to the >> rest of the

[PATCH 1/1] efi/libstub: DRAM base calculation

2020-09-04 Thread Heinrich Schuchardt
not be taken into account. Signed-off-by: Heinrich Schuchardt --- drivers/firmware/efi/libstub/efi-stub.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/firmware/efi/libstub/efi-stub.c b/drivers/firmware/efi/libstub/efi-stub.c index c2484bf75c5d..13058ac75765 100644

Re: [PATCH 3/3] selftests: add readfile(2) selftests

2020-07-05 Thread Heinrich Schuchardt
On 7/5/20 9:34 AM, Greg Kroah-Hartman wrote: > On Sun, Jul 05, 2020 at 03:41:48AM +0200, Heinrich Schuchardt wrote: >> On 7/4/20 4:02 PM, Greg Kroah-Hartman wrote: >>> Test the functionality of readfile(2) in various ways. >> >> Hello Greg, >> >> I exp

Re: [PATCH] readfile.2: new page describing readfile(2)

2020-07-04 Thread Heinrich Schuchardt
On 7/4/20 4:02 PM, Greg Kroah-Hartman wrote: > readfile(2) is a new syscall to remove the need to do the > open/read/close dance for small virtual files in places like procfs or > sysfs. > > Signed-off-by: Greg Kroah-Hartman > --- > > This patch is for the man-pages project, not the kernel source

Re: [PATCH 3/3] selftests: add readfile(2) selftests

2020-07-04 Thread Heinrich Schuchardt
On 7/4/20 4:02 PM, Greg Kroah-Hartman wrote: > Test the functionality of readfile(2) in various ways. Hello Greg, I expect readfile() to generate fanotify events FAN_OPEN_PERM, FAN_OPEN, FAN_ACCESS_PERM, FAN_ACCESS, FAN_CLOSE_NOWRITE in this sequence. Looking at patch 1/3 you took care of

Re: [RFC PATCH 10/11] efi: Rename arm-init to efi-init common for all arch

2020-06-25 Thread Heinrich Schuchardt
On 6/26/20 1:45 AM, Atish Patra wrote: > arm-init is responsible for setting up efi runtime and doesn't actually > do any ARM specific stuff. RISC-V can use the same source code as it is. > > Rename it to efi-init so that RISC-V can use it. > > Signed-off-by: Atish Patra > --- >

Re: [RFC PATCH 01/11] efi: Fix gcc error around __umoddi3 for 32 bit builds

2020-06-25 Thread Heinrich Schuchardt
On 6/26/20 1:45 AM, Atish Patra wrote: > 32bit gcc doesn't support modulo operation on 64 bit data. It results in > a __umoddi3 error while building EFI for 32 bit. > > Use bitwise operations instead of modulo operations to fix the issue. > > Signed-off-by: Atish Patra > --- >

[tip: efi/urgent] efi/libstub: Descriptions for stub helper functions

2020-06-19 Thread tip-bot2 for Heinrich Schuchardt
The following commit has been merged into the efi/urgent branch of tip: Commit-ID: 8c0a839c2bccb756454e35e8977e44fcf2bd417e Gitweb: https://git.kernel.org/tip/8c0a839c2bccb756454e35e8977e44fcf2bd417e Author:Heinrich Schuchardt AuthorDate:Tue, 16 Jun 2020 01:42:31 +02:00

[PATCH 1/1] doc: add novamap to efi kernel command line parameters

2020-06-16 Thread Heinrich Schuchardt
Document the efi=novamap kernel command line parameter. Put the efi parameters into alphabetic order. Signed-off-by: Heinrich Schuchardt --- .../admin-guide/kernel-parameters.txt | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Documentation/admin

[PATCH 1/1] efi/libstub: descriptions for stub helper functions

2020-06-15 Thread Heinrich Schuchardt
Provide missing descriptions for EFI stub helper functions. Adjust formatting of existing descriptions to kernel style. Signed-off-by: Heinrich Schuchardt --- .../firmware/efi/libstub/efi-stub-helper.c| 78 --- drivers/firmware/efi/libstub/efistub.h| 10 ++- 2 files

[PATCH 1/1] efi/libstub: Add libstub/random.c to the documentation tree

2020-06-15 Thread Heinrich Schuchardt
Let the description of the efi/libstub/random.c functions appear in the kernel API documentation in the following chapters: The Linux driver implementer’s API guide Linux Firmware API UEFI Support UEFI stub library functions Signed-off-by: Heinrich

[PATCH 1/1] doc: x86/speculation: length of underlines

2020-06-15 Thread Heinrich Schuchardt
The lengths of underlines must match the titles to avoid build warnings. Signed-off-by: Heinrich Schuchardt --- .../hw-vuln/special-register-buffer-data-sampling.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/admin-guide/hw-vuln/special

[PATCH 1/1] cxgb4: fix cxgb4_uld_in_use() not used error

2020-06-07 Thread Heinrich Schuchardt
) | ^~~~ Guard cxgb4_uld_in_use() with #ifdef CONFIG_CHELSIO_TLS_DEVICE. Signed-off-by: Heinrich Schuchardt --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c b/drivers/net/ethernet/chelsio

[PATCH 1/1] docs: dev-tools: coccinelle: underlines

2020-06-04 Thread Heinrich Schuchardt
Underline lengths should match the lengths of headings to avoid build warnings with Sphinx. Signed-off-by: Heinrich Schuchardt --- Documentation/dev-tools/coccinelle.rst | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/dev-tools/coccinelle.rst b

[PATCH v2 1/1] crypto: caam - fix typos

2020-06-04 Thread Heinrich Schuchardt
Fix CAAM related typos. Signed-off-by: Heinrich Schuchardt --- v2: fix additional typos as indicated by Horia replaces https://lkml.org/lkml/2020/6/3/1129 --- drivers/crypto/caam/Kconfig | 2 +- drivers/crypto/caam/ctrl.c | 18 +- drivers/crypto/caam/desc.h

[PATCH 1/1] crypto: caam - fix typo

2020-06-03 Thread Heinrich Schuchardt
%s/suppying/supplying/ Signed-off-by: Heinrich Schuchardt --- drivers/crypto/caam/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/caam/Kconfig b/drivers/crypto/caam/Kconfig index a62f228be6da..bc35aa0ec07a 100644 --- a/drivers/crypto/caam/Kconfig +++ b

[tip: efi/urgent] efi/libstub: Avoid returning uninitialized data from setup_graphics()

2020-05-22 Thread tip-bot2 for Heinrich Schuchardt
The following commit has been merged into the efi/urgent branch of tip: Commit-ID: 081d5150845ba3fa49151a2f55d3cc03b0987509 Gitweb: https://git.kernel.org/tip/081d5150845ba3fa49151a2f55d3cc03b0987509 Author:Heinrich Schuchardt AuthorDate:Sun, 26 Apr 2020 21:49:46 +02:00

Re: threads-max observe limits

2019-09-22 Thread Heinrich Schuchardt
On 9/22/19 8:58 AM, Michal Hocko wrote: > On Thu 19-09-19 14:33:24, Eric W. Biederman wrote: >> Michal Hocko writes: >> >>> On Tue 17-09-19 12:26:18, Eric W. Biederman wrote: > [...] Michal is it a very small effect your customers are seeing? Is it another bug somewhere else? >>> >>> I

Re: threads-max observe limits

2019-09-17 Thread Heinrich Schuchardt
On 9/17/19 12:03 PM, Michal Hocko wrote: > Hi, > I have just stumbled over 16db3d3f1170 ("kernel/sysctl.c: threads-max > observe limits") and I am really wondering what is the motivation behind > the patch. We've had a customer noticing the threads_max autoscaling > differences btween 3.12 and

Re: [PATCH 1/1] KVM: inject data abort if instruction cannot be decoded

2019-09-05 Thread Heinrich Schuchardt
On 9/5/19 11:20 AM, Stefan Hajnoczi wrote: On Wed, Sep 04, 2019 at 08:07:36PM +0200, Heinrich Schuchardt wrote: If an application tries to access memory that is not mapped, an error ENOSYS, "load/store instruction decoding not implemented" may occur. QEMU will hang with a reg

[PATCH 1/1] KVM: inject data abort if instruction cannot be decoded

2019-09-04 Thread Heinrich Schuchardt
ment. Now the virtual machine can react to the event in the most appropriate way - by recovering, by writing an informative log, or by rebooting. Signed-off-by: Heinrich Schuchardt --- virt/kvm/arm/mmio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/virt/kvm/arm/mmio.c

Re: [PATCH 1/1] arm64: dts: marvell: mcbin: enlarge PCI memory window

2019-05-17 Thread Heinrich Schuchardt
On 5/17/19 10:08 PM, Gregory CLEMENT wrote: > Hi Heinrich Schuchardt, > >> Running a graphics adapter on the MACCHIATObin fails due to an >> insufficently sized memory window. > I think "insufficient" is enough or I miss something. Thanks for reviewing. Do I have t

[PATCH 1/1] arm64: dts: marvell: mcbin: enlarge PCI memory window

2019-05-17 Thread Heinrich Schuchardt
=512K] Signed-off-by: Heinrich Schuchardt --- arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi index 329f8ceeebea..205071b45a32 100644

[PATCH 1/1] arm: mm: Export __sync_icache_dcache() for xen-privcmd

2019-04-13 Thread Heinrich Schuchardt
This patch avoids ERROR: "__sync_icache_dcache" [drivers/xen/xen-privcmd.ko] undefined! observed when compiling v4.19.34. The xen-privcmd driver, which can be modular, calls set_pte_at() which in turn may call __sync_icache_dcache(). Cc: sta...@vger.kernel.org Signed-off-by: Heinrich

Re: [PATCH v2 1/1] arm64: dts: marvell: armada-ap806: reserve PSCI area

2019-01-20 Thread Heinrich Schuchardt
On 1/10/19 12:04 PM, Gregory CLEMENT wrote: > Hi Heinrich, > > On ven., déc. 21 2018, Heinrich Schuchardt wrote: > >> The memory area [0x400-0x420[ is occupied by the PSCI firmware. Any >> attempt to access it from Linux leads to an immediate crash. >> &g

Re: [RFC net-next 11/15] net: lora: Add IMST WiMOD

2019-01-06 Thread Heinrich Schuchardt
On 7/1/18 1:08 PM, Andreas Färber wrote: > The IMST WiMOD uses a SLIP based binary UART protocol. Two separate > firmwares are available. By default it ships with a LoRaWAN firmware. > The alternative firmware is a custom P2P addressing mode based on LoRa. > > Cc: Jon Ortego > Signed-off-by:

Re: [PATCH v2 1/1] arm64: dts: marvell: armada-ap806: reserve PSCI area

2018-12-26 Thread Heinrich Schuchardt
On 12/26/18 5:16 PM, Gregory CLEMENT wrote: > Hi Heinrich, > > On ven., déc. 21 2018, Heinrich Schuchardt wrote: > >> The memory area [0x400-0x420[ is occupied by the PSCI firmware. Any >> attempt to access it from Linux leads to an immediate crash. >> &g

[PATCH v2 1/1] arm64: dts: marvell: armada-ap806: reserve PSCI area

2018-12-21 Thread Heinrich Schuchardt
The memory area [0x400-0x420[ is occupied by the PSCI firmware. Any attempt to access it from Linux leads to an immediate crash. So let's make the same memory reservation as the vendor kernel. Signed-off-by: Heinrich Schuchardt --- v2 Move the change from armada-8040-mcbin.dts

[PATCH 1/1] arm64: dts: marvell: mcbin: reserve PSCI area

2018-12-21 Thread Heinrich Schuchardt
The memory area [0x400-0x420[ is occupied by the PSCI firmware. Any attempt to access it from Linux leads to an immediate crash. So let's make the same memory reservation as the vendor kernel. Signed-off-by: Heinrich Schuchardt --- arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts | 11

Re: [tip:efi/urgent] efi: Align 'efi_guid_t' to 64 bits

2018-12-17 Thread Heinrich Schuchardt
On 12/17/18 11:42 PM, Ard Biesheuvel wrote: > On Mon, 17 Dec 2018 at 23:33, Heinrich Schuchardt wrote: >> >> On 12/17/18 7:16 PM, tip-bot for Heinrich Schuchardt wrote: >>> Commit-ID: 793423cf07e51e3185b8680167115813589c057d >>> Gitweb:

Re: [tip:efi/urgent] efi: Align 'efi_guid_t' to 64 bits

2018-12-17 Thread Heinrich Schuchardt
On 12/17/18 7:16 PM, tip-bot for Heinrich Schuchardt wrote: > Commit-ID: 793423cf07e51e3185b8680167115813589c057d > Gitweb: > https://git.kernel.org/tip/793423cf07e51e3185b8680167115813589c057d > Author: Heinrich Schuchardt > AuthorDate: Mon, 17 Dec 2018 19:02:14 +0

[tip:efi/urgent] efi: Align 'efi_guid_t' to 64 bits

2018-12-17 Thread tip-bot for Heinrich Schuchardt
Commit-ID: 793423cf07e51e3185b8680167115813589c057d Gitweb: https://git.kernel.org/tip/793423cf07e51e3185b8680167115813589c057d Author: Heinrich Schuchardt AuthorDate: Mon, 17 Dec 2018 19:02:14 +0100 Committer: Ingo Molnar CommitDate: Mon, 17 Dec 2018 19:12:48 +0100 efi: Align

[PATCH 1/1] efi: efi_guid_t must be 64-bit aligned

2018-12-15 Thread Heinrich Schuchardt
The UEFI Specification Version 2.7 Errata A defines: "EFI_GUID 128-bit buffer containing a unique identifier value. Unless otherwise specified, aligned on a 64-bit boundary." Before this patch efi_guid_t was 8-bit aligned. Signed-off-by: Heinrich Schuchardt --- include/linux/efi.h

Re: [PATCH 1/1] arm64: dts: rockchip: correct voltage selector Firefly-RK3399

2018-06-20 Thread Heinrich Schuchardt
On 06/20/2018 09:57 PM, Heinrich Schuchardt wrote: > On 06/20/2018 11:15 AM, Heiko Stübner wrote: >> Hi Heinrich, >> >> Am Mittwoch, 20. Juni 2018, 07:59:34 CEST schrieb Heinrich Schuchardt: >>> On 06/20/2018 01:21 AM, Heiko Stuebner wrote: >>>> Am Donner

Re: [PATCH 1/1] arm64: dts: rockchip: correct voltage selector Firefly-RK3399

2018-06-20 Thread Heinrich Schuchardt
On 06/20/2018 09:57 PM, Heinrich Schuchardt wrote: > On 06/20/2018 11:15 AM, Heiko Stübner wrote: >> Hi Heinrich, >> >> Am Mittwoch, 20. Juni 2018, 07:59:34 CEST schrieb Heinrich Schuchardt: >>> On 06/20/2018 01:21 AM, Heiko Stuebner wrote: >>>> Am Donner

Re: [PATCH 1/1] arm64: dts: rockchip: correct voltage selector Firefly-RK3399

2018-06-20 Thread Heinrich Schuchardt
On 06/20/2018 11:15 AM, Heiko Stübner wrote: > Hi Heinrich, > > Am Mittwoch, 20. Juni 2018, 07:59:34 CEST schrieb Heinrich Schuchardt: >> On 06/20/2018 01:21 AM, Heiko Stuebner wrote: >>> Am Donnerstag, 14. Juni 2018, 14:55:27 CEST schrieb Heiko Stuebner: >>>&g

Re: [PATCH 1/1] arm64: dts: rockchip: correct voltage selector Firefly-RK3399

2018-06-20 Thread Heinrich Schuchardt
On 06/20/2018 11:15 AM, Heiko Stübner wrote: > Hi Heinrich, > > Am Mittwoch, 20. Juni 2018, 07:59:34 CEST schrieb Heinrich Schuchardt: >> On 06/20/2018 01:21 AM, Heiko Stuebner wrote: >>> Am Donnerstag, 14. Juni 2018, 14:55:27 CEST schrieb Heiko Stuebner: >>>&g

Re: [PATCH 1/1] arm64: dts: rockchip: correct voltage selector Firefly-RK3399

2018-06-20 Thread Heinrich Schuchardt
On 06/20/2018 01:21 AM, Heiko Stuebner wrote: > Hi Heinrich, > > Am Donnerstag, 14. Juni 2018, 14:55:27 CEST schrieb Heiko Stuebner: >> Am Montag, 4. Juni 2018, 19:15:23 CEST schrieb Heinrich Schuchardt: >>> Without this patch the Firefly-RK3399 board boot process han

Re: [PATCH 1/1] arm64: dts: rockchip: correct voltage selector Firefly-RK3399

2018-06-20 Thread Heinrich Schuchardt
On 06/20/2018 01:21 AM, Heiko Stuebner wrote: > Hi Heinrich, > > Am Donnerstag, 14. Juni 2018, 14:55:27 CEST schrieb Heiko Stuebner: >> Am Montag, 4. Juni 2018, 19:15:23 CEST schrieb Heinrich Schuchardt: >>> Without this patch the Firefly-RK3399 board boot process han

Re: [PATCH 1/1] arm64: dts: rockchip: correct voltage selector Firefly-RK3399

2018-06-04 Thread Heinrich Schuchardt
On 06/04/2018 07:15 PM, Heinrich Schuchardt wrote: > Without this patch the Firefly-RK3399 board boot process hangs after these > lines: > >fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected! >fan53555-reg: supplied by vcc_sys >vcc1v8_s3: s

Re: [PATCH 1/1] arm64: dts: rockchip: correct voltage selector Firefly-RK3399

2018-06-04 Thread Heinrich Schuchardt
On 06/04/2018 07:15 PM, Heinrich Schuchardt wrote: > Without this patch the Firefly-RK3399 board boot process hangs after these > lines: > >fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected! >fan53555-reg: supplied by vcc_sys >vcc1v8_s3: s

[PATCH 1/1] arm64: dts: rockchip: correct voltage selector Firefly-RK3399

2018-06-04 Thread Heinrich Schuchardt
of fcs,suspend-voltage-selector different to any other board. Changing this setting to the usual value is sufficient to enable booting. Signed-off-by: Heinrich Schuchardt --- arch/arm64/boot/dts/rockchip/rk3399-firefly.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch

[PATCH 1/1] arm64: dts: rockchip: correct voltage selector Firefly-RK3399

2018-06-04 Thread Heinrich Schuchardt
of fcs,suspend-voltage-selector different to any other board. Changing this setting to the usual value is sufficient to enable booting. Signed-off-by: Heinrich Schuchardt --- arch/arm64/boot/dts/rockchip/rk3399-firefly.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch

[BUG] get_maintainer: chmod handling

2018-05-21 Thread Heinrich Schuchardt
This patch creates a false positive: file '0001-foo.patch' doesn't appear to be a patch. Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de> --- samples/mic/noned/none | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 samples/mic/noned/none d

[BUG] get_maintainer: chmod handling

2018-05-21 Thread Heinrich Schuchardt
This patch creates a false positive: file '0001-foo.patch' doesn't appear to be a patch. Signed-off-by: Heinrich Schuchardt --- samples/mic/noned/none | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 samples/mic/noned/none diff --git a/samples/mic/noned/non

[BUG] checkpatch: chmod handling

2018-05-21 Thread Heinrich Schuchardt
This patch creates a false positive: ERROR: Does not appear to be a unified-diff format patch Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de> --- samples/mic/noned/none | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 samples/mic/noned/none d

[BUG] checkpatch: chmod handling

2018-05-21 Thread Heinrich Schuchardt
This patch creates a false positive: ERROR: Does not appear to be a unified-diff format patch Signed-off-by: Heinrich Schuchardt --- samples/mic/noned/none | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 samples/mic/noned/none diff --git a/samples/mic/no

Re: [BUG] scripts/checkpatch.pl: false positive missing parentheses

2018-05-07 Thread Heinrich Schuchardt
On 05/07/2018 10:43 PM, Joe Perches wrote: > On Mon, 2018-05-07 at 20:31 +0200, Heinrich Schuchardt wrote: >> This patch creates a false positive: >> ERROR: Macros with complex values should be enclosed in parentheses >> >> Here we define a constant that can be use

Re: [BUG] scripts/checkpatch.pl: false positive missing parentheses

2018-05-07 Thread Heinrich Schuchardt
On 05/07/2018 10:43 PM, Joe Perches wrote: > On Mon, 2018-05-07 at 20:31 +0200, Heinrich Schuchardt wrote: >> This patch creates a false positive: >> ERROR: Macros with complex values should be enclosed in parentheses >> >> Here we define a constant that can be use

[BUG] scripts/checkpatch.pl: false positive missing parentheses

2018-05-07 Thread Heinrich Schuchardt
a function Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de> --- foo.h | 8 1 file changed, 8 insertions(+) create mode 100644 foo.h diff --git a/foo.h b/foo.h new file mode 100644 index ..e2cba533f065 --- /dev/null +++ b/foo.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier:

[BUG] scripts/checkpatch.pl: false positive missing parentheses

2018-05-07 Thread Heinrich Schuchardt
a function Signed-off-by: Heinrich Schuchardt --- foo.h | 8 1 file changed, 8 insertions(+) create mode 100644 foo.h diff --git a/foo.h b/foo.h new file mode 100644 index ..e2cba533f065 --- /dev/null +++ b/foo.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: BSD-2 */ +#define

[PATCH 1/1] arm: dts: rockchip: default serial for Tinker Board

2018-04-17 Thread Heinrich Schuchardt
The Asus Tinker Board uses serial 2 with 115,200 baud by default for communication in U-Boot. The same value is also chosen for other RK3288 boards. So let us set the same value in the Tinker Board device tree. Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de> --- arch/arm/boot/dts/

[PATCH 1/1] arm: dts: rockchip: default serial for Tinker Board

2018-04-17 Thread Heinrich Schuchardt
The Asus Tinker Board uses serial 2 with 115,200 baud by default for communication in U-Boot. The same value is also chosen for other RK3288 boards. So let us set the same value in the Tinker Board device tree. Signed-off-by: Heinrich Schuchardt --- arch/arm/boot/dts/rk3288-tinker.dts | 4

[PATCH 1/1] checkpatch: allow space between colon and bracket

2018-04-03 Thread Heinrich Schuchardt
Allow a space between a colon and subsequent opening bracket. This sequence may occur in inline assembler statements like asm( "ldr %[out], [%[in]]\n\t" : [out] "=r" (ret) : [in] "r" (addr) ); Sign

[PATCH 1/1] checkpatch: allow space between colon and bracket

2018-04-03 Thread Heinrich Schuchardt
Allow a space between a colon and subsequent opening bracket. This sequence may occur in inline assembler statements like asm( "ldr %[out], [%[in]]\n\t" : [out] "=r" (ret) : [in] "r" (addr) ); Sign

[BUG] checkpatch.pl: false positive: space prohibited before open square bracket

2018-04-03 Thread Heinrich Schuchardt
This patch leads to errors "space prohibited before open square bracket '['" for the asm statement. In the inline assembler statement the bracket is not used for an index. Adding a space after a colon or a comma should be allowable. Signed-off-by: Heinrich Schuchardt <xypro

[BUG] checkpatch.pl: false positive: space prohibited before open square bracket

2018-04-03 Thread Heinrich Schuchardt
This patch leads to errors "space prohibited before open square bracket '['" for the asm statement. In the inline assembler statement the bracket is not used for an index. Adding a space after a colon or a comma should be allowable. Signed-off-by: Heinrich Schuchardt ---

[PATCH v3 1/1] usb: musb: gadget: misplaced out of bounds check

2018-03-20 Thread Heinrich Schuchardt
musb->endpoints[] has array size MUSB_C_NUM_EPS. We must check array bounds before accessing the array and not afterwards. Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de> --- v3 Remove superfluous braces. v2 Only the 4 low bits of epnum are relevant for

[PATCH v3 1/1] usb: musb: gadget: misplaced out of bounds check

2018-03-20 Thread Heinrich Schuchardt
musb->endpoints[] has array size MUSB_C_NUM_EPS. We must check array bounds before accessing the array and not afterwards. Signed-off-by: Heinrich Schuchardt --- v3 Remove superfluous braces. v2 Only the 4 low bits of epnum are relevant for indexing. --- drivers/usb/m

[PATCH v2 1/1] usb: musb: gadget: misplaced out of bounds check

2018-03-19 Thread Heinrich Schuchardt
musb->endpoints[] has array size MUSB_C_NUM_EPS. We must check array bounds before accessing the array and not afterwards. Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de> --- v2 Only the 4 low bits of epnum are relevant for indexing. --- drivers/usb/musb/musb_gadget_

[PATCH v2 1/1] usb: musb: gadget: misplaced out of bounds check

2018-03-19 Thread Heinrich Schuchardt
musb->endpoints[] has array size MUSB_C_NUM_EPS. We must check array bounds before accessing the array and not afterwards. Signed-off-by: Heinrich Schuchardt --- v2 Only the 4 low bits of epnum are relevant for indexing. --- drivers/usb/musb/musb_gadget_ep0.c | 9 +++-- 1 f

[PATCH 1/1] usb: musb: gadget: misplaced out of bounds check

2018-03-19 Thread Heinrich Schuchardt
musb->endpoints[] has array size MUSB_C_NUM_EPS. We must check array bounds before accessing the array and not afterwards. Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de> --- drivers/usb/musb/musb_gadget_ep0.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) d

[PATCH 1/1] usb: musb: gadget: misplaced out of bounds check

2018-03-19 Thread Heinrich Schuchardt
musb->endpoints[] has array size MUSB_C_NUM_EPS. We must check array bounds before accessing the array and not afterwards. Signed-off-by: Heinrich Schuchardt --- drivers/usb/musb/musb_gadget_ep0.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/usb/m

[PATCH 1/1] usb: dwc3: ep0: remove redundant assignment

2018-03-18 Thread Heinrich Schuchardt
In dwc3_request*r = NULL; r = A; the first assignment has no effect. Remove it. Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de> --- drivers/usb/dwc3/ep0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/ep0.c b/drivers/us

  1   2   3   4   5   6   7   >