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

2019-10-10 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 inclu

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

2019-10-10 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 soluti

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

2019-10-10 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-10 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: > > s/architecutr

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

2019-10-10 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 don'

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

2019-10-10 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 b/drive

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

2019-10-10 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 now.

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

2019-10-10 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 issu

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

2019-10-10 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 an

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

2019-10-10 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 of

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

2019-10-10 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 2/5] KPC2000: kpc2000_spi.c: Fix style issues (missing blank line)

2019-10-10 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? What

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

2019-10-10 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

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

2019-10-10 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 creati

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

2019-10-10 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 0/2] mm/debug: Add tests validating architecture page table helpers

2019-10-10 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 arm6

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

2019-10-10 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 v2] staging: wfx: fix an undefined reference error when CONFIG_MMC=m

2019-10-10 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': /home/z00352263/linux-next/linux-next/drivers/staging/wfx/main.c:496

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

2019-10-10 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: >> undefi

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

2019-10-10 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. j

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

2019-10-10 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: [PATCH v2 2/2] mm/memory-failure.c: Don't access uninitialized memmaps in memory_failure()

2019-10-10 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 Hil

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

2019-10-10 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 >> par

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

2019-10-10 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, >> >+ c

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

2019-10-10 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 a/drivers/staging/octeon/

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

2019-10-10 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 3/5] staging: octeon: remove typedef declaration for cvmx_fau_reg_32_t

2019-10-10 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 i

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

2019-10-10 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 +++--- drivers/staging/octeon/ethernet

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

2019-10-10 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 +++--- drivers/staging/

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

2019-10-10 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 d

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

2019-10-10 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 > CONFIG_PHY_QCOM_QMP=y

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

2019-10-10 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. >> > >> >O

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

2019-10-10 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: [PATCH net-next v7 13/17] ethtool: add standard notification handler

2019-10-10 Thread Michal Kubecek
On Friday, 11 October 2019 7:56 Jiri Pirko wrote: > Thu, Oct 10, 2019 at 08:17:43PM CEST, mkube...@suse.cz wrote: > >On Thu, Oct 10, 2019 at 05:25:59PM +0200, Jiri Pirko wrote: > >> Wed, Oct 09, 2019 at 10:59:40PM CEST, mkube...@suse.cz wrote: > [...] > > >> >+ > >> >+/* generic notification handl

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

2019-10-10 Thread Candle Sun
Will, Is the patch useful for you? Would you please give me some suggestions? Thank you. Regards, Candle On Tue, Oct 8, 2019 at 3:20 PM Candle Sun wrote: > > Hi Will, > Sorry for not instant respond. > > > On Mon, Sep 30, 2019 at 11:34 PM Will Deacon wrote: > > > > On Thu, Sep 26, 2019 at 03:3

Re: [PATCH net-next v7 13/17] ethtool: add standard notification handler

2019-10-10 Thread Jiri Pirko
Thu, Oct 10, 2019 at 08:17:43PM CEST, mkube...@suse.cz wrote: >On Thu, Oct 10, 2019 at 05:25:59PM +0200, Jiri Pirko wrote: >> Wed, Oct 09, 2019 at 10:59:40PM CEST, mkube...@suse.cz wrote: [...] >> >+ >> >+/* generic notification handler */ >> >+static void ethnl_std_notify(struct net_device *dev

Re: [RFC PATCH net] net: phy: Fix "link partner" information disappear issue

2019-10-10 Thread Yonglong Liu
On 2019/10/11 3:17, Heiner Kallweit wrote: > On 10.10.2019 11:30, Yonglong Liu wrote: >> Some drivers just call phy_ethtool_ksettings_set() to set the >> links, for those phy drivers that use genphy_read_status(), if >> autoneg is on, and the link is up, than execute "ethtool -s >> ethx autoneg

[PATCH 3/5] KPC2000: kpc2000_spi.c: Fix style issues (misaligned brace)

2019-10-10 Thread Chandra Annamaneni
Resolved: ERROR: else should follow close brace '}' Signed-off-by: Chandra Annamaneni --- drivers/staging/kpc2000/kpc2000_spi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/kpc2000/kpc2000_spi.c b/drivers/staging/kpc2000/kpc2000_spi.c index d1f7360cd179.

[PATCH 4/5] KPC2000: kpc2000_spi.c: Fix style issues (alignment)

2019-10-10 Thread Chandra Annamaneni
Resolved: "CHECK: Alignment should match open parenthesis" from checkpatch Signed-off-by: Chandra Annamaneni --- drivers/staging/kpc2000/kpc2000_spi.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/kpc2000/kpc2000_spi.c b/drivers/staging/kpc20

Re: [PATCH v6 05/12] x86/efi: EFI soft reservation to E820 enumeration

2019-10-10 Thread Ard Biesheuvel
On Fri, 11 Oct 2019 at 04:39, Dan Williams wrote: > > On Thu, Oct 10, 2019 at 11:41 AM Ard Biesheuvel > wrote: > > > > On Thu, 10 Oct 2019 at 20:31, Dan Williams wrote: > > > > > > On Wed, Oct 9, 2019 at 11:45 PM Ard Biesheuvel > > > wrote: > > > > > > > > On Thu, 10 Oct 2019 at 01:19, Dan Will

Re: [PATCH 11/36] ARM: s5pv210: split from plat-samsung

2019-10-10 Thread Uwe Kleine-König
On Thu, Oct 10, 2019 at 10:29:55PM +0200, Arnd Bergmann wrote: > These can be build completely independently, so split > the two Kconfig symbols. > > Signed-off-by: Arnd Bergmann I'd mention the two symbols' names you're working on in the commit log. I guess it's about PLAT_SAMSUNG and ARCH_S5PV

[PATCH 5/5] KPC2000: kpc2000_spi.c: Fix style issues (Unnecessary parenthesis)

2019-10-10 Thread Chandra Annamaneni
Resolved: CHECK: Unnecessary parentheses around table[i] Signed-off-by: Chandra Annamaneni --- drivers/staging/kpc2000/kpc2000_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/kpc2000/kpc2000_spi.c b/drivers/staging/kpc2000/kpc2000_spi.c index 26e1e8466f

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

2019-10-10 Thread Chandra Annamaneni
Resolved: "CHECK: Please use a blank line after.." from checkpatch.pl Signed-off-by: Chandra Annamaneni --- drivers/staging/kpc2000/kpc2000_spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/kpc2000/kpc2000_spi.c b/drivers/staging/kpc2000/kpc2000_spi.c index 81d79b116ce0.

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

2019-10-10 Thread Chandra Annamaneni
Resoved: "WARNING: line over 80 characters" from checkpatch.pl Signed-off-by: Chandra Annamaneni --- drivers/staging/kpc2000/kpc2000_spi.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/kpc2000/kpc2000_spi.c b/drivers/staging/kpc2000/k

Re: [PATCH v2 2/3] usb: chipidea: set mode for usb phy driver

2019-10-10 Thread Peter Chen
On 19-10-10 16:56:55, Igor Opaniuk wrote: > From: Li Jun > > After enters one specific role, notify usb phy driver. > > Signed-off-by: Li Jun > Signed-off-by: Igor Opaniuk > --- > > v2: > - restored original commit author > - fixed build for multi_v7 > > drivers/usb/chipidea/ci.h | 21 +

Relax CPU features sanity checking on heterogeneous architectures

2019-10-10 Thread Sai Prakash Ranjan
On latest QCOM SoCs like SM8150 and SC7180 with big.LITTLE arch, below warnings are observed during bootup of big cpu cores. SM8150: [0.271177] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64PFR0_EL1. Boot CPU: 0x00, CPU4: 0x001112 [0.271184] CPU fea

Re: [PATCH v3] bcache: fix deadlock in bcache_allocator

2019-10-10 Thread Coly Li
On 2019/10/10 11:21 下午, Andrea Righi wrote: > On Wed, Aug 07, 2019 at 09:53:46PM +0800, Coly Li wrote: >> On 2019/8/7 6:38 下午, Andrea Righi wrote: >>> bcache_allocator can call the following: >>> >>> bch_allocator_thread() >>> -> bch_prio_write() >>> -> bch_bucket_alloc() >>> -> wai

Re: Potential NULL pointer deference in spi

2019-10-10 Thread Yizhuo Zhai
Hi Eric: My apologies for bothering, we got those report via static analysis and haven't got a good method to verify the path to trigger them. Therefore I sent those email to you maintainers first since you know much better about the details. Sorry again for your time and I take your suggestions.

[PATCH -next] soc: ti: omap-prm: fix return value check in omap_prm_probe()

2019-10-10 Thread Wei Yongjun
In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: 3e99cb214f03 ("soc: ti: add initial PRM driver with reset control support") Signed-off-by: Wei Yongjun --- drivers/so

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

2019-10-10 Thread Wei Yang
On Fri, Oct 11, 2019 at 10:58:40AM +0800, 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 l

Re: [PATCH v8 1/5] kasan: support backing vmalloc space with real shadow memory

2019-10-10 Thread Daniel Axtens
Hi Uladzislau, > Looking at it one more, i think above part of code is a bit wrong > and should be separated from merge_or_add_vmap_area() logic. The > reason is to keep it simple and do only what it is supposed to do: > merging or adding. > > Also the kasan_release_vmalloc() gets called twice th

Re: string.h: Mark 34 functions with __must_check

2019-10-10 Thread Markus Elfring
> +our $PositionalAttribute = qr{ > + __must_check| > + __printf| I suggest to put all key words which share the leading underscores into another alternation for an improved regular expression. Regards, Markus

[PATCH] perf stat: Support --all-kernel/--all-user

2019-10-10 Thread Jin Yao
perf record has supported --all-kernel / --all-user to configure all used events to run in kernel space or run in user space. But perf stat doesn't support these options. It would be useful to support these options in perf-stat too to keep the same semantics. Signed-off-by: Jin Yao --- tools/pe

[git pull] drm fixes for 5.4-rc3

2019-10-10 Thread Dave Airlie
Hey Linus, The regular fixes pull for rc3. The i915 team found some fixes they (or I) missed for rc1, which is why this is a bit bigger than usual, otherwise there is a single amdgpu fix, some spi panel aliases, and a bridge fix. drm-fixes-2019-10-11: drm fixes for 5.4-rc3 i915: - execlist acces

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

2019-10-10 Thread Tomasz Figa
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, > > > > > > On Thu, 2019-10-10 at 16:50 +0900, Tomasz Figa wrote: > > > > MediaTe

Re: [PATCH 4.14 17/61] MIPS: Treat Loongson Extensions as ASEs

2019-10-10 Thread Greg Kroah-Hartman
On Thu, Oct 10, 2019 at 10:36:42AM +0200, Greg Kroah-Hartman wrote: > From: Jiaxun Yang > > commit d2f965549006acb865c4638f1f030ebcefdc71f6 upstream. > > Recently, binutils had split Loongson-3 Extensions into four ASEs: > MMI, CAM, EXT, EXT2. This patch do the samething in kernel and expose > t

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

2019-10-10 Thread Greg Kroah-Hartman
On Thu, Oct 10, 2019 at 10:12:26AM -0700, Guenter Roeck wrote: > On 10/10/19 1:36 AM, 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 is

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

2019-10-10 Thread Greg KH
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: > undefined reference to `sdio_register_driver' >

Good News

2019-10-10 Thread UK INTERNATIONAL DRAW HEADQUARTERS
Your email has won you £1,500,000.00 Great British Pounds. To file for your Claims,please Contact Claims Agent: Mr Garry White. E-mail: ( uknationallotto...@gmail.com ) Provide the information below: 1.Full Names: 2.Address:. 3.Sex and Age: 4.Country:. 5.Oc

linux-next: Fixes tag needs some work in the net tree

2019-10-10 Thread Stephen Rothwell
Hi all, In commit 2168da459404 ("net: update net_dim documentation after rename") Fixes tag Fixes: 8960b38932be ("linux/dim: Rename externally used net_dim members", 2019-06-25) has these problem(s): - Subject does not match target commit subject Just use git log -1 --forma

linux-next: Tree for Oct 11

2019-10-10 Thread Stephen Rothwell
Hi all, Changes since 20191010: Removed tree: renesas Renamed tree: rensess-geert to rensesas The tip tree gained a conflict against the net tree. Non-merge commits (relative to Linus' tree): 3634 3829 files changed, 122027 insertions(+), 62286 dele

[PATCH 1/2] dt-bindings: media: i2c: Add IMX296 CMOS sensor binding

2019-10-10 Thread Manivannan Sadhasivam
Add devicetree binding for IMX296 CMOS image sensor. Signed-off-by: Manivannan Sadhasivam --- .../devicetree/bindings/media/i2c/imx296.txt | 55 +++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/imx296.txt diff --git a/Document

[PATCH 2/2] media: i2c: Add IMX296 CMOS image sensor driver

2019-10-10 Thread Manivannan Sadhasivam
Add driver for Sony IMX296 CMOS image sensor driver. The driver only supports I2C interface for programming and MIPI CSI-2 for sensor output. Signed-off-by: Manivannan Sadhasivam --- MAINTAINERS| 8 + drivers/media/i2c/Kconfig | 11 + drivers/media/i2c/Makefile | 1 + drive

[PATCH 0/2] Add IMX296 CMOS image sensor support

2019-10-10 Thread Manivannan Sadhasivam
Hello, This patchset adds support for IMX296 CMOS image sensor from Sony. Sensor can be programmed through I2C and 4-wire interface but the current driver only supports I2C interface. The sensor is capable of outputting frames in CSI2 format (1 Lane). In the case of sensor resolution, driver only

Re: [PATCH] usercopy: Avoid soft lockups in test_check_nonzero_user()

2019-10-10 Thread Aleksa Sarai
On 2019-10-11, Michael Ellerman wrote: > On a machine with a 64K PAGE_SIZE, the nested for loops in > test_check_nonzero_user() can lead to soft lockups, eg: > > watchdog: BUG: soft lockup - CPU#4 stuck for 22s! [modprobe:611] > Modules linked in: test_user_copy(+) vmx_crypto gf128mul crc32c_

Re: Kernel Concurrency Sanitizer (KCSAN)

2019-10-10 Thread Daniel Axtens
Marco Elver writes: > Hi Daniel, > > On Tue, 1 Oct 2019 at 16:50, Daniel Axtens wrote: >> >> Hi Marco, >> >> > We would like to share a new data-race detector for the Linux kernel: >> > Kernel Concurrency Sanitizer (KCSAN) -- >> > https://github.com/google/ktsan/wiki/KCSAN (Details: >> > https:

Re: [PATCH] xtensa: fix {get,put}_user() for 64bit values

2019-10-10 Thread Max Filippov
On Thu, Oct 10, 2019 at 7:29 AM Al Viro wrote: > Hmm... Looking at __get_user_size(), we have retval = 0; very early > in it. So I wonder if it should simply be > #define __get_user_size(x, ptr, size, retval) \ > do {

Re: checkpatch: comparisons with a constant on the left

2019-10-10 Thread Joe Perches
On Fri, 2019-10-11 at 10:52 +0900, Sergey Senozhatsky wrote: > Hi Joe, Hi Sergey. > I noticed that this code > > #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 18, 0) > > triggers checkpatch's warning: > > "WARNING: Comparisons should place the constant on > the right

Re: [PATCH] ftgmac100: Disable HW checksum generation on AST2500

2019-10-10 Thread Benjamin Herrenschmidt
On Thu, 2019-10-10 at 19:15 +, Vijay Khemka wrote: > Any news on this ? AST2400 has no HW checksum logic in HW, AST2500 > should work for IPV4 fine, we should only selectively disable it for > IPV6. > > Ben, I have already sent v2 for this with requested change which only disable

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

2019-10-10 Thread shuah
On 10/10/19 2:36 AM, 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 should be mad

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

2019-10-10 Thread zhong jiang
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: undefined reference to `sdio_register_driver' drivers/staging/wfx/main.o: In function `wfx_core_exit': /home/z00352263/

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

2019-10-10 Thread shuah
On 10/10/19 2:35 AM, 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 should be mad

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

2019-10-10 Thread shuah
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 these being applied, please let me know. Responses should be made

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

2019-10-10 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 for

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

2019-10-10 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() is

[PATCH] csky: Initial stack protector support

2019-10-10 Thread Mao Han
This is a basic -fstack-protector support without per-task canary switching. The protector will report something like when stack corruption is detected: stack-protector: Kernel stack is corrupted in: sys_kill+0x23c/0x23c Tested with a local array overflow in kill system call. Signed-off-by: Mao

Re: [PATCH V9 2/2] arm64/mm: Enable memory hot remove

2019-10-10 Thread Anshuman Khandual
On 10/10/2019 05:04 PM, Catalin Marinas wrote: > Hi Anshuman, > > On Wed, Oct 09, 2019 at 01:51:48PM +0530, Anshuman Khandual wrote: >> +static void unmap_hotplug_pmd_range(pud_t *pudp, unsigned long addr, >> +unsigned long end, bool free_mapped) >> +{ >> +unsig

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

2019-10-10 Thread Jin, Yao
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, Jin, Yao wrote: On 10/1/2019 10:17 AM, Andi Kleen wrote: I think it's useful. Makes it e

Re: [PATCH v2] HID: core: check whether usage page item is after usage id item

2019-10-10 Thread Candle Sun
On Thu, Oct 10, 2019 at 8:24 PM Benjamin Tissoires wrote: > > On Wed, Oct 9, 2019 at 2:54 PM Candle Sun wrote: > > > > From: Candle Sun > > > > Upstream commit 58e75155009c ("HID: core: move Usage Page concatenation > > to Main item") adds support for Usage Page item after Usage ID items > > (su

[PATCH] usercopy: Avoid soft lockups in test_check_nonzero_user()

2019-10-10 Thread Michael Ellerman
On a machine with a 64K PAGE_SIZE, the nested for loops in test_check_nonzero_user() can lead to soft lockups, eg: watchdog: BUG: soft lockup - CPU#4 stuck for 22s! [modprobe:611] Modules linked in: test_user_copy(+) vmx_crypto gf128mul crc32c_vpmsum virtio_balloon ip_tables x_tables autofs4

[PATCH] perf report: Add warning when libunwind not compiled in

2019-10-10 Thread Jin Yao
We received a user report that call-graph dwarf mode was enabled in perf record but perf report didn't unwind the callstack correctly. The reason was, libunwind was not compiled in. We can use 'perf -vv' to check the compiled libraries but it would be valuable to report a warning to user directly

[PATCH v3] thermal: qoriq: add thermal monitor unit version 2 support

2019-10-10 Thread Yuantian Tang
Thermal Monitor Unit v2 is introduced on new Layscape SoC. Compared to v1, TMUv2 has a little different register layout and digital output is fairly linear. Signed-off-by: Yuantian Tang Reviewed-by: Anson Huang --- v3: - rebase to v5.4-rc1 drivers/thermal/qoriq_thermal.c | 120

Re: [PATCH v2] HID: core: check whether usage page item is after usage id item

2019-10-10 Thread Candle Sun
On Thu, Oct 10, 2019 at 8:17 PM Benjamin Tissoires wrote: > > On Thu, Oct 10, 2019 at 5:19 AM Candle Sun wrote: > > > > On Thu, Oct 10, 2019 at 2:00 AM Jiri Kosina wrote: > > > > > > On Wed, 9 Oct 2019, Nicolas Saenz Julienne wrote: > > > > > > > > diff --git a/drivers/hid/hid-core.c b/drivers/h

checkpatch: comparisons with a constant on the left

2019-10-10 Thread Sergey Senozhatsky
Hi Joe, I noticed that this code #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 18, 0) triggers checkpatch's warning: "WARNING: Comparisons should place the constant on the right side of the test" Both LINUX_VERSION_CODE and KERNEL_VERSION are constants, so I'm w

Re: [PATCH v7 3/7] KVM: VMX: Pass through CET related MSRs to Guest

2019-10-10 Thread Yang Weijiang
On Thu, Oct 10, 2019 at 12:04:40PM -0700, Jim Mattson wrote: > On Tue, Oct 8, 2019 at 11:13 PM Yang Weijiang wrote: > > > > On Wed, Oct 02, 2019 at 11:18:32AM -0700, Jim Mattson wrote: > > > On Thu, Sep 26, 2019 at 7:17 PM Yang Weijiang > > > wrote: > > > > > > > > CET MSRs pass through Guest di

Re: [PATCH v7 4/7] KVM: VMX: Load Guest CET via VMCS when CET is enabled in Guest

2019-10-10 Thread Yang Weijiang
On Thu, Oct 10, 2019 at 04:44:17PM -0700, Jim Mattson wrote: > On Wed, Oct 9, 2019 at 6:28 PM Yang Weijiang wrote: > > > > On Wed, Oct 09, 2019 at 04:08:50PM -0700, Jim Mattson wrote: > > > On Tue, Oct 8, 2019 at 11:41 PM Yang Weijiang > > > wrote: > > > > > > > > On Wed, Oct 02, 2019 at 11:54:2

Re: [PATCH v2] xen: Stop abusing DT of_dma_configure API

2019-10-10 Thread Stefano Stabellini
On Tue, 8 Oct 2019, Rob Herring wrote: > As the removed comments say, these aren't DT based devices. > of_dma_configure() is going to stop allowing a NULL DT node and calling > it will no longer work. > > The comment is also now out of date as of commit 9ab91e7c5c51 ("arm64: > default to the direc

Re: [PATCH] extcon: sm5502: Reset registers during initialization

2019-10-10 Thread Chanwoo Choi
On 19. 10. 11. 오전 12:47, Stephan Gerhold wrote: > On some devices (e.g. Samsung Galaxy A5 (2015)), the bootloader > seems to keep interrupts enabled for SM5502 when booting Linux. > Changing the cable state (i.e. plugging in a cable) - until the driver > is loaded - will therefore produce an interr

[PATCHv7 02/33] time: Add timens_offsets to be used for tasks in timens

2019-10-10 Thread Dmitry Safonov
From: Andrei Vagin Introduce offsets for time namespace. They will contain an adjustment needed to convert clocks to/from host's. A new namespace is created with the same offsets as the time namespace of the current process. Signed-off-by: Andrei Vagin Co-developed-by: Dmitry Safonov Signed-o

[PATCHv7 11/33] timerfd: Make timerfd_settime() time namespace aware

2019-10-10 Thread Dmitry Safonov
From: Andrei Vagin timerfd_settime() accepts an absolute value of the expiration time if TFD_TIMER_ABSTIME is specified. This value is in task's time namespace and has to be converted to the host's time namespace. Signed-off-by: Andrei Vagin Co-developed-by: Dmitry Safonov Signed-off-by: Dmitr

[PATCHv7 31/33] selftests/timens: Add timer offsets test

2019-10-10 Thread Dmitry Safonov
From: Andrei Vagin Check that timer_create() takes into account clock offsets. Output on success: 1..3 ok 1 clockid=7 ok 2 clockid=1 ok 3 clockid=9 # Pass 3 Fail 0 Xfail 0 Xpass 0 Skip 0 Error 0 Output with lack of permissions: 1..3 not ok 1 # SKIP need to run as root Output without sup

[PATCHv7 07/33] posix-clocks: Introduce clock_get_ktime() callback

2019-10-10 Thread Dmitry Safonov
From: Andrei Vagin The callsite in common_timer_get() has already a comment: /* * The timespec64 based conversion is suboptimal, but it's not * worth to implement yet another callback. */ kc->clock_get(timr->it_clock, &ts64); now = timespec64_to_ktime(ts64); The upcomi

[PATCHv7 18/33] lib/vdso: Add unlikely() hint into vdso_read_begin()

2019-10-10 Thread Dmitry Safonov
From: Andrei Vagin Place the branch with no concurrent write before contended case. Performance numbers for Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz (more clock_gettime() cycles - the better): | before| after --- | 150252214 | 153242367

[PATCHv7 12/33] posix-timers: Make timer_settime() time namespace aware

2019-10-10 Thread Dmitry Safonov
From: Andrei Vagin Wire timer_settime() syscall into time namespace virtualization. sys_timer_settime() calls the ktime->timer_set() callback. Right now, common_timer_set() is the only implementation for the callback. There user-supplied timer's value is converted from timespec64 to ktime and t

[PATCHv7 20/33] x86/vdso: Provide vdso_data offset on vvar_page

2019-10-10 Thread Dmitry Safonov
VDSO support for Time namespace needs to set up a page with the same layout as VVAR. That timens page will be placed on position of VVAR page inside namespace. That page has vdso_data->seq set to 1 to enforce the slow path and vdso_data->clock_mode set to VCLOCK_TIMENS to enforce the time namespace

[PATCHv7 15/33] posix-timers: Make clock_nanosleep() time namespace aware

2019-10-10 Thread Dmitry Safonov
From: Andrei Vagin clock_nanosleep() accepts absolute values of expiration time, if the TIMER_ABSTIME flag is set. This value is in the task time namespace, which has to be converted to the host time namespace. Signed-off-by: Andrei Vagin Co-developed-by: Dmitry Safonov Signed-off-by: Dmitry S

[PATCHv7 08/33] posix-timers: Use clock_get_ktime() in common_timer_get()

2019-10-10 Thread Dmitry Safonov
From: Andrei Vagin Now, when the clock_get_ktime() callback exists, the suboptimal timespec64-based conversion can be removed from common_timer_get(). Suggested-by: Thomas Gleixner Signed-off-by: Andrei Vagin Co-developed-by: Dmitry Safonov Signed-off-by: Dmitry Safonov --- kernel/time/posi

[PATCHv7 24/33] x86/vdso: On timens page fault prefault also VVAR page

2019-10-10 Thread Dmitry Safonov
As timens page has offsets to data on VVAR page VVAR is going to be accessed shortly. Set it up with timens in one page fault as optimization. Suggested-by: Thomas Gleixner Co-developed-by: Andrei Vagin Signed-off-by: Andrei Vagin Signed-off-by: Dmitry Safonov --- arch/x86/entry/vdso/vma.c |

[PATCHv7 17/33] x86/vdso: Restrict splitting VVAR VMA

2019-10-10 Thread Dmitry Safonov
Forbid splitting VVAR resulting in stricter ABI and reducing amount of corner-cases to consider while working further on VDSO. As offset from timens to VVAR page is computed compile-time, the pages in VVAR should stay together and not being partically mremap()'ed. Co-developed-by: Andrei Vagin S

[PATCHv7 19/33] lib/vdso: Prepare for time namespace support

2019-10-10 Thread Dmitry Safonov
From: Thomas Gleixner To support time namespaces in the vdso with a minimal impact on regular non time namespace affected tasks, the namespace handling needs to be hidden in a slow path. The most obvious place is vdso_seq_begin(). If a task belongs to a time namespace then the VVAR page which co

  1   2   3   4   5   6   7   8   9   10   >