[RFC PATCH v2 5/5] drm/bridge/sii8620: use micro-USB cable detection logic to detect MHL

2018-01-31 Thread Andrzej Hajda
From: Maciej Purski Currently MHL chip must be turned on permanently to detect MHL cable. It duplicates micro-USB controller's (MUIC) functionality and consumes unnecessary power. Lets use extcon attached to MUIC to enable MHL chip only if it detects MHL cable. Signed-off-by: Maciej Purski Sign

[RFC PATCH v2 3/5] arm64: dts: exynos: add OF graph between MHL and USB connector

2018-01-31 Thread Andrzej Hajda
OF graph describes MHL data lanes between MHL and respective USB connector. Signed-off-by: Andrzej Hajda --- .../boot/dts/exynos/exynos5433-tm2-common.dtsi | 31 +++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-co

Re: [PATCH v6 11/13] kvm, x86: update spectre-v1 mitigation

2018-01-31 Thread Paolo Bonzini
On 31/01/2018 03:07, Thomas Gleixner wrote: >> Hi Thomas, >> >> I notice this one missing from -tip, I suspect because of the >> collision with the raw 'lfence' that is in current mainline? No >> worries, I'll send a rebased fixup to Paolo directly once >> array_idx_nospec() goes upstream. Fine by

Re: [PATCH v5 08/13] iommu/rockchip: Control clocks needed to access the IOMMU

2018-01-31 Thread Rob Herring
On Wed, Jan 31, 2018 at 1:52 AM, Tomasz Figa wrote: > Hi Rob, > > On Wed, Jan 31, 2018 at 2:05 AM, Rob Herring wrote: >> On Wed, Jan 24, 2018 at 06:35:11PM +0800, Jeffy Chen wrote: >>> From: Tomasz Figa >>> >>> Current code relies on master driver enabling necessary clocks before >>> IOMMU is ac

[PATCHv4 3/3] x86/mm/encrypt: Rewrite sme_pgtable_calc()

2018-01-31 Thread Kirill A. Shutemov
sme_pgtable_calc() is unnecessary complex. It can be re-written in a more stream-lined way. As a side effect, we would get the code ready to boot-time switching between paging modes. Signed-off-by: Kirill A. Shutemov Reviewed-by: Tom Lendacky Tested-by: Tom Lendacky --- arch/x86/mm/mem_encryp

[PATCHv4 0/3] x86/mm/encrypt: Cleanup and switching between paging modes

2018-01-31 Thread Kirill A. Shutemov
This patcheset is a preparation set for boot-time switching between paging modes. Please review and consider applying. Code around sme_populate_pgd() is unnecessary complex and hard to modify. This patchset rewrites it in more stream-lined way to add support of boot-time switching between paging

[PATCHv4 2/3] x86/mm/encrypt: Rewrite sme_populate_pgd() and sme_populate_pgd_large()

2018-01-31 Thread Kirill A. Shutemov
sme_populate_pgd() and sme_populate_pgd_large() operate on the identity mapping, which means they want virtual addresses to be equal to physical one, without PAGE_OFFSET shift. We also need to avoid paravirtualization call there. Getting this done is tricky. We cannot use usual page table helpers

[PATCHv4 1/3] x86/mm/encrypt: Move page table helpers into separate translation unit

2018-01-31 Thread Kirill A. Shutemov
There are bunch of functions in mem_encrypt.c that operate on the identity mapping, which means they want virtual addresses to be equal to physical one, without PAGE_OFFSET shift. We also need to avoid paravirtualizaion call there. Getting this done is tricky. We cannot use usual page table helpe

Re: [PATCH v2 16/16] arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support

2018-01-31 Thread Hanjun Guo
Hi Marc, On 2018/1/30 1:45, Marc Zyngier wrote: > static int enable_psci_bp_hardening(void *data) > { > const struct arm64_cpu_capabilities *entry = data; > > - if (psci_ops.get_version) > + if (psci_ops.get_version) { > + if (check_smccc_arch_workaround_1(entry)) > +

Re: [PATCH] netfilter: fix pointer leaks to userspace

2018-01-31 Thread Pablo Neira Ayuso
On Mon, Jan 29, 2018 at 01:21:20PM +0100, Dmitry Vyukov wrote: > Several netfilter matches and targets put kernel pointers into > info objects, but don't set usersize in descriptors. > This leads to kernel pointer leaks if a match/target is set > and then read back to userspace. > > Properly set u

Re: [PATCH] netfilter: fix out-of-bounds accesses in clusterip_tg_check()

2018-01-31 Thread Pablo Neira Ayuso
On Tue, Jan 30, 2018 at 03:21:34PM +0100, Dmitry Vyukov wrote: > Commit 136e92bbec0a switched local_nodes from an array to a bitmask > but did not add proper bounds checks. As the result > clusterip_config_init_nodelist() can both over-read > ipt_clusterip_tgt_info.local_nodes and over-write > clus

[PATCH v1] auxdisplay: Move arm-charlcd binding to correct folder

2018-01-31 Thread Andy Shevchenko
This is a follow up to the commit 00846a4425d3 ("auxdisplay: Move arm-charlcd.c to drivers/auxdisplay folder") for Device Tree binding. No functional change. Signed-off-by: Andy Shevchenko --- Documentation/devicetree/bindings/{misc => auxdisplay}/arm-charlcd.txt | 0 1 file changed, 0 inse

Re: [PATCH v2] MIPS: fix incorrect mem=X@Y handling

2018-01-31 Thread Marcin Nowakowski
Hi Mathieu, On 31.01.2018 08:47, Mathieu Malaterre wrote: Since it's been a week, could you confirm the patch is ok as-is or do you think some comment(s) from James should be incorporated ? I'll prepare an updated patch that includes James' suggestions - I think they will lead to an overall

Re: [RFC,05/10] x86/speculation: Add basic IBRS support infrastructure

2018-01-31 Thread Dr. David Alan Gilbert
* Borislav Petkov (b...@suse.de) wrote: > On Wed, Jan 31, 2018 at 12:30:36PM +, Dr. David Alan Gilbert wrote: > > Indeed, it's only for this weird case where you suddenly need to change > > it. > > No, there's more: > > .name = "Broadwell-noTSX", > .name = "Haswell-noTSX", Haswel

Re: [PATCH v2 16/16] arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support

2018-01-31 Thread Marc Zyngier
On 31/01/18 13:56, Hanjun Guo wrote: > Hi Marc, > > On 2018/1/30 1:45, Marc Zyngier wrote: >> static int enable_psci_bp_hardening(void *data) >> { >> const struct arm64_cpu_capabilities *entry = data; >> >> -if (psci_ops.get_version) >> +if (psci_ops.get_version) { >> +

Re: [PATCH] locking/qspinlock: Ensure node is initialised before updating prev->next

2018-01-31 Thread Andrea Parri
On Wed, Jan 31, 2018 at 01:38:59PM +0100, Peter Zijlstra wrote: > On Wed, Jan 31, 2018 at 12:20:46PM +, Will Deacon wrote: > > diff --git a/kernel/locking/qspinlock.c b/kernel/locking/qspinlock.c > > index 294294c71ba4..1ebbc366a31d 100644 > > --- a/kernel/locking/qspinlock.c > > +++ b/kernel/l

RE: [PATCH v5 02/12] array_idx: sanitize speculative array de-references

2018-01-31 Thread Van De Ven, Arjan
> > short term there was some extremely rudimentary static analysis done. > > clearly > > that has extreme limitations both in insane rate of false positives, and > > missing > > cases. > > What was the output roughly, how many suspect places that need > array_idx_nospec() > handling: a few, a f

Re: [PATCH v5 02/12] array_idx: sanitize speculative array de-references

2018-01-31 Thread Greg KH
On Wed, Jan 31, 2018 at 02:13:45PM +, Van De Ven, Arjan wrote: > > > short term there was some extremely rudimentary static analysis done. > > > clearly > > > that has extreme limitations both in insane rate of false positives, and > > > missing > > > cases. > > > > What was the output rough

Re: [PATCH 2/2] gpio: Add GPIO driver for Spreadtrum SC9860 platform

2018-01-31 Thread Andy Shevchenko
On Wed, Jan 31, 2018 at 4:01 AM, Baolin Wang wrote: > On 31 January 2018 at 00:48, Andy Shevchenko > wrote: >> On Tue, Jan 30, 2018 at 2:07 PM, Baolin Wang wrote: >>> The Spreadtrum SC9860 platform GPIO controller contains 16 groups and >>> each group contains 16 GPIOs. Each GPIO can set input/

Re: Change in register_blkdev() behavior

2018-01-31 Thread Greg KH
On Tue, Jan 30, 2018 at 04:56:32PM -0800, Srivatsa S. Bhat wrote: > > Hi, > > Before commit 133d55cdb2f "block: order /proc/devices by major number", > if register_blkdev() was called with major = [1..UINT_MAX], it used to > succeed (provided the requested major number was actually free). How wa

[GIT PULL] IPMI updates for 4.16

2018-01-31 Thread Corey Minyard
The following changes since commit a638349bf6c29433b938141f99225b160551ff48:   Merge branch 'for-4.15-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu (2017-12-11 17:13:03 -0800) are available in the git repository at:   https://github.com/cminyard/linux-ipmi.git tags/for-li

[no subject]

2018-01-31 Thread Mario Ernesto Gerala
You have been awarded a donation of $350,000 USD please reply this email for more info : sungla...@gmail.com

[RFC] ARM: dts: imx7d: cl-som-imx7: fix pinctrl_enet

2018-01-31 Thread Aapo Vienamo
The missing last digit of the CONFIG values is added. Looks like a typo of some sort when comparing to the downstream dt. This fixes intermittent behavior behaviour of the ethernet controllers. Signed-off-by: Aapo Vienamo --- arch/arm/boot/dts/imx7d-cl-som-imx7.dts | 52 -

Re: [PATCH v2 16/16] arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support

2018-01-31 Thread Ard Biesheuvel
On 31 January 2018 at 14:11, Marc Zyngier wrote: > On 31/01/18 13:56, Hanjun Guo wrote: >> Hi Marc, >> >> On 2018/1/30 1:45, Marc Zyngier wrote: >>> static int enable_psci_bp_hardening(void *data) >>> { >>> const struct arm64_cpu_capabilities *entry = data; >>> >>> -if (psci_ops.get_ver

Re: [PATCH v5 0/3] livepatch: introduce atomic replace

2018-01-31 Thread Miroslav Benes
> IMHO, it might be easier to run just the callbacks from > the new patch. In reality, the author should always know > what it might be replacing and what needs to be done. I agree. I don't see a good solution to the problem. Imagine a crazy situation in which someone would like to patch the ent

Re: [PATCH] hwrng: Explicitly drop current_rng when unregistering rng device

2018-01-31 Thread Tom Lendacky
On 1/30/2018 5:26 PM, Keith Packard wrote: > When the currently in-use hw rng is being removed from the system, > explicitly drop it before using enable_best_rng as enable_best_rng > will not do anything if the list of avaialble RNGs is empty. > > Without this, the last RNG removed from the system

Re: [PATCH v2 16/16] arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support

2018-01-31 Thread Ard Biesheuvel
On 31 January 2018 at 14:35, Ard Biesheuvel wrote: > On 31 January 2018 at 14:11, Marc Zyngier wrote: >> On 31/01/18 13:56, Hanjun Guo wrote: >>> Hi Marc, >>> >>> On 2018/1/30 1:45, Marc Zyngier wrote: static int enable_psci_bp_hardening(void *data) { const struct arm64_cpu_

Re: [RFC,05/10] x86/speculation: Add basic IBRS support infrastructure

2018-01-31 Thread Eduardo Habkost
On Wed, Jan 31, 2018 at 02:04:49PM +, Dr. David Alan Gilbert wrote: > * Borislav Petkov (b...@suse.de) wrote: > > On Wed, Jan 31, 2018 at 12:30:36PM +, Dr. David Alan Gilbert wrote: > > > Indeed, it's only for this weird case where you suddenly need to change > > > it. > > > > No, there's

Re: [linux-sunxi] Re: [PATCH v6 2/2] media: V3s: Add support for Allwinner CSI.

2018-01-31 Thread Liviu Dudau
On Wed, Jan 31, 2018 at 08:42:12AM +0100, Maxime Ripard wrote: > Hi Liviu, Hi Maxime, > > On Wed, Jan 31, 2018 at 03:08:08AM +, Liviu Dudau wrote: > > On Fri, Jan 26, 2018 at 11:00:41AM +0800, Yong wrote: > > > Hi Maxime, > > > > > > On Fri, 26 Jan 2018 09:46:58 +0800 > > > Yong wrote: > >

Re: [PATCH v3 19/21] fpga: dfl: afu: add FPGA_GET_API_VERSION/CHECK_EXTENSION ioctls support

2018-01-31 Thread Alan Tull
On Mon, Nov 27, 2017 at 12:42 AM, Wu Hao wrote: Hi Hao, I'm adding my "Acked-by' below. When you post v4, please add it so that we can keep track of what got acked. Thanks, Alan > FPGA_GET_API_VERSION and FPGA_CHECK_EXTENSION ioctls are common ones which > need to be supported by all feature

Re: kernel BUG at drivers/android/binder_alloc.c:LINE!

2018-01-31 Thread Dan Carpenter
On Wed, Jan 31, 2018 at 01:00:35PM +0100, Dmitry Vyukov wrote: > On Wed, Jan 31, 2018 at 9:08 AM, Dan Carpenter > wrote: > > On Tue, Jan 30, 2018 at 11:59:47PM -0800, Eric Biggers wrote: > >> On Fri, Dec 01, 2017 at 04:22:00PM -0800, syzbot wrote: > >> > syzkaller has found reproducer for the fol

GFS2: Pull request (merge window)

2018-01-31 Thread Bob Peterson
Hi Linus, Please consider pulling the following changes for the GFS2 file system. Regards, Bob Peterson The following changes since commit 1291a0d5049dbc06baaaf66a9ff3f53db493b19b: Linux 4.15-rc4 (2017-12-17 18:59:59 -0800) are

Re: [PATCH] wireless: zd1211rw: remove redundant assignment of pointer 'q'

2018-01-31 Thread Dan Carpenter
On Wed, Jan 31, 2018 at 02:58:57PM +0200, Andy Shevchenko wrote: > On Tue, Jan 30, 2018 at 8:25 PM, Colin King wrote: > > From: Colin Ian King > > > > Pointer q is initialized and then almost immediately afterwards being > > re-assigned the same value. Remove the second redundant assignment. > >

Re: [PATCH v2] iio: accel: bmc150: Check for a second ACPI device for BOSC0200

2018-01-31 Thread Hans de Goede
Hi, On 31-01-18 13:25, Andy Shevchenko wrote: Have you chance a look at the branch I pushed yesterday? I assume you mean: https://bitbucket.org/andy-shev/linux/branch/topic/iio-acpi This looks very nice and a much better solution then what Jeremy Cline posted, which is my fault as I suggeste

Re: [Xen-devel] [PATCHv2] xen-netfront: remove warning when unloading module

2018-01-31 Thread Oleksandr Andrushchenko
Hi, Eduardo! I am working on a frontend driver (PV DRM) and also seeing some strange things on driver unloading: xt# rmmod -f drm_xen_front.ko [ 3236.462497] [drm] Unregistering XEN PV vdispl [ 3236.485745] [drm:xen_drv_remove [drm_xen_front]] *ERROR* Backend state is InitWait while removing d

Re: [RFC,05/10] x86/speculation: Add basic IBRS support infrastructure

2018-01-31 Thread Eduardo Habkost
On Wed, Jan 31, 2018 at 11:15:50AM +0100, Thomas Gleixner wrote: > On Wed, 31 Jan 2018, Christophe de Dinechin wrote: > > > On 30 Jan 2018, at 21:46, Alan Cox wrote: > > > > > >> If you are ever going to migrate to Skylake, I think you should just > > >> always tell the guests that you're running

Re: [RFC,05/10] x86/speculation: Add basic IBRS support infrastructure

2018-01-31 Thread Paolo Bonzini
On 29/01/2018 22:13, Andi Kleen wrote: >> What happens when someone introduces a >> workaround tied to some other model numbers? > There are already many of those in the tree for other issues and features. > So far you managed to survive without. Likely that will be true > in the future too. "Gue

Re: [PATCH 08/24] x86,sme: Annotate indirect call

2018-01-31 Thread Josh Poimboeuf
On Wed, Jan 31, 2018 at 10:29:21AM +0100, Peter Zijlstra wrote: > On Fri, Jan 26, 2018 at 10:37:30AM +, David Woodhouse wrote: > > On Tue, 2018-01-23 at 16:25 +0100, Peter Zijlstra wrote: > > > This is boot code, we run this _way_ before userspace comes along to > > > poison our branch predicto

Re: [PATCH v2 16/16] arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support

2018-01-31 Thread Marc Zyngier
On 31/01/18 14:38, Ard Biesheuvel wrote: > On 31 January 2018 at 14:35, Ard Biesheuvel wrote: >> On 31 January 2018 at 14:11, Marc Zyngier wrote: >>> On 31/01/18 13:56, Hanjun Guo wrote: Hi Marc, On 2018/1/30 1:45, Marc Zyngier wrote: > static int enable_psci_bp_hardening(void

Re: [RFC,05/10] x86/speculation: Add basic IBRS support infrastructure

2018-01-31 Thread Dr. David Alan Gilbert
* Paolo Bonzini (pbonz...@redhat.com) wrote: > On 29/01/2018 22:13, Andi Kleen wrote: > >> What happens when someone introduces a > >> workaround tied to some other model numbers? > > There are already many of those in the tree for other issues and features. > > So far you managed to survive witho

Re: [RFC,05/10] x86/speculation: Add basic IBRS support infrastructure

2018-01-31 Thread Arjan van de Ven
On 1/31/2018 2:15 AM, Thomas Gleixner wrote: Good luck with making all that work. on the Intel side we're checking what we can do that works and doesn't break things right now; hopefully we just end up with a bit in the arch capabilities MSR for "you should do RSB stuffing" and then the HV's c

Re: [PATCH V3 0/5] bugs fix for large PEBS mmap read and rdpmc read

2018-01-31 Thread Liang, Kan
On 1/31/2018 8:15 AM, Jiri Olsa wrote: On Wed, Jan 31, 2018 at 10:15:39AM +0100, Jiri Olsa wrote: On Tue, Jan 30, 2018 at 07:59:41PM -0800, Andi Kleen wrote: Still, the part I am missing here, is why asking for PERF_SAMPLE_PERIOD voids large PEBS. I think it was disabled together with frequ

Re: [PATCH v3 33/43] drm/panel: simple: Change mode for Sharp lq123p1jx31

2018-01-31 Thread Sean Paul
On Wed, Jan 31, 2018 at 7:54 AM, Lucas Stach wrote: > Am Dienstag, den 30.01.2018, 21:29 +0100 schrieb Thierry Escande: >> From: Sean Paul >> >> Change the mode for Sharp lq123p1jx31 panel to something more >> rockchip-friendly such that we can use the fixed PLLs to >> generate the pixel clock >

Re: [PATCH v3 15/21] fpga: dfl: add fpga bridge platform driver for FME

2018-01-31 Thread Alan Tull
On Mon, Nov 27, 2017 at 12:42 AM, Wu Hao wrote: Hi Hao, One fix below. Besides that, please add my ack. > This patch adds fpga bridge platform driver for FPGA Management Engine. > It implements the enable_set call back for fpga bridge. > > Signed-off-by: Tim Whisonant > Signed-off-by: Enno Lu

Re: [PATCH v2] iio: accel: bmc150: Check for a second ACPI device for BOSC0200

2018-01-31 Thread Andy Shevchenko
On Wed, Jan 31, 2018 at 4:58 PM, Hans de Goede wrote: > On 31-01-18 13:25, Andy Shevchenko wrote: >> Have you chance a look at the branch I pushed yesterday? > I assume you mean: > > https://bitbucket.org/andy-shev/linux/branch/topic/iio-acpi Correct. > This looks very nice and a much better s

Linux 3.18.93

2018-01-31 Thread Greg KH
I'm announcing the release of the 3.18.93 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH] virtio_balloon: use non-blocking allocation

2018-01-31 Thread Michael S. Tsirkin
On Wed, Jan 31, 2018 at 08:13:26PM +0900, Tetsuo Handa wrote: > Michael S. Tsirkin wrote: > > On Tue, Jan 02, 2018 at 11:50:21PM +0900, Tetsuo Handa wrote: > > > Commit c7cdff0e864713a0 ("virtio_balloon: fix deadlock on OOM") tried to > > > avoid OOM lockup by moving memory allocations to outside o

Re: Linux 3.18.93

2018-01-31 Thread Greg KH
diff --git a/Makefile b/Makefile index d2e18e2dc1fb..172d9e596d25 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 92 +SUBLEVEL = 93 EXTRAVERSION = NAME = Diseased Newt diff --git a/arch/arm/boot/dts/kirkwood-openblocks_a7.dts b/arch/arm/boot/dts/k

Re: Linux 4.4.114

2018-01-31 Thread Greg KH
diff --git a/Makefile b/Makefile index 39019c9d205c..153440b1bbb0 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 113 +SUBLEVEL = 114 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/um/Makefile b/arch/um/Makefile index e3abe6f3156d..9ccf462

Linux 4.9.79

2018-01-31 Thread Greg KH
I'm announcing the release of the 4.9.79 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.9.79

2018-01-31 Thread Greg KH
diff --git a/Makefile b/Makefile index 8a6f158a1176..4a7e6dff1c2e 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 78 +SUBLEVEL = 79 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arm/kvm/mmu.c b/arch/arm/kvm/mmu.c index 2206e0e00934..2a35c19

Linux 4.4.114

2018-01-31 Thread Greg KH
I'm announcing the release of the 4.4.114 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Linux 4.14.16

2018-01-31 Thread Greg KH
I'm announcing the release of the 4.14.16 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.14.16

2018-01-31 Thread Greg KH
diff --git a/Makefile b/Makefile index bf1a277a67a4..90a4bffa8446 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 15 +SUBLEVEL = 16 EXTRAVERSION = NAME = Petit Gorille diff --git a/arch/arm/net/bpf_jit_32.c b/arc

Re: [PATCH 5/8] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver

2018-01-31 Thread Daniel Lezcano
On 31/01/2018 10:56, Vincent Guittot wrote: > On 31 January 2018 at 10:50, Daniel Lezcano wrote: >> On 31/01/2018 10:46, Vincent Guittot wrote: >>> On 31 January 2018 at 10:33, Daniel Lezcano >>> wrote: On 31/01/2018 10:01, Vincent Guittot wrote: > Hi Daniel, > > On 23 January 2

[GIT PULL] power-supply changes for 4.16

2018-01-31 Thread Sebastian Reichel
Hi Linus, The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323: Linux 4.15-rc1 (2017-11-26 16:01:47 -0800) are available in the Git repository at: ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git tags/for-v4.16 for you to fetch cha

[GIT PULL] hsi changes for hsi-4.16

2018-01-31 Thread Sebastian Reichel
Hi Linus, Just one simple patch this time for the HSI subsystem. The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323: Linux 4.15-rc1 (2017-11-26 16:01:47 -0800) are available in the Git repository at: ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/sre/linux

Re: [PATCH 00/11] Remove blank help texts from Kconfig files and add warning

2018-01-31 Thread Masahiro Yamada
2018-01-31 18:34 GMT+09:00 Ulf Magnusson : > This patchset first removes all blank help texts from Kconfig files for all > arches, and then makes Kconfig print a warning for blank help texts. > > All patches can be applied independently, but to avoid warning spam, the blank > help texts ought to be

Re: [PATCH net-next 1/1] rtnetlink: enable IFLA_IF_NETNSID for RTM_NEWLINK

2018-01-31 Thread David Miller
From: Christian Brauner Date: Mon, 29 Jan 2018 18:07:20 +0100 > - Backwards Compatibility: > If userspace wants to determine whether RTM_NEWLINK supports the > IFLA_IF_NETNSID property they should first send an RTM_GETLINK request > with IFLA_IF_NETNSID on lo. If either EACCESS is returned

Re: [PATCH net] r8169: fix RTL8168EP take too long to complete driver initialization.

2018-01-31 Thread David Miller
From: Chunhao Lin Date: Wed, 31 Jan 2018 01:32:36 +0800 > Driver check the wrong register bit in rtl_ocp_tx_cond() that keep driver > waiting until timeout. > > Fix this by waiting for the right register bit. > > Signed-off-by: Chunhao Lin Applied and queued up for -stable.

Re: [PATCH 01/10] net/sched: kconfig: Remove empty help texts

2018-01-31 Thread David Miller
From: Ulf Magnusson Date: Tue, 30 Jan 2018 20:05:23 +0100 > In preparation for adding a warning ("kconfig: Warn if help text is > blank"): https://lkml.org/lkml/2018/1/30/516 > > Signed-off-by: Ulf Magnusson Applied.

Re: [PATCH v3 2/3] sched/fair: use util_est in LB and WU paths

2018-01-31 Thread Patrick Bellasi
On 25-Jan 20:03, Pavan Kondeti wrote: > On Wed, Jan 24, 2018 at 07:31:38PM +, Patrick Bellasi wrote: > > > > > > + /* > > > > +* These are the main cases covered: > > > > +* - if *p is the only task sleeping on this CPU, then: > > > > +* cpu_util (== task_uti

Re: [PATCH v3 12/21] fpga: dfl: fme: add FPGA_GET_API_VERSION/CHECK_EXTENSION ioctls support

2018-01-31 Thread Alan Tull
On Mon, Nov 27, 2017 at 12:42 AM, Wu Hao wrote: Hi Hao, One fix again, otherwise please add my ack to subsequent versions. > FPGA_GET_API_VERSION and FPGA_CHECK_EXTENSION ioctls are common ones which > need to be supported by all feature devices drivers including FME and AFU. > Userspace applic

Re: [PATCH] tcp_nv: fix potential integer overflow in tcpnv_acked

2018-01-31 Thread David Miller
From: "Gustavo A. R. Silva" Date: Tue, 30 Jan 2018 22:21:48 -0600 > Add suffix ULL to constant 8 in order to avoid a potential integer > overflow and give the compiler complete information about the proper > arithmetic to use. Notice that this constant is used in a context that > expects an e

[PATCH] ASoC: codecs: Add support for AK5558 ADC driver

2018-01-31 Thread Daniel Baluta
AK5558 is a 32-bit, 768 kHZ sampling, differential input ADC for digital audio systems. Datasheet is available at: https://www.akm.com/akm/en/file/datasheet/AK5558VN.pdf Initial patch includes support for normal and TDM modes. Signed-off-by: Junichi Wakasugi Signed-off-by: Mihai Serban Signed

Re: [PATCH] openvswitch: meter: Use 64-bit arithmetic instead of 32-bit

2018-01-31 Thread David Miller
From: "Gustavo A. R. Silva" Date: Tue, 30 Jan 2018 22:55:33 -0600 > Add suffix LL to constant 1000 in order to give the compiler > complete information about the proper arithmetic to use. Notice > that this constant is used in a context that expects an expression > of type long long int (64 bits,

[PATCH v3 0/2] MIPS: use generic GCC library routines from lib/

2018-01-31 Thread Antony Pavlov
Changes since v2 patch series (https://www.linux-mips.org/archives/linux-mips/2018-01/msg00567.html): * sort the CONFIG_GENERIC_* options in arch/mips/Kconfig alphabetically (v2). Changes since v1 patch series (https://www.linux-mips.org/archives/linux-mips/2018-01/msg00394.html): * sort t

Re: [PATCH v2 2/2] ARM: dts: sunxi: Add Olimex A20-SOM204-EVB-eMMC board

2018-01-31 Thread Maxime Ripard
On Mon, Jan 29, 2018 at 03:56:40PM +0200, Stefan Mavrodiev wrote: > A20-SOM204 board has option with onboard 16GB eMMC. > The chip is wired to MMC2 slot. > > Signed-off-by: Stefan Mavrodiev Queued both in 4.17, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineeri

[PATCH v3 1/2] Add notrace to lib/ucmpdi2.c

2018-01-31 Thread Antony Pavlov
From: Palmer Dabbelt As part of the MIPS conversion to use the generic GCC library routines, Matt Redfearn discovered that I'd missed a notrace on __ucmpdi2(). This patch rectifies the problem. CC: Matt Redfearn CC: Antony Pavlov Signed-off-by: Palmer Dabbelt Reviewed-by: Matt Redfearn ---

[PATCH v3 2/2] MIPS: use generic GCC library routines from lib/

2018-01-31 Thread Antony Pavlov
The commit b35cd9884fa5 ("lib: Add shared copies of some GCC library routines") makes it possible to share generic GCC library routines by several architectures. This commit removes several generic GCC library routines from arch/mips/lib/ in favour of similar routines from lib/. Signed-off-by: An

Re: [PATCH v3 02/21] fpga: mgr: add region_id to fpga_image_info

2018-01-31 Thread Alan Tull
On Mon, Dec 4, 2017 at 9:36 PM, Wu Hao wrote: > On Mon, Dec 04, 2017 at 02:26:14PM -0600, Alan Tull wrote: >> On Wed, Nov 29, 2017 at 12:11 AM, Moritz Fischer wrote: >> > Hi Hao, >> > >> > On Mon, Nov 27, 2017 at 02:42:09PM +0800, Wu Hao wrote: >> >> This patch adds region_id to fpga_image_info d

Re: [PATCH 01/10] net/sched: kconfig: Remove empty help texts

2018-01-31 Thread Masahiro Yamada
2018-02-01 0:32 GMT+09:00 David Miller : > From: Ulf Magnusson > Date: Tue, 30 Jan 2018 20:05:23 +0100 > >> In preparation for adding a warning ("kconfig: Warn if help text is >> blank"): https://lkml.org/lkml/2018/1/30/516 >> >> Signed-off-by: Ulf Magnusson > > Applied. > -- > To unsubscribe fro

Re: PATCH v6 3/6] livepatch: Initial support for dynamic structures

2018-01-31 Thread Miroslav Benes
On Thu, 25 Jan 2018, Petr Mladek wrote: > From: Jason Baron > > We are going to add a feature called atomic replace. It will allow to > create a patch that would replace all already registered patches. > For this, we will need to dynamically create funcs' and objects' > for functions that are no

Allnoconfig build still broken on x86-64 in today's git.

2018-01-31 Thread Rob Landley
$ make clean && make allnoconfig && make HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --allnoconfig Kconfig # # configuration written to .config # Makefile:932: *** "Cannot generate ORC met

Re: [PATCH v2 1/2] x86/acpi: add retrieval function for rsdp address

2018-01-31 Thread Andy Shevchenko
On Mon, Jan 29, 2018 at 5:01 AM, Rafael J. Wysocki wrote: > On Fri, Jan 26, 2018 at 7:08 PM, Andy Shevchenko > wrote: >> I have stumbled on the similar stuff and realize that. >> >> Perhaps, one of the solution is to have an additional struct under >> x86_init to alternate ACPI related stuff. >

Re: [PATCH V3 0/5] bugs fix for large PEBS mmap read and rdpmc read

2018-01-31 Thread Jiri Olsa
On Wed, Jan 31, 2018 at 10:15:33AM -0500, Liang, Kan wrote: > > > On 1/31/2018 8:15 AM, Jiri Olsa wrote: > > On Wed, Jan 31, 2018 at 10:15:39AM +0100, Jiri Olsa wrote: > > > On Tue, Jan 30, 2018 at 07:59:41PM -0800, Andi Kleen wrote: > > > > > Still, the part I am missing here, is why asking for

Re: [PATCH v6 11/13] kvm, x86: update spectre-v1 mitigation

2018-01-31 Thread Thomas Gleixner
On Wed, 31 Jan 2018, Paolo Bonzini wrote: > On 31/01/2018 03:07, Thomas Gleixner wrote: > >> Hi Thomas, > >> > >> I notice this one missing from -tip, I suspect because of the > >> collision with the raw 'lfence' that is in current mainline? No > >> worries, I'll send a rebased fixup to Paolo dire

Re: PATCH v6 4/6] livepatch: Allow to unpatch only functions of the given type

2018-01-31 Thread Miroslav Benes
> +void klp_unpatch_object(struct klp_object *obj, enum klp_func_type ftype) > { > struct klp_func *func; > + bool patched = false; > > - klp_for_each_func(obj, func) > - if (func->patched) > + klp_for_each_func(obj, func) { > + if (!func->patched) > +

Re: [PATCH 01/10] net/sched: kconfig: Remove empty help texts

2018-01-31 Thread David Miller
From: Masahiro Yamada Date: Thu, 1 Feb 2018 00:37:27 +0900 > 2018-02-01 0:32 GMT+09:00 David Miller : >> From: Ulf Magnusson >> Date: Tue, 30 Jan 2018 20:05:23 +0100 >> >>> In preparation for adding a warning ("kconfig: Warn if help text is >>> blank"): https://lkml.org/lkml/2018/1/30/516 >>> >>

Re: [PATCH v2 1/2] x86/acpi: add retrieval function for rsdp address

2018-01-31 Thread Andy Shevchenko
On Mon, Jan 29, 2018 at 5:02 AM, Rafael J. Wysocki wrote: > On Sun, Jan 28, 2018 at 4:04 PM, Andy Shevchenko > wrote: >> On Fri, Jan 26, 2018 at 8:21 PM, Juergen Gross wrote: >>> On 26/01/18 19:08, Andy Shevchenko wrote: On Thu, Jan 25, 2018 at 4:36 PM, Juergen Gross wrote: The probl

[GIT PULL] livepatching for 4.16

2018-01-31 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/livepatching.git for-linus to receive livepatching updates for 4.16: = - handling of 'infinitely'-long sleeping tasks, from Miroslav Benes - removal of 'immediate' feature, as it turns out it doesn't provide the

[GIT PULL] HID

2018-01-31 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus to receive HID updates queued for 4.16 merge window: = - Removal of hid_have_special_driver[] entry hard requirement for any newly supported VID/PID by a specific non-core hid driver, and gene

Re: [PATCH v2] Fixing arbitrary kernel leak in case FBIOGETCMAP_SPARC in sbusfb_ioctl_helper().

2018-01-31 Thread Mathieu Malaterre
Hi Peter, On Wed, Jan 31, 2018 at 3:57 PM, Peter Malone wrote: > Fixing arbitrary kernel leak in case FBIOGETCMAP_SPARC in > sbusfb_ioctl_helper(). > > 'index' is defined as an int in sbusfb_ioctl_helper(). > We retrieve this from the user: > if (get_user(index, &c->index) || > __get_user(cou

Re: [PATCH] drm/amdkfd: Use ARRAY_SIZE macro in kfd_build_sysfs_node_entry

2018-01-31 Thread Oded Gabbay
On Sat, Jan 20, 2018 at 12:30 AM, Gustavo A. R. Silva wrote: > > Quoting Felix Kuehling : > >> Looks good. This change is Reviewed-by: Felix Kuehling >> >> > > Thanks Felix. > -- > Gustavo > Applied to -next Oded > > > >

Re: [PATCH v2] drm/stm: check pitch and size calculations even if !CONFIG_MMU

2018-01-31 Thread Philippe CORNU
Hi Benjamin, Great, Many thanks, Tested-by: Philippe Cornu Philippe :-) On 01/31/2018 09:05 AM, Benjamin Gaignard wrote: > In all cases we have to check pitch and size calculations to speed up > data transfer. > > Fixes: 21f815bf773c ("drm/stm: drv: Improve data transfers") > > Signed-off-by

[PATCH] x86/debugfs: Add the EFI pagetable to the debugfs 'page_tables' directory

2018-01-31 Thread Andy Lutomirski
EFI is complicated enough that being able to view its pagetables is quite helpful. Rather than requiring users to fish it out of dmesg on an appropriately configured kernel, let users view it in debugfs as well. Signed-off-by: Andy Lutomirski --- arch/x86/mm/debug_pagetables.c | 32

[PATCH 2/2] arm64: dts: exynos: add OF graph between USB-PHY and MUIC

2018-01-31 Thread Andrzej Hajda
OF graph describes USB data lanes between USB-PHY and respective MUIC. Since graph is present and DWC driver can use it to get extcon, obsolete extcon property can be removed. Signed-off-by: Andrzej Hajda --- arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 18 +- 1 file c

[PATCH] tracing/fgraph: Missed irq return mark for leaf entry

2018-01-31 Thread changbin . du
From: Changbin Du The fgraph forget to print irq return mark for leaf entry. Then we can see unbalanced irq mark in the trace. This patch fix this. Before: 1) | SyS_write() { 1) |__fdget_pos() { 1) 0.061 us| __fget_light(); 1) 0.289 us|}

[PATCH 1/2] USB: dwc3: get extcon device by OF graph bindings

2018-01-31 Thread Andrzej Hajda
extcon device is used to detect host/device connection. Since extcon OF property is deprecated, alternative method should be added. This method uses OF graph bindings to locate extcon. Signed-off-by: Andrzej Hajda --- Hi all, This patch implements alternative method to get extcon from DWC3. The

[PATCH 0/2] USB: dwc3: get extcon device by OF graph bindings

2018-01-31 Thread Andrzej Hajda
Hi, This small patchset tries to address issue with broken DT extcon property in case of USB controller - DWC3. It exposes similar problem as in proposed USB connector bindings[1] - extcon device is required by devices not always connected directly to extcon device. Here we have: DWC3 -> USB-PHY -

Re: [PATCH 08/24] x86,sme: Annotate indirect call

2018-01-31 Thread Peter Zijlstra
On Wed, Jan 31, 2018 at 09:04:51AM -0600, Josh Poimboeuf wrote: > If there's no harm, it would be simpler and more robust to just do > retpolines everywhere and not worry about special cases. > > (Forgetting paravirt for the moment, which is the eternal "special > case".) > > I was also thinking

Re: [PATCH 2/2 v4] lib: debugobjects: handle objects free in a batch outside the loop

2018-01-31 Thread Thomas Gleixner
On Thu, 25 Jan 2018, Yang Shi wrote: > There are nested loops on debug objects free path, sometimes it may take > over hundred thousands of loops, then cause soft lockup with > !CONFIG_PREEMPT occasionally, like below: > > NMI watchdog: BUG: soft lockup - CPU#15 stuck for 22s! > [stress-ng-getde

Re: [PATCH] ohci-hcd: Fix race condition caused by ohci_urb_enqueue() and io_watchdog_func()

2018-01-31 Thread Alan Stern
On Wed, 31 Jan 2018, Haiqing Bai wrote: > Running io_watchdog_func() while ohci_urb_enqueue() is running can > cause a race condition where ohci->prev_frame_no is corrupted and the > watchdog can mis-detect following error: > > ohci-platform 664a0800.usb: frame counter not updating; disabled >

Re: [PATCH 1/2] of_pci_irq: add a check to fallback to standard device tree parsing

2018-01-31 Thread Rob Herring
On Wed, Jan 31, 2018 at 1:41 AM, Ryder Lee wrote: > A root complex usually consist of a host bridge and multiple P2P bridges, > and someone may express that in the form of a root node with many subnodes > and list all four interrupts for each slot (child node) in the root node > like this: > >

[PATCH] x86/mm: Rename flush_tlb_single() and flush_tlb_one()

2018-01-31 Thread Andy Lutomirski
flush_tlb_single() and flush_tlb_one() sound almost identical, but they really mean "flush one user translation" and "flush one kernel translation". Rename them to flush_tlb_one_user() and flush_tlb_one_kernel() to make the semantics more obvious. Cc: Peter Zijlstra Cc: Dave Hansen Cc: Borislav

Re: [PATCH] x86/debugfs: Add the EFI pagetable to the debugfs 'page_tables' directory

2018-01-31 Thread Ard Biesheuvel
Hi Andy, On 31 January 2018 at 15:56, Andy Lutomirski wrote: > EFI is complicated enough that being able to view its pagetables is > quite helpful. Rather than requiring users to fish it out of dmesg > on an appropriately configured kernel, let users view it in debugfs > as well. > > Signed-off-

Re: crash binary for latest unreleased kernel

2018-01-31 Thread Mike Galbraith
On Wed, 2018-01-31 at 04:51 +0100, Mike Galbraith wrote: > On Sun, 2018-01-28 at 12:19 -0800, Joe Smith wrote: > > Thanks a lot, Mike. Following your suggestions worked > > Until Monday happened :) And during a rare non-lazy-sod moment... --- task.c | 15 ++- 1 file changed,

Re: [PATCH v3 2/2] MIPS: use generic GCC library routines from lib/

2018-01-31 Thread Matt Redfearn
Hi, On 31/01/18 15:33, Antony Pavlov wrote: The commit b35cd9884fa5 ("lib: Add shared copies of some GCC library routines") makes it possible to share generic GCC library routines by several architectures. This commit removes several generic GCC library routines from arch/mips/lib/ in favour of

Re: [PATCH] ASoC: codecs: Add support for AK5558 ADC driver

2018-01-31 Thread Andy Shevchenko
On Wed, Jan 31, 2018 at 2:57 PM, Daniel Baluta wrote: > AK5558 is a 32-bit, 768 kHZ sampling, differential input ADC > for digital audio systems. > > Datasheet is available at: > > https://www.akm.com/akm/en/file/datasheet/AK5558VN.pdf > > Initial patch includes support for normal and TDM modes. >

[PATCH] be2net: remove redundant initialization of 'head' and pointer txq

2018-01-31 Thread Colin King
From: Colin Ian King Variable head is initialized to a value that is never read and is being updated to a new value a few lines later, hence this initialization is redundant and can be safely removed as well as the now unused pointer txq. Cleans up clang warning: drivers/net/ethernet/emulex/bene

<    1   2   3   4   5   6   7   8   >