Re: [PATCH V9 0/7] blk-mq-sched: improve sequential I/O performance

2017-10-14 Thread Ming Lei
On Fri, Oct 13, 2017 at 02:23:07PM -0600, Jens Axboe wrote: > On 10/13/2017 01:21 PM, Jens Axboe wrote: > > On 10/13/2017 01:08 PM, Jens Axboe wrote: > >> On 10/13/2017 12:05 PM, Ming Lei wrote: > >>> Hi Jens, > >>> > >>> In Red Hat internal storage test wrt. blk-mq scheduler, we found that I/O > >

Re: [PATCH] Bluetooth: mark expected switch fall-throughs

2017-10-14 Thread Marcel Holtmann
Hi Gustavo, > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > In this particular case, notice that I replaced the > "deliberate fall-through..." comment with a "fall through" > comment, which is what GCC is expecting to find. > >

Re: Dramatic lockdep slowdown in 4.14

2017-10-14 Thread Ingo Molnar
* Johan Hovold wrote: > Hi, > > I had noticed that the BeagleBone Black boot time appeared to have > increased significantly with 4.14 and yesterday I finally had time to > investigate it. > > Boot time (from "Linux version" to login prompt) had in fact doubled > since 4.13 where it took 17 se

Re: [PATCH v2 4/4] mmc: sdhci-msm: Add sdhci msm register write APIs which wait for pwr irq

2017-10-14 Thread Bjorn Andersson
On Tue 26 Sep 22:34 PDT 2017, Vijay Viswanath wrote: > diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c [..] > + if (!done) { > + if (!wait_event_timeout(msm_host->pwr_irq_wait, > + msm_host->pwr_irq_flag, > +

Re: [PATCHv2, RFC] x86/boot/compressed/64: Handle 5-level paging boot if kernel is above 4G

2017-10-14 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > This patch addresses shortcoming in current boot process on machines > that supports 5-level paging. > > If bootloader enables 64-bit mode with 4-level paging, we need to > switch over to 5-level paging. The switching requires disabling paging. > It works fine if k

Re: [PATCH] stm class: make config_item_type const

2017-10-14 Thread kbuild test robot
-config_item_type-const/20171014-10 config: blackfin-allyesconfig (attached as .config) compiler: bfin-uclinux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached

Re: [PATCH V9 4/7] blk-mq: introduce .get_budget and .put_budget in blk_mq_ops

2017-10-14 Thread Ming Lei
On Fri, Oct 13, 2017 at 11:43:44PM +, Bart Van Assche wrote: > On Sat, 2017-10-14 at 02:05 +0800, Ming Lei wrote: > > @@ -89,19 +89,36 @@ static bool blk_mq_sched_restart_hctx(struct > > blk_mq_hw_ctx *hctx) > > return false; > > } > > > > -static void blk_mq_do_dispatch_sched(struct bl

Re: [PATCH v2] drm/vc4: Fix sleeps during the IRQ handler for DSI transactions.

2017-10-14 Thread Boris Brezillon
On Fri, 13 Oct 2017 17:12:55 -0700 Eric Anholt wrote: > VC4's DSI1 has a bug where the AXI connection is broken for 32-bit > writes from the CPU, so we use the DMA engine to DMA 32-bit values > into registers instead. That sleeps, so we can't do it from the top > half. > > As a solution, use an

Re: [PATCH v2] drm/amd/powerplay: Remove unnecessary cast on void pointer

2017-10-14 Thread Christian König
Am 13.10.2017 um 19:33 schrieb Harsha Sharma: Done with following coccinelle patch @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[...] | ((T*)x)->f | - (T*) e ) Signed-off-by: Harsha Sharma Reviewed-by: Christian König --- Changes in v2: -Remove

Re: [PATCH] um: Fix kcov crash before kernel is started.

2017-10-14 Thread Richard Weinberger
Am Samstag, 14. Oktober 2017, 00:00:25 CEST schrieb Thomas Meyer: > UMLs current_thread_info() unconditionally assumes that the top of the stack > contains the thread_info structure. > Prevent kcov from using invalid curent_thread_info() data by disable > instrumentation of early startup code. > >

Re: [PATCH V9 6/7] SCSI: allow to pass null rq to scsi_prep_state_check()

2017-10-14 Thread Ming Lei
On Fri, Oct 13, 2017 at 11:16:12PM +, Bart Van Assche wrote: > On Sat, 2017-10-14 at 02:05 +0800, Ming Lei wrote: > > In the following patch, we will implement scsi_get_budget() > > which need to call scsi_prep_state_check() when rq isn't > > dequeued yet. > > My understanding is that this cha

Re: Dramatic lockdep slowdown in 4.14

2017-10-14 Thread Johan Hovold
On Sat, Oct 14, 2017 at 09:26:59AM +0200, Ingo Molnar wrote: > > * Johan Hovold wrote: > > > Hi, > > > > I had noticed that the BeagleBone Black boot time appeared to have > > increased significantly with 4.14 and yesterday I finally had time to > > investigate it. > > > > Boot time (from "Lin

Re: [PATCH] ath10k: spectral: Simplify error checking

2017-10-14 Thread Christos Gkekas
On 13/10/17 12:28:50 +, Kalle Valo wrote: > Christos Gkekas writes: > > > Variable val is unsigned so checking whether it is less than zero is > > redundant. > > > > Signed-off-by: Christos Gkekas > > --- > > drivers/net/wireless/ath/ath10k/spectral.c | 5 + > > 1 file changed, 1 insert

Re: [PATCH v2] drm/vc4: Fix sleeps during the IRQ handler for DSI transactions.

2017-10-14 Thread Paul Menzel
Dear Eric, Some nit picks where stuff contradicts the coding style. Am Freitag, den 13.10.2017, 17:12 -0700 schrieb Eric Anholt: > VC4's DSI1 has a bug where the AXI connection is broken for 32-bit > writes from the CPU, so we use the DMA engine to DMA 32-bit values > into registers instead. Th

Re: [PATCH] ath9k: debug: Simplify error checking

2017-10-14 Thread Christos Gkekas
On 13/10/17 15:49:15 +0300, Kalle Valo wrote: > Christos Gkekas writes: > > > Variable val is unsigned so checking whether it is less than zero is > > redundant. > > > > Signed-off-by: Christos Gkekas > > --- > > drivers/net/wireless/ath/ath9k/debug.c | 5 + > > 1 file changed, 1 insertion(

Re: [PATCH 1/3] drm: bridge: synopsys/dw-hdmi: Enable cec clock

2017-10-14 Thread Hans Verkuil
On 10/14/2017 12:53 AM, Pierre-Hugues Husson wrote: > The documentation already mentions "cec" optional clock, but > currently the driver doesn't enable it. > > Signed-off-by: Pierre-Hugues Husson Acked-by: Hans Verkuil Thanks! Hans > --- > drivers/gpu/drm/bridge/synopsys/dw-hdmi.c

Re: [PATCH v4] pidns: introduce syscall translate_pid

2017-10-14 Thread Konstantin Khlebnikov
On 13.10.2017 19:13, Konstantin Khlebnikov wrote: On 13.10.2017 19:05, Oleg Nesterov wrote: On 10/13, Konstantin Khlebnikov wrote: pid_t translate_pid(pid_t pid, int source, int target); This syscall converts pid from source pid-ns into pid in target pid-ns. If pid is unreachable from targe

Re: [PATCH 0/3] Enable CEC on rk3399

2017-10-14 Thread Hans Verkuil
On 10/14/2017 12:53 AM, Pierre-Hugues Husson wrote: > Enable CEC on firefly-rk3399. > Tested on a TV with cec-ctl --playback; cec-ctl -S > > Pierre-Hugues Husson (3): > drm: bridge: synopsys/dw-hdmi: Enable cec clock > arm64: dts: rockchip: add the cec clk for dw-mipi-hdmi on rk3399 > arm64:

Re: [PATCH 1/1] stackdepot: ignore junk last entry in case of switch from user mode.

2017-10-14 Thread kbuild test robot
-entry-in-case-of-switch-from-user-mode/20171014-153544 config: xtensa-allyesconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 4.9.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross

Re: [PATCH] ceph: Delete unused variables in mds_client

2017-10-14 Thread Christos Gkekas
On 12/10/17 15:45:42 -0700, Gregory Farnum wrote: > On Thu, Oct 12, 2017 at 2:55 PM, Christos Gkekas > wrote: > > Remove variables in mds_client that are set but never used. > > Hmm, it looks like all the values removed here (except err) *are* used > and this patch would break the world. Specifi

Re: [PATCH v2 03/10] KVM: arm/arm64: vgic-its: Improve error reporting on device table save

2017-10-14 Thread Auger Eric
Hi Christoffer, On 13/10/2017 19:56, Christoffer Dall wrote: > On Fri, Oct 13, 2017 at 04:22:25PM +0200, Auger Eric wrote: >> Hi, >> >> On 13/10/2017 15:16, Christoffer Dall wrote: >>> On Wed, Sep 27, 2017 at 03:28:33PM +0200, Eric Auger wrote: At the moment the device table save() returns -E

Re: [PATCH v2 02/10] KVM: arm/arm64: vgic-its: Always allow clearing GITS_CREADR/CWRITER

2017-10-14 Thread Auger Eric
Hi Christoffer, On 13/10/2017 19:54, Christoffer Dall wrote: > On Fri, Oct 13, 2017 at 01:54:34PM +0200, Auger Eric wrote: >> Hi Christoffer, >> On 13/10/2017 13:44, Christoffer Dall wrote: >>> On Fri, Oct 06, 2017 at 05:29:02PM +0200, Auger Eric wrote: Hi, On 06/10/2017 16:37, Andr

Re: [RESEND PATCH 1/2] spi: rockchip: Convert to late and early system PM callbacks

2017-10-14 Thread Mark Brown
On Sat, Oct 14, 2017 at 02:15:34AM +0200, Rafael J. Wysocki wrote: > The infrastructure in the core is there, the part related to getting that > information from firmware is (mostly) missing. Ah, yes - now I remember. We want this for probe ordering so we don't really want to be doing it in the

Re: [PATCH] powerpc/powernv: Enable reset_devices parameter to issue a PHB reset

2017-10-14 Thread Benjamin Herrenschmidt
On Fri, 2017-10-13 at 19:37 +1100, Michael Ellerman wrote: > > We recently had a situation in which i40e driver couldn't start, > > even after a full power cycle, due to a bug in its FW triggered > > by a DCB condition in switch (thanks Mauro for narrowing this). > > This patch enabled us to revive

Re: [PATCH] printk: Remove superfluous memory barriers from printk_safe

2017-10-14 Thread Sergey Senozhatsky
On (10/11/17 12:46), Steven Rostedt wrote: > From: Steven Rostedt (VMware) > > The variable printk_safe_irq_ready is set and never cleared at system > boot up, when there's only one CPU active. It is set before other > CPUs come on line. Also, it is extremely unlikely that an NMI would > trigger

Re: [Part2 PATCH v5 17/31] KVM: SVM: Add KVM_SEV_INIT command

2017-10-14 Thread Borislav Petkov
On Wed, Oct 04, 2017 at 08:13:58AM -0500, Brijesh Singh wrote: > The command initializes the SEV platform context and allocates a new ASID > for this guest from the SEV ASID pool. The firmware must be initialized > before we issue any guest launch commands to create a new memory encryption > contex

[PATCH V10 0/8] blk-mq-sched: improve sequential I/O performance

2017-10-14 Thread Ming Lei
Hi Jens, In Red Hat internal storage test wrt. blk-mq scheduler, we found that I/O performance is much bad with mq-deadline, especially about sequential I/O on some multi-queue SCSI devcies(lpfc, qla2xxx, SRP...) Turns out one big issue causes the performance regression: requests are still dequeu

[PATCH V10 1/8] blk-mq-sched: dispatch from scheduler only after progress is made on ->dispatch

2017-10-14 Thread Ming Lei
When hw queue is busy, we shouldn't take requests from scheduler queue any more, otherwise it is difficult to do IO merge. This patch fixes the awful IO performance on some SCSI devices(lpfc, qla2xxx, ...) when mq-deadline/kyber is used by not taking requests if hw queue is busy. Reviewed-by: Oma

[PATCH V10 2/8] blk-mq-sched: move actual dispatching into one helper

2017-10-14 Thread Ming Lei
So that it becomes easy to support to dispatch from sw queue in the following patch. No functional change. Reviewed-by: Bart Van Assche Reviewed-by: Omar Sandoval Suggested-by: Christoph Hellwig # for simplifying dispatch logic Signed-off-by: Ming Lei --- block/blk-mq-sched.c | 43 ++

[PATCH V10 4/8] block: kyber: check if there is request in ctx in kyber_has_work()

2017-10-14 Thread Ming Lei
There may be request in sw queue, and not fetched to domain queue yet, so check it in kyber_has_work(). Signed-off-by: Ming Lei --- block/kyber-iosched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/kyber-iosched.c b/block/kyber-iosched.c index f58cab82105b..94df3ce9

[PATCH V10 8/8] SCSI: implement .get_budget and .put_budget for blk-mq

2017-10-14 Thread Ming Lei
We need to tell blk-mq for reserving resource before queuing one request, so implement these two callbacks. Then blk-mq can avoid to dequeue request earlier, and IO merge can be improved a lot. Signed-off-by: Ming Lei --- drivers/scsi/scsi_lib.c | 75 ++---

[PATCH V10 6/8] blk-mq-sched: improve dispatching from sw queue

2017-10-14 Thread Ming Lei
SCSI devices use host-wide tagset, and the shared driver tag space is often quite big. Meantime there is also queue depth for each lun( .cmd_per_lun), which is often small, for example, on both lpfc and qla2xxx, .cmd_per_lun is just 3. So lots of requests may stay in sw queue, and we always flush

[PATCH V10 5/8] blk-mq: introduce .get_budget and .put_budget in blk_mq_ops

2017-10-14 Thread Ming Lei
For SCSI devices, there is often per-request-queue depth, which need to be respected before queuing one request. The current blk-mq always dequeues request first, then calls .queue_rq() to dispatch the request to lld. One obvious issue of this way is that I/O merge may not be good, because when th

[PATCH V10 7/8] SCSI: allow to pass null rq to scsi_prep_state_check()

2017-10-14 Thread Ming Lei
In the following patch, we will implement scsi_get_budget() which need to call scsi_prep_state_check() when rq isn't dequeued yet. Signed-off-by: Ming Lei --- drivers/scsi/scsi_lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/sc

[PATCH V10 3/8] sbitmap: introduce __sbitmap_for_each_set()

2017-10-14 Thread Ming Lei
We need to iterate ctx starting from any ctx in round robin way, so introduce this helper. Reviewed-by: Omar Sandoval Cc: Omar Sandoval Signed-off-by: Ming Lei --- include/linux/sbitmap.h | 64 - 1 file changed, 47 insertions(+), 17 deletions(-)

Re: [Part2 PATCH v5 18/31] KVM: SVM: VMRUN should use assosiated ASID when SEV is enabled

2017-10-14 Thread Borislav Petkov
On Wed, Oct 04, 2017 at 08:13:59AM -0500, Brijesh Singh wrote: > SEV hardware uses ASIDs to associate memory encryption key with the > guest VM. During the guest creation time, SEV VM use SEV_CMD_ACTIVATE > command to bind a particular ASID to the guest. Lets make sure that the > VMCB is programmed

Re: [PATCH v3 0/6] staging: Introduce DPAA2 Ethernet Switch driver

2017-10-14 Thread Linus Walleij
On Thu, Oct 5, 2017 at 11:16 AM, Razvan Stefanescu wrote: > This patchset introduces the Ethernet Switch Driver for Freescale/NXP SoCs > with DPAA2 (DataPath Acceleration Architecture v2). The driver manages > switch objects discovered on the fsl-mc bus. A description of the driver > can be found

[PATCH] ath10k: spectral: Remove redundant check

2017-10-14 Thread Christos Gkekas
Variable val is unsigned, so checking whether it is less than zero is redundant. Signed-off-by: Christos Gkekas --- drivers/net/wireless/ath/ath10k/spectral.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/spectral.c b/drivers/net/wireless/at

[PATCH] ath9k: debug: Remove redundant check

2017-10-14 Thread Christos Gkekas
Variable val is unsigned, so checking whether it is less than zero is redundant. Signed-off-by: Christos Gkekas --- drivers/net/wireless/ath/ath9k/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/debug.c b/drivers/net/wireless/ath/ath9k/

[PATCH] ceph: Delete unused variable in mds_client

2017-10-14 Thread Christos Gkekas
Variable 'err' is set but never used, so should be removed. Signed-off-by: Christos Gkekas --- fs/ceph/mds_client.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c index f23c820..7cd4fd9 100644 --- a/fs/ceph/mds_client.c +++ b/fs/ceph/mds_client.c

Re: [Part2 PATCH v5 16/31] KVM: Define SEV key management command id

2017-10-14 Thread Borislav Petkov
On Wed, Oct 04, 2017 at 08:13:57AM -0500, Brijesh Singh wrote: > Define Secure Encrypted Virtualization (SEV) key management command id > and structure. The command definition is available in SEV KM [1] spec > 0.14 and Documentation/virtual/kvm/amd-memory-encryption.txt > > [1] http://support.amd.

Re: [Part2 PATCH v5 19/31] KVM: SVM: Add support for KVM_SEV_LAUNCH_START command

2017-10-14 Thread Borislav Petkov
On Wed, Oct 04, 2017 at 08:14:00AM -0500, Brijesh Singh wrote: > The KVM_SEV_LAUNCH_START command is used to create a memory encryption > context within the SEV firmware. In order to create the memory encryption > context, the guest owner's should provide the guest's policy, its public > Diffie-He

drivers/mtd/chips/cfi_util.o: warning: objtool: cfi_qry_present() falls through to next function cfi_udelay()

2017-10-14 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 9aa0d2dde6ebd14e9d16e28081a24721d5b41cc8 commit: ee97638b5737cc0dba2f12a3bdcda761656b7c01 objtool: Fix objtool fallthrough detection with function padding date: 8 weeks ago config: x86_64-randconfig-h0-101

[PATCH] hfs/hfsplus: Clean up unused variables in bnode.c

2017-10-14 Thread Christos Gkekas
Delete variables 'tree' and 'sb', which are set but never used. Signed-off-by: Christos Gkekas --- fs/hfs/bnode.c | 4 fs/hfsplus/bnode.c | 4 2 files changed, 8 deletions(-) diff --git a/fs/hfs/bnode.c b/fs/hfs/bnode.c index d77d844..8d618c9 100644 --- a/fs/hfs/bnode.c +++ b/fs/h

Re: [PATCH v5 0/3] i2c: Hookup typec power-negotation to the PMIC and charger

2017-10-14 Thread Andy Shevchenko
On Wed, Oct 11, 2017 at 12:41 PM, Hans de Goede wrote: > Hi All, > > These are the last 3 patches from all my work to add support for > USB PD charging to Intel Cherry Trail devices with a Whiskey Cove PMIC > and fusb302 Type-C controller. > > With these 3 patches these devices change from slowly

[tip:x86/asm] x86/unwind: Rename unwinder config options to 'CONFIG_UNWINDER_*'

2017-10-14 Thread tip-bot for Josh Poimboeuf
Commit-ID: 11af847446ed0d131cf24d16a7ef3d5ea7a49554 Gitweb: https://git.kernel.org/tip/11af847446ed0d131cf24d16a7ef3d5ea7a49554 Author: Josh Poimboeuf AuthorDate: Fri, 13 Oct 2017 15:02:00 -0500 Committer: Ingo Molnar CommitDate: Sat, 14 Oct 2017 10:12:12 +0200 x86/unwind: Rename unwin

[tip:x86/asm] x86/unwind: Make CONFIG_UNWINDER_ORC=y the default in kconfig for 64-bit

2017-10-14 Thread tip-bot for Josh Poimboeuf
Commit-ID: fc72ae40e30327aa24eb88a24b9c7058f938bd36 Gitweb: https://git.kernel.org/tip/fc72ae40e30327aa24eb88a24b9c7058f938bd36 Author: Josh Poimboeuf AuthorDate: Fri, 13 Oct 2017 15:02:01 -0500 Committer: Ingo Molnar CommitDate: Sat, 14 Oct 2017 10:12:12 +0200 x86/unwind: Make CONFIG_

[tip:x86/urgent] x86/mm: Flush more aggressively in lazy TLB mode

2017-10-14 Thread tip-bot for Andy Lutomirski
Commit-ID: b956575bed91ecfb136a8300742ecbbf451471ab Gitweb: https://git.kernel.org/tip/b956575bed91ecfb136a8300742ecbbf451471ab Author: Andy Lutomirski AuthorDate: Mon, 9 Oct 2017 09:50:49 -0700 Committer: Ingo Molnar CommitDate: Sat, 14 Oct 2017 09:21:24 +0200 x86/mm: Flush more aggre

Re: [PATCH v3 0/6] staging: Introduce DPAA2 Ethernet Switch driver

2017-10-14 Thread Linus Walleij
Top posting and resending since net...@vger.kernel.org is the right mail address for this. Mea culpa. Linus Walleij On Sat, Oct 14, 2017 at 11:35 AM, Linus Walleij wrote: > On Thu, Oct 5, 2017 at 11:16 AM, Razvan Stefanescu > wrote: > >> This patchset introduces the Ethernet Switch Driver for F

Re: [PATCH] xfs: move two more RT specific functions into CONFIG_XFS_RT

2017-10-14 Thread Brian Foster
On Sat, Oct 14, 2017 at 09:08:25AM +1100, Dave Chinner wrote: > On Fri, Oct 13, 2017 at 02:05:40PM +0200, Arnd Bergmann wrote: > > The last cleanup introduced two harmless warnings: > > > > fs/xfs/xfs_fsmap.c:480:1: warning: '__xfs_getfsmap_rtdev' defined but not > > used > > fs/xfs/xfs_fsmap.c:3

Re: [RFC PATCH v9 for 4.15 01/14] Restartable sequences system call

2017-10-14 Thread Mathieu Desnoyers
- On Oct 14, 2017, at 12:05 AM, Linus Torvalds torva...@linux-foundation.org wrote: > On Fri, Oct 13, 2017 at 8:01 PM, Andi Kleen wrote: >> >> As far as I can see the current model fundamentally only works for >> one user per process (because there is only a single range and abort IP) > > N

[PATCHv3 1/1] [tools/selftests]: android/ion: userspace test utility for ion buffer sharing

2017-10-14 Thread Pintu Agarwal
This is a test utility to verify ION buffer sharing in user space between 2 independent processes. It uses unix domain socket (with SCM_RIGHTS) as IPC to transfer an FD to another process to share the same buffer. This utility demonstrates how ION buffer sharing can be implemented between two user

Re: [PATCH v5 03/10] kexec_file: factor out arch_kexec_kernel_*() from x86, powerpc

2017-10-14 Thread kbuild test robot
Hi AKASHI, [auto build test WARNING on arm64/for-next/core] [also build test WARNING on v4.14-rc4 next-20171013] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/AKASHI-Takahiro/arm64-kexec-add-ke

[tip:locking/urgent] locking/lockdep: Disable cross-release features for now

2017-10-14 Thread tip-bot for Ingo Molnar
Commit-ID: b483cf3bc249d7af706390efa63d6671e80d1c09 Gitweb: https://git.kernel.org/tip/b483cf3bc249d7af706390efa63d6671e80d1c09 Author: Ingo Molnar AuthorDate: Sat, 14 Oct 2017 09:26:59 +0200 Committer: Ingo Molnar CommitDate: Sat, 14 Oct 2017 12:50:26 +0200 locking/lockdep: Disable cr

Re: [PATCH 04/11] Define the virtual space of KASan's shadow region

2017-10-14 Thread kbuild test robot
/20171014-104108 config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the

[tip:x86/urgent] x86/microcode: Do the family check first

2017-10-14 Thread tip-bot for Borislav Petkov
Commit-ID: 1f161f67a272cc4f29f27934dd3f74cb657eb5c4 Gitweb: https://git.kernel.org/tip/1f161f67a272cc4f29f27934dd3f74cb657eb5c4 Author: Borislav Petkov AuthorDate: Thu, 12 Oct 2017 13:23:16 +0200 Committer: Ingo Molnar CommitDate: Sat, 14 Oct 2017 12:55:40 +0200 x86/microcode: Do the f

[PATCH] usb: dwc3: ep0: Clean up unused variables

2017-10-14 Thread Christos Gkekas
Many variables in ep0 are set but never used, so should be removed. Signed-off-by: Christos Gkekas --- drivers/usb/dwc3/ep0.c | 20 1 file changed, 20 deletions(-) diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c index 75e6cb0..a4dceae 100644 --- a/drivers/usb/d

Re: [RFC PATCH v9 for 4.15 01/14] Restartable sequences system call

2017-10-14 Thread Mathieu Desnoyers
- On Oct 13, 2017, at 2:17 PM, Andy Lutomirski l...@amacapital.net wrote: > On Fri, Oct 13, 2017 at 10:53 AM, Florian Weimer wrote: >> On 10/13/2017 07:24 PM, Andy Lutomirski wrote: >>> >>> On Fri, Oct 13, 2017 at 7:27 AM, Mathieu Desnoyers >>> wrote: - On Oct 13, 2017, at 9:56

Re: [PATCH] ocfs2/cluster: make config_item_type const

2017-10-14 Thread kbuild test robot
-config_item_type-const/20171014-185701 config: i386-randconfig-x008-201741 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): fs/ocfs2//c

Re: [PATCH v3 1/2] dt-bindings: add device tree binding for Allwinner XR819 SDIO Wi-Fi

2017-10-14 Thread icenowy
在 2017-10-05 14:58,Kalle Valo 写道: Icenowy Zheng writes: 于 2017年10月4日 GMT+08:00 下午6:11:45, Maxime Ripard 写到: On Wed, Oct 04, 2017 at 10:02:48AM +, Arend van Spriel wrote: On 10/4/2017 11:03 AM, Icenowy Zheng wrote: > > > 于 2017年10月4日 GMT+08:00 下午5:02:17, Kalle Valo 写到: > > Icenowy Zhe

[PATCH] [SCSI] sym53c8xx: Remove pointers scriptb0

2017-10-14 Thread Christos Gkekas
Pointers 'scriptb0' are set but never used, so need to be deleted. Signed-off-by: Christos Gkekas --- drivers/scsi/sym53c8xx_2/sym_fw.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/scsi/sym53c8xx_2/sym_fw.c b/drivers/scsi/sym53c8xx_2/sym_fw.c index 190770b..91db177 100644 ---

Re: [PATCH v5 0/3] i2c: Hookup typec power-negotation to the PMIC and charger

2017-10-14 Thread Hans de Goede
Hi, On 14-10-17 12:45, Andy Shevchenko wrote: On Wed, Oct 11, 2017 at 12:41 PM, Hans de Goede wrote: Hi All, These are the last 3 patches from all my work to add support for USB PD charging to Intel Cherry Trail devices with a Whiskey Cove PMIC and fusb302 Type-C controller. With these 3 pat

Re: [GIT PULL] VME Subsystem patches for 4.14-rc4

2017-10-14 Thread Greg Kroah-Hartman
On Fri, Oct 13, 2017 at 10:09:19PM +0100, Martyn Welch wrote: > The following changes since commit 8a5776a5f49812d29fe4b2d0a2d71675c3facf3f: > > Linux 4.14-rc4 (2017-10-08 20:53:29 -0700) > > are available in the git repository at: > > https://gitlab.collabora.com/martyn/linux.git tags/vme-n

[PATCH] apparmor: remove unused redundant variable stop

2017-10-14 Thread Colin King
From: Colin Ian King The boolean variable 'stop' is being set but never read. This is a redundant variable and can be removed. Cleans up clang warning: Value stored to 'stop' is never read Signed-off-by: Colin Ian King --- security/apparmor/lib.c | 3 --- 1 file changed, 3 deletions(-) diff

Re: [PATCH] ocfs2/cluster: make config_item_type const

2017-10-14 Thread kbuild test robot
-config_item_type-const/20171014-185701 config: tile-allyesconfig (attached as .config) compiler: tilegx-linux-gcc (GCC) 4.6.2 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached

[PATCH] scsi: qedi: Delete redundant variables

2017-10-14 Thread Christos Gkekas
Remove redundant variables in quedi_fw.c that are set but not used. Signed-off-by: Christos Gkekas --- drivers/scsi/qedi/qedi_fw.c | 17 + 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/drivers/scsi/qedi/qedi_fw.c b/drivers/scsi/qedi/qedi_fw.c index 93d54ac..bd302d

[PATCH 2/2] clk: sunxi-ng: add support for Allwinner A64 DE2 CCU

2017-10-14 Thread Icenowy Zheng
Allwinner A64's DE2 needs to claim a section of SRAM (SRAM C) to work. Add support for it. Signed-off-by: Icenowy Zheng --- drivers/clk/sunxi-ng/ccu-sun8i-de2.c | 32 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-d

[PATCH 1/2] dt-bindings: add binding for A64 DE2 CCU with SRAM section

2017-10-14 Thread Icenowy Zheng
A64's Display Engine 2.0 needs a section of SRAM (SRAM C) to be claimed. Add binding for this. Signed-off-by: Icenowy Zheng --- Documentation/devicetree/bindings/clock/sun8i-de2.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/sun8i-de2.txt b

[PATCH] x86/mm: Rip out the TLB benchmarking knob

2017-10-14 Thread Borislav Petkov
On Sat, Oct 14, 2017 at 03:49:12AM -0700, tip-bot for Andy Lutomirski wrote: > Commit-ID: b956575bed91ecfb136a8300742ecbbf451471ab > Gitweb: > https://git.kernel.org/tip/b956575bed91ecfb136a8300742ecbbf451471ab > Author: Andy Lutomirski > AuthorDate: Mon, 9 Oct 2017 09:50:49 -0700 > Comm

Re: [f2fs-dev] [PATCH v2] f2fs: add bug_on when f2fs_gc even fails to get one victim

2017-10-14 Thread Yunlong Song
Do you mean check out-of-space test? I have tried that but no bugon. On 2017/10/14 8:17, Chao Yu wrote: On 2017/10/13 21:31, Yunlong Song wrote: This can help us to debug on some corner case. I can hit this bugon with generic/015 of fstest easily, could have a look at this? Thanks, Signed-o

[PATCH] selinux: remove redundant assignment to str

2017-10-14 Thread Colin King
From: Colin Ian King str is being assigned to an empty string but str is never being read after that, so the assignment is redundant and can be removed. Moving the declaration of str to a more localised block, cleans up clang warning: "Value stored to 'str' is never read" Signed-off-by: Colin Ia

[PATCH] ACPI / PM: Combine device suspend routines

2017-10-14 Thread Rafael J. Wysocki
From: Rafael J. Wysocki On top of a previous change getting rid of the PM QoS flag PM_QOS_FLAG_REMOTE_WAKEUP, combine two ACPI device suspend routines, acpi_dev_runtime_suspend() and acpi_dev_suspend_late(), into one, acpi_dev_suspend(), to eliminate some code duplication. It also avoids enablin

Re: Bug report for RCU stalled warning [3.10.69]

2017-10-14 Thread Paul E. McKenney
On Thu, Oct 12, 2017 at 01:38:24PM -0700, Paul E. McKenney wrote: > [ Adding LKML on CC so that others can find this. ] > > On Wed, Oct 11, 2017 at 12:21:39PM +0800, Wang YanQing wrote: > > Hi, Paul McKenney. > > > > I have received many machine-stopped-respone reports, after reboot and > > inspe

[PATCH] scsi: fnic: Clean up redundant variables

2017-10-14 Thread Christos Gkekas
Remove variables that are set but not used. Signed-off-by: Christos Gkekas --- drivers/scsi/fnic/fnic_fcs.c | 9 - drivers/scsi/fnic/vnic_rq.c | 3 --- drivers/scsi/fnic/vnic_wq.c | 3 --- 3 files changed, 15 deletions(-) diff --git a/drivers/scsi/fnic/fnic_fcs.c b/drivers/scsi/fnic/f

Re: [f2fs-dev] [PATCH v2] f2fs: update dirty status for CURSEG as well

2017-10-14 Thread Yunlong Song
Oh, yes it is. I found that problem in a kernel tree which does not have commit c6f82fe90d7458e5fa190a6820bfc24f96b0de4e (Revert "f2fs: put allocate_segment after refresh_sit_entry"). In that kernel, the allocate_segment is still behind refresh_sit_entry. Now I understand the commit message: "T

Re: [GIT PULL] VME Subsystem patches for 4.14-rc4

2017-10-14 Thread Martyn Welch
On Sat, 2017-10-14 at 14:08 +0200, Greg Kroah-Hartman wrote: > On Fri, Oct 13, 2017 at 10:09:19PM +0100, Martyn Welch wrote: > > The following changes since commit 8a5776a5f49812d29fe4b2d0a2d71675c3facf3f: > > > > Linux 4.14-rc4 (2017-10-08 20:53:29 -0700) > > > > are available in the git repos

Re: [PATCH v3 1/1] mtd: nand: pxa3xx: Set FORCE_CSX bit to ARMADA370 variants.

2017-10-14 Thread Boris Brezillon
Hi Kalyan, On Thu, 28 Sep 2017 13:57:56 +1300 Kalyan Kinthada wrote: > When the arbitration between NOR and NAND flash is enabled > the field bit[21] in the Data Flash Control Register > needs to be set to 1 according to guidleine GL-5830741 mentioned > in Marvell Errata document MV-S501377-00,

Re: [PATCH 0/3] Enable CEC on rk3399

2017-10-14 Thread Pierre-Hugues Husson
Hi Hans, > Nice! I had a similar dw-hdmi.c patch pending but got around to posting it. > > I'll brush off my old rk3288 patches and see if I can get CEC enabled > for my firefly-reload. I was close to getting it work, but I guess > missed the "enable cec pin" change. Please note that on rk3288, th

Re: [PATCH 1/3] drm: bridge: synopsys/dw-hdmi: Enable cec clock

2017-10-14 Thread Pierre-Hugues Husson
Hi Fabio, 2017-10-14 2:18 GMT+02:00 Fabio Estevam : > Hi Pierre-Hugues, > > On Fri, Oct 13, 2017 at 7:53 PM, Pierre-Hugues Husson wrote: >> The documentation already mentions "cec" optional clock, but >> currently the driver doesn't enable it. > > The cec clock is enabled at dw_hdmi_cec_enable().

Re: [RFC PATCH for 4.15 09/14] Provide cpu_opv system call

2017-10-14 Thread Mathieu Desnoyers
- On Oct 13, 2017, at 10:50 PM, Andi Kleen a...@firstfloor.org wrote: >> +pagefault_disable(); >> +switch (len) { >> +case 1: >> +if (__get_user(tmp._u8, (uint8_t __user *)p)) >> +goto end; >> +tmp._u8 += (uint8_t)count; >> +i

Re: [PATCH 1/3] drm: bridge: synopsys/dw-hdmi: Enable cec clock

2017-10-14 Thread Fabio Estevam
Hi Pierre, On Sat, Oct 14, 2017 at 10:21 AM, Pierre-Hugues Husson wrote: > As far as I understand, dw_hdmi_cec_enable only gates > the CEC clock inside the Synopsis IP, > but the SOC still has to provide a specific CEC clock to it. > To enable such an external CEC clock, the binding documentatio

Re: keyboard backlight max_brightness bug on Dell Latitude E6410

2017-10-14 Thread Andy Shevchenko
On Thu, Sep 14, 2017 at 6:25 PM, Pali Rohár wrote: > On Thursday 14 September 2017 16:33:57 Gabriele Mazzotta wrote: >> 2017-09-14 15:54 GMT+02:00 Pali Rohár : >> > Adding Gabriele to thread, IIRC you have machine which uses >> > "supported keyboard light brightness levels" >> > Can you look at th

Re: [PATCH][next] platform/x86: intel_cht_int33fe: make a couple of local functions static

2017-10-14 Thread Andy Shevchenko
On Wed, Oct 11, 2017 at 12:30 PM, Colin King wrote: > From: Colin Ian King > > The functions cht_int33fe_check_for_max17047 and cht_int33fe_find_max17047 > are local to the source and do not need to be in global scope, so make > them static. > > Cleans up sparse warnings: > symbol 'cht_int33fe_ch

Re: [PATCHv2] thinkpad_acpi: Implement tablet mode resolving using GMMS method

2017-10-14 Thread Andy Shevchenko
On Tue, Oct 10, 2017 at 12:12 PM, Benjamin Berg wrote: > Many thinkpad laptops and convertibles provide the GMMS method to > resolve how far the laptop has been opened and whether it has been > converted into tablet mode. This allows reporting a more precise tablet > mode state to userspace. > > T

Linux 4.13.7

2017-10-14 Thread Greg KH
I'm announcing the release of the 4.13.7 kernel. All users of the 4.13 kernel series must upgrade. The updated 4.13.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.13.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.13.7

2017-10-14 Thread Greg KH
diff --git a/Documentation/watchdog/watchdog-parameters.txt b/Documentation/watchdog/watchdog-parameters.txt index b3526365ea8e..6f9d7b418917 100644 --- a/Documentation/watchdog/watchdog-parameters.txt +++ b/Documentation/watchdog/watchdog-parameters.txt @@ -117,7 +117,7 @@ nowayout: Watchdog cann

Re: [PATCH 1/3] platform/x86: intel_telemetry: Fix load failure info

2017-10-14 Thread Andy Shevchenko
On Tue, Oct 10, 2017 at 1:05 PM, Rajneesh Bhardwaj wrote: > Intel Telemetry driver depends on IPC1 interface. If IPC1 interface is > disabled on a given platform by the system firmware, the driver does not > load but prints misleading information in the dmesg logs. All pushed to my review queue,

Re: [PATCH] ARM: head-common.S: Clear lr before jumping to start_kernel()

2017-10-14 Thread Russell King - ARM Linux
On Thu, Oct 12, 2017 at 11:25:50AM -0400, Nicolas Pitre wrote: > On Thu, 12 Oct 2017, Russell King - ARM Linux wrote: > > > On Tue, Oct 10, 2017 at 01:33:25PM -0700, Tony Lindgren wrote: > > > * Geert Uytterhoeven [171003 11:32]: > > > > On Tue, Oct 3, 2017 at 8:15 PM, Geert Uytterhoeven > > > >

Re: [PATCH v1 1/2] KVM: arm64: handle single-stepping trapped instructions

2017-10-14 Thread Christoffer Dall
On Fri, Oct 13, 2017 at 10:15:09AM +0100, Alex Bennée wrote: > > Christoffer Dall writes: > > > On Fri, Oct 06, 2017 at 12:39:20PM +0100, Alex Bennée wrote: > >> If we are using guest debug to single-step the guest we need to ensure > >> we exit after emulating the instruction. This only affects

Re: [PATCH] ARM: head-common.S: Clear lr before jumping to start_kernel()

2017-10-14 Thread Russell King - ARM Linux
On Sat, Oct 14, 2017 at 03:14:05PM +0100, Russell King - ARM Linux wrote: > On Thu, Oct 12, 2017 at 11:25:50AM -0400, Nicolas Pitre wrote: > > It should go into your devel-testing branch as this must be applied on > > top of my xip_zdata branch that you merged there. > > Thanks, it would've been

Re: [PATCH v1 2/2] kvm: arm64: handle single-step of userspace mmio instructions

2017-10-14 Thread Christoffer Dall
On Fri, Oct 13, 2017 at 10:23:21AM +0100, Alex Bennée wrote: > > Christoffer Dall writes: > > > On Fri, Oct 06, 2017 at 02:45:35PM +0100, Alex Bennée wrote: > >> > >> Julien Thierry writes: > >> > >> > On 06/10/17 12:39, Alex Bennée wrote: > >> >> The system state of KVM when using userspace em

Re: [PATCH v1 2/2] kvm: arm64: handle single-step of userspace mmio instructions

2017-10-14 Thread Christoffer Dall
On Fri, Oct 13, 2017 at 10:27:36AM +0100, Alex Bennée wrote: > > Christoffer Dall writes: > > > On Fri, Oct 06, 2017 at 12:39:21PM +0100, Alex Bennée wrote: > >> The system state of KVM when using userspace emulation is not complete > >> until we return into KVM_RUN. To handle mmio related updat

Re: [RFC PATCH for 4.15 09/14] Provide cpu_opv system call

2017-10-14 Thread Mathieu Desnoyers
- On Oct 13, 2017, at 10:50 AM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > - On Oct 13, 2017, at 9:57 AM, One Thousand Gnomes > gno...@lxorguk.ukuu.org.uk wrote: > >>> A maximum limit of 16 operations per cpu_opv syscall invocation is >>> enforced, so user-space cannot gen

BUG_ON() in irq_work_run_list

2017-10-14 Thread Chandan Rajendra
Executing fstests' generic/036 test in a loop on next-20171013 kernel causes BUG_ON()'s condition to evaluate to true, run fstests generic/036 at 2017-10-14 09:23:29 [ cut here ] kernel BUG at /root/repos/linux/kernel/irq_work.c:138! Oops: Exception in kernel mode, sig: 5 [

Re: [PATCH] objtool: Print top level commands on incorrect usage

2017-10-14 Thread Kamalesh Babulal
On Friday 13 October 2017 10:08 PM, Josh Poimboeuf wrote: [...] Signed-off-by: Kamalesh Babulal --- tools/objtool/objtool.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/objtool/objtool.c b/tools/objtool/objtool.c index 31e0f91..07f3299 100644 --- a/tools/objto

Re: usb/net/rt2x00: warning in rt2800_eeprom_word_index

2017-10-14 Thread Dmitry Vyukov
On Thu, Oct 12, 2017 at 9:25 AM, Stanislaw Gruszka wrote: > Hi > > On Mon, Oct 09, 2017 at 07:50:53PM +0200, Andrey Konovalov wrote: >> I've got the following report while fuzzing the kernel with syzkaller. >> >> On commit 8a5776a5f49812d29fe4b2d0a2d71675c3facf3f (4.14-rc4). >> >> I'm not sure whe

Re: [PATCH] PM: ARM: sa1111: Drop suspend and resume bus type callbacks

2017-10-14 Thread Russell King - ARM Linux
On Thu, Sep 28, 2017 at 09:09:42PM +0200, Rafael J. Wysocki wrote: > On Thu, Sep 28, 2017 at 11:49 AM, Russell King - ARM Linux > wrote: > > On Tue, Sep 26, 2017 at 11:37:40PM +0200, Rafael J. Wysocki wrote: > >> On Tue, Sep 26, 2017 at 11:28 PM, Russell King - ARM Linux > >> wrote: > >> > On Tue

[PATCH v2] objtool: Print top level commands on incorrect usage

2017-10-14 Thread Kamalesh Babulal
Print top-level objtool commands, along with the error on incorrect command line usage. Objtool command line parser exit's with code 129, for incorrect usage. Convert the cmd_usage() exit code also, to maintain consistency across objtool. After the patch: $ ./objtool -j Unknown option: -j usage:

[PATCH] selinux: remove extraneous initialization of slots_used and max_chain_len

2017-10-14 Thread Colin King
From: Colin Ian King Variables slots_used and max_chain_len are being initialized to zero twice. Remove the first set of initializations. Cleans up the clang warnings: Value stored to 'slots_used' is never read Value stored to 'max_chain_len' is never read Signed-off-by: Colin Ian King --- se

Re: [PATCH 0/3] Enable CEC on rk3399

2017-10-14 Thread Heiko Stuebner
Am Samstag, 14. Oktober 2017, 15:14:40 CEST schrieb Pierre-Hugues Husson: > Hi Hans, > > > Nice! I had a similar dw-hdmi.c patch pending but got around to posting it. > > > > I'll brush off my old rk3288 patches and see if I can get CEC enabled > > for my firefly-reload. I was close to getting it

  1   2   3   >