Re: [PATCH v1 3/4] arm: dts: mt7623: add display related nodes

2017-09-19 Thread CK Hu
Hi, Ryder: Mode comment inline. On Tue, 2017-09-19 at 14:27 +0800, Ryder Lee wrote: > This patch adds the device nodes for the display function block. > Also, we add some missing pin macros in mt7623-pinfunc.h. > > Signed-off-by: Ryder Lee > CC: Linus Walleij

[lkp-robot] [drivers] ceed73a2cf: drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c:#suspicious_rcu_dereference_check()usage

2017-09-19 Thread kernel test robot
FYI, we noticed the following commit: commit: ceed73a2cf4aff2921802aa3d21d45280677547d ("drivers: net: ethernet: qualcomm: rmnet: Initial implementation") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master in testcase: boot on test machine: qemu-system-i386 -enable-kvm

Re: [PATCH 6/6] fs-writeback: only allow one inflight and pending !nr_pages flush

2017-09-19 Thread Jens Axboe
On 09/19/2017 01:53 PM, Jens Axboe wrote: > @@ -948,15 +949,25 @@ static void wb_start_writeback(struct bdi_writeback > *wb, long nr_pages, > bool range_cyclic, enum wb_reason reason) > { > struct wb_writeback_work *work; > + bool zero_pages = false; > >

[PATCH RESEND for-next] RDMA/hns: Delete the unnecessary initializing enum to zero

2017-09-19 Thread Wei Hu (Xavier)
It deletes the unnecessary initializing enum to zero. Signed-off-by: Wei Hu (Xavier) Signed-off-by: Shaobo Xu Signed-off-by: Lijun Ou Reviewed-by: Leon Romanovsky --- This patch is based on the patchset as

[RFC] A multithread lockless deduplication engine

2017-09-19 Thread XaviLi
PageONE (Page Object Non-duplicate Engine) is a multithread kernel page deduplication engine. It is based on a lock-less tree algorithm we currently named as SD (Static and Dynamic) Tree. Normal operations such as insert/query/delete to this tree are block-less. Adding more CPU cores can

[PATCH] rtc: interface: set the next alarm event appropriately

2017-09-19 Thread Xu Yiping
From: Xu YiPing After commit 2b2f5ff00f63 ("rtc: interface: ignore expired timers when enqueuing new timers"), the rtc_timer_enqueue will not reprogram the RTC when there is any non-expired timers in the timerqueue. If we set a RTC_TIMER between now and the next

Re: [PATCH v3] Make initramfs honor CONFIG_DEVTMPFS_MOUNT

2017-09-19 Thread Rob Landley
On 09/17/2017 08:51 AM, Henrique de Moraes Holschuh wrote: > On Sat, 16 Sep 2017, Rob Landley wrote: >> So, I added a workaround with a printk in hopes of embarassing them into >> someday fixing it. > > Oh, it will be fixed in Debian alright. Cool! But part of the problem is people upgrade the

linux-next: manual merge of the net-next tree with the driver-core.current tree

2017-09-19 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: lib/kobject_uevent.c between commit: 6878e7de6af7 ("driver core: suppress sending MODALIAS in UNBIND uevents") from the driver-core.current tree and commit: 16dff336b33d ("kobject: add

linux-next: build failure after merge of the sound-asoc tree

2017-09-19 Thread Stephen Rothwell
12.c:637:12: warning: 'wm9712_soc_probe' defined but not used [-Wunused-function] static int wm9712_soc_probe(struct snd_soc_codec *codec) ^ Caused by commit 2ed1a8e0ce8d ("ASoC: wm9712: add ac97 new bus support") I have used the sound-asoc tree from next-20170919 for today. -- Cheers, Stephen Rothwell

Re: [PATCH v5 05/10] dt-bindings: net: dwmac-sun8i: update documentation about integrated PHY

2017-09-19 Thread Rob Herring
On Thu, Sep 14, 2017 at 2:19 PM, Andrew Lunn wrote: >> > Is the MDIO controller "allwinner,sun8i-h3-emac" or "snps,dwmac-mdio"? >> > If the latter, then I think the node is fine, but then the mux should be >> > a child node of it. IOW, the child of an MDIO controller should either

Re: [tip:timers/core] kselftests: timers: set-timer-lat: Tweak reporting when timer fires early

2017-09-19 Thread John Stultz
On Tue, Sep 19, 2017 at 6:02 PM, Shuah Khan wrote: > Hi Greg, > > On 08/20/2017 03:56 AM, tip-bot for Greg Hackmann wrote: >> Commit-ID: a524b1184b8e86141d689fa78ad150fbf2db9b4c >> Gitweb: >> http://git.kernel.org/tip/a524b1184b8e86141d689fa78ad150fbf2db9b4c >> Author:

[PATCH v2] irqchip/gicv3: Add support for Range Selector (RS) feature

2017-09-19 Thread Shanker Donthineni
A new feature Range Selector (RS) has been added to GIC specification in order to support more than 16 CPUs at affinity level 0. New fields are introduced in SGI system registers (ICC_SGI0R_EL1, ICC_SGI1R_EL1 and ICC_ASGI1R_EL1) to relax an artificial limit of 16 at level 0. - A new RSS field in

[PATCH] pinctrl: bcm2835: fix build warning in bcm2835_gpio_irq_handle_bank

2017-09-19 Thread Corentin Labbe
This patch fix the following build warning: drivers/pinctrl/bcm/pinctrl-bcm2835.c:376:15: warning: variable 'type' set but not used [-Wunused-but-set-variable] Furthermore, it is unused for a long time, at least since commit 85ae9e512f43 ("pinctrl: bcm2835: switch to GPIOLIB_IRQCHIP") where a

Re: [PATCH] Support HVR-1200 analog video as a clone of HVR-1500. Tested, composite and s-video inputs.

2017-09-19 Thread Nigel Kettlewell
[adding kernel mailing lists missed from my reply] Thank you, yes I think I cribbed too much from the 1500. I think the tuner part is not necessary: I have no analog over-the-air signal so I cannot test it, hence I have removed the tuner element from the patch (below). I have tested DVB-T

Re: [PATCH v3] pci: dwc: dra7xx: Add shutdown handler to cleanly turn off clocks

2017-09-19 Thread Bjorn Helgaas
On Fri, Sep 08, 2017 at 10:44:54AM +0530, Keerthy wrote: > Add shutdown handler to cleanly turn off clocks. This will help > in cases of kexec where in a new kernel can boot abruptly. > > Signed-off-by: Keerthy > Acked-by: Kishon Vijay Abraham I > --- > >

Re: [PATCH] of: overlay: Fix uninitialized vars in dup_and_fixup_symbol_prop()

2017-09-19 Thread Geert Uytterhoeven
Hi Frank, On Tue, Sep 19, 2017 at 8:27 PM, Frank Rowand wrote: > On 09/10/17 03:26, Geert Uytterhoeven wrote: >> With gcc 4.1.2: >> >> drivers/of/overlay.c: In function ‘dup_and_fixup_symbol_prop’: >> drivers/of/overlay.c:108: warning: ‘overlay_name_len’ may be

Re: [RFC PATCH 2/3] usbnet: Avoid potential races in usbnet_deferred_kevent()

2017-09-19 Thread Oliver Neukum
Am Dienstag, den 19.09.2017, 09:15 -0700 schrieb Douglas Anderson: > In general when you've got a flag communicating that "something needs > to be done" you want to clear that flag _before_ doing the task. If > you clear the flag _after_ doing the task you end up with the risk > that this will

[Part2 PATCH v4 20/29] KVM: svm: Add support for SEV GUEST_STATUS command

2017-09-19 Thread Brijesh Singh
The command is used for querying the SEV guest status. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Paolo Bonzini Cc: "Radim Krčmář" Cc: Joerg Roedel Cc: Borislav

Re: [RFC PATCH 2/3] usbnet: Avoid potential races in usbnet_deferred_kevent()

2017-09-19 Thread Guenter Roeck
On Tue, Sep 19, 2017 at 1:37 PM, Oliver Neukum wrote: > Am Dienstag, den 19.09.2017, 09:15 -0700 schrieb Douglas Anderson: >> In general when you've got a flag communicating that "something needs >> to be done" you want to clear that flag _before_ doing the task. If >> you

Re: [v8 0/4] cgroup-aware OOM killer

2017-09-19 Thread David Rientjes
On Mon, 18 Sep 2017, Michal Hocko wrote: > > > > But then you just enforce a structural restriction on your configuration > > > > because > > > > root > > > > / \ > > > >AD > > > > /\ > > > > B C > > > > > > > > is a different thing than > > > >

[Part2 PATCH v4 19/29] KVM: SVM: Add support for SEV LAUNCH_FINISH command

2017-09-19 Thread Brijesh Singh
The command is used for finializing the SEV guest launch process. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Paolo Bonzini Cc: "Radim Krčmář" Cc: Joerg Roedel

[Part2 PATCH v4 02/29] x86/CPU/AMD: Add the Secure Encrypted Virtualization CPU feature

2017-09-19 Thread Brijesh Singh
From: Tom Lendacky Update the CPU features to include identifying and reporting on the Secure Encrypted Virtualization (SEV) feature. SEV is identified by CPUID 0x801f, but requires BIOS support to enable it (set bit 23 of MSR_K8_SYSCFG and set bit 0 of

[Part2 PATCH v4 00/29] x86: Secure Encrypted Virtualization (AMD)

2017-09-19 Thread Brijesh Singh
This part of Secure Encryted Virtualization (SEV) patch series focuses on KVM changes required to create and manage SEV guests. SEV is an extension to the AMD-V architecture which supports running encrypted virtual machine (VMs) under the control of a hypervisor. Encrypted VMs have their pages

Re: [PATCH 2/2] mm: oom: show unreclaimable slab info when kernel panic

2017-09-19 Thread David Rientjes
On Tue, 19 Sep 2017, Yang Shi wrote: > --- a/mm/slab_common.c > +++ b/mm/slab_common.c > @@ -35,6 +35,8 @@ > static DECLARE_WORK(slab_caches_to_rcu_destroy_work, > slab_caches_to_rcu_destroy_workfn); > > +#define K(x) ((x)/1024) > + > /* > * Set of flags that will prevent

[Part2 PATCH v4 05/29] crypto: ccp: Add Platform Security Processor (PSP) device support

2017-09-19 Thread Brijesh Singh
Platform Security Processor (PSP) is part of AMD Secure Processor (AMD-SP), PSP is a dedicated processor that provides the support for key management commands in a Secure Encrypted Virtualiztion (SEV) mode, along with software-based Trusted Executation Environment (TEE) to enable the third-party

[Part2 PATCH v4 03/29] kvm: svm: prepare for new bit definition in nested_ctl

2017-09-19 Thread Brijesh Singh
From: Tom Lendacky Currently the nested_ctl variable in the vmcb_control_area structure is used to indicate nested paging support. The nested paging support field is actually defined as bit 0 of the field. In order to support a new feature flag the usage of the

Re: Vibrations in input vs. LED was Re: [PATCH v2 0/3] led: ledtrig-transient: add support for hrtimer

2017-09-19 Thread Dmitry Torokhov
On Tue, Sep 19, 2017 at 1:45 PM, Jacek Anaszewski wrote: > On 09/19/2017 12:29 AM, Dmitry Torokhov wrote: >> On Mon, Sep 18, 2017 at 1:50 PM, Jacek Anaszewski >> wrote: >>> Hi, >>> >>> On 09/17/2017 08:22 PM, Pavel Machek wrote: Hi!

Re: [PATCH] sysctl: remove duplicate UINT_MAX check on do_proc_douintvec_conv()

2017-09-19 Thread Kees Cook
On Tue, Sep 19, 2017 at 12:29 AM, Luis R. Rodriguez wrote: > do_proc_douintvec_conv() has two UINT_MAX checks, we can remove one. > This has no functional changes other than fixing a compiler warning: > > kernel/sysctl.c:2190]: (warning) Identical condition '*lvalp>UINT_MAX',

Re: [PATCH] ptrace, seccomp: add support for retrieving seccomp flags

2017-09-19 Thread Kees Cook
On Tue, Sep 19, 2017 at 2:55 PM, Tycho Andersen wrote: > On Tue, Sep 19, 2017 at 02:43:51PM -0700, Kees Cook wrote: >> On Tue, Sep 19, 2017 at 2:09 PM, Tycho Andersen wrote: >> > Hi Kees, >> > >> > On Tue, Sep 19, 2017 at 01:08:28PM -0700, Kees Cook wrote: >>

Re: [PATCH 2/2] x86/asm: Fix inline asm call constraints for clang

2017-09-19 Thread Alexander Potapenko
On Tue, Sep 19, 2017 at 2:55 PM, Alexander Potapenko wrote: > On Tue, Sep 19, 2017 at 11:45 AM, Josh Poimboeuf wrote: >> For inline asm statements which have a CALL instruction, we list the >> stack pointer as a constraint to convince GCC to ensure the

Re: [PATCH 2/2] x86/asm: Fix inline asm call constraints for clang

2017-09-19 Thread Josh Poimboeuf
On Tue, Sep 19, 2017 at 01:45:28PM -0500, Josh Poimboeuf wrote: > For inline asm statements which have a CALL instruction, we list the > stack pointer as a constraint to convince GCC to ensure the frame > pointer is set up first: > > static inline void foo() > { > register void *__sp

Re: [kernel-hardening] Re: [PATCH v4] security/keys: rewrite all of big_key crypto

2017-09-19 Thread Theodore Ts'o
On Tue, Sep 19, 2017 at 03:04:29PM -0400, Sandy Harris wrote: > On the other hand, I do not see why the driver should not > use a FIPS-compliant PRNG where it can. This would make > things easier for anyone who does seek certification. One > of the big distro vendors? A gov't department or

[PATCH] HID: hidraw: fix power sequence when closing device

2017-09-19 Thread Dmitry Torokhov
We should not try to bring HID device out of full power state before calling hid_hw_close(), so that transport driver operates on powered up device (making this inverse of the opening sequence). Signed-off-by: Dmitry Torokhov --- drivers/hid/hidraw.c | 2 +- 1 file

[PATCH 1/1] ARM: add stacktrace support for non current tasks on SMP

2017-09-19 Thread Zhen Lei
1. An invalid frame.xx can not lead kernel to crash, this should be guaranteed by function unwind_frame itself. Otherwise, walk the stack trace of current is also at risk. 2. There is no way to prevent the walked task becoming rq->curr during walk_stackframe. This means some entries traced maybe

[RFC PATCH] fs: don't flush pagecahce when expanding block device

2017-09-19 Thread Shunki Fujita
I have a trouble with my service and have two questions and an RFC patch. I run a web service as follows. - Its data is on a multipath device which size is sometimes grown. - It uses many page caches - It's response time is usually about 0.2 s. When I grow the multipath device, kernel flushes

Re: [PATCH 3/5] powerpc64: Add .opd based function descriptor dereference

2017-09-19 Thread Michael Ellerman
Sergey Senozhatsky writes: > On (09/19/17 20:22), Michael Ellerman wrote: >> > On 2017/09/16 12:53PM, Sergey Senozhatsky wrote: >> >> We are moving towards separate kernel and module function descriptor >> >> dereference callbacks. This patch enables it for

Re: [PATCH 1/3] dt-bindings: Add document for rockchip RGB output interface

2017-09-19 Thread Sandy Huang
Hi rob, thanks for you review. 在 2017/9/19 22:46, Rob Herring 写道: On Thu, Sep 14, 2017 at 11:43:18AM +0800, Sandy Huang wrote: This path add support rv1108 rgb output interface driver. Signed-off-by: Sandy Huang --- .../bindings/display/rockchip/rockchip-rgb.txt

[PATCH] kbuild/mkspec: remove firmware from rpm package

2017-09-19 Thread shuwang
From: Shu Wang Commit 5620a0d1aacd ("firmware: delete in-kernel firmware") deleted in-kernel firmware support, including the firmware install command. So make binrpm-pkg will failed as no firmware_install make target. Signed-off-by: Shu Wang ---

Re: [PATCH 2/3] drm/rockchip: Add support for Rockchip Soc RGB output interface

2017-09-19 Thread Sandy Huang
Hi sean, Thanks for your review. 在 2017/9/20 7:02, Sean Paul 写道: On Thu, Sep 14, 2017 at 11:43:23AM +0800, Sandy Huang wrote: Like rockchip rv1108 crtc can directly output parallel and serial RGB data to panel or conversion chip, so we add this driver to probe encoder and connector.

Re: [PATCH v2 0/3] x86/fpu: prevent leaking FPU registers via invalid FPU state

2017-09-19 Thread Kees Cook
On Tue, Sep 19, 2017 at 5:44 PM, Eric Biggers wrote: > From: Eric Biggers > > This is a second attempt to fix the bug found by syzkaller where the > ptrace syscall can be used to set invalid bits in a task's FPU state. > I also found that an equivalent

Re: [PATCH v2 3/3] x86/fpu: reinitialize FPU registers if restoring FPU state fails

2017-09-19 Thread Eric Biggers
On Tue, Sep 19, 2017 at 05:44:34PM -0700, Eric Biggers wrote: > +/* > + * We should never get here because the fpregs_state stored in 'struct fpu' > + * should always be readable and contain a valid FPU state. However, past > bugs > + * have allowed userspace to set reserved bits in the XSAVE

[PATCH] ALSA: usb-audio: Add sample rate quirk for Plantronics C310/C520-M

2017-09-19 Thread Kai-Heng Feng
Like other Plantronics devices, C310 and C520-M do not support sample rate reading. Add them to the sample rate quirk accordingly. BugLink: https://bugs.launchpad.net/bugs/1708499 BugLink: https://bugs.launchpad.net/bugs/1709282 Signed-off-by: Kai-Heng Feng ---

[PATCH] siano: fix a potential integer overflow

2017-09-19 Thread Gustavo A. R. Silva
Add suffix ULL to constant 65535 in order to avoid a potential integer overflow. This constant is used in a context that expects an expression of type u64. Addresses-Coverity-ID: 1056806 Signed-off-by: Gustavo A. R. Silva --- drivers/media/common/siano/smsdvb-main.c | 2

Re: [PATCH 1/4] watchdog: aspeed: Retain watchdog enabled state

2017-09-19 Thread Joel Stanley
On Mon, Sep 18, 2017 at 3:19 PM, Andrew Jeffery wrote: > An unintended post-condition of probe() is that the watchdog is > disabled. Rework probe() such that we retain the value of the "enabled" > bit from the control register, and take the appropriate actions with > respect to

Re: [PATCH] HID: hidraw: fix power sequence when closing device

2017-09-19 Thread Guenter Roeck
On Tue, Sep 19, 2017 at 6:37 PM, Dmitry Torokhov wrote: > We should not try to bring HID device out of full power state before > calling hid_hw_close(), so that transport driver operates on powered up > device (making this inverse of the opening sequence). > >

Re: [PATCH 2/2] x86/asm: Fix inline asm call constraints for clang

2017-09-19 Thread Josh Poimboeuf
On Tue, Sep 19, 2017 at 03:25:59PM -0700, Alexander Potapenko wrote: > On Tue, Sep 19, 2017 at 2:55 PM, Alexander Potapenko > wrote: > > On Tue, Sep 19, 2017 at 11:45 AM, Josh Poimboeuf > > wrote: > >> For inline asm statements which have a CALL

linux-next: manual merge of the devicetree tree with the rockchip and sunxi trees

2017-09-19 Thread Stephen Rothwell
Hi Rob, Today's linux-next merge of the devicetree tree got a conflict in: Documentation/devicetree/bindings/vendor-prefixes.txt between commit: 50544f39018f ("dt-bindings: Add vendor prefix for Amarula Solutions") from the rockchip tree, commit: 912620c02c31 ("dt-bindings: add vendor

Re: [PATCH][drm-next] drm/i915/gvt: ensure -ve return value is handled correctly

2017-09-19 Thread Joe Perches
On Wed, 2017-09-20 at 05:46 +0800, Zhenyu Wang wrote: > On 2017.09.19 16:55:34 +0100, Colin King wrote: > > From: Colin Ian King > > > > An earlier fix changed the return type from find_bb_size however the > > integer return is being assigned to a unsigned int so the

Re: [PATCH] nvdimm: fix potential double-fetch bug

2017-09-19 Thread Meng Xu
Hi Jerry and Dan, Sorry for the late reply. I looked at this issue again and found that simple patches like memcmp(buf, in_env, in_len) && memcmp(buf + in_len, out_env, out_len) will only work in the case of (cmd == ND_CMD_CALL) and does not apply to other cmd. In fact, I fail to find a patch

Re: [PATCH v3 2/2] hwmon: (ltq-cputemp) add devicetree bindings documentation

2017-09-19 Thread Rob Herring
On Thu, Sep 14, 2017 at 2:06 AM, Florian Eckert wrote: > Hello Rob > > > + > > +Requires node properties: > > +- compatible value : > > + "lantiq,cputemp" Kind of non-specific. How is this device even accessed without any other

Re: [PATCH 6/6] fs-writeback: only allow one inflight and pending !nr_pages flush

2017-09-19 Thread Amir Goldstein
On Tue, Sep 19, 2017 at 10:53 PM, Jens Axboe wrote: > A few callers pass in nr_pages == 0 when they wakeup the flusher > threads, which means that the flusher should just flush everything > that was currently dirty. If we are tight on memory, we can get > tons of these queued

Re: [PATCH] block: move sanity checking ahead of bi_front/back_seg_size updating

2017-09-19 Thread jianchao.wang
On 09/19/2017 10:36 PM, Christoph Hellwig wrote: > On Tue, Sep 19, 2017 at 08:55:59AM +0800, jianchao.wang wrote: >>> But can you elaborate a little more on how this found and if there >>> is a way to easily reproduce it, say for a blktests test case? >>> >> It is found when I made the patch of

[PATCH] isdn/i4l: fetch the ppp_write buffer in one shot

2017-09-19 Thread Meng Xu
In isdn_ppp_write(), the header (i.e., protobuf) of the buffer is fetched twice from userspace. The first fetch is used to peek at the protocol of the message and reset the huptimer if necessary; while the second fetch copies in the whole buffer. However, given that buf resides in userspace

[PATCH] ov9655: fix potential integer overflow

2017-09-19 Thread Gustavo A. R. Silva
Add suffix ULL to constant 1 rather than casting the result of the operation in order to avoid a potential integer overflow. This constant is used in a context that expects an expression of type u64. Addresses-Coverity-ID: 1324146 Signed-off-by: Gustavo A. R. Silva

Re: [PATCH 1/3] dt-bindings: Add document for rockchip RGB output interface

2017-09-19 Thread Sandy Huang
在 2017/9/20 9:51, Sandy Huang 写道: Hi rob,     thanks for you review. 在 2017/9/19 22:46, Rob Herring 写道: On Thu, Sep 14, 2017 at 11:43:18AM +0800, Sandy Huang wrote: This path add support rv1108 rgb output interface driver. Signed-off-by: Sandy Huang ---  

[PATCH] mpt3sas: downgrade full copy_from_user to access_ok check

2017-09-19 Thread Meng Xu
Since right after the user copy, we are going to memset(, 0, sizeof(karg)), I guess an access_ok check is enough? Signed-off-by: Meng Xu --- drivers/scsi/mpt3sas/mpt3sas_ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[RFC] Another Para-Virtualization page recycler. Empty Guest OS free pages every few seconds

2017-09-19 Thread XaviLi
PPR (Per Page Recycler) is a para virtualization driver currently available for KVM hosts and Linux/Windows guests. With PPR, every page freed to Guest OS can be recycled in seconds by hypervisor. Therefore, VMs can dynamical allocate/free pages from hypervisor according to application’s

Re: [PATCH] HID: usbhid: get/put around clearing needs_remote_wakeup

2017-09-19 Thread Dmitry Torokhov
On Mon, Sep 11, 2017 at 4:29 PM, Benson Leung wrote: > Hi Oliver, > > On Mon, Sep 11, 2017 at 01:02:52PM -0700, Benson Leung wrote: >> Thanks for the pointer. I'll respin the patch with the no_resume version of >> usb_autopm_get_interface and retest. >> > > I went and tried

Re: [PATCH v2 0/5] thermal: imx: Add nvmem-cells binding on imx6sx

2017-09-19 Thread Zhang Rui
On Thu, 2017-08-31 at 21:11 +0800, Zhang Rui wrote: > On Thu, 2017-08-31 at 16:48 +0800, Shawn Guo wrote: > > > > On Fri, Jul 14, 2017 at 05:11:05PM +0300, Leonard Crestez wrote: > > > > > > > > > Leonard Crestez (5): > > >   thermal: imx: Add nvmem-cells alternate binding for OCOTP > > >

Re: [PATCH 1/4] watchdog: aspeed: Retain watchdog enabled state

2017-09-19 Thread Andrew Jeffery
On Wed, 2017-09-20 at 11:17 +0930, Joel Stanley wrote: > > On Mon, Sep 18, 2017 at 3:19 PM, Andrew Jeffery wrote: > > An unintended post-condition of probe() is that the watchdog is > > disabled. Rework probe() such that we retain the value of the "enabled" > > bit from the

Re: Traceback due to 'powerpc/mm: Fix kernel RAM protection...' when running ppc image in qemu

2017-09-19 Thread Michael Ellerman
Guenter Roeck writes: > Hi, > > I see a the following traceback when running an SMP image based on > 85xx/mpc85xx_cds_defconfig in qemu. > > [ cut here ] > WARNING: CPU: 0 PID: 1 at kernel/smp.c:416 smp_call_function_many+0xcc/0x2fc > CPU: 0 PID: 1

Error when building the kernel on top of 4.14-rc1 for target firmware_install?

2017-09-19 Thread Yu Chen
Hi, kernel compile failed after running # make rpm + INSTALL_FW_PATH=/root/rpmbuild/BUILDROOT/kernel-4.14.0_rc1+-22.x86_64/lib/firmware/4.14.0-rc1+ + make INSTALL_FW_PATH=/root/rpmbuild/BUILDROOT/kernel-4.14.0_rc1+-22.x86_64/lib/firmware/4.14.0-rc1+ firmware_install make[2]: warning: jobserver

Re: [tip:timers/core] kselftests: timers: set-timer-lat: Tweak reporting when timer fires early

2017-09-19 Thread John Stultz
On Tue, Sep 19, 2017 at 6:02 PM, Shuah Khan wrote: > Hi Greg, > > On 08/20/2017 03:56 AM, tip-bot for Greg Hackmann wrote: >> Commit-ID: a524b1184b8e86141d689fa78ad150fbf2db9b4c >> Gitweb: >> http://git.kernel.org/tip/a524b1184b8e86141d689fa78ad150fbf2db9b4c >> Author:

[PATCH v6 0/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-19 Thread Brendan Higgins
Addressed comments from: - Rob: https://www.spinics.net/lists/arm-kernel/msg606616.html Changes since previous update: - Addressed some device tree issues pointed out by Rob. - No changes to mach-npcm since v5 - No changes to MAINTAINERS since v5 Changes have been tested on the NPCM750

Re: [PATCH V3 8/8] drivers: boot_constraint: Add Qualcomm display controller constraints

2017-09-19 Thread Viresh Kumar
On 04-09-17, 18:25, Pavel Machek wrote: > Hmm. I know this is not for merge, but should this go to device tree > somewhere? Eventually yes. It should come from the boot loader in some way, which includes DT, ACPI, etc. This is just trying to get the core in first and once we have it merged, we

Re: [PATCH 1/7] PM / OPP: Add platform specific set_clk function

2017-09-19 Thread Viresh Kumar
On 24-08-17, 00:10, Dong Aisheng wrote: > This is useful to support platforms which only the clk setting is > different from the generic OPP set rate but others like voltage > setting are still the same. > > Users can use this function to register a custom OPP set clk helper > working in place of

Re: [PATCH] memory-barriers.txt: Fix typo in pairing example

2017-09-19 Thread Paul E. McKenney
On Wed, Sep 20, 2017 at 02:16:00AM +0800, Scott Tsai wrote: > In the "general barrier pairing with implicit control depdendency" > example, the last write by CPU 1 was meant to change variable x and not > y. The example would be pretty uninteresting if no CPU ever changes x > and the variable was

Re: [PATCH] net: ethernet: aquantia: default to no in config

2017-09-19 Thread David Miller
From: vcap...@pengaru.com Date: Tue, 19 Sep 2017 16:02:49 -0700 > Out of curiosity, what's the rationale for that decision? So that you don't need to know what special vendor knob needs to be switched in order to even be offered the config knob for the driver you are interested in.

Re: [PATCH 6/7] cpufreq: make cpufreq_generic_init transition_latency default to CPUFREQ_ETERNAL

2017-09-19 Thread Viresh Kumar
On 24-08-17, 00:10, Dong Aisheng wrote: > If no valid transition_latency specified, let's make it default to > CPUFREQ_ETERNAL which is consistent with its definition. > > This can save some of the same checkings like this: > transition_latency =

Re: [patch net-next] team: fall back to hash if table entry is empty

2017-09-19 Thread David Miller
From: Jim Hanko Date: Tue, 19 Sep 2017 11:33:39 -0700 > If the hash to port mapping table does not have a valid port (i.e. when > a port goes down), fall back to the simple hashing mechanism to avoid > dropping packets. > > Signed-off-by: Jim Hanko >

Re: linux-next: error while fetching the microblaze tree

2017-09-19 Thread Stephen Rothwell
Hi Michal, On Thu, 7 Jan 2016 09:38:56 +1100 Stephen Rothwell wrote: > > Fetching the microblaze tree > (git://git.monstr.eu/linux-2.6-microblaze.git#next) produces this error. > > fatal: read error: Connection reset by peer > > I will use the previously fetched version

[PATCH] MAINTAINERS: add backup maintainer

2017-09-19 Thread Alan Tull
Add Moritz as a maintainer of the kernel FPGA framework. Signed-off-by: Alan Tull --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index b87c6989e82d..2d3d855ee6e4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@

Re: [PATCH] MAINTAINERS: add backup maintainer

2017-09-19 Thread Alan Tull
On Tue, Sep 19, 2017 at 6:24 PM, Alan Tull wrote: > Add Moritz as a maintainer of the kernel FGPGA framework. Argh! I fixed this and then didn't do 'git format-patch' to regenerate the patch! Resending... Alan > > Signed-off-by: Alan Tull > --- >

Re: Regression in virtio block driver with 4.13.2

2017-09-19 Thread Laura Abbott
On 09/17/2017 04:57 PM, Christoph Hellwig wrote: On Sat, Sep 16, 2017 at 04:16:06PM -0700, Laura Abbott wrote: Yes, the issue goes away when CONFIG_VIRTIO_BLK_SCSI is disabled. Ok, so it's probably related to follow ups to the scsi_request split. That being said, I would highly recommend

Re: [PATCH 2/2] tee: optee: allow selection of ti-smc as a calling method

2017-09-19 Thread kbuild test robot
Hi Andrew, [auto build test ERROR on linus/master] [also build test ERROR on v4.14-rc1 next-20170919] [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/Andrew-F-Davis/ARM-smccc-call-Use-r12

Re: [regression 4.14rc] 74def747bcd0 (genirq: Restrict effective affinity to interrupts actually using it)

2017-09-19 Thread Chuck Ebbert
On Tue, 19 Sep 2017 16:51:06 +0100 Marc Zyngier wrote: > On 19/09/17 16:40, Yanko Kaneti wrote: > > On Tue, 2017-09-19 at 16:33 +0100, Marc Zyngier wrote: > >> On 19/09/17 16:12, Yanko Kaneti wrote: > >>> Hello, > >>> > >>> Fedora rawhide config here. > >>> AMD

Re: [PATCH 2/2] tee: optee: allow selection of ti-smc as a calling method

2017-09-19 Thread kbuild test robot
Hi Andrew, [auto build test ERROR on linus/master] [also build test ERROR on v4.14-rc1 next-20170919] [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/Andrew-F-Davis/ARM-smccc-call-Use-r12

Re: [patch v2] madvise.2: Add MADV_WIPEONFORK documentation

2017-09-19 Thread Rik van Riel
On Tue, 2017-09-19 at 21:07 +0200, Michael Kerrisk (man-pages) wrote: > Thanks. I applied this, and tweaked the madvise.2 text a little, to > read as follows (please let me know if I messed anything up): > >    MADV_WIPEONFORK (since Linux 4.14) >   Present the child process with

Re: [PATCH] x86/pci/intel_mid_pci: make intel_mid_pci_ops const and __initconst

2017-09-19 Thread Bjorn Helgaas
On Mon, Sep 18, 2017 at 09:54:55PM +0530, Bhumika Goyal wrote: > Make this const as it is only used during a copy operation. This usage > is inside init function and the structure is not referenced after > initialisation, so make it __initconst too. > > Signed-off-by: Bhumika Goyal

Re: [GIT PULL] brown paper bag fix for SIGPOLL si_codes

2017-09-19 Thread Vince Weaver
On Tue, 19 Sep 2017, Eric W. Biederman wrote: > When sorting out the si_code ambiguity fcntl I accidentally overshot and > included SIGPOLL as well. Ooops! This is my trivial fix for that. > > Vince Weaver caught this when it landed in your tree with his > perf_event_tests many of which

Re: [PATCH 4/6] fs-writeback: make wb_start_writeback() static

2017-09-19 Thread Johannes Weiner
On Tue, Sep 19, 2017 at 01:53:05PM -0600, Jens Axboe wrote: > We don't have any callers outside of fs-writeback.c anymore, > make it private. > > Signed-off-by: Jens Axboe Acked-by: Johannes Weiner

Re: [PATCH 1/1] acpi: unbreak ACPI_HANDLE(), encapsulate fwnode_operations

2017-09-19 Thread Rafael J. Wysocki
On Tuesday, September 19, 2017 9:44:00 AM CEST Mika Westerberg wrote: > On Fri, Sep 15, 2017 at 05:35:27PM -0700, john.hubb...@gmail.com wrote: > > From: John Hubbard > > > > Due to commit db3e50f3234b ("device property: Get rid of struct > > fwnode_handle type field"),

[Part2 PATCH v4 24/29] KVM: SVM: Pin guest memory when SEV is active

2017-09-19 Thread Brijesh Singh
The SEV memory encryption engine uses a tweak such that two identical plaintext pages at different location will have different ciphertexts. So swapping or moving ciphertexts of two pages will not result in plaintexts being swapped. Relocating (or migrating) physical backing pages for a SEV guest

[Part2 PATCH v4 29/29] KVM: X86: Add CONFIG_KVM_AMD_SEV

2017-09-19 Thread Brijesh Singh
The config option can be used to enable SEV support on AMD Processors. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Paolo Bonzini Cc: "Radim Krčmář" Cc: Joerg Roedel

[Part2 PATCH v4 27/29] KVM: SVM: Do not install #UD intercept when SEV is enabled

2017-09-19 Thread Brijesh Singh
On #UD, x86_emulate_instruction() fetches the data from guest memory and decodes the instruction bytes to assist further. When SEV is enabled, the instruction bytes will be encrypted using the guest-specific key and the hypervisor will no longer able to fetch the instruction bytes to assist UD

[Part2 PATCH v4 12/29] KVM: Introduce KVM_MEMORY_ENCRYPT_REGISTER_REGION ioctl

2017-09-19 Thread Brijesh Singh
If hardware supports memory encryption then KVM_MEMORY_ENCRYPT_REGISTER_REGION and KVM_MEMORY_ENCRYPT_UNREGISTER_REGION ioctl's can be used by userspace to register/unregister the guest memory regions which may contain the encrypted data (e.g guest RAM, PCI BAR, SMRAM etc). Cc: Thomas Gleixner

Re: [PATCH net] net: phy: Kconfig: Fix PHY infrastructure menu in menuconfig

2017-09-19 Thread David Miller
From: Jerome Brunet Date: Mon, 18 Sep 2017 14:59:20 +0200 > Since the integration of PHYLINK, the configuration option which > used to be under the PHY infrastructure menu in menuconfig ended > up one level up (the network device driver section) > > By placing PHYLINK

Re: [v8 0/4] cgroup-aware OOM killer

2017-09-19 Thread David Rientjes
On Fri, 15 Sep 2017, Roman Gushchin wrote: > > > > But then you just enforce a structural restriction on your configuration > > > > because > > > > root > > > > / \ > > > >AD > > > > /\ > > > > B C > > > > > > > > is a different thing than > > > >

Re: [PATCH] tcp: avoid bogus warning in tcp_clean_rtx_queue

2017-09-19 Thread David Miller
From: Arnd Bergmann Date: Mon, 18 Sep 2017 22:48:47 +0200 > gcc-4.9 warns that it cannot trace the state of the 'last_ackt' > variable since the change to the TCP timestamping code, when > CONFIG_PROFILE_ANNOTATED_BRANCHES is set: > > net/ipv4/tcp_input.c: In function

Re: [PATCH v2] doc: coresight: correct usage for disabling idle states

2017-09-19 Thread Mathieu Poirier
On 15 September 2017 at 04:16, Leo Yan wrote: > In the coresight CPU debug document it suggests to use 'echo' command > to set latency request to /dev/cpu_dma_latency so can disable all CPU > idle states, but in fact this doesn't work. > > This is because when the command

Re: [PATCH] hid/uhid: fix a double-fetch bug when copying event from user

2017-09-19 Thread Meng Xu
On 09/19/2017 05:31 PM, Dmitry Torokhov wrote: On Mon, Sep 18, 2017 at 10:21 PM, Meng Xu wrote: When in_compat_syscall(), a user could make type != UHID_CREATE when get_user(type, buffer) [first fetch] and later make event->type == UHID_CREATE in

[PATCH v2 1/3] dt-bindings: Add vendor prefix for ProBox2

2017-09-19 Thread Andreas Färber
PROBOX2 is a TV box brand by Hong Kong based online reseller W2COMP Company Limited. Cc: supp...@probox2.com Acked-by: Rob Herring Signed-off-by: Andreas Färber --- v1 -> v2: * Extend the vendor prefix explanation with info provided by PROBOX2 * Fix the

[PATCH v3] membarrier: Document scheduler barrier requirements

2017-09-19 Thread Mathieu Desnoyers
Document the membarrier requirement on having a full memory barrier in __schedule() after coming from user-space, before storing to rq->curr. It is provided by smp_mb__after_spinlock() in __schedule(). Document that membarrier requires a full barrier on transition from kernel thread to userspace

Re: [PATCH v2] membarrier: Document scheduler barrier requirements

2017-09-19 Thread Mathieu Desnoyers
- On Sep 19, 2017, at 5:47 PM, Andrea Parri parri.and...@gmail.com wrote: > On Tue, Sep 19, 2017 at 03:56:31PM -0400, Mathieu Desnoyers wrote: >> Document the membarrier requirement on having a full memory barrier in >> __schedule() after coming from user-space, before storing to rq->curr. >>

Re: [PATCH] tcp: avoid bogus warning in tcp_clean_rtx_queue

2017-09-19 Thread David Miller
From: Arnd Bergmann Date: Tue, 19 Sep 2017 23:32:33 +0200 > On Tue, Sep 19, 2017 at 11:02 PM, David Miller wrote: >> What cpu did you test the object code generation upon and does that >> cpu have branch prediction hints in the target you are building for? >

Re: [PATCH v3 0/3] arm64: Add CONFIG_KUSER_HELPERS

2017-09-19 Thread Kees Cook
On Mon, Sep 11, 2017 at 8:26 AM, Mark Salyzyn wrote: > Make it possible to disable the kuser helpers by adding a KUSER_HELPERS > config option (enabled by default). When disabled, all kuser > helpers-related code is removed from the kernel and no mapping is done > at the

[PATCH 2/2] sched: Actual changes after adding SCHED_SOFT_AFFINITY to make it work with the scheduler

2017-09-19 Thread Rohit Jain
These are the changes which change the scheduler behavior based on the cpus_preferred mask. Keep in mind that when the system call changes cpus_allowed mask, cpus_preferred and cpus_allowed become the same. Signed-off-by: Rohit Jain --- kernel/sched/cpudeadline.c | 4

[RFC PATCH 0/2] sched: Introduce CPU soft affinity for processes

2017-09-19 Thread Rohit Jain
For multi-tenancy currently there are mechanisms to share the system CPUs by time-sharing (e.g: CFS) and by dividing up the system in 'rigid' containers by using system calls like sched_setaffinity. There is no existing way in the linux kernel today, for flexible workloads where there is a need to

Re: [PATCH net-next 0/4] net: dsa: move master ethtool code

2017-09-19 Thread David Miller
From: Florian Fainelli Date: Tue, 19 Sep 2017 13:04:56 -0700 > On 09/19/2017 08:56 AM, Vivien Didelot wrote: >> The DSA core overrides the master device's ethtool_ops structure so that >> it can inject statistics and such of its dedicated switch CPU port. >> >> This

Re: [PATCH v7] PCI: Workaround wrong flags completions for IDT switch

2017-09-19 Thread Sinan Kaya
On 9/18/2017 4:05 PM, James Puthukattukaran wrote: > Subject: [PATCH v7] PCI: Workaround wrong flags completions for IDT switch > From: James Puthukattukaran > > The IDT switch incorrectly flags an ACS source violation on a read config > request to an end point

  1   2   3   4   5   6   7   8   9   10   >