Re: [PATCHv2] kmemleak: Add option to print warnings to dmesg

2018-08-27 Thread Andrew Morton
On Mon, 27 Aug 2018 10:38:21 +0200 Vincent Whitchurch wrote: > Currently, kmemleak only prints the number of suspected leaks to dmesg > but requires the user to read a debugfs file to get the actual stack > traces of the objects' allocation points. Add an option to print the > full object

Re: [PATCHv2] kmemleak: Add option to print warnings to dmesg

2018-08-27 Thread Andrew Morton
On Mon, 27 Aug 2018 10:38:21 +0200 Vincent Whitchurch wrote: > Currently, kmemleak only prints the number of suspected leaks to dmesg > but requires the user to read a debugfs file to get the actual stack > traces of the objects' allocation points. Add an option to print the > full object

[PATCH] NTB: ntb_hw_idt: replace IS_ERR_OR_NULL with regular NULL checks

2018-08-27 Thread Gustavo A. R. Silva
Both devm_kcalloc() and devm_kzalloc() return NULL on error. They never return error pointers. The use of IS_ERR_OR_NULL is currently applied to the wrong context. Fix this by replacing IS_ERR_OR_NULL with regular NULL checks. Fixes: bf2a952d31d2 ("NTB: Add IDT 89HPESxNTx PCIe-switches

[PATCH] NTB: ntb_hw_idt: replace IS_ERR_OR_NULL with regular NULL checks

2018-08-27 Thread Gustavo A. R. Silva
Both devm_kcalloc() and devm_kzalloc() return NULL on error. They never return error pointers. The use of IS_ERR_OR_NULL is currently applied to the wrong context. Fix this by replacing IS_ERR_OR_NULL with regular NULL checks. Fixes: bf2a952d31d2 ("NTB: Add IDT 89HPESxNTx PCIe-switches

Re: [PATCH v2 7/7] lkdtm: test copy_to_user() on bad kernel pointer under KERNEL_DS

2018-08-27 Thread Kees Cook
On Mon, Aug 27, 2018 at 11:56 AM, Jann Horn wrote: > Test whether the kernel WARN()s when, under KERNEL_DS, a bad kernel pointer > is used as "userspace" pointer. Should normally be used in "DIRECT" mode. > > Signed-off-by: Jann Horn Acked-by: Kees Cook -Kees > --- >

Re: [PATCH v2 7/7] lkdtm: test copy_to_user() on bad kernel pointer under KERNEL_DS

2018-08-27 Thread Kees Cook
On Mon, Aug 27, 2018 at 11:56 AM, Jann Horn wrote: > Test whether the kernel WARN()s when, under KERNEL_DS, a bad kernel pointer > is used as "userspace" pointer. Should normally be used in "DIRECT" mode. > > Signed-off-by: Jann Horn Acked-by: Kees Cook -Kees > --- >

[PATCH] RISC-V: Mask out the F extension on systems without D

2018-08-27 Thread Palmer Dabbelt
The RISC-V Linux port doesn't support systems that have the F extension but don't have the D extension -- we actually don't support systems without D either, but Alan's patch set is rectifying that soon. For now I think we can leave this in a semi-broken state and just wait for Alan's patch set

[PATCH] RISC-V: Mask out the F extension on systems without D

2018-08-27 Thread Palmer Dabbelt
The RISC-V Linux port doesn't support systems that have the F extension but don't have the D extension -- we actually don't support systems without D either, but Alan's patch set is rectifying that soon. For now I think we can leave this in a semi-broken state and just wait for Alan's patch set

Re: Linux 4.19-rc1

2018-08-27 Thread Linus Torvalds
On Mon, Aug 27, 2018 at 6:45 AM Guenter Roeck wrote: > > Build results: > total: 132 pass: 129 fail: 3 Thanks for running these. Looks like everything but the sparc thing is under control, and the sparc thing might be one of those "big builds don't work on sparc" ;( Linus

Re: Linux 4.19-rc1

2018-08-27 Thread Linus Torvalds
On Mon, Aug 27, 2018 at 6:45 AM Guenter Roeck wrote: > > Build results: > total: 132 pass: 129 fail: 3 Thanks for running these. Looks like everything but the sparc thing is under control, and the sparc thing might be one of those "big builds don't work on sparc" ;( Linus

Re: TLB flushes on fixmap changes

2018-08-27 Thread Nadav Amit
at 1:16 PM, Nadav Amit wrote: > at 12:58 PM, Andy Lutomirski wrote: > >> On Mon, Aug 27, 2018 at 12:43 PM, Nadav Amit wrote: >>> at 12:10 PM, Nadav Amit wrote: >>> at 11:58 AM, Andy Lutomirski wrote: > On Mon, Aug 27, 2018 at 11:54 AM, Nadav Amit wrote: >>> On Mon, Aug

checkpatch.pl bug? (was Re: [PATCH] random: Make CPU trust a boot parameter)

2018-08-27 Thread Kees Cook
On Mon, Aug 27, 2018 at 2:51 PM, Kees Cook wrote: > Instead of forcing a distro or other system builder to choose > at build time whether the CPU is trusted for CRNG seeding via > CONFIG_RANDOM_TRUST_CPU, provide a boot-time parameter for end users to > control the choice. The CONFIG will set the

checkpatch.pl bug? (was Re: [PATCH] random: Make CPU trust a boot parameter)

2018-08-27 Thread Kees Cook
On Mon, Aug 27, 2018 at 2:51 PM, Kees Cook wrote: > Instead of forcing a distro or other system builder to choose > at build time whether the CPU is trusted for CRNG seeding via > CONFIG_RANDOM_TRUST_CPU, provide a boot-time parameter for end users to > control the choice. The CONFIG will set the

Re: TLB flushes on fixmap changes

2018-08-27 Thread Nadav Amit
at 1:16 PM, Nadav Amit wrote: > at 12:58 PM, Andy Lutomirski wrote: > >> On Mon, Aug 27, 2018 at 12:43 PM, Nadav Amit wrote: >>> at 12:10 PM, Nadav Amit wrote: >>> at 11:58 AM, Andy Lutomirski wrote: > On Mon, Aug 27, 2018 at 11:54 AM, Nadav Amit wrote: >>> On Mon, Aug

Re: [PATCH v2 2/3] xfs: Prevent multiple wakeups of the same log space waiter

2018-08-27 Thread Dave Chinner
On Mon, Aug 27, 2018 at 12:39:06AM -0700, Christoph Hellwig wrote: > On Mon, Aug 27, 2018 at 10:21:34AM +1000, Dave Chinner wrote: > > tl; dr: Once you pass a certain point, ramdisks can be *much* slower > > than SSDs on journal intensive workloads like AIM7. Hence it would be > > useful to see if

Re: [PATCH v2 2/3] xfs: Prevent multiple wakeups of the same log space waiter

2018-08-27 Thread Dave Chinner
On Mon, Aug 27, 2018 at 12:39:06AM -0700, Christoph Hellwig wrote: > On Mon, Aug 27, 2018 at 10:21:34AM +1000, Dave Chinner wrote: > > tl; dr: Once you pass a certain point, ramdisks can be *much* slower > > than SSDs on journal intensive workloads like AIM7. Hence it would be > > useful to see if

linux-next: error when fetching the bcm2835 tree

2018-08-27 Thread Stephen Rothwell
Hi Eric, Fetching the bcm2835 tree (git://github.com/anholt/linux.git#for-next) produces this error: fatal: Couldn't find remote ref refs/heads/for-next -- Cheers, Stephen Rothwell pgpFmpA2pK_4O.pgp Description: OpenPGP digital signature

Re: [PATCH v13 10/13] x86/sgx: Add sgx_einit() for initializing enclaves

2018-08-27 Thread Huang, Kai
On Mon, 2018-08-27 at 21:53 +0300, Jarkko Sakkinen wrote: > From: Sean Christopherson > > Add a function to perform ENCLS(EINIT), which initializes an enclave, > which can be used by a driver for running enclaves and VMMs. > > Writing the LE hash MSRs is extraordinarily expensive, e.g. 3-4x >

linux-next: error when fetching the bcm2835 tree

2018-08-27 Thread Stephen Rothwell
Hi Eric, Fetching the bcm2835 tree (git://github.com/anholt/linux.git#for-next) produces this error: fatal: Couldn't find remote ref refs/heads/for-next -- Cheers, Stephen Rothwell pgpFmpA2pK_4O.pgp Description: OpenPGP digital signature

Re: [PATCH v13 10/13] x86/sgx: Add sgx_einit() for initializing enclaves

2018-08-27 Thread Huang, Kai
On Mon, 2018-08-27 at 21:53 +0300, Jarkko Sakkinen wrote: > From: Sean Christopherson > > Add a function to perform ENCLS(EINIT), which initializes an enclave, > which can be used by a driver for running enclaves and VMMs. > > Writing the LE hash MSRs is extraordinarily expensive, e.g. 3-4x >

[PATCH] x86/irqflags: mark native_restore_fl extern inline

2018-08-27 Thread Nick Desaulniers
Fixes commit 208cbb325589 ("x86/irqflags: Provide a declaration for native_save_fl") This should have been marked extern inline in order to pick up the out of line definition in arch/x86/kernel/irqflags.S. Cc: sta...@vger.kernel.org # 4.18, 4.14, 4.9, 4.4 Reported-by: Ben Hutchings

[PATCH] x86/irqflags: mark native_restore_fl extern inline

2018-08-27 Thread Nick Desaulniers
Fixes commit 208cbb325589 ("x86/irqflags: Provide a declaration for native_save_fl") This should have been marked extern inline in order to pick up the out of line definition in arch/x86/kernel/irqflags.S. Cc: sta...@vger.kernel.org # 4.18, 4.14, 4.9, 4.4 Reported-by: Ben Hutchings

Re: [PATCH v2 00/40] Tegra SDHCI add support for HS200 and UHS signaling

2018-08-27 Thread Marcel Ziswiler
On Mon, 2018-08-27 at 17:50 +0200, Thierry Reding wrote: > On Mon, Aug 27, 2018 at 02:10:58PM +, Marcel Ziswiler wrote: > > On Fri, 2018-08-10 at 21:08 +0300, Aapo Vienamo wrote: > > > Hi all, > > > > > > This series implements support for faster signaling modes on > > > Tegra > > > SDHCI

Re: [PATCH v2 00/40] Tegra SDHCI add support for HS200 and UHS signaling

2018-08-27 Thread Marcel Ziswiler
On Mon, 2018-08-27 at 17:50 +0200, Thierry Reding wrote: > On Mon, Aug 27, 2018 at 02:10:58PM +, Marcel Ziswiler wrote: > > On Fri, 2018-08-10 at 21:08 +0300, Aapo Vienamo wrote: > > > Hi all, > > > > > > This series implements support for faster signaling modes on > > > Tegra > > > SDHCI

Re: Linux 4.19-rc1

2018-08-27 Thread Palmer Dabbelt
On Mon, 27 Aug 2018 06:44:59 PDT (-0700), li...@roeck-us.net wrote: On Sun, Aug 26, 2018 at 02:49:14PM -0700, Linus Torvalds wrote: So two weeks have passed, and the merge window for 4.19 is over. [ ... ] Anyway, go forth and test, Build results: total: 132 pass: 129 fail: 3

Re: Linux 4.19-rc1

2018-08-27 Thread Palmer Dabbelt
On Mon, 27 Aug 2018 06:44:59 PDT (-0700), li...@roeck-us.net wrote: On Sun, Aug 26, 2018 at 02:49:14PM -0700, Linus Torvalds wrote: So two weeks have passed, and the merge window for 4.19 is over. [ ... ] Anyway, go forth and test, Build results: total: 132 pass: 129 fail: 3

Re: [PATCH 1/3] ARM: dts: NSP: Enable SFP on bcm958625hr

2018-08-27 Thread Andrew Lunn
> > Hi Florian > > > > I didn't need anything like this for the mv88e6xxx. I had patches > > merged in -rc1 to make SFF work connected to the mv88e6390. The DT > > change was not merged, but it is here: > > > > https://patchwork.ozlabs.org/patch/955635/ > > > > +

Re: [PATCH 1/3] ARM: dts: NSP: Enable SFP on bcm958625hr

2018-08-27 Thread Andrew Lunn
> > Hi Florian > > > > I didn't need anything like this for the mv88e6xxx. I had patches > > merged in -rc1 to make SFF work connected to the mv88e6390. The DT > > change was not merged, but it is here: > > > > https://patchwork.ozlabs.org/patch/955635/ > > > > +

[PATCH 1/2] rtc: rv8803: fix the rv8803 id in the OF table

2018-08-27 Thread Alexandre Belloni
The ID for RV8803 must be rv_8803 Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-rv8803.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-rv8803.c b/drivers/rtc/rtc-rv8803.c index 29fc3d210392..17ccef5d5db1 100644 --- a/drivers/rtc/rtc-rv8803.c +++

[PATCH 1/2] rtc: rv8803: fix the rv8803 id in the OF table

2018-08-27 Thread Alexandre Belloni
The ID for RV8803 must be rv_8803 Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-rv8803.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-rv8803.c b/drivers/rtc/rtc-rv8803.c index 29fc3d210392..17ccef5d5db1 100644 --- a/drivers/rtc/rtc-rv8803.c +++

Re: linux-next: build warnings from the build of Linus' tree

2018-08-27 Thread Stephen Rothwell
Hi Masami, On Sun, 26 Aug 2018 17:10:58 +0900 Masami Hiramatsu wrote: > > Hmm, unfortunately, I couldn't reproduce the ".data..LPBX1" error with > my gcc-8.1.0 + ld-2.30 distributed at > https://cdn.kernel.org/pub/tools/crosstool/. > Could you also try to enable CONFIG_GCOV_PROFILE_ALL=y and

[PATCH 2/2] rtc: rv8803: add Epson RX8803 support

2018-08-27 Thread Alexandre Belloni
The Epson rx8803 is mostly similar to the Microcrystal RV8803 but the size of the offset register is 4 bits vs 6 bits but it has a configurable temperature compensation. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-rv8803.c | 5 + 1 file changed, 5 insertions(+) diff --git

Re: linux-next: build warnings from the build of Linus' tree

2018-08-27 Thread Stephen Rothwell
Hi Masami, On Sun, 26 Aug 2018 17:10:58 +0900 Masami Hiramatsu wrote: > > Hmm, unfortunately, I couldn't reproduce the ".data..LPBX1" error with > my gcc-8.1.0 + ld-2.30 distributed at > https://cdn.kernel.org/pub/tools/crosstool/. > Could you also try to enable CONFIG_GCOV_PROFILE_ALL=y and

[PATCH 2/2] rtc: rv8803: add Epson RX8803 support

2018-08-27 Thread Alexandre Belloni
The Epson rx8803 is mostly similar to the Microcrystal RV8803 but the size of the offset register is 4 bits vs 6 bits but it has a configurable temperature compensation. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-rv8803.c | 5 + 1 file changed, 5 insertions(+) diff --git

linux-next: new maintainer/tree for the libata tree?

2018-08-27 Thread Stephen Rothwell
Hi Tejun, Jens, I noticed the maintaership change - so what shuld I sues for linux-next, now? I currently have git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata.git#for-next -- Cheers, Stephen Rothwell pgp3Pa2feAmUK.pgp Description: OpenPGP digital signature

linux-next: new maintainer/tree for the libata tree?

2018-08-27 Thread Stephen Rothwell
Hi Tejun, Jens, I noticed the maintaership change - so what shuld I sues for linux-next, now? I currently have git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata.git#for-next -- Cheers, Stephen Rothwell pgp3Pa2feAmUK.pgp Description: OpenPGP digital signature

Re: [PATCH 3/3] clk: s2mps11: Use existing defines from bindings for clock IDs

2018-08-27 Thread Stephen Boyd
Quoting Krzysztof Kozlowski (2018-08-07 09:17:13) > The clock IDs must match between DeviceTree bindings and the driver. > There is already a header file used by DeviceTree sources so include it > in the driver to remove duplicated symbols. > > Signed-off-by: Krzysztof Kozlowski > --- Applied

Re: [PATCH 3/3] clk: s2mps11: Use existing defines from bindings for clock IDs

2018-08-27 Thread Stephen Boyd
Quoting Krzysztof Kozlowski (2018-08-07 09:17:13) > The clock IDs must match between DeviceTree bindings and the driver. > There is already a header file used by DeviceTree sources so include it > in the driver to remove duplicated symbols. > > Signed-off-by: Krzysztof Kozlowski > --- Applied

Re: [PATCH 1/3] clk: max77686: Add SPDX license identifiers

2018-08-27 Thread Stephen Boyd
Quoting Krzysztof Kozlowski (2018-08-07 09:17:11) > Replace GPL v2.0 and v2.0+ license statements with SPDX license > identifiers. > > Signed-off-by: Krzysztof Kozlowski > --- Applied to clk-next

Re: [PATCH 2/3] clk: s2mps11,s3c64xx: Add SPDX license identifiers

2018-08-27 Thread Stephen Boyd
Quoting Krzysztof Kozlowski (2018-08-07 09:17:12) > Replace GPL v2.0 and v2.0+ license statements with SPDX license > identifiers. > > Signed-off-by: Krzysztof Kozlowski > --- Applied to clk-next

Re: [PATCH 1/3] clk: max77686: Add SPDX license identifiers

2018-08-27 Thread Stephen Boyd
Quoting Krzysztof Kozlowski (2018-08-07 09:17:11) > Replace GPL v2.0 and v2.0+ license statements with SPDX license > identifiers. > > Signed-off-by: Krzysztof Kozlowski > --- Applied to clk-next

Re: [PATCH 2/3] clk: s2mps11,s3c64xx: Add SPDX license identifiers

2018-08-27 Thread Stephen Boyd
Quoting Krzysztof Kozlowski (2018-08-07 09:17:12) > Replace GPL v2.0 and v2.0+ license statements with SPDX license > identifiers. > > Signed-off-by: Krzysztof Kozlowski > --- Applied to clk-next

Re: [PATCH 1/3] ARM: dts: NSP: Enable SFP on bcm958625hr

2018-08-27 Thread Florian Fainelli
On 08/27/2018 02:09 PM, Andrew Lunn wrote: > On Mon, Aug 27, 2018 at 01:52:42PM -0700, Florian Fainelli wrote: >> On 08/27/2018 01:35 PM, Andrew Lunn wrote: @@ -210,6 +228,17 @@ reg = <4>; }; + port@5 { + label

Re: [PATCH 1/3] ARM: dts: NSP: Enable SFP on bcm958625hr

2018-08-27 Thread Florian Fainelli
On 08/27/2018 02:09 PM, Andrew Lunn wrote: > On Mon, Aug 27, 2018 at 01:52:42PM -0700, Florian Fainelli wrote: >> On 08/27/2018 01:35 PM, Andrew Lunn wrote: @@ -210,6 +228,17 @@ reg = <4>; }; + port@5 { + label

Re: [PATCH 16/25] ubifs: authenticate replayed journal

2018-08-27 Thread Richard Weinberger
Am Mittwoch, 4. Juli 2018, 14:41:28 CEST schrieb Sascha Hauer: > Make sure that during replay all buds can be authenticated. To do > this we calculate the hash chain until we find an authentication > node and check the HMAC in that node against the current status > of the hash chain. > > After a

Re: [PATCH v13 09/13] x86/sgx: Enclave Page Cache (EPC) memory manager

2018-08-27 Thread Dave Hansen
On 08/27/2018 11:53 AM, Jarkko Sakkinen wrote: > +struct sgx_epc_page_ops { > + bool (*get)(struct sgx_epc_page *epc_page); > + void (*put)(struct sgx_epc_page *epc_page); > + bool (*reclaim)(struct sgx_epc_page *epc_page); > + void (*block)(struct sgx_epc_page *epc_page); > +

Re: [PATCH 16/25] ubifs: authenticate replayed journal

2018-08-27 Thread Richard Weinberger
Am Mittwoch, 4. Juli 2018, 14:41:28 CEST schrieb Sascha Hauer: > Make sure that during replay all buds can be authenticated. To do > this we calculate the hash chain until we find an authentication > node and check the HMAC in that node against the current status > of the hash chain. > > After a

Re: [PATCH v13 09/13] x86/sgx: Enclave Page Cache (EPC) memory manager

2018-08-27 Thread Dave Hansen
On 08/27/2018 11:53 AM, Jarkko Sakkinen wrote: > +struct sgx_epc_page_ops { > + bool (*get)(struct sgx_epc_page *epc_page); > + void (*put)(struct sgx_epc_page *epc_page); > + bool (*reclaim)(struct sgx_epc_page *epc_page); > + void (*block)(struct sgx_epc_page *epc_page); > +

[PATCH] iio: adc: qcom-spmi-adc5: Verify channel numbers from DT

2018-08-27 Thread Matthias Kaehlcke
The driver only defines a subset of all possible ADC channels. Channel numbers read from the device tree are accepted as long as they don't exceed a max value, even when no channel definition exists. Add a check to abort initialization in this case. Signed-off-by: Matthias Kaehlcke ---

[PATCH] iio: adc: qcom-spmi-adc5: Verify channel numbers from DT

2018-08-27 Thread Matthias Kaehlcke
The driver only defines a subset of all possible ADC channels. Channel numbers read from the device tree are accepted as long as they don't exceed a max value, even when no channel definition exists. Add a check to abort initialization in this case. Signed-off-by: Matthias Kaehlcke ---

Re: [PATCH v3 1/2] dt-bindings: clock: Introduce QCOM LPASS clock bindings

2018-08-27 Thread Stephen Boyd
Quoting Taniya Das (2018-08-03 05:21:13) > Add device tree bindings for Low Power Audio subsystem clock controller for > Qualcomm Technology Inc's SDM845 SoCs. > > Signed-off-by: Taniya Das > --- > .../devicetree/bindings/clock/qcom,gcc.txt | 2 ++ >

Re: [PATCH v3 1/2] dt-bindings: clock: Introduce QCOM LPASS clock bindings

2018-08-27 Thread Stephen Boyd
Quoting Taniya Das (2018-08-03 05:21:13) > Add device tree bindings for Low Power Audio subsystem clock controller for > Qualcomm Technology Inc's SDM845 SoCs. > > Signed-off-by: Taniya Das > --- > .../devicetree/bindings/clock/qcom,gcc.txt | 2 ++ >

Re: [PATCH v3 4/5] rtc: rk808: add RK809 and RK817 support.

2018-08-27 Thread Alexandre Belloni
On 24/08/2018 11:30:40+0800, Tony Xie wrote: > RK809 and RK817 are power management IC chips for multimedia products. > Most of their functions and registers are same, including the rtc. > > Signed-off-by: Tony Xie Acked-by: Alexandre Belloni > --- > drivers/rtc/Kconfig | 4 +-- >

Re: [PATCH v3 4/5] rtc: rk808: add RK809 and RK817 support.

2018-08-27 Thread Alexandre Belloni
On 24/08/2018 11:30:40+0800, Tony Xie wrote: > RK809 and RK817 are power management IC chips for multimedia products. > Most of their functions and registers are same, including the rtc. > > Signed-off-by: Tony Xie Acked-by: Alexandre Belloni > --- > drivers/rtc/Kconfig | 4 +-- >

Re: [PATCH] memory: atmel-ebi: Use struct_size() in devm_kzalloc()

2018-08-27 Thread Alexandre Belloni
On 23/08/2018 20:07:06-0500, Gustavo A. R. Silva wrote: > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct foo { >

Re: [PATCH] memory: atmel-ebi: Use struct_size() in devm_kzalloc()

2018-08-27 Thread Alexandre Belloni
On 23/08/2018 20:07:06-0500, Gustavo A. R. Silva wrote: > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct foo { >

YOUR PRODUCT

2018-08-27 Thread Rafaa Esawi
Greetings, We are rebuilding Iraq after years of conflicts and we are inviting you to take up contracts. We are determined to purchase your products in large quantities, for use in all over our 18 governorates(provinces) as the task of re-building Iraq covers every single sectormand facet of

YOUR PRODUCT

2018-08-27 Thread Rafaa Esawi
Greetings, We are rebuilding Iraq after years of conflicts and we are inviting you to take up contracts. We are determined to purchase your products in large quantities, for use in all over our 18 governorates(provinces) as the task of re-building Iraq covers every single sectormand facet of

Re: [PATCH v3 2/2] clk: qcom: Add lpass clock controller driver for SDM845

2018-08-27 Thread Stephen Boyd
Quoting Taniya Das (2018-08-03 05:21:14) > diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig > index 2b69cf2..7bd940d 100644 > --- a/drivers/clk/qcom/Kconfig > +++ b/drivers/clk/qcom/Kconfig > @@ -254,6 +254,15 @@ config SDM_VIDEOCC_845 > Say Y if you want to support video

Re: [PATCH v3 2/2] clk: qcom: Add lpass clock controller driver for SDM845

2018-08-27 Thread Stephen Boyd
Quoting Taniya Das (2018-08-03 05:21:14) > diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig > index 2b69cf2..7bd940d 100644 > --- a/drivers/clk/qcom/Kconfig > +++ b/drivers/clk/qcom/Kconfig > @@ -254,6 +254,15 @@ config SDM_VIDEOCC_845 > Say Y if you want to support video

Re: [PATCH 1/3] ARM: dts: NSP: Enable SFP on bcm958625hr

2018-08-27 Thread Andrew Lunn
On Mon, Aug 27, 2018 at 01:52:42PM -0700, Florian Fainelli wrote: > On 08/27/2018 01:35 PM, Andrew Lunn wrote: > >> @@ -210,6 +228,17 @@ > >>reg = <4>; > >>}; > >> > >> + port@5 { > >> + label = "sfp"; > >> + phy-mode =

Re: [PATCH 1/3] ARM: dts: NSP: Enable SFP on bcm958625hr

2018-08-27 Thread Andrew Lunn
On Mon, Aug 27, 2018 at 01:52:42PM -0700, Florian Fainelli wrote: > On 08/27/2018 01:35 PM, Andrew Lunn wrote: > >> @@ -210,6 +228,17 @@ > >>reg = <4>; > >>}; > >> > >> + port@5 { > >> + label = "sfp"; > >> + phy-mode =

Re: [PATCH 1/3] ARM: dts: NSP: Enable SFP on bcm958625hr

2018-08-27 Thread Florian Fainelli
On 08/27/2018 01:52 PM, Florian Fainelli wrote: > On 08/27/2018 01:35 PM, Andrew Lunn wrote: >>> @@ -210,6 +228,17 @@ >>> reg = <4>; >>> }; >>> >>> + port@5 { >>> + label = "sfp"; >>> + phy-mode = "sgmii"; >>> +

Re: [PATCH 1/3] ARM: dts: NSP: Enable SFP on bcm958625hr

2018-08-27 Thread Florian Fainelli
On 08/27/2018 01:52 PM, Florian Fainelli wrote: > On 08/27/2018 01:35 PM, Andrew Lunn wrote: >>> @@ -210,6 +228,17 @@ >>> reg = <4>; >>> }; >>> >>> + port@5 { >>> + label = "sfp"; >>> + phy-mode = "sgmii"; >>> +

Re: [PATCH v13 07/13] x86/sgx: Add data structures for tracking the EPC pages

2018-08-27 Thread Dave Hansen
On 08/27/2018 11:53 AM, Jarkko Sakkinen wrote: > Add data structures to track Enclave Page Cache (EPC) pages. EPC is > divided into multiple banks (1-N) of which addresses and sizes can be > enumerated with CPUID by the OS. > > On NUMA systems a node can have at most bank. A bank can be at most

Re: [PATCH v13 07/13] x86/sgx: Add data structures for tracking the EPC pages

2018-08-27 Thread Dave Hansen
On 08/27/2018 11:53 AM, Jarkko Sakkinen wrote: > Add data structures to track Enclave Page Cache (EPC) pages. EPC is > divided into multiple banks (1-N) of which addresses and sizes can be > enumerated with CPUID by the OS. > > On NUMA systems a node can have at most bank. A bank can be at most

Re: INFO: rcu detected stall in snd_seq_write

2018-08-27 Thread Dmitry Vyukov
On Mon, Aug 27, 2018 at 10:10 AM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:e27bc174c9c6 Add linux-next specific files for 20180824 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=16e0823e40 > kernel config:

Re: INFO: rcu detected stall in snd_seq_write

2018-08-27 Thread Dmitry Vyukov
On Mon, Aug 27, 2018 at 10:10 AM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:e27bc174c9c6 Add linux-next specific files for 20180824 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=16e0823e40 > kernel config:

Re: [PATCH v4 0/2] clk: qcom: Add support for RCG to register for DFS

2018-08-27 Thread Stephen Boyd
Quoting Stephen Boyd (2018-08-23 11:25:41) > Quoting Taniya Das (2018-08-22 03:28:31) > > > > > > > > H. Ok. That won't work then. recalc_rate() better not try to > > > populate the frequency table then or it will not work. So I suppose it > > > needs to fallback to reading the registers and

Re: [PATCH v4 0/2] clk: qcom: Add support for RCG to register for DFS

2018-08-27 Thread Stephen Boyd
Quoting Stephen Boyd (2018-08-23 11:25:41) > Quoting Taniya Das (2018-08-22 03:28:31) > > > > > > > > H. Ok. That won't work then. recalc_rate() better not try to > > > populate the frequency table then or it will not work. So I suppose it > > > needs to fallback to reading the registers and

Re: [PATCH v3 3/3] mm: don't miss the last page because of round-off error

2018-08-27 Thread Andrew Morton
On Mon, 27 Aug 2018 09:26:21 -0700 Roman Gushchin wrote: > I've noticed, that dying memory cgroups are often pinned > in memory by a single pagecache page. Even under moderate > memory pressure they sometimes stayed in such state > for a long time. That looked strange. > > My investigation

Re: [PATCH v3 3/3] mm: don't miss the last page because of round-off error

2018-08-27 Thread Andrew Morton
On Mon, 27 Aug 2018 09:26:21 -0700 Roman Gushchin wrote: > I've noticed, that dying memory cgroups are often pinned > in memory by a single pagecache page. Even under moderate > memory pressure they sometimes stayed in such state > for a long time. That looked strange. > > My investigation

INFO: task hung in snd_seq_ioctl

2018-08-27 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:e27bc174c9c6 Add linux-next specific files for 20180824 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=11bf156a40 kernel config: https://syzkaller.appspot.com/x/.config?x=28446088176757ea

INFO: task hung in snd_seq_write

2018-08-27 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:e27bc174c9c6 Add linux-next specific files for 20180824 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1772020a40 kernel config: https://syzkaller.appspot.com/x/.config?x=28446088176757ea

INFO: task hung in snd_seq_ioctl

2018-08-27 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:e27bc174c9c6 Add linux-next specific files for 20180824 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=11bf156a40 kernel config: https://syzkaller.appspot.com/x/.config?x=28446088176757ea

INFO: task hung in snd_seq_write

2018-08-27 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:e27bc174c9c6 Add linux-next specific files for 20180824 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1772020a40 kernel config: https://syzkaller.appspot.com/x/.config?x=28446088176757ea

Re: [PATCH] rtc: sun6i: Use struct_size() in kzalloc()

2018-08-27 Thread Alexandre Belloni
On 23/08/2018 13:51:40-0500, Gustavo A. R. Silva wrote: > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct foo { >

Re: [PATCH] rtc: sun6i: Use struct_size() in kzalloc()

2018-08-27 Thread Alexandre Belloni
On 23/08/2018 13:51:40-0500, Gustavo A. R. Silva wrote: > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct foo { >

Re: [PATCH v2] compiler.h: give up __compiletime_assert_fallback()

2018-08-27 Thread Nick Desaulniers
On Mon, Aug 27, 2018 at 1:42 PM Daniel Santos wrote: > > Hello Nick, > > On 08/27/2018 03:09 PM, Nick Desaulniers wrote: > >> Now we're back to the question of "what do you mean by 'constant'"? If > >> you mean a C constant expression (as defined in the C standard) than > >> almost none of this

Re: [PATCH v2] compiler.h: give up __compiletime_assert_fallback()

2018-08-27 Thread Nick Desaulniers
On Mon, Aug 27, 2018 at 1:42 PM Daniel Santos wrote: > > Hello Nick, > > On 08/27/2018 03:09 PM, Nick Desaulniers wrote: > >> Now we're back to the question of "what do you mean by 'constant'"? If > >> you mean a C constant expression (as defined in the C standard) than > >> almost none of this

Re: [PATCH v3 1/3] mm: rework memcg kernel stack accounting

2018-08-27 Thread Andrew Morton
On Mon, 27 Aug 2018 09:26:19 -0700 Roman Gushchin wrote: > If CONFIG_VMAP_STACK is set, kernel stacks are allocated > using __vmalloc_node_range() with __GFP_ACCOUNT. So kernel > stack pages are charged against corresponding memory cgroups > on allocation and uncharged on releasing them. > >

Re: [PATCH v3 1/3] mm: rework memcg kernel stack accounting

2018-08-27 Thread Andrew Morton
On Mon, 27 Aug 2018 09:26:19 -0700 Roman Gushchin wrote: > If CONFIG_VMAP_STACK is set, kernel stacks are allocated > using __vmalloc_node_range() with __GFP_ACCOUNT. So kernel > stack pages are charged against corresponding memory cgroups > on allocation and uncharged on releasing them. > >

Re: [PATCH] rtc: jz4740: Drop dependency on MACH_INGENIC

2018-08-27 Thread Alexandre Belloni
On 20/08/2018 20:07:16+0200, Paul Cercueil wrote: > Depending on MACH_INGENIC prevent us from creating a generic kernel that > works on more than one MIPS board. Instead, we just depend on MIPS being > set. > > Signed-off-by: Paul Cercueil > --- > drivers/rtc/Kconfig | 2 +- > 1 file changed, 1

Re: [PATCH] rtc: jz4740: Drop dependency on MACH_INGENIC

2018-08-27 Thread Alexandre Belloni
On 20/08/2018 20:07:16+0200, Paul Cercueil wrote: > Depending on MACH_INGENIC prevent us from creating a generic kernel that > works on more than one MIPS board. Instead, we just depend on MIPS being > set. > > Signed-off-by: Paul Cercueil > --- > drivers/rtc/Kconfig | 2 +- > 1 file changed, 1

Re: possible deadlock in seq_read

2018-08-27 Thread Dmitry Vyukov
On Mon, Aug 27, 2018 at 11:20 AM, Kees Cook wrote: > On Tue, Dec 12, 2017 at 2:06 PM, Eric Biggers wrote: >> On Fri, Dec 01, 2017 at 03:29:01AM -0800, syzbot wrote: >>> Hello, >>> >>> syzkaller hit the following crash on >>> df8ba95c572a187ed2aa7403e97a7a7f58c01f00 >>>

Re: possible deadlock in seq_read

2018-08-27 Thread Dmitry Vyukov
On Mon, Aug 27, 2018 at 11:20 AM, Kees Cook wrote: > On Tue, Dec 12, 2017 at 2:06 PM, Eric Biggers wrote: >> On Fri, Dec 01, 2017 at 03:29:01AM -0800, syzbot wrote: >>> Hello, >>> >>> syzkaller hit the following crash on >>> df8ba95c572a187ed2aa7403e97a7a7f58c01f00 >>>

Re: [PATCH] rtc: rtc-omap: Replace mdelay() with msleep() in omap_rtc_power_off()

2018-08-27 Thread Alexandre Belloni
Hi, On 30/07/2018 21:53:14+0800, Jia-Ju Bai wrote: > omap_rtc_power_off() is never called in atomic context. > It calls mdelay() to busily wait, which is not necessary. > mdelay() can be replaced with msleep(). > > This is found by a static analysis tool named DCNS written by myself. > >

Re: [PATCH] rtc: rtc-omap: Replace mdelay() with msleep() in omap_rtc_power_off()

2018-08-27 Thread Alexandre Belloni
Hi, On 30/07/2018 21:53:14+0800, Jia-Ju Bai wrote: > omap_rtc_power_off() is never called in atomic context. > It calls mdelay() to busily wait, which is not necessary. > mdelay() can be replaced with msleep(). > > This is found by a static analysis tool named DCNS written by myself. > >

Re: [PATCH] mailbox: PCC: handle parse error

2018-08-27 Thread Al Stone
On 08/27/2018 01:19 PM, David Arcari wrote: > acpi_pcc_probe calls acpi_table_parse_entries_array but fails to check > for an error return. This in turn can result in calling kcalloc with > a negative count as well as emitting the following misleading erorr > message: > > [2.642015] Could

Re: [PATCH] mailbox: PCC: handle parse error

2018-08-27 Thread Al Stone
On 08/27/2018 01:19 PM, David Arcari wrote: > acpi_pcc_probe calls acpi_table_parse_entries_array but fails to check > for an error return. This in turn can result in calling kcalloc with > a negative count as well as emitting the following misleading erorr > message: > > [2.642015] Could

Re: [PATCH v6 2/2] rtc: omap: Cut down the shutdown time from 2 seconds to 1 sec

2018-08-27 Thread Alexandre Belloni
On 16/08/2018 10:39:00+0530, Keerthy wrote: > Cut down the shutdown time from 2 seconds to 1 sec. In case of roll > over try again. > > Signed-off-by: Keerthy > --- > drivers/rtc/rtc-omap.c | 25 +++-- > 1 file changed, 15 insertions(+), 10 deletions(-) > Applied, thanks.

Re: [PATCH v6 2/2] rtc: omap: Cut down the shutdown time from 2 seconds to 1 sec

2018-08-27 Thread Alexandre Belloni
On 16/08/2018 10:39:00+0530, Keerthy wrote: > Cut down the shutdown time from 2 seconds to 1 sec. In case of roll > over try again. > > Signed-off-by: Keerthy > --- > drivers/rtc/rtc-omap.c | 25 +++-- > 1 file changed, 15 insertions(+), 10 deletions(-) > Applied, thanks.

Re: [PATCH v6 1/2] rtc: omap: use of_device_is_system_power_controller function

2018-08-27 Thread Alexandre Belloni
On 16/08/2018 10:38:59+0530, Keerthy wrote: > Use of_device_is_system_power_controller instead of manually reading > the system-power-controller property from the device tree node. > > Reviewed-by: Johan Hovold > Signed-off-by: Keerthy > --- > drivers/rtc/rtc-omap.c | 3 +-- > 1 file changed,

Re: [PATCH v6 1/2] rtc: omap: use of_device_is_system_power_controller function

2018-08-27 Thread Alexandre Belloni
On 16/08/2018 10:38:59+0530, Keerthy wrote: > Use of_device_is_system_power_controller instead of manually reading > the system-power-controller property from the device tree node. > > Reviewed-by: Johan Hovold > Signed-off-by: Keerthy > --- > drivers/rtc/rtc-omap.c | 3 +-- > 1 file changed,

Re: [PATCH 1/3] ARM: dts: NSP: Enable SFP on bcm958625hr

2018-08-27 Thread Florian Fainelli
On 08/27/2018 01:35 PM, Andrew Lunn wrote: >> @@ -210,6 +228,17 @@ >> reg = <4>; >> }; >> >> +port@5 { >> +label = "sfp"; >> +phy-mode = "sgmii"; >> +reg = <5>; >> +sfp =

Re: [PATCH 1/3] ARM: dts: NSP: Enable SFP on bcm958625hr

2018-08-27 Thread Florian Fainelli
On 08/27/2018 01:35 PM, Andrew Lunn wrote: >> @@ -210,6 +228,17 @@ >> reg = <4>; >> }; >> >> +port@5 { >> +label = "sfp"; >> +phy-mode = "sgmii"; >> +reg = <5>; >> +sfp =

Re: [PATCH] rtc: rtc-mrst: Replace mdelay() with msleep() in mrst_read_time()

2018-08-27 Thread Alexandre Belloni
On 30/07/2018 21:59:03+0800, Jia-Ju Bai wrote: > mrst_read_time() is never called in atomic context. > It calls mdelay() to busily wait, which is not necessary. > mdelay() can be replaced with msleep(). > > This is found by a static analysis tool named DCNS written by myself. > > Signed-off-by:

Re: [PATCH] rtc: rtc-mrst: Replace mdelay() with msleep() in mrst_read_time()

2018-08-27 Thread Alexandre Belloni
On 30/07/2018 21:59:03+0800, Jia-Ju Bai wrote: > mrst_read_time() is never called in atomic context. > It calls mdelay() to busily wait, which is not necessary. > mdelay() can be replaced with msleep(). > > This is found by a static analysis tool named DCNS written by myself. > > Signed-off-by:

Re: [PATCH 15/25] ubifs: Add auth nodes to garbage collector journal head

2018-08-27 Thread Richard Weinberger
Am Mittwoch, 4. Juli 2018, 14:41:27 CEST schrieb Sascha Hauer: > To be able to authenticate the garbage collector journal head add > authentication nodes to the buds the garbage collector creates. > > Signed-off-by: Sascha Hauer > --- > fs/ubifs/gc.c | 37 ++--- >

Re: [PATCH 15/25] ubifs: Add auth nodes to garbage collector journal head

2018-08-27 Thread Richard Weinberger
Am Mittwoch, 4. Juli 2018, 14:41:27 CEST schrieb Sascha Hauer: > To be able to authenticate the garbage collector journal head add > authentication nodes to the buds the garbage collector creates. > > Signed-off-by: Sascha Hauer > --- > fs/ubifs/gc.c | 37 ++--- >

<    1   2   3   4   5   6   7   8   9   10   >