Re: [PATCH] Add PCI device IDs for family 17h, model 70h

2019-09-06 Thread Borislav Petkov
On Fri, Sep 06, 2019 at 11:21:38PM +, Isaac Vaughn wrote: > Add the new Family 17h Model 70h PCI IDs (device 18h functions 0 and 6) > to the AMD64 EDAC module. > > Cc: Borislav Petkov (maintainer:EDAC-AMD64) > Cc: Mauro Carvalho Chehab (supporter:EDAC-CORE) > Cc: James Morse

Re: [GIT PULL] compiler-attributes for v5.3-rc8

2019-09-06 Thread Sedat Dilek
On Sat, Sep 7, 2019 at 12:59 AM Linus Torvalds wrote: > > On Fri, Sep 6, 2019 at 5:45 PM Nick Desaulniers > wrote: > > > > > Yes. With the appropriate test cycle > > > > Sedat reported the issue and already tested/verified the fix. How > > long should it sit in -next before sending a PR for

Re: [PATCH] mostpost: don't warn about symbols from another file

2019-09-06 Thread Denis Efremov
On 07.09.2019 01:39, Denis Efremov wrote: > Hi, > > On 06.09.2019 18:10, Arnd Bergmann wrote: >> On architectures such as ARM that have a list of symbols exported from >> assembler in a separate C file, we get a lot of new warnings: >> >> WARNING: "__ashrdi3" [vmlinux] is a static (unknown) >>

Re: [PATCH] riscv: move sifive_l2_cache.c to drivers/soc

2019-09-06 Thread Christoph Hellwig
On Fri, Sep 06, 2019 at 03:33:02PM -0700, Paul Walmsley wrote: > If that's your primary concern, then in the short term, how about just > sending a single-line patch to the arch/riscv/mm Makefile to skip building > it if !CONFIG_SOC_SIFIVE? Assuming, that is, you won't be enabling EDAC >

Re: [PATCH] riscv: move sifive_l2_cache.c to drivers/soc

2019-09-06 Thread Christoph Hellwig
On Fri, Sep 06, 2019 at 03:36:09PM -0700, Paul Walmsley wrote: > One other comment on this patch: > > On Fri, 6 Sep 2019, Paul Walmsley wrote: > > > On Sun, 18 Aug 2019, Christoph Hellwig wrote: > > > > > diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig > > > index

Re: [PATCH] riscv: move sifive_l2_cache.c to drivers/soc

2019-09-06 Thread Christoph Hellwig
On Fri, Sep 06, 2019 at 03:27:44PM -0700, Paul Walmsley wrote: > - Since the patch doesn't fix any bugs, there shouldn't be a Fixes: line. > Please let me know whether I can drop the line locally before I apply the > patch, or whether you'd like to resend it. It fixes the bug that we build

Re: [PATCH net-next, 2/2] hv_netvsc: Sync offloading features to VF NIC

2019-09-06 Thread Jakub Kicinski
On Thu, 5 Sep 2019 23:07:32 +, Haiyang Zhang wrote: > > On Fri, 30 Aug 2019 03:45:38 +, Haiyang Zhang wrote: > > > VF NIC may go down then come up during host servicing events. This > > > causes the VF NIC offloading feature settings to roll back to the > > > defaults. This patch can

Re: [PATCH 9/9] sunxi_defconfig: add new crypto options

2019-09-06 Thread Maxime Ripard
On Fri, Sep 06, 2019 at 08:45:51PM +0200, Corentin Labbe wrote: > This patch adds the new allwinner crypto configs to sunxi_defconfig > > Signed-off-by: Corentin Labbe > --- > arch/arm/configs/sunxi_defconfig | 2 ++ > 1 file changed, 2 insertions(+) Can you also enable it in arm64's defconfig

Re: [PATCH 6/9] ARM64: dts: allwinner: sun50i: Add Crypto Engine node on A64

2019-09-06 Thread Maxime Ripard
On Fri, Sep 06, 2019 at 08:45:48PM +0200, Corentin Labbe wrote: > The Crypto Engine is a hardware cryptographic accelerator that supports > many algorithms. > It could be found on most Allwinner SoCs. > > This patch enables the Crypto Engine on the Allwinner A64 SoC Device-tree. > > Signed-off-by:

Re: [PATCH 4/9] ARM: dts: sun8i: r40: add crypto engine node

2019-09-06 Thread Maxime Ripard
On Fri, Sep 06, 2019 at 08:45:46PM +0200, Corentin Labbe wrote: > The Crypto Engine is a hardware cryptographic offloader that supports > many algorithms. > It could be found on most Allwinner SoCs. > > This patch enables the Crypto Engine on the Allwinner R40 SoC Device-tree. > > Signed-off-by:

Re: [PATCH 3/9] dt-bindings: crypto: Add DT bindings documentation for sun8i-ce Crypto Engine

2019-09-06 Thread Maxime Ripard
On Fri, Sep 06, 2019 at 08:45:45PM +0200, Corentin Labbe wrote: > This patch adds documentation for Device-Tree bindings for the > Crypto Engine cryptographic accelerator driver. > > Signed-off-by: Corentin Labbe > --- > .../bindings/crypto/allwinner,sun8i-ce.yaml | 84 +++ > 1

Re: [PATCH 1/9] crypto: Add allwinner subdirectory

2019-09-06 Thread Maxime Ripard
On Fri, Sep 06, 2019 at 08:45:43PM +0200, Corentin Labbe wrote: > Since a second Allwinner crypto driver will be added, it is better to > create a dedicated subdirectory. > > Signed-off-by: Corentin Labbe > --- > MAINTAINERS | 6 ++ > drivers/crypto/Kconfig | 2

Re: [RFC][PATCH v1 0/1] Add support for arm64 to carry ima measurement log in kexec_file_load

2019-09-06 Thread Stephen Boyd
Quoting Prakhar Srivastava (2019-09-06 16:51:09) > Add support for arm64 to carry ima measurement log > to the next kexec'ed session triggered via kexec_file_load. > - Top of Linux 5.3-rc6 > > Currently during kexec the kernel file signatures are/can be validated > prior to actual load, the

Re: [PATCH v8 0/7] mm / virtio: Provide support for unused page reporting

2019-09-06 Thread Alexander Duyck
On Fri, Sep 6, 2019 at 8:23 AM Michael S. Tsirkin wrote: > > On Fri, Sep 06, 2019 at 07:53:21AM -0700, Alexander Duyck wrote: > > This series provides an asynchronous means of reporting to a hypervisor > > that a guest page is no longer in use and can have the data associated > > with it dropped.

Re: [PATCH v2 14/19] MIPS: Loongson64: Add generic dts

2019-09-06 Thread Jiaxun Yang
On 2019/9/7 上午10:53, Huacai Chen wrote: On Thu, Sep 5, 2019 at 10:47 PM Jiaxun Yang wrote: Add generic device dts for Loongson-3 devices. They seems identical but will be different later. Signed-off-by: Jiaxun Yang Hi, Jiaxun, I'm very glad to see that dts files become less in this

Re: [PATCH] ethernet: micrel: Use DIV_ROUND_CLOSEST directly to make it readable

2019-09-06 Thread zhong jiang
On 2019/9/7 3:40, Andrew Lunn wrote: > On Thu, Sep 05, 2019 at 11:53:48PM +0800, zhong jiang wrote: >> The kernel.h macro DIV_ROUND_CLOSEST performs the computation (x + d/2)/d >> but is perhaps more readable. > Hi Zhong > > Did you find this by hand, or did you use a tool. If a tool is used, > it

Re: [PATCH v2 00/19] Modernize Loongson64 Machine

2019-09-06 Thread Huacai Chen
Hi, Jiaxun, All of us think that Loongson Technology Co. Ltd's naming is very confusing. They call both their processors and their bridge-chipset as "Loongson", so Loongson-3A is processor, Loongson-7A is bridge, and Loongson-2H can be both processor and bridge. We all think this is a bad

[PATCH v2] kbuild: allow Clang to find unused static inline functions for W=1 build

2019-09-06 Thread Masahiro Yamada
GCC and Clang have different policy for -Wunused-function; GCC does not warn unused static inline functions at all whereas Clang does if they are defined in source files instead of included headers although it has been suppressed since commit abb2ea7dfd82 ("compiler, clang: suppress warning for

Re: [PATCH v2 14/19] MIPS: Loongson64: Add generic dts

2019-09-06 Thread Huacai Chen
On Thu, Sep 5, 2019 at 10:47 PM Jiaxun Yang wrote: > > Add generic device dts for Loongson-3 devices. > They seems identical but will be different later. > > Signed-off-by: Jiaxun Yang > --- > arch/mips/Kconfig | 4 +- > arch/mips/boot/dts/Makefile |

[PATCH v4 4/5] doc: media: vimc: Update module parameter usage information

2019-09-06 Thread Shuah Khan
vimc driver is now a monolithic driver. Update the module parameter usage information to reflect that. Signed-off-by: Shuah Khan --- Documentation/media/v4l-drivers/vimc.rst | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/media/v4l-drivers/vimc.rst

[PATCH v4 0/5] Collapse vimc into single monolithic driver

2019-09-06 Thread Shuah Khan
vimc uses Component API to split the driver into functional components. The real hardware resembles a monolith structure than component and component structure added a level of complexity making it hard to maintain without adding any real benefit. The sensor is one vimc component that would makes

[PATCH v4 1/5] media: vimc: Collapse component structure into a single monolithic driver

2019-09-06 Thread Shuah Khan
vimc uses Component API to split the driver into functional components. The real hardware resembles a monolith structure than component and component structure added a level of complexity making it hard to maintain without adding any real benefit. The sensor is one vimc component that would makes

[PATCH v4 5/5] MAINTAINERS: Add reviewer to vimc driver

2019-09-06 Thread Shuah Khan
After practically re-writing the driver to collpase it into a monolith, I am adding myself as a reviewer for vimc driver. Signed-off-by: Shuah Khan --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7c62b45201d7..4529d257f8db 100644 ---

[PATCH v4 3/5] vimc: move duplicated IS_SRC and IS_SINK to common header

2019-09-06 Thread Shuah Khan
Move duplicated IS_SRC and IS_SINK dfines to common header. Rename them to VIMC_IS_SRC and VIM_IS_SINK. Signed-off-by: Shuah Khan --- drivers/media/platform/vimc/vimc-common.h | 4 drivers/media/platform/vimc/vimc-debayer.c | 11 --- drivers/media/platform/vimc/vimc-scaler.c |

[PATCH v4 2/5] media: vimc: Fix gpf in rmmod path when stream is active

2019-09-06 Thread Shuah Khan
If vimc module is removed while streaming is in progress, sensor subdev unregister runs into general protection fault when it tries to unregister media entities. This is a common subdev problem related to releasing pads from v4l2_device_unregister_subdev() before calling unregister. Unregister

Re: [PATCH] kunit: Fix '--build_dir' option

2019-09-06 Thread shuah
On 9/6/19 7:16 PM, Brendan Higgins wrote: On Fri, Sep 6, 2019 at 9:12 AM SeongJae Park wrote: Running kunit with '--build_dir' option gives following error message: ``` $ ./tools/testing/kunit/kunit.py run --build_dir ../linux.out.kunit/ [00:57:24] Building KUnit Kernel ... [00:57:29]

Re: [PATCH v3 1/2] kbuild: refactor scripts/Makefile.extrawarn

2019-09-06 Thread Masahiro Yamada
On Sun, Sep 1, 2019 at 1:26 AM Masahiro Yamada wrote: > > Instead of the warning-[123] magic, let's accumulate compiler options > to KBUILD_CFLAGS directly as the top Makefile does. I think this makes > easier to understand what is going on in this file. > > This commit slightly changes the

Re: [PATCH] lz4: make LZ4HC_setExternalDict as non-static

2019-09-06 Thread Masahiro Yamada
On Sat, Sep 7, 2019 at 3:43 AM Arnd Bergmann wrote: > > On Fri, Sep 6, 2019 at 6:21 PM Denis Efremov wrote: > > > > Hi, > > > > > kbuild warns for exported static symbols. This one seems to > > > be meant as an external API but does not have any in-kernel > > > users: > > > > > > WARNING:

Re: [PATCH RFC] driver core: ensure a device has valid node id in device_add()

2019-09-06 Thread Yunsheng Lin
On 2019/9/6 22:00, Greg KH wrote: > On Fri, Sep 06, 2019 at 04:21:47PM +0800, Yunsheng Lin wrote: >> On 2019/9/6 14:52, Greg KH wrote: >>> On Fri, Sep 06, 2019 at 02:41:36PM +0800, Yunsheng Lin wrote: On 2019/9/5 15:33, Greg KH wrote: > On Thu, Sep 05, 2019 at 02:48:24PM +0800, Yunsheng

[PATCH] samples: watch_queue: add HEADERS_INSTALL dependency

2019-09-06 Thread Masahiro Yamada
samples/watch_queue/Makefile specifies the header search path -I$(objtree)/usr/include, which is probaby needed to include etc. To make it work properly, add "depends on HEADERS_INSTALL" so that headers are installed into $(objtree)/usr/include before building this sample. Fixes: 7141642ed120

Re: [PATCH v2 0/6] Rework REFCOUNT_FULL using atomic_fetch_* operations

2019-09-06 Thread Hanjun Guo
On 2019/9/6 21:43, Will Deacon wrote: > On Wed, Aug 28, 2019 at 02:03:37PM -0700, Kees Cook wrote: >> On Wed, Aug 28, 2019 at 03:14:40PM +0100, Will Deacon wrote: >>> On Wed, Aug 28, 2019 at 09:30:52AM +0200, Peter Zijlstra wrote: On Tue, Aug 27, 2019 at 05:31:58PM +0100, Will Deacon wrote:

Re: [PATCH v3 1/2] dt-bindings: PCI: intel: Add YAML schemas for the PCIe RC controller

2019-09-06 Thread Ivan Gorinov
On Fri, Sep 06, 2019 at 08:48:15PM +0300, Andy Shevchenko wrote: > On Fri, Sep 06, 2019 at 07:17:11PM +0200, Martin Blumenstingl wrote: > > On Fri, Sep 6, 2019 at 5:22 AM Chuan Hua, Lei > > wrote: > > > > type_index = fwspec->param[1]; // index. > > > if (type_index >=

Re: [PATCH bpf-next 8/8] samples: bpf: Makefile: base progs build on Makefile.progs

2019-09-06 Thread Ivan Khoronzhuk
On Fri, Sep 06, 2019 at 04:34:31PM -0700, Alexei Starovoitov wrote: On Thu, Sep 05, 2019 at 12:22:12AM +0300, Ivan Khoronzhuk wrote: + +If need to use environment of target board, the SYSROOT also can be set, +pointing on FS of target board: + +make samples/bpf/ LLC=~/git/llvm/build/bin/llc \ +

Re: [PATCH] kunit: Fix '--build_dir' option

2019-09-06 Thread Brendan Higgins
On Fri, Sep 6, 2019 at 9:12 AM SeongJae Park wrote: > > Running kunit with '--build_dir' option gives following error message: > > ``` > $ ./tools/testing/kunit/kunit.py run --build_dir ../linux.out.kunit/ > [00:57:24] Building KUnit Kernel ... > [00:57:29] Starting KUnit Kernel ... > Traceback

Re: [PATCH v2 4/6] compiler-gcc.h: add asm_inline definition

2019-09-06 Thread Nick Desaulniers
On Fri, Sep 6, 2019 at 5:14 PM Segher Boessenkool wrote: > > On Fri, Sep 06, 2019 at 04:42:58PM -0700, Nick Desaulniers via gcc-patches > wrote: > > Just to prove my point about version checks being brittle, it looks > > like Rasmus' version check isn't even right. GCC supported `asm > >

[PATCH] gpio: fix build failure: gpiochip_[un]lock*() static/non-static

2019-09-06 Thread John Hubbard
While building with !CONFIG_GPIOLIB, I experienced a build failure, because driver.h in that configuration supplies both a static and a non-static version of these routines: gpiochip_lock_as_irq() gpiochip_unlock_as_irq() Fix this by moving the non-static routines under the scope

Re: [GIT PULL] compiler-attributes for v5.3-rc8

2019-09-06 Thread Linus Torvalds
On Fri, Sep 6, 2019 at 5:45 PM Nick Desaulniers wrote: > > > Yes. With the appropriate test cycle > > Sedat reported the issue and already tested/verified the fix. How > long should it sit in -next before sending a PR for inclusion to 5.3 > (as opposed to letting it ride out to 5.4)? If the

Re: [GIT PULL] compiler-attributes for v5.3-rc8

2019-09-06 Thread Nick Desaulniers
On Fri, Sep 6, 2019 at 5:08 PM Linus Torvalds wrote: > > On Fri, Sep 6, 2019 at 5:07 PM Nick Desaulniers > wrote: > > > > So then Miguel should maybe split off a new branch, rebase to keep > > just the relevant patch > >

Re: [PATCH] kunit: add PRINTK dependency

2019-09-06 Thread Brendan Higgins
On Fri, Sep 6, 2019 at 9:08 AM Shuah Khan wrote: > > On 9/6/19 10:02 AM, Arnd Bergmann wrote: > > On Fri, Sep 6, 2019 at 5:39 PM Shuah Khan wrote: > > > >>>config KUNIT > >>>bool "Enable support for unit tests (KUnit)" > >>> + depends on PRINTK > >>>help > >>>

Re: [PATCH] x86/microcode: Add an option to reload microcode even if revision is unchanged

2019-09-06 Thread Raj, Ashok
On Fri, Sep 06, 2019 at 11:16:00PM +0200, Thomas Gleixner wrote: > > So if we want to do late microcode loading in a sane way then there are > only a few options and none of them exist today: > > 1) Micro-code contains a description of CPUID bits which are going to be > exposed after the

Re: [PATCH bpf-next 2/8] samples: bpf: Makefile: remove target for native build

2019-09-06 Thread Ivan Khoronzhuk
On Fri, Sep 06, 2019 at 05:04:08PM -0700, Alexei Starovoitov wrote: On Fri, Sep 6, 2019 at 4:52 PM Ivan Khoronzhuk wrote: On Fri, Sep 06, 2019 at 04:31:39PM -0700, Alexei Starovoitov wrote: >On Thu, Sep 05, 2019 at 12:22:06AM +0300, Ivan Khoronzhuk wrote: >> No need to set --target for native

Re: [GIT PULL] SCSI fixes for 5.3-rc7

2019-09-06 Thread James Smart
On 9/6/2019 4:18 PM, Linus Torvalds wrote: On Fri, Sep 6, 2019 at 1:39 PM James Bottomley wrote: diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c index 8d8c495b5b60..d65558619ab0 100644 --- a/drivers/scsi/lpfc/lpfc_attr.c +++ b/drivers/scsi/lpfc/lpfc_attr.c @@

Re: [GIT PULL] compiler-attributes for v5.3-rc8

2019-09-06 Thread Linus Torvalds
On Fri, Sep 6, 2019 at 5:07 PM Nick Desaulniers wrote: > > So then Miguel should maybe split off a new branch, rebase to keep > just the relevant patch > (https://github.com/ojeda/linux/commit/c97e82b97f4bba00304905fe7965f923abd2d755), > and send a PR to you for inclusion in 5.3? Yes. With the

Re: [GIT PULL] compiler-attributes for v5.3-rc8

2019-09-06 Thread Nick Desaulniers
On Fri, Sep 6, 2019 at 4:11 PM Linus Torvalds wrote: > > On Fri, Sep 6, 2019 at 3:47 PM Nick Desaulniers > wrote: > > > > Sedat reported > > (https://github.com/ClangBuiltLinux/linux/issues/619#issuecomment-520042577, > >

Re: [PATCH bpf-next 2/8] samples: bpf: Makefile: remove target for native build

2019-09-06 Thread Alexei Starovoitov
On Fri, Sep 6, 2019 at 4:52 PM Ivan Khoronzhuk wrote: > > On Fri, Sep 06, 2019 at 04:31:39PM -0700, Alexei Starovoitov wrote: > >On Thu, Sep 05, 2019 at 12:22:06AM +0300, Ivan Khoronzhuk wrote: > >> No need to set --target for native build, at least for arm, the > >> default target will be used

Re: [PATCH 1/4] softirq: implement IRQ flood detection mechanism

2019-09-06 Thread Ming Lei
On Fri, Sep 06, 2019 at 11:30:57AM -0700, Sagi Grimberg wrote: > > > > > Ok, so the real problem is per-cpu bounded tasks. > > > > I share Thomas opinion about a NAPI like approach. > > We already have that, its irq_poll, but it seems that for this > use-case, we get lower performance for some

Re: [GIT PULL] libnvdimm fix for v5.3-rc8

2019-09-06 Thread pr-tracker-bot
The pull request you sent on Fri, 6 Sep 2019 13:00:00 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm > tags/libnvdimm-fix-5.3-rc8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/7641033e17efe472c0e2fd6da00f1b75dc6788f3 Thank you! --

Re: [git pull] Input updates for v5.3-rc7

2019-09-06 Thread pr-tracker-bot
The pull request you sent on Fri, 6 Sep 2019 15:48:27 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9772152b4b3cd32a1aadf75e3d1a16a072d3e4a5 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] SCSI fixes for 5.3-rc7

2019-09-06 Thread pr-tracker-bot
The pull request you sent on Fri, 06 Sep 2019 16:39:12 -0400: > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/1e3778cb223e861808ae0daccf353536e7573eed Thank you! -- Deet-doot-dot, I am a bot.

Re: [RFC][PATCH 1/1] Carry ima measurement log for arm64 via kexec_file_load

2019-09-06 Thread prsriva
On 8/30/19 5:11 PM, Thiago Jung Bauermann wrote: Hello Prakhar, Answering this part from the cover letter: The code is in most part same as powerpc, i want to get feedback as to how/correct way to refactor the code so that cross architecture partial helpers can be put in a common place. I

Re: [PATCH bpf-next 2/8] samples: bpf: Makefile: remove target for native build

2019-09-06 Thread Ivan Khoronzhuk
On Fri, Sep 06, 2019 at 04:31:39PM -0700, Alexei Starovoitov wrote: On Thu, Sep 05, 2019 at 12:22:06AM +0300, Ivan Khoronzhuk wrote: No need to set --target for native build, at least for arm, the default target will be used anyway. In case of arm, for at least clang 5 - 10 it causes error

[RFC][PATCH v1 1/1] Add support for arm64 to carry ima measurement log in kexec_file_load

2019-09-06 Thread Prakhar Srivastava
During kexec_file_load, carrying forward the ima measurement log allows a verifying party to get the entire runtime event log since the last full reboot since that is when PCRs were last reset. Signed-off-by: Prakhar Srivastava --- arch/arm64/Kconfig | 7 +

[RFC][PATCH v1 0/1] Add support for arm64 to carry ima measurement log in kexec_file_load

2019-09-06 Thread Prakhar Srivastava
Add support for arm64 to carry ima measurement log to the next kexec'ed session triggered via kexec_file_load. - Top of Linux 5.3-rc6 Currently during kexec the kernel file signatures are/can be validated prior to actual load, the information(PE/ima signature) is not carried to the next session.

Re: [PATCH v3 11/16] ARM: mmp: add support for MMP3 SoC

2019-09-06 Thread Stephen Boyd
Quoting Lubomir Rintel (2019-08-30 15:07:38) > diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig > index 801fa1cd03217..8bb2ac83a1fcc 100644 > --- a/drivers/clk/Kconfig > +++ b/drivers/clk/Kconfig > @@ -301,6 +301,11 @@ config COMMON_CLK_STM32H7 > ---help--- > Support for

Re: [PATCH 1/2] power: sysfs: Add link to wakeup class device.

2019-09-06 Thread Matthias Kaehlcke
Hi Ravi, On Wed, Jul 24, 2019 at 10:43:54AM -0700, Ravi Chandra Sadineni wrote: > https://patchwork.kernel.org/patch/11045069/ creates a virtual > device To refer to unsubmitted patches in the commit message it is probably better to use the subject ("PM / wakeup: show wakeup sources stats in

Re: [PATCH bpf-next 8/8] samples: bpf: Makefile: base progs build on Makefile.progs

2019-09-06 Thread Alexei Starovoitov
On Thu, Sep 05, 2019 at 12:22:12AM +0300, Ivan Khoronzhuk wrote: > + > +If need to use environment of target board, the SYSROOT also can be set, > +pointing on FS of target board: > + > +make samples/bpf/ LLC=~/git/llvm/build/bin/llc \ > + CLANG=~/git/llvm/build/bin/clang \ > +

Re: [PATCH bpf-next 2/8] samples: bpf: Makefile: remove target for native build

2019-09-06 Thread Alexei Starovoitov
On Thu, Sep 05, 2019 at 12:22:06AM +0300, Ivan Khoronzhuk wrote: > No need to set --target for native build, at least for arm, the > default target will be used anyway. In case of arm, for at least > clang 5 - 10 it causes error like: > > clang: warning: unknown platform, assuming

Re: [PATCH v2] net: enable wireless core features with LEGACY_WEXT_ALLCONFIG

2019-09-06 Thread Greg KH
On Fri, Sep 06, 2019 at 12:24:00PM -0700, Mark Salyzyn wrote: > In embedded environments the requirements are to be able to pick and > chose which features one requires built into the kernel. If an > embedded environment wants to supports loading modules that have been > kbuilt out of tree, there

Re: [v5 PATCH] RISC-V: Fix unsupported isa string info.

2019-09-06 Thread Atish Patra
On Tue, 2019-08-20 at 00:59 -0700, Atish Patra wrote: > On Sun, 2019-08-18 at 11:16 -0700, h...@infradead.org wrote: > > On Fri, Aug 16, 2019 at 07:21:52PM +, Atish Patra wrote: > > > > > + if (isa[0] != '\0') { > > > > > + /* Add remainging isa strings */ > > > > > +

[PATCH] clk: qcom: fix QCS404 TuringCC regmap

2019-09-06 Thread Jorge Ramirez-Ortiz
The max register is 0x23004 as per the manual (the current max_register that this commit is fixing is actually out of bounds). Signed-off-by: Jorge Ramirez-Ortiz --- drivers/clk/qcom/turingcc-qcs404.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] Add PCI device IDs for family 17h, model 70h

2019-09-06 Thread Isaac Vaughn
Add the new Family 17h Model 70h PCI IDs (device 18h functions 0 and 6) to the AMD64 EDAC module. Cc: Borislav Petkov (maintainer:EDAC-AMD64) Cc: Mauro Carvalho Chehab (supporter:EDAC-CORE) Cc: James Morse (reviewer:EDAC-CORE) Cc: linux-e...@vger.kernel.org (open list:EDAC-AMD64) Cc:

Re: [GIT PULL] SCSI fixes for 5.3-rc7

2019-09-06 Thread Linus Torvalds
On Fri, Sep 6, 2019 at 1:39 PM James Bottomley wrote: > > > diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c > index 8d8c495b5b60..d65558619ab0 100644 > --- a/drivers/scsi/lpfc/lpfc_attr.c > +++ b/drivers/scsi/lpfc/lpfc_attr.c > @@ -5715,7 +5715,7 @@

[PATCH v2] powerpc/lockdep: fix a false positive warning

2019-09-06 Thread Qian Cai
The commit 108c14858b9e ("locking/lockdep: Add support for dynamic keys") introduced a boot warning on powerpc below, because since the commit 2d4f567103ff ("KVM: PPC: Introduce kvm_tmp framework") adds kvm_tmp[] into the .bss section and then free the rest of unused spaces back to the page

Re: [PATCH 1/4] softirq: implement IRQ flood detection mechanism

2019-09-06 Thread Ming Lei
On Fri, Sep 06, 2019 at 04:25:55PM -0600, Keith Busch wrote: > On Sat, Sep 07, 2019 at 06:19:21AM +0800, Ming Lei wrote: > > On Fri, Sep 06, 2019 at 05:50:49PM +, Long Li wrote: > > > >Subject: Re: [PATCH 1/4] softirq: implement IRQ flood detection mechanism > > > > > > > >Why are all 8 nvmes

Re: [GIT PULL] compiler-attributes for v5.3-rc8

2019-09-06 Thread Linus Torvalds
On Fri, Sep 6, 2019 at 3:47 PM Nick Desaulniers wrote: > > Sedat reported > (https://github.com/ClangBuiltLinux/linux/issues/619#issuecomment-520042577, > https://github.com/ClangBuiltLinux/linux/issues/619#issuecomment-520065525) > that only the bottom two hunks of that patch >

Re: general protection fault in dev_map_hash_update_elem

2019-09-06 Thread Toke Høiland-Jørgensen
Jesper Dangaard Brouer writes: > On Thu, 5 Sep 2019 14:44:37 -0700 > Alexei Starovoitov wrote: > >> On Thu, Sep 5, 2019 at 1:08 PM syzbot >> wrote: >> > >> > Hello, >> > >> > syzbot found the following crash on: >> > >> > HEAD commit:6d028043 Add linux-next specific files for 20190830 >> >

Re: [PATCH] xen/pci: try to reserve MCFG areas earlier

2019-09-06 Thread Igor Druzhinin
On 06/09/2019 23:30, Boris Ostrovsky wrote: > On 9/3/19 8:20 PM, Igor Druzhinin wrote: >> If MCFG area is not reserved in E820, Xen by default will defer its usage >> until Dom0 registers it explicitly after ACPI parser recognizes it as >> a reserved resource in DSDT. Having it reserved in E820

Re: [RFC PATCH 1/9] sched,cgroup: Add interface for latency-nice

2019-09-06 Thread Valentin Schneider
On 06/09/2019 18:10, Parth Shah wrote: > Right, CPU capacity can solve the problem of indicating the thermal throttle > to the scheduler. > AFAIU, the patchset from Thara changes CPU capacity to reflect Thermal > headroom of the CPU. > This is a nice mitigation but, > 1. Sometimes a single task

[git pull] Input updates for v5.3-rc7

2019-09-06 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem - a tiny update from Benjamin removing mistakenly added Elan PNP ID so that device is again handled by hid-multitouch. Changelog: -

Re: [RFC PATCH v4 0/9] printk: new ringbuffer implementation

2019-09-06 Thread John Ogness
On 2019-09-06, Peter Zijlstra wrote: >> I wish it was that simple. It is possible that I see it too >> complicated. But this comes to my mind: >> >> 1. The simple printk_buffer_store(buf, n) is not NMI safe. For this, >>we might need the reserve-store approach. > > Of course it is, and sure

Re: [GIT PULL] compiler-attributes for v5.3-rc8

2019-09-06 Thread Nick Desaulniers
On Fri, Sep 6, 2019 at 1:11 PM Miguel Ojeda wrote: > > On Thu, Sep 5, 2019 at 10:53 PM Linus Torvalds > wrote: > > > > That's probably what we should have done originally, avoiding all the > > issues with "what if we have multi-part strings" etc. > > > > But it's not what we did, probably

RE: [PATCH v5 0/9] Enhance the hv_vmbus driver to support hibernation

2019-09-06 Thread Dexuan Cui
> From: Sasha Levin > Sent: Friday, September 6, 2019 1:03 PM > On Thu, Sep 05, 2019 at 11:01:14PM +, Dexuan Cui wrote: > >This patchset (consisting of 9 patches) was part of the v4 patchset > >(consisting > >of 12 patches): > > > >The other 3 patches in v4 are posted in another patchset,

Re: [PATCH v2 0/5] Add support for O_MAYEXEC

2019-09-06 Thread Aleksa Sarai
On 2019-09-06, Andy Lutomirski wrote: > > On Sep 6, 2019, at 12:07 PM, Steve Grubb wrote: > > > >> On Friday, September 6, 2019 2:57:00 PM EDT Florian Weimer wrote: > >> * Steve Grubb: > >>> Now with LD_AUDIT > >>> $ LD_AUDIT=/home/sgrubb/test/openflags/strip-flags.so.0 strace ./test > >>> 2>&1

Re: Linux 5.2.13

2019-09-06 Thread Bhaskar Chowdhury
On 15:49 Fri 06 Sep 2019, Greg KH wrote: I'm announcing the release of the 5.2.13 kernel. Only users of the elantech driver need to update to fix a regression in a previous release. The updated 5.2.y git tree can be found at:

Re: [PATCH] mostpost: don't warn about symbols from another file

2019-09-06 Thread Denis Efremov
Hi, On 06.09.2019 18:10, Arnd Bergmann wrote: > On architectures such as ARM that have a list of symbols exported from > assembler in a separate C file, we get a lot of new warnings: > > WARNING: "__ashrdi3" [vmlinux] is a static (unknown) > WARNING: "__lshrdi3" [vmlinux] is a static (unknown) >

Re: [PATCH] riscv: move sifive_l2_cache.c to drivers/soc

2019-09-06 Thread Paul Walmsley
One other comment on this patch: On Fri, 6 Sep 2019, Paul Walmsley wrote: > On Sun, 18 Aug 2019, Christoph Hellwig wrote: > > > diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig > > index 200c04ce5b0e..9241b3e7a050 100644 > > --- a/drivers/edac/Kconfig > > +++ b/drivers/edac/Kconfig > >

Re: [PATCH v2 4/6] compiler-gcc.h: add asm_inline definition

2019-09-06 Thread Nick Desaulniers
On Fri, Sep 6, 2019 at 3:03 PM Segher Boessenkool wrote: > > On Fri, Sep 06, 2019 at 11:14:08AM -0700, Nick Desaulniers wrote: > > Here's the case that I think is perfect: > > https://developers.redhat.com/blog/2016/02/25/new-asm-flags-feature-for-x86-in-gcc-6/ > > > > Specifically the feature

Re: [PATCH 1/3] software node: implement reference properties

2019-09-06 Thread Dmitry Torokhov
On Fri, Sep 06, 2019 at 03:27:43PM +0300, Andy Shevchenko wrote: > On Thu, Sep 05, 2019 at 09:38:07PM -0700, Dmitry Torokhov wrote: > > It is possible to store references to software nodes in the same fashion as > > other static properties, so that users do not need to define separate > >

Re: [PATCH 1/4] softirq: implement IRQ flood detection mechanism

2019-09-06 Thread Keith Busch
On Sat, Sep 07, 2019 at 06:19:21AM +0800, Ming Lei wrote: > On Fri, Sep 06, 2019 at 05:50:49PM +, Long Li wrote: > > >Subject: Re: [PATCH 1/4] softirq: implement IRQ flood detection mechanism > > > > > >Why are all 8 nvmes sharing the same CPU for interrupt handling? > > >Shouldn't

Re: [PATCH] riscv: move sifive_l2_cache.c to drivers/soc

2019-09-06 Thread Paul Walmsley
On Mon, 19 Aug 2019, Christoph Hellwig wrote: > On Mon, Aug 19, 2019 at 08:09:04AM +0200, Borislav Petkov wrote: > > On Sun, Aug 18, 2019 at 10:29:35AM +0200, Christoph Hellwig wrote: > > > The sifive_l2_cache.c is in no way related to RISC-V architecture > > > memory management. It is a little

Re: [PATCH] xen/pci: try to reserve MCFG areas earlier

2019-09-06 Thread Boris Ostrovsky
On 9/3/19 8:20 PM, Igor Druzhinin wrote: > If MCFG area is not reserved in E820, Xen by default will defer its usage > until Dom0 registers it explicitly after ACPI parser recognizes it as > a reserved resource in DSDT. Having it reserved in E820 is not > mandatory according to "PCI Firmware

Re: [PATCH] riscv: move sifive_l2_cache.c to drivers/soc

2019-09-06 Thread Paul Walmsley
On Sun, 18 Aug 2019, Christoph Hellwig wrote: > The sifive_l2_cache.c is in no way related to RISC-V architecture > memory management. It is a little stub driver working around the fact > that the EDAC maintainers prefer their drivers to be structured in a > certain way that doesn't fit the

[PATCH v2 3/3] software node: remove separate handling of references

2019-09-06 Thread Dmitry Torokhov
Now that all users of references have moved to reference properties, we can remove separate handling of references. Signed-off-by: Dmitry Torokhov --- v1->v2: - dropped rename of struct software_node_ref_args -> struct software_node_reference drivers/base/swnode.c| 44

[PATCH v2 2/3] platform/x86: intel_cht_int33fe: use inline reference properties

2019-09-06 Thread Dmitry Torokhov
Now that static device properties allow defining reference properties together with all other types of properties, instead of managing them separately, let's adjust the driver. Signed-off-by: Dmitry Torokhov --- v1-v2: - rebased on top of linux-next-20190904

[PATCH v2 1/3] software node: implement reference properties

2019-09-06 Thread Dmitry Torokhov
It is possible to store references to software nodes in the same fashion as other static properties, so that users do not need to define separate structures: static const struct software_node gpio_bank_b_node = { .name = "B", }; static const struct property_entry simone_key_enter_props[]

Re: [PATCH v2 2/2] clk: Add support for AST2600 SoC

2019-09-06 Thread Stephen Boyd
Quoting Joel Stanley (2019-08-25 07:18:48) > The ast2600 is a new BMC SoC from ASPEED. It contains many more clocks > than the previous iterations, so support is broken out into it's own > driver. > > Signed-off-by: Joel Stanley > --- Applied to clk-next

Re: [PATCH v2 1/2] clk: aspeed: Move structures to header

2019-09-06 Thread Stephen Boyd
Quoting Joel Stanley (2019-08-25 07:18:47) > They will be reused by the ast2600 driver. > > Signed-off-by: Joel Stanley > --- Applied to clk-next

Re: [PATCH] platform/chrome: wilco_ec: Add debugfs test_event file

2019-09-06 Thread Nick Crews
Thanks for the patch Daniel! A few thoughts that I didn't have on the review on Gerrit, sorry :) After those changes, Reviewed-by: Nick Crews On Fri, Sep 6, 2019 at 4:42 PM Daniel Campello wrote: > > This change introduces a new debugfs file 'test_event' that when written > to causes the EC to

Re: [PATCH 1/4] softirq: implement IRQ flood detection mechanism

2019-09-06 Thread Ming Lei
On Fri, Sep 06, 2019 at 05:50:49PM +, Long Li wrote: > >Subject: Re: [PATCH 1/4] softirq: implement IRQ flood detection mechanism > > > >On Fri, Sep 06, 2019 at 09:48:21AM +0800, Ming Lei wrote: > >> When one IRQ flood happens on one CPU: > >> > >> 1) softirq handling on this CPU can't make

Re: [PATCH v2 1/5] fs: Add support for an O_MAYEXEC flag on sys_open()

2019-09-06 Thread Aleksa Sarai
On 2019-09-07, Aleksa Sarai wrote: > On 2019-09-06, Jeff Layton wrote: > > On Sat, 2019-09-07 at 03:13 +1000, Aleksa Sarai wrote: > > > On 2019-09-06, Jeff Layton wrote: > > > > On Fri, 2019-09-06 at 18:06 +0200, Mickaël Salaün wrote: > > > > > On 06/09/2019 17:56, Florian Weimer wrote: > > > >

Re: [RFC PATCH v3 00/16] Core scheduling v3

2019-09-06 Thread Tim Chen
On 9/4/19 6:44 PM, Julien Desfossez wrote: >@@ -3853,7 +3880,7 @@ pick_next_task(struct rq *rq, struct task_struct *prev, >struct rq_flags *rf) > goto done; > } > >- if (!is_idle_task(p)) >+ if

Re: [PATCH v2 1/5] fs: Add support for an O_MAYEXEC flag on sys_open()

2019-09-06 Thread Aleksa Sarai
On 2019-09-06, Jeff Layton wrote: > On Fri, 2019-09-06 at 13:06 -0700, Andy Lutomirski wrote: > > > On Sep 6, 2019, at 12:43 PM, Jeff Layton wrote: > > > > > > > On Sat, 2019-09-07 at 03:13 +1000, Aleksa Sarai wrote: > > > > > On 2019-09-06, Jeff Layton wrote: > > > > > > On Fri, 2019-09-06 at

Re: [PATCH v2 1/5] fs: Add support for an O_MAYEXEC flag on sys_open()

2019-09-06 Thread Aleksa Sarai
On 2019-09-06, Jeff Layton wrote: > On Sat, 2019-09-07 at 03:13 +1000, Aleksa Sarai wrote: > > On 2019-09-06, Jeff Layton wrote: > > > On Fri, 2019-09-06 at 18:06 +0200, Mickaël Salaün wrote: > > > > On 06/09/2019 17:56, Florian Weimer wrote: > > > > > Let's assume I want to add support for this

Re: [PATCH 2/2] clk: Add support for AST2600 SoC

2019-09-06 Thread Stephen Boyd
Quoting Joel Stanley (2019-08-18 19:03:54) > On Fri, 16 Aug 2019 at 17:14, Stephen Boyd wrote: > > > > Quoting Joel Stanley (2019-08-16 08:58:06) > > > +static const char * const vclk_parent_names[] = { > > > > Can you use the new way of specifying clk parents instead of just using > > strings? >

Re: [PATCH] gpio/mpc8xxx: change irq handler from chained to normal

2019-09-06 Thread Li Yang
On Fri, Sep 6, 2019 at 10:20 AM Hui Song wrote: > > From: Song Hui > The English below need to be fixed. > more one gpio controller use share one interrupt, > make request interrupt to be shared. More than one gpio controllers can share one interrupt, change the driver to request shared irq.

Re: [PATCH net-next 3/3] net: dsa: microchip: remove NET_DSA_TAG_KSZ_COMMON

2019-09-06 Thread Marek Vasut
On 9/6/19 11:30 PM, George McCollister wrote: > Remove the superfluous NET_DSA_TAG_KSZ_COMMON and just use the existing > NET_DSA_TAG_KSZ. Update the description to mention the three switch > families it supports. No functional change. > > Signed-off-by: George McCollister Reviewed-by: Marek

Re: [PATCH net-next 2/3] net: dsa: microchip: add ksz9567 to ksz9477 driver

2019-09-06 Thread Marek Vasut
On 9/6/19 11:30 PM, George McCollister wrote: > Add support for the KSZ9567 7-Port Gigabit Ethernet Switch to the > ksz9477 driver. The KSZ9567 supports both SPI and I2C. Oddly the > ksz9567 is already in the device tree binding documentation. > > Signed-off-by: George McCollister > --- >

Re: [PATCH net-next 1/3] net: dsa: microchip: add KSZ9477 I2C driver

2019-09-06 Thread Marek Vasut
On 9/6/19 11:30 PM, George McCollister wrote: [...] > --- /dev/null > +++ b/drivers/net/dsa/microchip/ksz9477_i2c.c > @@ -0,0 +1,100 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Microchip KSZ9477 series register access through I2C > + * > + * Copyright (C) 2018-2019 Microchip Technology

Re: [PATCH 02/11] mmc: dw_mmc: Re-store SDIO IRQs mask at system resume

2019-09-06 Thread Doug Anderson
Hi, On Fri, Sep 6, 2019 at 2:20 AM Ulf Hansson wrote: > > On Fri, 6 Sep 2019 at 01:47, Doug Anderson wrote: > > > > Hi, > > > > On Tue, Sep 3, 2019 at 7:22 AM Ulf Hansson wrote: > > > > > > In cases when SDIO IRQs have been enabled, runtime suspend is prevented by > > > the driver. However,

RE: [Patch v4] storvsc: setup 1:1 mapping between hardware queue and CPU queue

2019-09-06 Thread Long Li
>Subject: Re: [Patch v4] storvsc: setup 1:1 mapping between hardware queue >and CPU queue > >On Fri, Sep 06, 2019 at 10:24:20AM -0700, lon...@linuxonhyperv.com wrote: >>From: Long Li >> >>storvsc doesn't use a dedicated hardware queue for a given CPU queue. >>When issuing I/O, it selects

  1   2   3   4   5   6   7   8   9   >