Re: [PATCH net-next v7 14/17] ethtool: set link settings with LINKINFO_SET request

2019-10-11 Thread Jiri Pirko
Thu, Oct 10, 2019 at 09:30:44PM CEST, mkube...@suse.cz wrote: >On Thu, Oct 10, 2019 at 05:37:54PM +0200, Jiri Pirko wrote: >> Wed, Oct 09, 2019 at 10:59:43PM CEST, mkube...@suse.cz wrote: >> >Implement LINKINFO_SET netlink request to set link settings queried by >> >LINKINFO_GET message. >> > >>

Re: [RESEND PATCH] ARM/hw_breakpoint: add ARMv8.1/ARMv8.2 debug architecutre versions support in enable_monitor_mode()

2019-10-11 Thread Uwe Kleine-König
Hello, just noticed a typo in the subject line while going through my lakml mailbox: s/architecutre/architecture/ Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König| Industrial Linux Solutions | http://www.pengutronix.de/ |

Re: msm8996: sdhci-msm: apq8096-db820c sdhci fails to init - "Timeout waiting for hardware interrupt."

2019-10-11 Thread Brian Masney
Hi Paolo, On Thu, Oct 10, 2019 at 04:32:32PM +0200, Paolo Pisati wrote: > Sdhci consistenlty fails to initialize (and thus work) on my apq8096-db820c. > > The issue is present since v5.0[*] mainline up to latest v5.4-rc2, using > defconfig and: > > CONFIG_SCSI_UFS_QCOM=y >

[PATCH 0/5] Remove declarations of new typedef in

2019-10-11 Thread Wambui Karuga
This patchset removes various typedef declarations of new data types in drivers/staging/octeon/octeon-stubs.h. The series also changes their old uses with the new declaration format. Wambui Karuga (5): staging: octeon: remove typedef declaration for cvmx_wqe_t staging: octeon: remove typedef

[PATCH 1/5] staging: octeon: remove typedef declaration for cvmx_wqe_t

2019-10-11 Thread Wambui Karuga
Remove typedef declaration from struct cvmx_wqe_t in drivers/staging/octeon/octeon-stubs.h. Also replace its previous uses with new struct declaration. Issue found by checkpatch.pl Signed-off-by: Wambui Karuga --- drivers/staging/octeon/ethernet-rx.c | 6 +++---

[PATCH 2/5] staging: octeon: remove typedef declaration for cvmx_helper_link_info_t

2019-10-11 Thread Wambui Karuga
Remove declaration of union cvmx_helper_link_info_t as typedef in drivers/staging/octeon/octeon-stubs.h. Also replace its previous uses with new union declaration. Issue found by checkpatch.pl Signed-off-by: Wambui Karuga --- drivers/staging/octeon/ethernet-mdio.c | 6 +++---

[PATCH 3/5] staging: octeon: remove typedef declaration for cvmx_fau_reg_32_t

2019-10-11 Thread Wambui Karuga
Remove typedef declaration for enum cvmx_fau_reg_32_t in drivers/staging/octeon/octeon-stubs.h. Also replace its previous uses with new declaration format. Issue found by checkpatch.pl Signed-off-by: Wambui Karuga --- drivers/staging/octeon/octeon-stubs.h | 14 -- 1 file changed, 8

[PATCH 4/5] staging: octeon: remove typedef declartion for cvmx_pko_command_word0_t

2019-10-11 Thread Wambui Karuga
Removes addition of new typedef declaration for cvmx_pko_command_word0_t in drivers/staging/octeon/octeon-stubs.h. Also replace previous instances with new union declaration. Signed-off-by: Wambui Karuga --- drivers/staging/octeon/ethernet-tx.c | 2 +- drivers/staging/octeon/octeon-stubs.h | 6

[PATCH 5/5] staging: octeon: remove typedef declaration for cvmx_fau_op_size_t

2019-10-11 Thread Wambui Karuga
Remove addition of new typedef for enum cvmx_fau_op_size_t in drivers/staging/octeon/octeon-stubs.h. Issue found by checkpatch.pl Signed-off-by: Wambui Karuga --- drivers/staging/octeon/octeon-stubs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH net-next v7 09/17] ethtool: generic handlers for GET requests

2019-10-11 Thread Jiri Pirko
Thu, Oct 10, 2019 at 08:04:01PM CEST, mkube...@suse.cz wrote: >On Thu, Oct 10, 2019 at 03:56:39PM +0200, Jiri Pirko wrote: >> Wed, Oct 09, 2019 at 10:59:27PM CEST, mkube...@suse.cz wrote: [...] >> >+ const struct nlmsghdr *nlhdr, struct net *net, >> >+

Re: [PATCH net-next v2] genetlink: do not parse attributes for families with zero maxattr

2019-10-11 Thread Jiri Pirko
Thu, Oct 10, 2019 at 07:21:02PM CEST, jakub.kicin...@netronome.com wrote: >On Thu, 10 Oct 2019 12:34:02 +0200 (CEST), Michal Kubecek wrote: >> Commit c10e6cf85e7d ("net: genetlink: push attrbuf allocation and parsing >> to a separate function") moved attribute buffer allocation and attribute >>

Re: [PATCH v2 2/2] mm/memory-failure.c: Don't access uninitialized memmaps in memory_failure()

2019-10-11 Thread Naoya Horiguchi
On Thu, Oct 10, 2019 at 09:58:40AM +0200, David Hildenbrand wrote: > On 10.10.19 09:52, David Hildenbrand wrote: > > On 10.10.19 09:35, Michal Hocko wrote: > >> On Thu 10-10-19 09:27:32, David Hildenbrand wrote: > >>> On 09.10.19 16:43, Michal Hocko wrote: > On Wed 09-10-19 16:24:35, David

Re: [PATCH v1] drivers/base/memory.c: Don't access uninitialized memmaps in soft_offline_page_store()

2019-10-11 Thread Naoya Horiguchi
On Thu, Oct 10, 2019 at 04:12:00PM +0200, David Hildenbrand wrote: > Uninitialized memmaps contain garbage and in the worst case trigger kernel > BUGs, especially with CONFIG_PAGE_POISONING. They should not get > touched. > > Right now, when trying to soft-offline a PFN that resides on a memory >

Re: [Outreachy kernel] [PATCH 1/5] staging: octeon: remove typedef declaration for cvmx_wqe_t

2019-10-11 Thread Julia Lawall
On Fri, 11 Oct 2019, Wambui Karuga wrote: > Remove typedef declaration from struct cvmx_wqe_t in You can remove the _t from the name as well. > drivers/staging/octeon/octeon-stubs.h. It's not really necessary to give the name of the file in the log message, as it can easily be seen below.

Re: [PATCH] staging: wfx: fix an undefined reference error when CONFIG_MMC=m

2019-10-11 Thread zhong jiang
On 2019/10/11 12:26, Greg KH wrote: > On Fri, Oct 11, 2019 at 11:02:19AM +0800, zhong jiang wrote: >> I hit the following error when compile the kernel. >> >> drivers/staging/wfx/main.o: In function `wfx_core_init': >> /home/z00352263/linux-next/linux-next/drivers/staging/wfx/main.c:488: >>

[PATCH v2] staging: wfx: fix an undefined reference error when CONFIG_MMC=m

2019-10-11 Thread zhong jiang
drivers/staging/wfx/main.o: In function `wfx_core_init': /home/z00352263/linux-next/linux-next/drivers/staging/wfx/main.c:488: undefined reference to `sdio_register_driver' drivers/staging/wfx/main.o: In function `wfx_core_exit':

Re: [PATCH] MAINTAINERS: Remove Simon as Renesas SoC Co-Maintainer

2019-10-11 Thread Geert Uytterhoeven
Hi Stephen, On Thu, Oct 10, 2019 at 10:35 PM Stephen Rothwell wrote: > On Thu, 10 Oct 2019 14:30:46 +0200 Geert Uytterhoeven > wrote: > > At the end of the v5.3 upstream kernel development cycle, Simon stepped > > down from his role as Renesas SoC maintainer. > > > > Remove his maintainership,

[PATCH V5 0/2] mm/debug: Add tests validating architecture page table helpers

2019-10-11 Thread Anshuman Khandual
This series adds a test validation for architecture exported page table helpers. Patch in the series adds basic transformation tests at various levels of the page table. Before that it exports gigantic page allocation function from HugeTLB. This test was originally suggested by Catalin during

[PATCH V5 1/2] mm/hugetlb: Make alloc_gigantic_page() available for general use

2019-10-11 Thread Anshuman Khandual
alloc_gigantic_page() implements an allocation method where it scans over various zones looking for a large contiguous memory block which could not have been allocated through the buddy allocator. A subsequent patch which tests arch page table helpers needs such a method to allocate PUD_SIZE sized

[PATCH V5 2/2] mm/debug: Add tests validating architecture page table helpers

2019-10-11 Thread Anshuman Khandual
This adds tests which will validate architecture page table helpers and other accessors in their compliance with expected generic MM semantics. This will help various architectures in validating changes to existing page table helpers or addition of new ones. Test page table and memory pages

Re: [PATCH 1/5] KPC2000: kpc2000_spi.c: Fix style issues (line length)

2019-10-11 Thread Greg KH
On Thu, Oct 10, 2019 at 10:51:51PM -0700, Chandra Annamaneni wrote: > Resoved: "WARNING: line over 80 characters" from checkpatch.pl Please put "staging:" in your subject line, makes it easier to sort and handle. It should look something like: staging: kpc2000_spi: fix line length issues

Re: [PATCH 2/5] KPC2000: kpc2000_spi.c: Fix style issues (missing blank line)

2019-10-11 Thread Greg KH
On Thu, Oct 10, 2019 at 10:51:52PM -0700, Chandra Annamaneni wrote: > Resolved: "CHECK: Please use a blank line after.." from checkpatch.pl > > Signed-off-by: Chandra Annamaneni Please fix the subject lines for all of these patches and resend. Also, this is a second set of patches, right?

Re: [PATCH 5.3 000/148] 5.3.6-stable review

2019-10-11 Thread Greg Kroah-Hartman
On Thu, Oct 10, 2019 at 09:02:45PM -0600, shuah wrote: > On 10/10/19 2:34 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.3.6 release. > > There are 148 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with

Re: [PATCH net-next v7 00/17] ethtool netlink interface, part 1

2019-10-11 Thread Johannes Berg
On Thu, 2019-10-10 at 17:48 -0700, Jakub Kicinski wrote: > On Wed, 9 Oct 2019 22:59:00 +0200 (CEST), Michal Kubecek wrote: > > This is first part of netlink based alternative userspace interface for > > ethtool. It aims to address some long known issues with the ioctl > > interface, mainly lack

Re: [PATCH 5.3 000/148] 5.3.6-stable review

2019-10-11 Thread Greg Kroah-Hartman
On Thu, Oct 10, 2019 at 10:39:23PM +0530, Naresh Kamboju wrote: > On Thu, 10 Oct 2019 at 14:09, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.3.6 release. > > There are 148 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH 5.3 000/148] 5.3.6-stable review

2019-10-11 Thread Greg Kroah-Hartman
On Thu, Oct 10, 2019 at 03:19:54PM -0700, Guenter Roeck wrote: > On 10/10/19 1:34 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.3.6 release. > > There are 148 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 2/3] PCI: pciehp: Wait for PDS if in-band presence is disabled

2019-10-11 Thread Andy Shevchenko
On Thu, Oct 10, 2019 at 11:37 PM Stuart Hayes wrote: > Thank you for the feedback! An infinite loop is used several other places in > this driver--this keeps the style similar. I can change it as you suggest, > though, if that would be preferable to consistency. Better to start the change

Re: [PATCH 05/19] EDAC, mc: Reduce indentation level in edac_mc_handle_error()

2019-10-11 Thread Robert Richter
On 10.10.19 15:10:53, Joe Perches wrote: > On Thu, 2019-10-10 at 20:25 +, Robert Richter wrote: > > Reduce the indentation level in edac_mc_handle_error() a bit by using > > continue. No functional changes. > > Seems fine, but trivially below: > > > diff --git a/drivers/edac/edac_mc.c

Re: [PATCH v2 2/2] mm/memory-failure.c: Don't access uninitialized memmaps in memory_failure()

2019-10-11 Thread Naoya Horiguchi
On Thu, Oct 10, 2019 at 09:17:42AM +0200, David Hildenbrand wrote: > On 10.10.19 02:26, Naoya Horiguchi wrote: > > On Wed, Oct 09, 2019 at 04:24:35PM +0200, David Hildenbrand wrote: > >> We should check for pfn_to_online_page() to not access uninitialized > >> memmaps. Reshuffle the code so we

Re: [PATCH] usb: mtk-xhci: Set the XHCI_NO_64BIT_SUPPORT quirk

2019-10-11 Thread Chunfeng Yun
On Fri, 2019-10-11 at 13:35 +0900, Tomasz Figa wrote: > On Thu, Oct 10, 2019 at 7:59 PM Chunfeng Yun > wrote: > > > > On Thu, 2019-10-10 at 18:00 +0900, Tomasz Figa wrote: > > > Hi Chunfeng, > > > > > > On Thu, Oct 10, 2019 at 5:45 PM Chunfeng Yun > > > wrote: > > > > > > > > Hi, Tomasz, > > >

Re: [RESEND PATCH] ARM/hw_breakpoint: add ARMv8.1/ARMv8.2 debug architecutre versions support in enable_monitor_mode()

2019-10-11 Thread Candle Sun
Thanks Uwe for pointing out my typing error. Will, Is the patch ok? Do I need to send another version? Candle Candle On Fri, Oct 11, 2019 at 2:00 PM Uwe Kleine-König wrote: > > Hello, > > just noticed a typo in the subject line while going through my lakml > mailbox: > >

Re: [PATCH v3 2/3] ARM: dts: add Netronix E60K02 board common file

2019-10-11 Thread Marco Felsch
Hi Andreas, On 19-10-10 21:23, Andreas Kemnade wrote: > The Netronix board E60K02 can be found some several Ebook-Readers, > at least the Kobo Clara HD and the Tolino Shine 3. The board > is equipped with different SoCs requiring different pinmuxes. > > For now the following peripherals are

Re: [RFC PATCH] iommu/vt-d: Fix IOMMU field not populated on device hot re-plug

2019-10-11 Thread Lu Baolu
Hi Janusz, On 9/3/19 3:41 PM, Janusz Krzysztofik wrote: Hi Baolu, On Tuesday, September 3, 2019 3:29:40 AM CEST Lu Baolu wrote: Hi Janusz, On 9/2/19 4:37 PM, Janusz Krzysztofik wrote: I am not saying that keeping data is not acceptable. I just want to check whether there are any other

Re: [PATCH] Bluetooth: hci_qca: fix in-band sleep enablement

2019-10-11 Thread Harish Bandi
++ Balakrishna On 2019-10-09 14:21, Claire Chang wrote: Enabling in-band sleep when there is no patch/nvm-config found and bluetooth is running with the original fw/config. Fixes: ba8f35979002 ("Bluetooth: hci_qca: Avoid setup failure on missing rampatch") Fixes: 7dc5fe0814c3 ("Bluetooth:

Re: [PATCH 3/3] x86/ftrace: Use text_poke()

2019-10-11 Thread Peter Zijlstra
On Fri, Oct 04, 2019 at 10:10:47AM +0200, Daniel Bristot de Oliveira wrote: > Currently, ftrace_rec entries are ordered inside the group of functions, but > "groups of function" are not ordered. So, the current int3 handler does a (*): We can insert a sort() of the vector right before doing

Re: [PATCH RFC] perf_event: Add support for LSM and SELinux checks

2019-10-11 Thread Peter Zijlstra
On Thu, Oct 10, 2019 at 02:31:14PM -0400, Joel Fernandes wrote: > On Thu, Oct 10, 2019 at 07:09:49PM +0200, Peter Zijlstra wrote: > > Yes, I did notice, I found it weird. > > > > If you have CAP_IPC_LIMIT you should be able to bust mlock memory > > limits, so I don't see why we should further

Re: [PATCH] rtc: xilinx: Fix calibval variable type

2019-10-11 Thread Michal Simek
On 08. 10. 19 16:31, Alexandre Belloni wrote: > Hi, > > On 08/10/2019 16:25:41+0200, Michal Simek wrote: >> From: Srinivas Goud >> >> This patch fixes the warnings reported by static code analysis. >> Updated calibval variable type to unsigned type from signed. >> >> Signed-off-by: Srinivas Goud

[PATCH] staging: isdn: remove assignment in if conditionals

2019-10-11 Thread Wambui Karuga
Remove variable assignment in if statements in drivers/staging/isdn/avm/b1.c. Issues reported by checkpatch.pl as: ERROR: do not use assignment in if condition Also refactor code around some if statements to remove comparisons to NULL and unnecessary braces in single statement blocks.

[PATCH] habanalabs: add opcode to INFO IOCTL to return clock rate

2019-10-11 Thread Oded Gabbay
Add a new opcode to the INFO IOCTL to allow the user application to retrieve the ASIC's current and maximum clock rate. The rate is returned in MHz. Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/goya/goya.c| 3 ++- drivers/misc/habanalabs/goya/goyaP.h | 2 ++

Re: [PATCH] Bluetooth: hci_qca: fix in-band sleep enablement

2019-10-11 Thread Balakrishna Godavarthi
Hi Claire, This change will not work as we need fw files to be loaded tofor IBS to active. may i know on which chipset you have this issue of IBS active even with out fw download. On 2019-10-11 12:31, Harish Bandi wrote: ++ Balakrishna On 2019-10-09 14:21, Claire Chang wrote: Enabling

Re: [PATCH v1 0/2] perf stat: Support --all-kernel and --all-user

2019-10-11 Thread Jiri Olsa
On Fri, Oct 11, 2019 at 10:50:35AM +0800, Jin, Yao wrote: > > > On 10/10/2019 8:33 PM, Arnaldo Carvalho de Melo wrote: > > Em Thu, Oct 10, 2019 at 04:33:57PM +0800, Jin, Yao escreveu: > > > > > > > > > On 10/10/2019 4:00 PM, Jiri Olsa wrote: > > > > On Thu, Oct 10, 2019 at 02:46:36PM +0800,

Re: [PATCH net-next 2/2] net: core: increase the default size of GRO_NORMAL skb lists to flush

2019-10-11 Thread Alexander Lobakin
Hi Edward, Edward Cree wrote 10.10.2019 21:16: On 10/10/2019 15:42, Alexander Lobakin wrote: Commit 323ebb61e32b ("net: use listified RX for handling GRO_NORMAL skbs") have introduced a sysctl variable gro_normal_batch for defining a limit for listified Rx of GRO_NORMAL skbs. The initial value

[Patch v4 2/2] mm/rmap.c: reuse mergeable anon_vma as parent when fork

2019-10-11 Thread Wei Yang
In function __anon_vma_prepare(), we will try to find anon_vma if it is possible to reuse it. While on fork, the logic is different. Since commit 5beb49305251 ("mm: change anon_vma linking to fix multi-process server scalability issue"), function anon_vma_clone() tries to allocate new anon_vma

[Patch v4 1/2] mm/rmap.c: don't reuse anon_vma if we just want a copy

2019-10-11 Thread Wei Yang
Before commit 7a3ef208e662 ("mm: prevent endless growth of anon_vma hierarchy"), anon_vma_clone() doesn't change dst->anon_vma. While after this commit, anon_vma_clone() will try to reuse an exist one on forking. But this commit go a little bit further for the case not forking. anon_vma_clone()

Re: [PATCH net-next1/2] net: core: use listified Rx for GRO_NORMAL in napi_gro_receive()

2019-10-11 Thread Alexander Lobakin
Edward Cree wrote 10.10.2019 21:23: On 10/10/2019 15:42, Alexander Lobakin wrote: Commit 323ebb61e32b4 ("net: use listified RX for handling GRO_NORMAL skbs") made use of listified skb processing for the users of napi_gro_frags(). The same technique can be used in a way more common

Re: [PATCH v2 2/2] pinctrl: iproc: use unique name for irq chip

2019-10-11 Thread Linus Walleij
On Mon, Oct 7, 2019 at 10:14 AM Marc Zyngier wrote: > On Mon, 07 Oct 2019 08:30:50 +0100, > Geert Uytterhoeven wrote: > > > > Hi Chris, > > > > CC MarcZ > > > > On Thu, Oct 3, 2019 at 2:03 AM Chris Packham > > wrote: > > > Use the dev_name(dev) for the irqc->name so that we get unique names > >

Re: [PATCH v3 07/14] dt-bindings: dma: ti: Add document for K3 UDMA

2019-10-11 Thread Peter Ujfalusi
Rob, On 10/10/2019 20.52, Rob Herring wrote: > On Tue, Oct 01, 2019 at 09:16:57AM +0300, Peter Ujfalusi wrote: >> New binding document for >> Texas Instruments K3 NAVSS Unified DMA – Peripheral Root Complex (UDMA-P). >> >> UDMA-P is introduced as part of the K3 architecture and can be found in >>

Re: [PATCH] x86/mce: Lower throttling MCE messages to warnings

2019-10-11 Thread Benjamin Berg
Hi Srinivas, On Thu, 2019-10-10 at 14:08 -0700, Srinivas Pandruvada wrote: > I have a patch to address this. Instead of avoiding any critical > warnings or wait for 300 seconds for next one, the warning is based on > how long the system is working on throttled condition. If for example > the fan

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

2019-10-11 Thread Aaron Lu
On Thu, Oct 10, 2019 at 10:29:47AM -0400, Vineeth Remanan Pillai wrote: > > I didn't see why we need do this. > > > > We only need to have the root level sched entities' vruntime become core > > wide since we will compare vruntime for them across hyperthreads. For > > sched entities on sub

Re: [PATCH 3/3] x86/ftrace: Use text_poke()

2019-10-11 Thread Daniel Bristot de Oliveira
On 11/10/2019 09:01, Peter Zijlstra wrote: > On Fri, Oct 04, 2019 at 10:10:47AM +0200, Daniel Bristot de Oliveira wrote: >> Currently, ftrace_rec entries are ordered inside the group of functions, but >> "groups of function" are not ordered. So, the current int3 handler does a >> (*): > We can

Re: [PATCH 2/2] clk: meson: a1: add support for Amlogic A1 clock driver

2019-10-11 Thread Jerome Brunet
On Tue 08 Oct 2019 at 10:03, Jian Hu wrote: > Hi, Jerome > > PLL clocks and peripheral clocks rely on each other. > > for fixed_pll, we can describe its parent like this: > > xtal-->xtal_fixpll-->fixed_dco-->fixed_pll > > xtal fixpll is belong to peripheral region. >

Re: [PATCH v3 2/3] ARM: dts: add Netronix E60K02 board common file

2019-10-11 Thread Andreas Kemnade
On Fri, 11 Oct 2019 08:56:09 +0200 Marco Felsch wrote: > Hi Andreas, > > On 19-10-10 21:23, Andreas Kemnade wrote: > > The Netronix board E60K02 can be found some several Ebook-Readers, > > at least the Kobo Clara HD and the Tolino Shine 3. The board > > is equipped with different SoCs

Re: [PATCH 2/2] gpio: Add xgs-iproc driver

2019-10-11 Thread Linus Walleij
Hi Chris! Thanks for your patch! On Fri, Oct 4, 2019 at 3:25 AM Chris Packham wrote: > This driver supports the Chip Common A GPIO controller present on a > number of Broadcom switch ASICs with integrated SoCs. The controller is > similar to the pinctrl-nsp-gpio and pinctrl-iproc-gpio blocks

Re: [PATCH v5 0/9] Enable Sub-page Write Protection Support

2019-10-11 Thread Yang Weijiang
On Thu, Oct 10, 2019 at 02:42:51PM -0700, Jim Mattson wrote: > On Tue, Sep 17, 2019 at 1:52 AM Yang Weijiang wrote: > > > > EPT-Based Sub-Page write Protection(SPP)is a HW capability which allows > > Virtual Machine Monitor(VMM) to specify write-permission for guest > > physical memory at a

Re: [PATCH v7 0/6] tpm: Add driver for cr50

2019-10-11 Thread Heiko Stübner
Am Montag, 7. Oktober 2019, 00:39:00 CEST schrieb Jarkko Sakkinen: > On Fri, Sep 20, 2019 at 11:32:34AM -0700, Stephen Boyd wrote: > > This patch series adds support for the H1 secure microcontroller > > running cr50 firmware found on various recent Chromebooks. This driver > > is necessary to

Re: [PATCH v2 12/29] vmlinux.lds.h: Replace RO_DATA_SECTION with RO_DATA

2019-10-11 Thread Geert Uytterhoeven
On Fri, Oct 11, 2019 at 2:07 AM Kees Cook wrote: > Finish renaming RO_DATA_SECTION to RO_DATA. (Calling this a "section" > is a lie, since it's multiple sections and section flags cannot be > applied to the macro.) > > Signed-off-by: Kees Cook > arch/m68k/kernel/vmlinux-nommu.lds | 2 +- For

Re: [PATCH v3 02/10] dt-bindings: sram: Convert Samsung Exynos SYSRAM bindings to json-schema

2019-10-11 Thread Krzysztof Kozlowski
On Thu, Oct 10, 2019 at 02:33:56PM -0500, Rob Herring wrote: > On Wed, Oct 02, 2019 at 06:43:08PM +0200, Krzysztof Kozlowski wrote: > > Convert Samsung Exynos SYSRAM bindings to DT schema format using > > json-schema. > > > > Signed-off-by: Krzysztof Kozlowski > > > > --- > > > > Changes since

Re: [PATCH -next] samples: watch_queue: depends on HEADERS_INSTALL

2019-10-11 Thread David Howells
I've folded in this patch. David

Re: [PATCH -next] security: smack: add watch_queue.h header to fix build errors

2019-10-11 Thread David Howells
I've folded in this patch. David

Re: [PATCH] samples/watch_test - fix build error

2019-10-11 Thread David Howells
This change is folded in, thanks (from Randy's patch).

[PATCH] pinctrl: berlin: as370: fix a typo s/spififib/spdifib

2019-10-11 Thread Jisheng Zhang
The function should be spdifib, fix this typo. Fixes: 423ddc580b13 ("pinctrl: berlin: add the as370 SoC pinctrl driver") Signed-off-by: Jisheng Zhang --- drivers/pinctrl/berlin/pinctrl-as370.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [Patch v4 1/2] mm/rmap.c: don't reuse anon_vma if we just want a copy

2019-10-11 Thread Konstantin Khlebnikov
On 11/10/2019 10.22, Wei Yang wrote: Before commit 7a3ef208e662 ("mm: prevent endless growth of anon_vma hierarchy"), anon_vma_clone() doesn't change dst->anon_vma. While after this commit, anon_vma_clone() will try to reuse an exist one on forking. But this commit go a little bit further for

Re: [PATCH net-next v7 09/17] ethtool: generic handlers for GET requests

2019-10-11 Thread Johannes Berg
On Thu, 2019-10-10 at 22:00 +0200, Michal Kubecek wrote: > > > Having a common format is way more accessible. Generic netlink (now) > > even exposes the policy (if set) and all of its nested sub-policies to > > userspace (if you use NLA_POLICY_NESTED), so it's very easy to discover > > what's in

Re: [PATCH 1/2] habanalabs: support vmalloc memory mapping

2019-10-11 Thread Christoph Hellwig
On Thu, Oct 10, 2019 at 07:54:07PM +, Omer Shpigelman wrote: > The is_vmalloc_addr checks are for user pointers and for memory which was > allocated by the driver with vmalloc_user. This does not make any sense whatsoever. vmalloc_user returns a kernel address, it just does a GFP_USER

RE: linux-next: Fixes tag needs some work in the staging.current tree

2019-10-11 Thread Jonathan Cameron
Hi Stephen Sorry, I've clearly let another one of these through. Stupid question of the day. Don't suppose you can share how you check these? Thanks, Jonathan -Original Message- From: Stephen Rothwell [mailto:s...@canb.auug.org.au] Sent: 10 October 2019 21:43 To: Greg KH Cc: Linux

Re: [Patch v4 2/2] mm/rmap.c: reuse mergeable anon_vma as parent when fork

2019-10-11 Thread Konstantin Khlebnikov
On 11/10/2019 10.22, Wei Yang wrote: In function __anon_vma_prepare(), we will try to find anon_vma if it is possible to reuse it. While on fork, the logic is different. Since commit 5beb49305251 ("mm: change anon_vma linking to fix multi-process server scalability issue"), function

[PATCH v2] async: Let kfree() out of the critical area of the lock

2019-10-11 Thread Yunfeng Ye
The async_lock is big global lock, and kfree() is not always cheap, it will increase lock contention. it's better let kfree() outside the lock to keep the critical area as short as possible. Signed-off-by: Yunfeng Ye Reviewed-by: Alexander Duyck Reviewed-by: Bart Van Assche --- v1 -> v2: -

Re: [PATCH v4 1/4] HID: logitech: Add MX Mice over Bluetooth

2019-10-11 Thread Benjamin Tissoires
Hi Mazin, On Fri, Oct 11, 2019 at 2:57 AM Mazin Rezk wrote: > > On Saturday, October 5, 2019 9:04 PM, Mazin Rezk wrote: > > > This patch adds support for several MX mice over Bluetooth. The device IDs > > have been copied from the libratbag device database and their features > > have been based

Re: [PATCH] net: stmmac: disable/enable ptp_ref_clk in suspend/resume flow

2019-10-11 Thread biao huang
Appreciate your comments! On Thu, 2019-10-10 at 16:01 -0700, Jakub Kicinski wrote: > On Wed, 9 Oct 2019 16:56:49 +0800, Biao Huang wrote: > > disable ptp_ref_clk in suspend flow, and enable it in resume flow. > > > > Signed-off-by: Biao Huang > > --- > >

Re: [PATCH 1/2] clone3: add CLONE3_CLEAR_SIGHAND

2019-10-11 Thread Michal Hocko
[Cc linux-api] On Thu 10-10-19 15:35:17, Christian Brauner wrote: > Reset all signal handlers of the child not set to SIG_IGN to SIG_DFL. > Mutually exclusive with CLONE_SIGHAND to not disturb other thread's > signal handler. > > In the spirit of closer cooperation between glibc developers and

Re: [PATCH 3/3] arm64: dts: rockchip: fix RockPro64 sdmmc settings【请注意,邮件由linux-rockchip-bounces+shawn.lin=rock-chips....@lists.infradead.org代发】

2019-10-11 Thread Jonas Karlman
he card configuration and switches the controller > accordingly. We would end up with a 1.8V card and controller > configuration and a regulator voltage of 3.3V. This would only work with > good luck. Even if the kernel driver would switch the regulator back to > 1.8V in this case, the

Re: linux-next: build failure after merge of the powerpc tree

2019-10-11 Thread Michael Ellerman
On Mon, 2019-09-30 at 00:13:42 UTC, Stephen Rothwell wrote: > Hi all, > > After merging the powerpc tree, today's linux-next build (powerpc64 > allnoconfig) failed like this: > > arch/powerpc/mm/book3s64/pgtable.c: In function 'flush_partition': > arch/powerpc/mm/book3s64/pgtable.c:216:3: error:

Re: [PATCH] powerpc/pseries: Remove confusing warning message.

2019-10-11 Thread Michael Ellerman
On Tue, 2019-10-01 at 13:29:28 UTC, Laurent Dufour wrote: > Since the commit 1211ee61b4a8 ("powerpc/pseries: Read TLB Block Invalidate > Characteristics"), a warning message is displayed when booting a guest on > top of KVM: > > lpar: arch/powerpc/platforms/pseries/lpar.c >

Re: [PATCH v4 2/2] EDAC: al-mc-edac: Introduce Amazon's Annapurna Labs Memory Controller EDAC

2019-10-11 Thread Marc Zyngier
On Thu, 10 Oct 2019 14:54:14 +0300 Talel Shenhar wrote: Hi Talel, > The Amazon's Annapurna Labs Memory Controller EDAC supports ECC capability > for error detection and correction (Single bit error correction, Double > detection). This driver introduces EDAC driver for that capability. > >

[PATCH v2] media: rc-map: Sort rc map name MACROs

2019-10-11 Thread Jisheng Zhang
Some MACROS such as RC_MAP_SU3000 and RC_MAP_HAUPPAUGE are not alphabetically sorted. Sort names alphabetically. Signed-off-by: Jisheng Zhang --- Since v1: - make RC_MAP_X96MAX and RC_MAP_PIXELVIEW sorted as well. include/media/rc-map.h | 10 +- 1 file changed, 5 insertions(+), 5

Re: [PATCH v4 2/4] HID: logitech: Support HID++ devices without short reports

2019-10-11 Thread Benjamin Tissoires
On Fri, Oct 11, 2019 at 2:57 AM Mazin Rezk wrote: > > On Saturday, October 5, 2019 9:04 PM, Mazin Rezk wrote: > > > This patch allows the hid-logitech-hidpp module to support devices that do > > not have support for Short HID++ reports. So far, it seems that Bluetooth > > HID++ 2.0 devices are

Re: [RFC PATCH 07/13] vsock: handle buffer_size sockopts in the core

2019-10-11 Thread Stefan Hajnoczi
On Thu, Oct 10, 2019 at 11:32:54AM +0200, Stefano Garzarella wrote: > On Wed, Oct 09, 2019 at 01:30:26PM +0100, Stefan Hajnoczi wrote: > > On Fri, Sep 27, 2019 at 01:26:57PM +0200, Stefano Garzarella wrote: > > Another issue is that this patch drops the VIRTIO_VSOCK_MAX_BUF_SIZE > > limit that

Re: [PATCH v2 1/4] drm: Add a new helper drm_color_ctm_s31_32_to_qm_n()

2019-10-11 Thread Mihail Atanassov
Hi James, On Friday, 11 October 2019 06:45:27 BST james qian wang (Arm Technology China) wrote: > Add a new helper function drm_color_ctm_s31_32_to_qm_n() for driver to > convert S31.32 sign-magnitude to Qm.n 2's complement that supported by > hardware. > > Signed-off-by: james qian wang (Arm

Re: linux-next: Fixes tag needs some work in the staging.current tree

2019-10-11 Thread Greg KH
On Fri, Oct 11, 2019 at 08:10:23AM +, Jonathan Cameron wrote: > Hi Stephen > > Sorry, I've clearly let another one of these through. > > Stupid question of the day. Don't suppose you can share how you check these? There's a script, that I posted to the workflows mailing list, that should

Re: [PATCH 4.19 000/114] 4.19.79-stable review

2019-10-11 Thread Jon Hunter
On 10/10/2019 09:35, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.79 release. > There are 114 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH v4 3/4] HID: logitech: Add feature 0x0001: FeatureSet

2019-10-11 Thread Benjamin Tissoires
On Fri, Oct 11, 2019 at 2:57 AM Mazin Rezk wrote: > > On Saturday, October 5, 2019 9:04 PM, Mazin Rezk wrote: > > > This patch adds support for the 0x0001 (FeatureSet) feature. This feature > > is used to look up the feature ID of a feature index on a device and list > > the total count of

Re: [PATCH 4.14 00/61] 4.14.149-stable review

2019-10-11 Thread Jon Hunter
On 10/10/2019 09:36, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.149 release. > There are 61 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 5.3 000/148] 5.3.6-stable review

2019-10-11 Thread Jon Hunter
On 10/10/2019 09:34, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.3.6 release. > There are 148 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

[PATCH] mailbox: tegra: Fix superfluous IRQ error message

2019-10-11 Thread Jon Hunter
Commit 7723f4c5ecdb ("driver core: platform: Add an error message to platform_get_irq*()") added an error message to avoid drivers having to print an error message when IRQ lookup fails. However, there are some cases where IRQs are optional and so new optional versions of the platform_get_irq*()

[PATCH] clk: imx7ulp: Correct system clock source option #7

2019-10-11 Thread Anson Huang
In the latest reference manual Rev.0,06/2019, the SCG1's system clock source option #7 is no longer from upll, it is reserved, update clock driver accordingly. Fixes: b1260067ac3d ("clk: imx: add imx7ulp clk driver") Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx7ulp.c | 2 +- 1 file

Re: [Patch v4 1/2] mm/rmap.c: don't reuse anon_vma if we just want a copy

2019-10-11 Thread Wei Yang
On Fri, Oct 11, 2019 at 11:04:16AM +0300, Konstantin Khlebnikov wrote: >On 11/10/2019 10.22, Wei Yang wrote: >> Before commit 7a3ef208e662 ("mm: prevent endless growth of anon_vma >> hierarchy"), anon_vma_clone() doesn't change dst->anon_vma. While after >> this commit, anon_vma_clone() will try

Re: [RFC][PATCH] kprobes/x86: While list ftrace locations in kprobe blacklist areas

2019-10-11 Thread Masami Hiramatsu
Hi Steve, On Thu, 10 Oct 2019 17:52:16 -0400 Steven Rostedt wrote: > From: Steven Rostedt (VMware) > > I noticed some of my old tests failing on kprobes, and realized that > this was due to black listing irq_entry functions on x86 from being > used by kprobes. IIRC, this was due to the cr2

Re: [PATCH] staging: wfx: fix an undefined reference error when CONFIG_MMC=m

2019-10-11 Thread Jerome Pouiller
On Friday 11 October 2019 06:26:16 CEST Greg KH wrote: > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. > > > On Fri, Oct 11, 2019 at 11:02:19AM +0800, zhong jiang wrote: > >

[PATCH net-next v3] genetlink: do not parse attributes for families with zero maxattr

2019-10-11 Thread Michal Kubecek
Commit c10e6cf85e7d ("net: genetlink: push attrbuf allocation and parsing to a separate function") moved attribute buffer allocation and attribute parsing from genl_family_rcv_msg_doit() into a separate function genl_family_rcv_msg_attrs_parse() which, unlike the previous code, calls

Re: [PATCH v4 3/4] HID: logitech: Add feature 0x0001: FeatureSet

2019-10-11 Thread Benjamin Tissoires
On Fri, Oct 11, 2019 at 10:33 AM Benjamin Tissoires wrote: > > On Fri, Oct 11, 2019 at 2:57 AM Mazin Rezk wrote: > > > > On Saturday, October 5, 2019 9:04 PM, Mazin Rezk > > wrote: > > > > > This patch adds support for the 0x0001 (FeatureSet) feature. This feature > > > is used to look up the

Re: [PATCH v5 bpf-next 05/15] samples/bpf: use __LINUX_ARM_ARCH__ selector for arm

2019-10-11 Thread Sergei Shtylyov
Hello! Sorry, didn't comment on v4... On 11.10.2019 3:27, Ivan Khoronzhuk wrote: For arm, -D__LINUX_ARM_ARCH__=X is min version used as instruction set selector and is absolutely required while parsing some parts of headers. It's present in KBUILD_CFLAGS but not in autoconf.h, so let's

[PATCH] ASoC: stm32: spdifrx: retry synchronization in sync state

2019-10-11 Thread Olivier Moysan
When STM32 SPDIFRX is in sync state, allow multiple synchro attempts, instead of exiting on first unsuccessful trial. This is useful when spdif signal is not immediately available on input. This also allows Pulseaudio to check iec capture device availability when no signal is present.

Re: [PATCH 2/3] PCI: pciehp: Wait for PDS if in-band presence is disabled

2019-10-11 Thread Andy Shevchenko
On Fri, Oct 11, 2019 at 9:49 AM Andy Shevchenko wrote: > > On Thu, Oct 10, 2019 at 11:37 PM Stuart Hayes > wrote: > > > Thank you for the feedback! An infinite loop is used several other places > > in > > this driver--this keeps the style similar. I can change it as you suggest, > > though,

Re: [PATCH v4 1/4] HID: logitech: Add MX Mice over Bluetooth

2019-10-11 Thread Filipe Laíns
On Fri, 2019-10-11 at 00:57 +, Mazin Rezk wrote: > On Saturday, October 5, 2019 9:04 PM, Mazin Rezk < > mn...@protonmail.com> wrote: > > > This patch adds support for several MX mice over Bluetooth. The > > device IDs > > have been copied from the libratbag device database and their > >

Re: [PATCH v5 bpf-next 09/15] samples/bpf: use own flags but not HOSTCFLAGS

2019-10-11 Thread Sergei Shtylyov
More grammar nitpicking... On 11.10.2019 3:28, Ivan Khoronzhuk wrote: While compiling natively, the host's cflags and ldflags are equal to ones used from HOSTCFLAGS and HOSTLDFLAGS. When cross compiling it should have own, used for target arch. While verification, for arm, While

Re: [PATCH v4 4/4] HID: logitech: Support WirelessDeviceStatus connect events

2019-10-11 Thread Benjamin Tissoires
On Fri, Oct 11, 2019 at 2:58 AM Mazin Rezk wrote: > > On Saturday, October 5, 2019 9:05 PM, Mazin Rezk wrote: > > > This patch makes WirelessDeviceStatus (0x1d4b) events get detected as > > connection events on devices with HIDPP_QUIRK_WIRELESS_DEVICE_STATUS. > > > > This quirk is currently an

Re: [RFC PATCH 07/13] vsock: handle buffer_size sockopts in the core

2019-10-11 Thread Stefano Garzarella
On Fri, Oct 11, 2019 at 09:27:14AM +0100, Stefan Hajnoczi wrote: > On Thu, Oct 10, 2019 at 11:32:54AM +0200, Stefano Garzarella wrote: > > On Wed, Oct 09, 2019 at 01:30:26PM +0100, Stefan Hajnoczi wrote: > > > On Fri, Sep 27, 2019 at 01:26:57PM +0200, Stefano Garzarella wrote: > > > Another issue

Re: [PATCH v4 1/4] HID: logitech: Add MX Mice over Bluetooth

2019-10-11 Thread Benjamin Tissoires
On Fri, Oct 11, 2019 at 10:49 AM Filipe Laíns wrote: > > On Fri, 2019-10-11 at 00:57 +, Mazin Rezk wrote: > > On Saturday, October 5, 2019 9:04 PM, Mazin Rezk < > > mn...@protonmail.com> wrote: > > > > > This patch adds support for several MX mice over Bluetooth. The > > > device IDs > > >

Re: wake_q memory ordering

2019-10-11 Thread Manfred Spraul
Hi Davidlohr, On 10/10/19 9:25 PM, Davidlohr Bueso wrote: On Thu, 10 Oct 2019, Peter Zijlstra wrote: On Thu, Oct 10, 2019 at 02:13:47PM +0200, Manfred Spraul wrote: Therefore smp_mb__{before,after}_atomic() may be combined with cmpxchg_relaxed, to form a full memory barrier, on all archs.

Re: [PATCH 5.3 000/148] 5.3.6-stable review

2019-10-11 Thread Greg Kroah-Hartman
On Fri, Oct 11, 2019 at 09:33:41AM +0100, Jon Hunter wrote: > > On 10/10/2019 09:34, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.3.6 release. > > There are 148 patches in this series, all will be posted as a response > > to this one. If anyone has any

  1   2   3   4   5   6   7   8   9   >