[GIT PULL] nfsd

2019-01-02 Thread J. Bruce Fields
Please pull nfsd changes from git://linux-nfs.org/~bfields/linux.git tags/nfsd-4.21 Thanks to Vasily Averin for fixing a use-after-free in the containerized NFSv4.2 client, and cleaning up some convoluted backchannel server code in the process. Otherwise, miscellaneous smaller bugfixes and

Re: [PATCH 2/2] reset: Add Broadcom STB SW_INIT reset controller driver

2019-01-02 Thread Florian Fainelli
Hi Philipp, On 1/2/19 2:44 AM, Philipp Zabel wrote: > Hi Florian, > > On Thu, 2018-12-20 at 17:34 -0800, Florian Fainelli wrote: >> Add support for resetting blocks through the Linux reset controller >> subsystem when reset lines are provided through a SW_INIT-style reset >> controller on

Re: [PATCH 1/2] dt-bindings: reset: Add document for Broadcom STB reset controller

2019-01-02 Thread Florian Fainelli
On 12/31/18 3:13 PM, Scott Branden wrote: > > On 2018-12-20 5:34 p.m., Florian Fainelli wrote: >> Add a binding document for the Broadcom STB reset controller, also known >> as SW_INIT-style reset controller. >> >> Signed-off-by: Florian Fainelli >> --- >>  

Re: [alsa-devel] [PATCH v5 08/11] ASoC: Intel: atom: Make PCI dependency explicit

2019-01-02 Thread Pierre-Louis Bossart
ell we have only a dependency on ACPI, so we expose drivers that can be selected but fail on probe since there are no machine drivers. I am not sure if we want to be strict and only expose meaningful configurations, or allow for more compilations tests and corner cases? -Pierre cross-compilation

Re: [PATCH] vmlinux.lds.h: drop unused __vermagic

2019-01-02 Thread Jessica Yu
+++ Mathias Krause [30/12/18 13:40 +0100]: The reference to '__vermagic' is a relict from v2.5 times. And even there it had a very short life time, from v2.5.59 (commit 1d411b80ee18 ("Module Sanity Check") in the historic tree) to v2.5.69 (commit 67ac5b866bda ("[PATCH] complete modinfo

Re: [PATCH] fork, memcg: fix cached_stacks case

2019-01-02 Thread Michal Hocko
On Wed 02-01-19 10:01:45, Shakeel Butt wrote: > Commit 5eed6f1dff87 ("fork,memcg: fix crash in free_thread_stack on > memcg charge fail") fixes a crash caused due to failed memcg charge of > the kernel stack. However the fix misses the cached_stacks case which > this patch fixes. So, the same

RE: [PATCH v4 10/10] selftests/resctrl: Add the test in MAINTAINERS

2019-01-02 Thread Moger, Babu
Hi Fenghua, > -Original Message- > From: Fenghua Yu > Sent: Friday, December 21, 2018 6:21 PM > To: Thomas Gleixner ; Ingo Molnar > ; H Peter Anvin ; Tony Luck > ; Peter Zijlstra ; Reinette > Chatre ; Moger, Babu > ; James Morse ; > Xiaochen Shen ; Ravi V Shankar > ; Sai Praneeth Prakhya

Re: [PATCH v15 23/26] sched: early boot clock

2019-01-02 Thread Salvatore Bonaccorso
Hi, On Tue, Nov 06, 2018 at 06:35:36AM -0500, Steven Sistare wrote: > Pavel has a new email address, cc'd - steve > > On 11/6/2018 12:42 AM, Dominique Martinet wrote: > > (added various kvm/virtualization lists in Cc as well as qemu as I don't > > know who's "wrong" here) > > > > Pavel Tatashin

Re: [PATCH 2/2] dmaengine: mediatek: Add MediaTek Command-Queue DMA controller for MT6765 SoC

2019-01-02 Thread Sean Wang
go on other parts not finished review at the last time On Sat, Dec 29, 2018 at 3:03 AM Sean Wang wrote: > > The version looks like better than the earlier version, but there are > still a few nitpicks I post at the inline. > > On Thu, Dec 27, 2018 at 5:11 AM wrote: > > > > From: Shun-Chih Yu >

RE: [PATCH v4 08/10] selftests/resctrl Add Cache QoS Monitoring (CQM) selftest

2019-01-02 Thread Moger, Babu
Fenghua, Sai, Couple of problems with these patches(see below). Please check again. > -Original Message- > From: Fenghua Yu > Sent: Friday, December 21, 2018 6:21 PM > To: Thomas Gleixner ; Ingo Molnar > ; H Peter Anvin ; Tony Luck > ; Peter Zijlstra ; Reinette > Chatre ; Moger, Babu >

Re: [GIT PULL] 9p updates for 4.21

2019-01-02 Thread pr-tracker-bot
The pull request you sent on Wed, 2 Jan 2019 04:54:39 +0100: > git://github.com/martinetd/linux tags/9p-for-4.21 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/85f78456f286da46fb054c7d45e4193cb757ac83 Thank you! -- Deet-doot-dot, I am a bot.

Re: [PATCH v2 1/3] kasan, arm64: use ARCH_SLAB_MINALIGN instead of manual aligning

2019-01-02 Thread Andrew Morton
On Wed, 2 Jan 2019 18:36:06 +0100 Andrey Konovalov wrote: > Instead of changing cache->align to be aligned to KASAN_SHADOW_SCALE_SIZE > in kasan_cache_create() we can reuse the ARCH_SLAB_MINALIGN macro. > > ... > > --- a/arch/arm64/include/asm/kasan.h > +++ b/arch/arm64/include/asm/kasan.h >

[PATCH 3/3] mm: memcontrol: delay force empty to css offline

2019-01-02 Thread Yang Shi
Currently, force empty reclaims memory synchronously when writing to memory.force_empty. It may take some time to return and the afterwards operations are blocked by it. Although it can be interrupted by signal, it still seems suboptimal. Now css offline is handled by worker, and the typical

[PATCH 1/3] doc: memcontrol: fix the obsolete content about force empty

2019-01-02 Thread Yang Shi
We don't do page cache reparent anymore when offlining memcg, so update force empty related content accordingly. Cc: Michal Hocko Cc: Johannes Weiner Signed-off-by: Yang Shi --- Documentation/cgroup-v1/memory.txt | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH 2/3] mm: memcontrol: do not try to do swap when force empty

2019-01-02 Thread Yang Shi
The typical usecase of force empty is to try to reclaim as much as possible memory before offlining a memcg. Since there should be no attached tasks to offlining memcg, the tasks anonymous pages would have already been freed or uncharged. Even though anonymous pages get swapped out, but they

Re: [PATCH v3 2/2] mm: rid swapoff of quadratic complexity

2019-01-02 Thread Vineeth Pillai
On Wed, Jan 2, 2019 at 2:43 PM Hugh Dickins wrote: > > Wrong. Without heavier locking that would add unwelcome overhead to > common paths, we shall "always" need the retry logic. It does not > come into play very often, but here are two examples of why it's > needed (if I thought longer, I

[GIT PULL v2] Thermal-SoC management updates for v4.21-rc1

2019-01-02 Thread Eduardo Valentin
Hello Linus, Please consider pulling from git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal linus to receive Thermal-SoC Management updates for v4.21-rc1 with top-most 9d216211fded20fff301d0317af3238d8383634c: thermal: generic-adc: Fix adc to temp interpolation

[RFC PATCH 0/3] mm: memcontrol: delayed force empty

2019-01-02 Thread Yang Shi
Currently, force empty reclaims memory synchronously when writing to memory.force_empty. It may take some time to return and the afterwards operations are blocked by it. Although it can be interrupted by signal, it still seems suboptimal. Now css offline is handled by worker, and the typical

Re: [PATCH] video: offb: Pass actual name in offb_init_palette_hacks

2019-01-02 Thread Mathieu Malaterre
Bartlomiej, Do you need an Acked-by from Rob, or can you take it in the next round of fixes for v4.20 ? Just to repeat myself, previous code would call offb_init_palette_hacks(), which in turn would do: if (dp && !strncmp(name, "ATY,Rage128", 11)) { with name=NULL. Thanks On Thu, Dec

Re: [PATCH v5 2/3] thermal: broadcom: Add Stingray thermal driver

2019-01-02 Thread Eduardo Valentin
On Tue, Oct 16, 2018 at 08:41:19PM +0530, Srinath Mannam wrote: > From: Pramod Kumar > > Stingray SoC has six temperature sensor and those are > configured, controlled and accessed to read temperature > and update in DDR memory using m0 firmware. > All six sensors has been given 4 bytes of

Re: [PATCH v2 2/2] mmc: sdhci-omap: Workaround errata regarding SDR104/HS200 tuning failures (i929)

2019-01-02 Thread Eduardo Valentin
unregistered > > between this point and when you call thermal_zone_get_temp() a couple > > of line below. I assume it's a known problem, but just wanted to point > > it out. > > Yes, there is no ref counting. Specially because the get zones usages were too specific, a

Re: [LKP] [mtd] c4dfa25ab3: kernel_BUG_at_fs/sysfs/file.c

2019-01-02 Thread Linus Torvalds
Hmm.. Adding a few more mtd people to the cc. On Tue, Jan 1, 2019 at 4:57 PM kernel test robot wrote: > > FYI, we noticed the following commit (built with gcc-7): > > commit: c4dfa25ab307a277eafa7067cd927fbe4d9be4ba ("mtd: add support for > reading MTD devices via the nvmem API") > > [

[PATCH] ARM: dts: rockchip: fix cif1_pdn pin on rk3188-bqedison2qc

2019-01-02 Thread Heiko Stuebner
The powerdown pin for the second camera is gpio3_b5 not b4, so fix that. We don't have a working camera setup yet, so this is not really critical, but nevertheless better to have fixed already. Fixes: 36ead9149916 ("ARM: dts: rockchip: add BQ Edison 2 QC devicetree") Reported-by: Johan Jonker

Re: [PATCH v3 2/2] mm: rid swapoff of quadratic complexity

2019-01-02 Thread Hugh Dickins
On Wed, 2 Jan 2019, Vineeth Pillai wrote: > > After reading the code again, I feel like we can make the retry logic > simpler and avoid the use of oldi. If my understanding is correct, > except for frontswap case, we reach try_to_unuse() only after we > disable the swap device. So I think, we

[PATCH V7 2/2] mmc: tegra: HW Command Queue Support for Tegra SDMMC

2019-01-02 Thread Sowjanya Komatineni
This patch adds HW Command Queue for supported Tegra SDMMC controllers. As per SD Host 4.20 Spec for Host Control 1 Register, DMA Select options supported are With Host Version 4 Enable = 0, b'00:SDMA, b'10:32-bit ADMA2, b'11:64-bit ADMA2 With Host Version 4 Enable = 1, b'00:SDMA, b'10:ADMA2,

[PATCH V7 0/2] HW Command Queue support for Tegra SDMMC

2019-01-02 Thread Sowjanya Komatineni
This patch series is for HW Command Queue support for Tegra SDMMC. Patch[2] adds HW Command Queue support for Tegra SDMMC and has dependencies on other patches in this series as explained below. Patch[1] SDMMC address range: This patch defines exact register space for all the SDMMC Controllers.

[PATCH V7 1/2] arm64: dtsi: Fix SDMMC address range

2019-01-02 Thread Sowjanya Komatineni
This patch fixes the SDMMC Controllers address space to be exact defined register address range as per the design. SDMMC Controller supporting Command Queue has CQHCI registers at offset 0xF000. This fix helps to identify the Tegra SDMMC Controllers supporting Command Queue based on the size of

[PATCH] ARM: dts: rockchip: rk3188: remove qos_cif1

2019-01-02 Thread Johan Jonker
While the rk3066 does have 2 camera interfaces, the rk3188 does not, so there also isn't a QoS block for that non-existing interface, so remove it. Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3188.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/rk3188.dtsi

Re: [PATCH v5 8/9] xen/gntdev.c: Convert to use vm_insert_range

2019-01-02 Thread Boris Ostrovsky
On 1/2/19 1:58 PM, Souptick Joarder wrote: > On Mon, Dec 24, 2018 at 6:53 PM Souptick Joarder wrote: >> Convert to use vm_insert_range() to map range of kernel >> memory to user vma. >> >> Signed-off-by: Souptick Joarder >> Reviewed-by: Matthew Wilcox >> Reviewed-by: Boris Ostrovsky >> --- >>

Re: [PATCH] Revert "staging:r8188eu: use lib80211 CCMP decrypt"

2019-01-02 Thread Ivan Safonov
On 1/2/19 4:06 AM, Larry Finger wrote: On 1/1/19 1:31 PM, Michael Straube wrote: I've tested your patch and it solved the issue. No freezes and dmesg looks good. I noticed that try_then_request_module() is also used in rtw_wep_encrypt() and rtw_wep_decrypt(). I guess that also could cause

Re: [PATCH v5 15/15] KVM: s390: start using the GIB

2019-01-02 Thread Pierre Morel
On 19/12/2018 20:17, Michael Mueller wrote: By initializing the GIB, it will be used by the kvm host. Signed-off-by: Michael Mueller --- arch/s390/kvm/kvm-s390.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c

Re: [PATCH -next] IB/qib: Add missing err handle for qib_user_sdma_rb_insert

2019-01-02 Thread Leon Romanovsky
On Wed, Jan 02, 2019 at 12:07:40PM -0700, Jason Gunthorpe wrote: > On Wed, Jan 02, 2019 at 08:40:50PM +0200, Leon Romanovsky wrote: > > On Wed, Jan 02, 2019 at 10:12:24AM -0700, Jason Gunthorpe wrote: > > > On Fri, Dec 21, 2018 at 10:19:38AM +0800, YueHaibing wrote: > > > > It should goto err

[PATCH] ixgbe: remove magic constant in ixgbe_reset_hw_82599()

2019-01-02 Thread Jiri Kosina
From: Jiri Kosina ixgbe_reset_hw_82599() resets the value of hw->mac.num_rar_entries to pre-defined value of 128. Let's get rid of that hardcoded literal, and use IXGBE_82599_RAR_ENTRIES instead, the same way the normal initialization path does. Signed-off-by: Jiri Kosina ---

Re: [PATCH v1 5/8] kvm:x86 Enable MSR_IA32_XSS bit 11 and 12 for CET xsaves/xrstors.

2019-01-02 Thread Jim Mattson
On Wed, Jan 2, 2019 at 10:24 AM Sean Christopherson wrote: > > On Wed, Dec 26, 2018 at 04:15:29PM +0800, Yang Weijiang wrote: > > For kvm Guest OS, right now, only bit 11(user mode CET) and bit 12 > > (supervisor CET) are supported in XSS MSR, if other bits are being set, > > the write to XSS

Re: [PATCH v5 2/5] leds: Add helper for getting default pattern from Device Tree

2019-01-02 Thread Jacek Anaszewski
Hi Krzysztof, You mentioned change of helper name in the cover letter, but it still has "classdev" part. On 1/1/19 3:07 PM, Krzysztof Kozlowski wrote: Multiple LED triggers might need to access default pattern so add a helper for that. Signed-off-by: Krzysztof Kozlowski ---

Re: [virtio-dev] RE: [PATCH v1 0/2] Virtio: fix some vq allocation issues

2019-01-02 Thread Halil Pasic
On Wed, 2 Jan 2019 19:02:33 +0100 Cornelia Huck wrote: > On Wed, 2 Jan 2019 16:59:19 +0100 > Halil Pasic wrote: > > > On Wed, 2 Jan 2019 14:23:38 +0100 > > Cornelia Huck wrote: > > > > > On Wed, 2 Jan 2019 10:53:14 +0100 > > > Cornelia Huck wrote: > > > > > > > On Tue, 1 Jan 2019

Re: [PATCH v1 4/8] kvm:vmx Pass through host CET related MSRs to Guest.

2019-01-02 Thread Jim Mattson
On Wed, Dec 26, 2018 at 12:13 AM Yang Weijiang wrote: > > During Guest OS execution, it accesses these MSRs to > configure CET runtime settings. > > Signed-off-by: Zhang Yi Z > Signed-off-by: Yang Weijiang > --- > arch/x86/kvm/vmx.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git

Re: [GIT PULL] security: integrity updates for v4.21

2019-01-02 Thread pr-tracker-bot
The pull request you sent on Mon, 31 Dec 2018 15:11:33 +1100 (AEDT): > git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git > next-integrity has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f218a29c25ad8abdb961435d6b8139f462061364 Thank you! --

Re: [GIT PULL] security: TPM changes for v4.21

2019-01-02 Thread pr-tracker-bot
The pull request you sent on Mon, 31 Dec 2018 15:18:38 +1100 (AEDT): > git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git > next-tpm has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/74673fc50babc9be22b32c4ce697fceb51c7671a Thank you! --

Re: [GIT PULL] security: seccomp changes for v4.21

2019-01-02 Thread pr-tracker-bot
The pull request you sent on Mon, 31 Dec 2018 15:15:08 +1100 (AEDT): > git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git > next-seccomp has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d9a7fa67b4bfe6ce93ee9aab23ae2e7ca0763e84 Thank you! --

Re: [GIT PULL] security: Smack changes for v4.21

2019-01-02 Thread pr-tracker-bot
The pull request you sent on Mon, 31 Dec 2018 15:16:25 +1100 (AEDT): > git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git > next-smack has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/19f2e267a5d0d26282a64f8f788c482852c95324 Thank you! --

Re: [PATCH -next] IB/qib: Add missing err handle for qib_user_sdma_rb_insert

2019-01-02 Thread Jason Gunthorpe
On Wed, Jan 02, 2019 at 08:40:50PM +0200, Leon Romanovsky wrote: > On Wed, Jan 02, 2019 at 10:12:24AM -0700, Jason Gunthorpe wrote: > > On Fri, Dec 21, 2018 at 10:19:38AM +0800, YueHaibing wrote: > > > It should goto err handle if qib_user_sdma_rb_insert fails, > > > other than success return. > >

RE: [PATCH] net: tsn: add an netlink interface between kernel and application layer

2019-01-02 Thread Vinicius Costa Gomes
Hi Po Liu, PO LIU writes: > Hi Vinicius, > > Thank you very much for your feedback. > > I know the CBS is used to be most important part of AVB. And qdiscs is good > tool to configure qos. > > But as you know, the TSN family is a cluster of protocols and much extending > the AVB. The

Re: [PATCH] Revert "staging:r8188eu: use lib80211 CCMP decrypt"

2019-01-02 Thread Ivan Safonov
On 1/2/19 12:38 AM, Larry Finger wrote: On 1/1/19 3:02 AM, Ivan Safonov wrote: I suggested a patch for loading modules from interruptible mode, but this patch remained unclaimed ( http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-August/124851.html ). For some reason I

Re: [PATCH v1 8/8] kvm:cpuid Report CET SHSTK and IBT support in CPUID.(EAX=0x7,ECX=0).

2019-01-02 Thread Sean Christopherson
On Wed, Dec 26, 2018 at 04:15:32PM +0800, Yang Weijiang wrote: > Guest OS can query CET SHSTK and IBT support by CPUID.(EAX=0x7,ECX=0), > in return, ECX[bit 7] corresponds to SHSTK feature, and EDX[bit 20] > corresponds to IBT feature. > > Signed-off-by: Zhang Yi Z > Signed-off-by: Yang Weijiang

Re: [PATCH v5 8/9] xen/gntdev.c: Convert to use vm_insert_range

2019-01-02 Thread Souptick Joarder
On Mon, Dec 24, 2018 at 6:53 PM Souptick Joarder wrote: > > Convert to use vm_insert_range() to map range of kernel > memory to user vma. > > Signed-off-by: Souptick Joarder > Reviewed-by: Matthew Wilcox > Reviewed-by: Boris Ostrovsky > --- > drivers/xen/gntdev.c | 11 --- > 1 file

Re: [PATCH v1 7/8] kvm:cpuid Fix xsaves area size calculation for CPUID.(EAX=0xD,ECX=1).

2019-01-02 Thread Sean Christopherson
On Wed, Dec 26, 2018 at 04:15:31PM +0800, Yang Weijiang wrote: > According to latest Software Development Manual vol.2/3.2, > for CPUID.(EAX=0xD,ECX=1), it should report xsaves area size > containing all states enabled by XCR0|IA32_MSR_XSS. > > Signed-off-by: Zhang Yi Z > Signed-off-by: Yang

Re: KASAN: use-after-free Read in posix_lock_inode

2019-01-02 Thread Dmitry Vyukov
On Wed, Jan 2, 2019 at 7:51 PM Dmitry Vyukov wrote: > > On Wed, Jan 2, 2019 at 7:20 PM Jeff Layton wrote: > > > > On Wed, 2019-01-02 at 02:31 -0800, syzbot wrote: > > > Hello, > > > > > > syzbot found the following crash on: > > > > > > HEAD commit:e1ef035d272e Merge tag 'armsoc-defconfig'

[PATCH v3] driver core: platform: Add an error message to platform_get_irq*()

2019-01-02 Thread Stephen Boyd
A grep of the kernel shows that many drivers print an error message if they fail to get the irq they're looking for. Furthermore, those drivers all decide to print the device name, or not, and the irq they were requesting, or not, etc. Let's consolidate all these error messages into the API

Re: KASAN: use-after-free Read in posix_lock_inode

2019-01-02 Thread Dmitry Vyukov
On Wed, Jan 2, 2019 at 7:20 PM Jeff Layton wrote: > > On Wed, 2019-01-02 at 02:31 -0800, syzbot wrote: > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:e1ef035d272e Merge tag 'armsoc-defconfig' of git://git.ker.. > > git tree: upstream > > console output:

Re: [PATCH v1 6/8] kvm:cpuid Add CPUID support for CET xsaves component query.

2019-01-02 Thread Sean Christopherson
On Wed, Dec 26, 2018 at 04:15:30PM +0800, Yang Weijiang wrote: > CET xsaves component size is queried through CPUID.(EAX=0xD, ECX=11) > and CPUID.(EAX=0xD, ECX=12). > > Signed-off-by: Zhang Yi Z > Signed-off-by: Yang Weijiang > --- > arch/x86/kvm/cpuid.c | 14 ++ > 1 file changed,

Re: [PATCH v5 06/11] platform/x86: apple-gmux: Make PCI dependency explicit

2019-01-02 Thread Lukas Wunner
On Wed, Jan 02, 2019 at 06:10:33PM +, Sinan Kaya wrote: > After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built without > CONFIG_PCI set")' dependencies on CONFIG_PCI that previously were > satisfied implicitly through dependencies on CONFIG_ACPI have to be > specified directly. This

Re: [PATCH -next] IB/qib: Add missing err handle for qib_user_sdma_rb_insert

2019-01-02 Thread Leon Romanovsky
On Wed, Jan 02, 2019 at 10:12:24AM -0700, Jason Gunthorpe wrote: > On Fri, Dec 21, 2018 at 10:19:38AM +0800, YueHaibing wrote: > > It should goto err handle if qib_user_sdma_rb_insert fails, > > other than success return. > > > > Fixes: 67810e8c3c01 ("RDMA/qib: Remove all occurrences of BUG_ON()")

[PATCH] Add USB_QUIRK_DELAY_CTRL_MSG quirk for Corsair K70 RGB

2019-01-02 Thread Jack Stocker
To match the Corsair Strafe RGB, the Corsair K70 RGB also requires USB_QUIRK_DELAY_CTRL_MSG to completely resolve boot connection issues discussed here: https://github.com/ckb-next/ckb-next/issues/42. Otherwise roughly 1 in 10 boots the keyboard will fail to be detected. Signed-off-by: Jack

Re: [PATCH 11/21] PCI: designware: Make use of BIT() in constant definitions

2019-01-02 Thread Gustavo Pimentel
Hi, On 02/01/2019 18:28, Andrey Smirnov wrote: > On Wed, Dec 26, 2018 at 7:19 AM Gustavo Pimentel > wrote: >> >> Hi, >> >> On 21/12/2018 07:27, Andrey Smirnov wrote: >>> Avoid using explicit left shifts and convert various definitions to >>> use BIT() instead. No functional change intended. >>>

Re: possible deadlock in __wake_up_common_lock

2019-01-02 Thread Dmitry Vyukov
On Wed, Jan 2, 2019 at 7:06 PM Mel Gorman wrote: > > On Wed, Jan 02, 2019 at 01:51:01PM +0100, Vlastimil Babka wrote: > > On 1/2/19 9:51 AM, syzbot wrote: > > > Hello, > > > > > > syzbot found the following crash on: > > > > > > HEAD commit:f346b0becb1b Merge branch 'akpm' (patches from

Re: [PATCH v2 2/2] mmc: sdhci-omap: Workaround errata regarding SDR104/HS200 tuning failures (i929)

2019-01-02 Thread Olof Johansson
> > For example, what happens if the thermal zone becomes unregistered > between this point and when you call thermal_zone_get_temp() a couple > of line below. I assume it's a known problem, but just wanted to point > it out. > > > + if (IS_ERR(thermal_dev)) { >

Re: [PATCH v9 07/12] dt-bindings: mfd: Add a document for PECI client MFD

2019-01-02 Thread Jae Hyun Yoo
Hi Lee, On 12/21/2018 6:47 AM, Lee Jones wrote: On Tue, 18 Dec 2018, Jae Hyun Yoo wrote: This commit adds a dt-bindings document for PECI client MFD. +* Intel PECI client bindings +PECI (Platform Environment Control Interface) is a one-wire bus interface that +provides a communication

Re: [PATCH 11/21] PCI: designware: Make use of BIT() in constant definitions

2019-01-02 Thread Andrey Smirnov
On Wed, Dec 26, 2018 at 7:19 AM Gustavo Pimentel wrote: > > Hi, > > On 21/12/2018 07:27, Andrey Smirnov wrote: > > Avoid using explicit left shifts and convert various definitions to > > use BIT() instead. No functional change intended. > > > > Cc: Lorenzo Pieralisi > > Cc: Bjorn Helgaas > >

Re: [PATCH v5 10/15] KVM: s390: add functions to (un)register GISC with GISA

2019-01-02 Thread Pierre Morel
On 02/01/2019 18:29, Pierre Morel wrote: On 19/12/2018 20:17, Michael Mueller wrote: Add the IAM (Interruption Alert Mask) to the architecture specific kvm struct. This mask in the GISA is used to define for which ISC a GIB alert can be issued. The functions kvm_s390_gisc_register() and

Re: [PATCH v1 5/8] kvm:x86 Enable MSR_IA32_XSS bit 11 and 12 for CET xsaves/xrstors.

2019-01-02 Thread Sean Christopherson
On Wed, Dec 26, 2018 at 04:15:29PM +0800, Yang Weijiang wrote: > For kvm Guest OS, right now, only bit 11(user mode CET) and bit 12 > (supervisor CET) are supported in XSS MSR, if other bits are being set, > the write to XSS will be skipped. > > Signed-off-by: Zhang Yi Z > Signed-off-by: Yang

Re: [PATCH v9 08/12] mfd: intel-peci-client: Add PECI client MFD driver

2019-01-02 Thread Jae Hyun Yoo
Hi Lee, On 12/21/2018 6:46 AM, Lee Jones wrote: On Tue, 18 Dec 2018, Jae Hyun Yoo wrote: This commit adds PECI client MFD driver. +config MFD_INTEL_PECI_CLIENT + bool "Intel PECI client" + depends on (PECI || COMPILE_TEST) + select MFD_CORE + help + If

Re: KASAN: use-after-free Read in posix_lock_inode

2019-01-02 Thread Jeff Layton
On Wed, 2019-01-02 at 02:31 -0800, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:e1ef035d272e Merge tag 'armsoc-defconfig' of git://git.ker.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=16bb4c4b40 > kernel

Re: possible deadlock in __wake_up_common_lock

2019-01-02 Thread Qian Cai
On 1/2/19 1:06 PM, Mel Gorman wrote: > While I recognise there is no test case available, how often does this > trigger in syzbot as it would be nice to have some confirmation any > patch is really fixing the problem. I think I did manage to trigger this every time running a mmap() workload

Re: [PATCH v1 4/8] kvm:vmx Pass through host CET related MSRs to Guest.

2019-01-02 Thread Sean Christopherson
On Wed, Dec 26, 2018 at 04:15:28PM +0800, Yang Weijiang wrote: > During Guest OS execution, it accesses these MSRs to > configure CET runtime settings. The changelog needs to explain why it's ok to expose these MSRS to the guest, e.g. call out which are saved/loaded through the VMCS and which are

Re: [PATCH v2] driver core: platform: Add an error message to platform_get_irq*()

2019-01-02 Thread Stephen Boyd
Quoting Andy Shevchenko (2018-12-30 02:42:39) > On Fri, Dec 28, 2018 at 11:56 PM Stephen Boyd wrote: > > > > A grep of the kernel shows that many drivers print an error message if > > they fail to get the irq they're looking for. Furthermore, those drivers > > all decide to print the device name,

Re: [PATCH] r8169: Add support for new Realtek Ethernet

2019-01-02 Thread David Miller
From: Kai-Heng Feng Date: Wed, 2 Jan 2019 14:45:07 +0800 > There are two new Realtek Ethernet devices which are re-branded r8168h. > Add the IDs to to support them. > > Signed-off-by: Kai-Heng Feng Heiner, please review.

[PATCH v5 10/11] x86/intel/lpss: Make PCI dependency explicit

2019-01-02 Thread Sinan Kaya
After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set")' dependencies on CONFIG_PCI that previously were satisfied implicitly through dependencies on CONFIG_ACPI have to be specified directly. LPSS code relies on PCI infrastructure but this dependency has not been

[PATCH v5 04/11] platform/x86: intel_ips: make PCI dependency explicit

2019-01-02 Thread Sinan Kaya
After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set")' dependencies on CONFIG_PCI that previously were satisfied implicitly through dependencies on CONFIG_ACPI have to be specified directly. Ipss driver is a PCI device driver but this has not been mentioned

Re: [PATCH 1/1] net-next/hinic:add shutdown callback

2019-01-02 Thread David Miller
From: Xue Chaojing Date: Tue, 1 Jan 2019 19:39:33 + > If there is no shutdown callback, our board will report pcie UNF errors > after restarting. This patch add shutdown callback for hinic. > > Signed-off-by: Xue Chaojing Applied, thanks.

Re: [RFC][PATCH v2 00/21] PMEM NUMA node and hotness accounting/migration

2019-01-02 Thread Dave Hansen
On 12/28/18 12:41 AM, Michal Hocko wrote: >> >> It can be done in kernel page reclaim path, near the anonymous page >> swap out point. Instead of swapping out, we now have the option to >> migrate cold pages to PMEM NUMA nodes. > OK, this makes sense to me except I am not sure this is something

[PATCH v5 07/11] drivers: thermal: int3406_thermal: Make PCI dependency explicit

2019-01-02 Thread Sinan Kaya
After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set")' dependencies on CONFIG_PCI that previously were satisfied implicitly through dependencies on CONFIG_ACPI have to be specified directly. Need CONFIG_PCI to be set in order to be able to use this driver. Fixes:

Re: [PATCH v1 1/8] kvm:vmx Introduce CET related VMCS field definitions.

2019-01-02 Thread Sean Christopherson
On Wed, Dec 26, 2018 at 04:15:25PM +0800, Yang Weijiang wrote: > VMX relies on these fields to save/restore CET states for > guest and host. They are added here as VMCS placeholders > for the function. The changelog needs a lot more detail on what is saved where and when, e.g. hardware

[PATCH v5 02/11] ata: pata_acpi: Make PCI dependency explicit

2019-01-02 Thread Sinan Kaya
After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set")' dependencies on CONFIG_PCI that previously were satisfied implicitly through dependencies on CONFIG_ACPI have to be specified directly. PATA_ACPI is a PCI device driver but the PCI dependency has not been

[PATCH v5 05/11] platform/x86: intel_pmc: Make PCI dependency explicit

2019-01-02 Thread Sinan Kaya
After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set")' dependencies on CONFIG_PCI that previously were satisfied implicitly through dependencies on CONFIG_ACPI have to be specified directly. Code relies on PCI for execution. Specify this in the Kconfig. Fixes:

[PATCH v5 03/11] vga-switcheroo: make PCI dependency explicit

2019-01-02 Thread Sinan Kaya
This driver depends on the PCI infrastructure but the dependency has not been explicitly called out. Fixes: 5d32a66541c46 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set") Signed-off-by: Sinan Kaya Reviewed-by: Lukas Wunner Acked-by: Daniel Vetter --- drivers/gpu/vga/Kconfig | 1 +

[PATCH v5 09/11] mmc: sdhci-acpi: Make PCI dependency explicit

2019-01-02 Thread Sinan Kaya
After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set")' dependencies on CONFIG_PCI that previously were satisfied implicitly through dependencies on CONFIG_ACPI have to be specified directly. This driver relies on IOSF_MBI and IOSF_MBI depends on PCI. For this

[PATCH v5 08/11] ASoC: Intel: atom: Make PCI dependency explicit

2019-01-02 Thread Sinan Kaya
After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set")' dependencies on CONFIG_PCI that previously were satisfied implicitly through dependencies on CONFIG_ACPI have to be specified directly. This code relies on IOSF_MBI and IOSF_MBI depends on PCI. For this reason,

[PATCH v5 11/11] drivers: thermal: int340x_thermal: Make PCI dependency explicit

2019-01-02 Thread Sinan Kaya
After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set")' dependencies on CONFIG_PCI that previously were satisfied implicitly through dependencies on CONFIG_ACPI have to be specified directly. IOSF_CORE depends on PCI. For this reason, add a direct dependency on

[PATCH v5 06/11] platform/x86: apple-gmux: Make PCI dependency explicit

2019-01-02 Thread Sinan Kaya
After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set")' dependencies on CONFIG_PCI that previously were satisfied implicitly through dependencies on CONFIG_ACPI have to be specified directly. This driver depends on the PCI infrastructure but the dependency has not

[PATCH v5 01/11] ACPI / LPSS: Make PCI dependency explicit

2019-01-02 Thread Sinan Kaya
After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set")', it is possible to build ACPI without any PCI support. This code depends on PCI. Compile only when PCI is present. Fixes: 5d32a66541c46 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set")

[PATCH v2] kmemleak: survive in a low-memory situation

2019-01-02 Thread Qian Cai
Kmemleak could quickly fail to allocate an object structure and then disable itself in a low-memory situation. For example, running a mmap() workload triggering swapping and OOM [1]. Kmemleak allocation could fail even though the trackig object is succeeded. Hence, it could still try to start a

Re: possible deadlock in __wake_up_common_lock

2019-01-02 Thread Mel Gorman
On Wed, Jan 02, 2019 at 01:51:01PM +0100, Vlastimil Babka wrote: > On 1/2/19 9:51 AM, syzbot wrote: > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:f346b0becb1b Merge branch 'akpm' (patches from Andrew) > > git tree: upstream > > console output:

Re: [virtio-dev] RE: [PATCH v1 0/2] Virtio: fix some vq allocation issues

2019-01-02 Thread Cornelia Huck
On Wed, 2 Jan 2019 16:59:19 +0100 Halil Pasic wrote: > On Wed, 2 Jan 2019 14:23:38 +0100 > Cornelia Huck wrote: > > > On Wed, 2 Jan 2019 10:53:14 +0100 > > Cornelia Huck wrote: > > > > > On Tue, 1 Jan 2019 00:40:19 +0100 > > > Halil Pasic wrote: > > > > AFAICT tweaking the balloon code

[PATCH] fork, memcg: fix cached_stacks case

2019-01-02 Thread Shakeel Butt
Commit 5eed6f1dff87 ("fork,memcg: fix crash in free_thread_stack on memcg charge fail") fixes a crash caused due to failed memcg charge of the kernel stack. However the fix misses the cached_stacks case which this patch fixes. So, the same crash can happen if the memcg charge of a cached stack is

Re: [PATCH 2/3] dmaengine: Extend the k3dma driver binding

2019-01-02 Thread John Stultz
On Thu, Dec 27, 2018 at 10:39 PM h00249924 wrote: > > From: Youlin Wang > > Extend the k3dma driver binding to support hisi-asp hardware variants. > > Signed-off-by: Youlin Wang > Signed-off-by: Tanglei Han > Cc: Vinod Koul > Cc: Rob Herring > Cc: Mark Rutland > --- >

[GIT PULL] one more clk change for the merge window

2019-01-02 Thread Stephen Boyd
The following changes since commit b677574bdf292e31c8f9810ff0fc0b35839d4636: Merge branch 'clk-imx7ulp' into clk-next (2018-12-14 14:03:38 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git tags/clk-for-linus for you to fetch

Re: [PATCH v3 2/2] mm: rid swapoff of quadratic complexity

2019-01-02 Thread Vineeth Pillai
On Tue, Jan 1, 2019 at 11:16 PM Hugh Dickins wrote: > One more fix on top of what I sent yesterday: once I delved into > the retries, I found that the major cause of exceeding MAX_RETRIES > was the way the retry code neatly avoided retrying the last part of > its work. With this fix in, I have

Re: [PATCH 3.16 000/366] 3.16.61-rc1 review

2019-01-02 Thread Ben Hutchings
On Wed, 2018-11-14 at 21:47 +0100, Johannes Pointner wrote: > On Tue, Nov 13, 2018 at 2:58 AM Guenter Roeck > wrote: > > On Sun, Nov 11, 2018 at 07:49:04PM +, Ben Hutchings wrote: > > > This is the start of the stable review cycle for the 3.16.61 > > > release. > > > There are 366 patches in

[PATCH v2 2/3] kasan: make tag based mode work with CONFIG_HARDENED_USERCOPY

2019-01-02 Thread Andrey Konovalov
With CONFIG_HARDENED_USERCOPY enabled __check_heap_object() compares and then subtracts a potentially tagged pointer with a non-tagged address of the page that this pointer belongs to, which leads to unexpected behavior. Untag the pointer in __check_heap_object() before doing any of these

[PATCH v2 3/3] kasan: fix krealloc handling for tag-based mode

2019-01-02 Thread Andrey Konovalov
Right now tag-based KASAN can retag the memory that is reallocated via krealloc and return a differently tagged pointer even if the same slab object gets used and no reallocated technically happens. There are a few issues with this approach. One is that krealloc callers can't rely on comparing

[PATCH v2 1/3] kasan, arm64: use ARCH_SLAB_MINALIGN instead of manual aligning

2019-01-02 Thread Andrey Konovalov
Instead of changing cache->align to be aligned to KASAN_SHADOW_SCALE_SIZE in kasan_cache_create() we can reuse the ARCH_SLAB_MINALIGN macro. Suggested-by: Vincenzo Frascino Signed-off-by: Andrey Konovalov --- arch/arm64/include/asm/kasan.h | 4 include/linux/slab.h | 1 +

[PATCH v2 0/3] kasan: tag-based mode fixes

2019-01-02 Thread Andrey Konovalov
Hi Andrew, This patchset includes an updated "kasan, arm64: use ARCH_SLAB_MINALIGN instead of manual aligning" patch and fixes for two more issues that were uncovered while testing with a variety of different config options enabled. Thanks! Andrey Konovalov (3): kasan, arm64: use

[PATCH] KVM: validate userspace input in kvm_clear_dirty_log_protect()

2019-01-02 Thread Tomas Bortoli
The function at issue does not fully validate the content of the structure pointed by the log parameter, though its content has just been copied from userspace and lacks validation. Fix that. Moreover, change the type of n to unsigned long as that is the type returned by

Re: [PATCH v5 10/15] KVM: s390: add functions to (un)register GISC with GISA

2019-01-02 Thread Pierre Morel
On 19/12/2018 20:17, Michael Mueller wrote: Add the IAM (Interruption Alert Mask) to the architecture specific kvm struct. This mask in the GISA is used to define for which ISC a GIB alert can be issued. The functions kvm_s390_gisc_register() and kvm_s390_gisc_unregister() are used to

Re: INFO: task hung in generic_file_write_iter

2019-01-02 Thread Jan Kara
On Thu 03-01-19 01:07:25, Tetsuo Handa wrote: > On 2019/01/02 23:40, Jan Kara wrote: > > I had a look into this and the only good explanation for this I have is > > that sb->s_blocksize is different from (1 << > > sb->s_bdev->bd_inode->i_blkbits). > > If that would happen, we'd get exactly the

Re: [PATCH] x86/retpoline: change RETPOLINE into CONFIG_RETPOLINE

2019-01-02 Thread Nadav Amit
> On Jan 1, 2019, at 5:17 PM, Zhenzhong Duan wrote: > > > On 2019/1/1 7:42, Nadav Amit wrote: >> A recent enhancement intentionally fails the kernel build if the >> compiler does not support retpolines and CONFIG_RETPOLINE is set. >> >> However, the patch that introduced it did not change

Re: [PATCH v2 1/2] soc: qcom: rmtfs-mem: Add class to enable uevents

2019-01-02 Thread Evan Green
On Fri, Dec 21, 2018 at 2:05 PM Bjorn Andersson wrote: > > On Fri 21 Dec 12:10 PST 2018, Evan Green wrote: > > > Currently the qcom_rmtfs_memN devices are entirely invisible to the udev > > world. > > Add a class to the rmtfs device so that uevents fire when the device is > > added. > > > >

Shaohua Li

2019-01-02 Thread Jens Axboe
Hi, I've got some very sad news to share with you - over Christmas, Shaohua Li passed away after battling cancer for most of last year. As you know, Shaohua acted as the maintainer for md. He remained dedicated to that through the difficult times. With his passing, we obviously have a void that

Re: [PATCH 05/10] drm/virtio: use struct to pass params to virtio_gpu_object_create()

2019-01-02 Thread Ezequiel Garcia
On Wed, 2018-12-19 at 13:27 +0100, Gerd Hoffmann wrote: > Create virtio_gpu_object_params, use that to pass object parameters to > virtio_gpu_object_create. Also drop unused "kernel" parameter (unused, > always false). > > Signed-off-by: Gerd Hoffmann > --- >

<    1   2   3   4   5   6   >