Re: [RFC PATCH 0/7] mtd: partitions: add of_match_table support

2015-12-11 Thread Michal Suchanek
On 11 December 2015 at 17:00, Geert Uytterhoeven wrote: > Hi Michal, > > On Fri, Dec 11, 2015 at 4:34 PM, Michal Suchanek wrote: >> On 11 December 2015 at 09:44, Geert Uytterhoeven >> wrote: >>> On Thu, Dec 10, 2015 at 9:54 PM, Brian Norris >>> wrote:

Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding

2015-12-14 Thread Michal Suchanek
Dec 05, 2015 at 10:33:30PM +0100, Michal Suchanek wrote: >>> > > On 5 December 2015 at 12:39, Jonas Gorski wrote: >>> > > > On Sat, Dec 5, 2015 at 6:19 AM, Brian Norris >>> > > > wrote: >>> > > >>> > > >> + >&g

Re: doing lots of disk writes causes oom killer to kill processes

2013-08-26 Thread Michal Suchanek
On 12 March 2013 03:15, Hillf Danton wrote: >>On 11 March 2013 13:15, Michal Suchanek wrote: >>>On 8 February 2013 17:31, Michal Suchanek wrote: >>> Hello, >>> >>> I am dealing with VM disk images and performing something like wiping >>> free

[PATCH] powerpc: Fix build error in paravirt.h

2021-01-20 Thread Michal Suchanek
by chance in mainline. Fixes: ca3f969dcb11 ("powerpc/paravirt: Use is_kvm_guest() in vcpu_is_preempted()") Signed-off-by: Michal Suchanek --- arch/powerpc/include/asm/paravirt.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/include/asm/paravirt.h b/arch/powerpc/i

[PATCH] arm64: make STACKPROTECTOR_PER_TASK configurable.

2021-03-09 Thread Michal Suchanek
When using dummy-tools STACKPROTECTOR_PER_TASK is unconditionally selected. This defeats the purpose of the all-enabled tool. Description copied from arm Cc: Masahiro Yamada Signed-off-by: Michal Suchanek --- arch/arm64/Kconfig | 13 - 1 file changed, 12 insertions(+), 1 deletion

[PATCH] ibmvnic: Fix possibly uninitialized old_num_tx_queues variable warning.

2021-03-02 Thread Michal Suchanek
. Fixes: 635e442f4a48 ("ibmvnic: merge ibmvnic_reset_init and ibmvnic_init") Signed-off-by: Michal Suchanek --- drivers/net/ethernet/ibm/ibmvnic.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/i

[PATCH 1/2] kbuild: dummy-tools: Add elfedit.

2021-04-08 Thread Michal Suchanek
elfedit is used in Makefile Makefile:GCC_TOOLCHAIN_DIR := $(dir $(shell which $(CROSS_COMPILE)elfedit)) which causes this error getting printed which: no elfedit in (./scripts/dummy-tools) Add elfedit to dummy-tools to avoid this error. Signed-off-by: Michal Suchanek --- scripts/dummy

[PATCH 2/2] MAINTAINERS: add pattern for dummy-tools.

2021-04-08 Thread Michal Suchanek
scripts/get_maintainer.pl does not find a maintainer for new files otherwise. Signed-off-by: Michal Suchanek --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index c80ad735b384..ce631ec44e1a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9690,6

[PATCH] kbuild: rpm-pkg: Fix build with non-default MODLIB

2023-09-11 Thread Michal Suchanek
to be empty. Then MODLIB can be passed to the rpm package, and used in place of the whole /usr/lib/modules/$(KERNELRELEASE) part. Signed-off-by: Michal Suchanek --- scripts/package/kernel.spec | 14 +++--- scripts/package/mkspec | 1 + 2 files changed, 8 insertions(+), 7 deletions

[PATCH rebased] kbuild: rpm-pkg: Fix build with non-default MODLIB

2023-10-05 Thread Michal Suchanek
to be empty. Then MODLIB can be passed to the rpm package, and used in place of the whole /usr/lib/modules/$(KERNELRELEASE) part. Signed-off-by: Michal Suchanek --- scripts/package/kernel.spec | 8 scripts/package/mkspec | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff

[PATCH 2/2] configure: Check that provided paths are absolute

2023-11-10 Thread Michal Suchanek
configure checks that its built-in directory options get an absolute path. Copy the check for custom options. Signed-off-by: Michal Suchanek --- v6: new patch --- configure.ac | 17 + 1 file changed, 17 insertions(+) diff --git a/configure.ac b/configure.ac index d6da5ee9ae9a

[PATCH 1/2] libkmod, depmod, modprobe: Make directory for kernel modules configurable

2023-11-10 Thread Michal Suchanek
. With this distributions that do not want to ship files in /lib can also move kernel modules to /usr while others can keep them in /lib. Signed-off-by: Michal Suchanek --- v4: Make the whole path configurable v5: More verbose commit message v6: fix docstring still containing module_prefix

[PATCH 0/2] kmod /usr support

2023-11-10 Thread Michal Suchanek
Hello, This is resend of the last patch in the series that adds prefix support to kernel module location together with additional patch for validating the user supplied input to options that are interpreted as directories. Thanks Michal Michal Suchanek (2): libkmod, depmod, modprobe: Make

[PATCH] testing: nvdimm: iomap: make __nfit_test_ioremap a macro

2022-04-29 Thread Michal Suchanek
The ioremap passed as argument to __nfit_test_ioremap can be a macro so it cannot be passed as function argument. Make __nfit_test_ioremap into a macro so that ioremap can be passed as untyped macro argument. Signed-off-by: Michal Suchanek --- tools/testing/nvdimm/test/iomap.c | 18

[PATCH] testing: nvdimm: asm/mce.h is not needed in nfit.c

2022-04-29 Thread Michal Suchanek
asm/mce.h is not available on arm, and it is not needed to build nfit.c. Remove the include. It was likely needed for COPY_MC_TEST Fixes: 3adb776384f2 ("x86, libnvdimm/test: Remove COPY_MC_TEST") Signed-off-by: Michal Suchanek --- tools/testing/nvdimm/test/nfit.c | 2 -- 1 file

[PATCH v6 2/2] kbuild: rpm-pkg: Fix build with non-default MODLIB

2023-12-06 Thread Michal Suchanek
KERNEL_MODULE_DIRECTORY to kernel.spec to fix this problem. Signed-off-by: Michal Suchanek --- Build on top of the previous patch adding KERNEL_MODULE_DIRECTORY --- scripts/package/kernel.spec | 8 scripts/package/mkspec | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts

[PATCH v6 1/2] depmod: Handle installing modules under a different directory

2023-12-06 Thread Michal Suchanek
-by: Michal Suchanek --- v6: - use ?= instead of := to make it easier to override the value - use shorter expression for determining the module directory assuming it's non-empty --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index

<    3   4   5   6   7   8