Re: linux-next: build warnings after merge of the block tree

2018-02-28 Thread Anshuman Khandual
On 03/01/2018 05:56 AM, Stephen Rothwell wrote: > Hi Jens, > > After merging the block tree, today's linux-next build (x86_64 > allmodconfig) produced these warning: > > In file included from drivers/misc/cardreader/rts5209.c:24:0: > include/linux/rtsx_pci.h:40:0: warning: "SG_END" redefined > #

Re: [PATCH v2 00/10] Copy Offload in NVMe Fabrics with P2P PCI Memory

2018-02-28 Thread Benjamin Herrenschmidt
On Wed, 2018-02-28 at 16:39 -0700, Logan Gunthorpe wrote: > Hi Everyone, So Oliver (CC) was having issues getting any of that to work for us. The problem is that acccording to him (I didn't double check the latest patches) you effectively hotplug the PCIe memory into the system when creating str

Re: [PATCH v2 00/10] Copy Offload in NVMe Fabrics with P2P PCI Memory

2018-02-28 Thread Benjamin Herrenschmidt
On Thu, 2018-03-01 at 14:54 +1100, Benjamin Herrenschmidt wrote: > On Wed, 2018-02-28 at 16:39 -0700, Logan Gunthorpe wrote: > > Hi Everyone, > > > So Oliver (CC) was having issues getting any of that to work for us. > > The problem is that acccording to him (I didn't double check the latest > p

[PATCH v5] staging: typec: handle vendor defined part and modify drp toggling flow

2018-02-28 Thread ShuFan Lee
From: ShuFan Lee Handle vendor defined behavior in tcpci_init, tcpci_set_vconn and export tcpci_irq. More operations can be extended in tcpci_data if needed. According to TCPCI specification, 4.4.5.2 ROLE_CONTROL, TCPC shall not start DRP toggling until subsequently the TCPM writes to the COMMAN

[PATCHv2] phy: mapphone-mdm6600: Add USB PHY driver for MDM6600 on Droid 4

2018-02-28 Thread Tony Lindgren
Let's add support for the GPIO controlled USB PHY on the MDM6600 modem. It is used on some Motorola Mapphone series of phones and tablets such as Droid 4. The MDM6600 is hardwired to the first OHCI port in the Droid 4 case, and is controlled by several GPIOs. The USB PHY is integrated into the MDM

Re: [PATCH 11/12] PM / AVS: SmartReflex: Prepare to use device tree based probing

2018-02-28 Thread Tony Lindgren
* Kevin Hilman [180301 03:08]: > Tony Lindgren writes: > > We are currently probing smartreflex with omap_device while we are > > already probing smartreflex related interconnect target module with > > ti-sysc driver and dts data. ... > Acked-by: Kevin Hilman > > I don't have anything else que

Re: [PATCH v2 4/4] pintcrl: support bias-disable of generic and special pins simultaneously

2018-02-28 Thread Zhiyong Tao
On Wed, 2018-02-28 at 15:49 +0800, Zhiyong Tao wrote: > On Wed, 2018-02-28 at 15:33 +0800, Sean Wang wrote: > > On Mon, 2018-02-26 at 16:34 +0800, Zhiyong Tao wrote: > > > For generic pins, parameter "arg" is 0 or 1. > > > For special pins, bias-disable is set by R0R1, > > > so we need transmited "

[PATCH v4] staging: typec: handle vendor defined part and modify drp toggling flow

2018-02-28 Thread ShuFanLee
From: ShuFanLee Handle vendor defined behavior in tcpci_init, tcpci_set_vconn and export tcpci_irq. More operations can be extended in tcpci_data if needed. According to TCPCI specification, 4.4.5.2 ROLE_CONTROL, TCPC shall not start DRP toggling until subsequently the TCPM writes to the COMMAND

Re: [PATCH] phy: mapphone-mdm6600: Add USB PHY driver for MDM6600 on Droid 4

2018-02-28 Thread Tony Lindgren
* kbuild test robot [180219 07:47]: > > 354if (reset_gpio >= 0) >355gpiod_set_value_cansleep(reset_gpio, 1); Thanks this test can be just dropped. Will send out an updated version shortly. Regards, Tony

Re: [PATCH] phy: mapphone-mdm6600: Add USB PHY driver for MDM6600 on Droid 4

2018-02-28 Thread Tony Lindgren
* Rob Herring [180219 20:41]: > On Sat, Feb 17, 2018 at 01:07:23PM -0800, Tony Lindgren wrote: > > The GPIOs controlling MDM6600 are used to power MDM660 on and off, to > > MDM660 a typo? Thanks fixing. > > +Required properties: > > +- compatible Must be "motorola,mapphone-mdm6600" > > +-

linux-next: Tree for Mar 1

2018-02-28 Thread Stephen Rothwell
Hi all, Changes since 20180228: The net-next tree gained a conflict against the net tree and also a build failure due to an interaction with the net tree for which I applied a merge fix patch. Non-merge commits (relative to Linus' tree): 4348 4891 files changed, 184087 insertions(+), 1

Re: [PATCH] soc: rockchip: power-domain: remove PM clocks

2018-02-28 Thread JeffyChen
Hi guys, if i'm reading the code right, the PM clk means: 1/ the clocks which would be enabled while power on 2/ these clocks are optional, it's ok if anything wrong with them 3/ controlled by pm_domain(or USE_PM_CLK_RUNTIME_OPS & pm_clk_add_notifier) and currently we're adding all clocks of the

Re: [PATCH] sparc: Use generic pci_mmap_resource_range()

2018-02-28 Thread David Miller
From: Bjorn Helgaas Date: Wed, 28 Feb 2018 17:08:29 -0600 > On Mon, Feb 19, 2018 at 10:30:25AM -0500, David Miller wrote: >> From: David Woodhouse >> Date: Mon, 19 Feb 2018 15:24:18 + >> >> >> For one, the sparc specific code allows mmap'ing any address range >> >> within a PCI bus device. 

[PATCH] cpu_pm: add syscore_suspend error handling

2018-02-28 Thread Derek Basehore
If cpu_cluster_pm_enter() fails, cpu_pm_exit() should be called. This will put the CPU in the correct state to resume from the failure. Signed-off-by: Derek Basehore --- kernel/cpu_pm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/cpu_pm.c b/kernel/cpu_pm.c index 67b02e138a47..0

[PATCH 1/2] dt-bindings: clock: mediatek: add binding for fixed-factor clock axisel_d4

2018-02-28 Thread sean.wang
From: Sean Wang Just add binding for a fixed-factor clock axisel_d4, which would be referenced by PWM devices on MT7623 or MT2701 SoC. Cc: sta...@vger.kernel.org Fixes: 1de9b21633d6 ("clk: mediatek: Add dt-bindings for MT2701 clocks") Signed-off-by: Sean Wang Cc: Rob Herring Cc: Mark Rutland

[PATCH 2/2] clk: mediatek: fix PWM clock source by adding a fixed-factor clock

2018-02-28 Thread sean.wang
From: Sean Wang The clock for which all PWM devices on MT7623 or MT2701 actually depending on has to be divided by four from its parent clock axi_sel in the clock path prior to PWM devices. Consequently, adding a fixed-factor clock axisel_d4 as one-fourth of clock axi_sel allows that PWM devices

[PATCH net-next 1/2] virtio-net: re enable XDP_REDIRECT for mergeable buffer

2018-02-28 Thread Jason Wang
XDP_REDIRECT support for mergeable buffer was removed since commit 7324f5399b06 ("virtio_net: disable XDP_REDIRECT in receive_mergeable() case"). This is because we don't reserve enough tailroom for struct skb_shared_info which breaks XDP assumption. Other complaints are, the complex linearize logi

[PATCH net-next 0/2] virtio-net: re enable XDP_REDIRECT for mergeable buffer

2018-02-28 Thread Jason Wang
Hi: This series tries to re-enable XDP_REDIRECT for mergeable buffer which was removed since commit 7324f5399b06 ("virtio_net: disable XDP_REDIRECT in receive_mergeable() case"). Main concerns are: - not enough tailroom was reserved which breaks cpumap - complex logic like EWMA and linearizing du

[PATCH net-next 2/2] virtio-net: simplify XDP handling in small buffer

2018-02-28 Thread Jason Wang
We used to do data copy through xdp_linearize_page() for the buffer without sufficient headroom, it brings extra complexity without helping for the performance. So this patch remove it and switch to use generic XDP routine to handle this case. Signed-off-by: Jason Wang --- drivers/net/virtio_net

ERROR: "ia64_delay_loop" [drivers/spi/spi-thunderx.ko] undefined!

2018-02-28 Thread kbuild test robot
Hi Robin, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 97ace515f01439d4cf6e898b4094040dc12d36e7 commit: e1a50de37860b3a93a9d643b09638db5aff47650 arm64: cputype: Silence Sparse warnings date: 12 days ago confi

Re: [PATCH v8 03/13] kexec_file,x86,powerpc: factor out kexec_file_ops functions

2018-02-28 Thread AKASHI Takahiro
On Wed, Feb 28, 2018 at 08:38:00PM +0800, Dave Young wrote: > On 02/26/18 at 07:01pm, AKASHI Takahiro wrote: > > On Fri, Feb 23, 2018 at 05:24:59PM +0800, Dave Young wrote: > > > Hi AKASHI, > > > > > > On 02/22/18 at 08:17pm, AKASHI Takahiro wrote: > > > > As arch_kexec_kernel_*_{probe,load}(), >

Re: [PATCH] PCI/ASPM: Change type of threshold_ns variable to u32

2018-02-28 Thread Gustavo A. R. Silva
On 02/28/2018 02:55 PM, Bjorn Helgaas wrote: On Tue, Feb 27, 2018 at 05:19:52PM -0600, Gustavo A. R. Silva wrote: It seems that the expression threshold_us * 1000 will never exceed the 32-bit limits [1]. So changing the type of threshold_ns from u64 to u32 seems sensible [2]. [1] https://marc

[PATCH] uml: Fix build with recent glibc

2018-02-28 Thread Andi Kleen
From: Andi Kleen Newer glibc did some include namespace "cleanups" and removed struct ucontext and friends. This already broke a lot of software, and UML seems to be the latest victim. Use the typedefs which are still available. They also work on older glibcs. Signed-off-by: Andi Kleen --- ar

Re: [PATCH 11/12] PM / AVS: SmartReflex: Prepare to use device tree based probing

2018-02-28 Thread Kevin Hilman
Tony Lindgren writes: > We are currently probing smartreflex with omap_device while we are > already probing smartreflex related interconnect target module with > ti-sysc driver and dts data. > > Before we can flip things on for ti-sysc, we need to prepare the > smartreflex driver a bit: > > 1. T

Re: [PATCH v8 02/13] kexec_file: make an use of purgatory optional

2018-02-28 Thread AKASHI Takahiro
On Wed, Feb 28, 2018 at 08:33:59PM +0800, Dave Young wrote: > On 02/26/18 at 07:24pm, AKASHI Takahiro wrote: > > On Fri, Feb 23, 2018 at 04:49:34PM +0800, Dave Young wrote: > > > Hi AKASHI, > > > > > > On 02/22/18 at 08:17pm, AKASHI Takahiro wrote: > > > > On arm64, no trampline code between old k

Re: [PATCH v4] Revert "f2fs crypto: avoid unneeded memory allocation in ->readdir"

2018-02-28 Thread Chao Yu
On 2018/3/1 10:50, Jaegeuk Kim wrote: > On 02/28, Chao Yu wrote: >> Hi Jaegeuk, >> >> On 2018/2/28 13:48, Jaegeuk Kim wrote: >>> Hi Yunlong, >>> >>> As Eric pointed out, how do you think using nohighmem for directory likewise >> >> I'd like to ask, at the beginning, why we choose to use highmem for

Re: [PATCH 01/21] powerpc: Remove warning on array size when empty

2018-02-28 Thread Michael Ellerman
Mathieu Malaterre writes: > When neither CONFIG_ALTIVEC, nor CONFIG_VSX or CONFIG_PPC64 is defined, the > array feature_properties is defined as an empty array, which in turn > triggers the following warning (treated as error on W=1): > > CC arch/powerpc/kernel/prom.o > arch/powerpc/kernel

Re: [f2fs-dev] [PATCH 1/5 v2] f2fs: add mount option for segment allocation policy

2018-02-28 Thread Jaegeuk Kim
On 02/28, Chao Yu wrote: > On 2018/2/28 13:09, Jaegeuk Kim wrote: > > Change log from v1: > > - add doc :) > > > > This patch adds an mount option, "alloc_mode=%s" having two options, > > "default" > > and "reuse". > > > > In "alloc_mode=reuse" case, f2fs starts to allocate segments from 0'th

[PATCH v2 3/3] x86: devicetree: fix device IRQ settings in DT

2018-02-28 Thread Ivan Gorinov
IRQ parameters for SoC devices connected directly to I/O APIC lines (without PCI IRQ routing) may be specified in the Device Tree. Called from DT IRQ parser, irq_create_fwspec_mapping() calls irq_domain_alloc_irqs() with a pointer to irq_fwspec structure as @arg. But x86-specific DT IRQ allocation

[PATCH v2 0/3] x86: devicetree: re-enable x86-specific implementation

2018-02-28 Thread Ivan Gorinov
Fixing x86-specific DT implementation in the kernel allows reusing most of firmware code for SoC that have ARM core replaced with x86, e.g. SC9853i. Changes since first version:  * Splitting a single patch into three parts Ivan Gorinov (3):   x86: devicetree: call early_init_dt_verify()   x86: d

[PATCH v2 1/3] x86: devicetree: call early_init_dt_verify()

2018-02-28 Thread Ivan Gorinov
Call to early_init_dt_verify() is required to prepare DTB data. It was called from arch/arm and arch/powerpc, but not arch/x86. Signed-off-by: Ivan Gorinov ---  arch/x86/kernel/devicetree.c | 1 +  1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/devicetree.c b/arch/x86/kernel/devicetr

[PATCH v2 2/3] x86: devicetree: enable multiprocessing in DT

2018-02-28 Thread Ivan Gorinov
Adding code to register processors described in Device Tree. APIC ID is specified in 'intel-apic_id' propery as used in U-Boot. First address specified in 'reg' is used as default APIC ID. Signed-off-by: Ivan Gorinov ---  arch/x86/kernel/devicetree.c | 26 --  1 file change

Re: [PATCH v4] Revert "f2fs crypto: avoid unneeded memory allocation in ->readdir"

2018-02-28 Thread Jaegeuk Kim
On 02/28, Chao Yu wrote: > Hi Jaegeuk, > > On 2018/2/28 13:48, Jaegeuk Kim wrote: > > Hi Yunlong, > > > > As Eric pointed out, how do you think using nohighmem for directory likewise > > I'd like to ask, at the beginning, why we choose to use highmem for dentry > page? > any history reason ther

Re: [PATCH] f2fs: fix to restore whint_mode in ->remount_fs

2018-02-28 Thread Chao Yu
Hi Jaegeuk, On 2018/3/1 10:45, Jaegeuk Kim wrote: > On 02/28, Chao Yu wrote: >> From: Chao Yu >> >> If we fail in ->remount_fs, it needs to restore old whint_mode as other >> mount options. >> >> Fixes: e25afe01822f ("f2fs: support passing down write hints given by users >> to block layer") > >

[PATCH v2] hwmon: g762: handle cleanup with devm_add_action

2018-02-28 Thread Peng Hao
Simplify code and use devm_add_action() to handle cleanup. Signed-off-by: Peng Hao --- drivers/hwmon/g762.c | 43 +-- 1 file changed, 17 insertions(+), 26 deletions(-) diff --git a/drivers/hwmon/g762.c b/drivers/hwmon/g762.c index 6d1208b..49046b4 100644

Re: [PATCH 0/2] ESRT fixes for relocatable kexec'd kernel

2018-02-28 Thread AKASHI Takahiro
Hi, On Wed, Feb 28, 2018 at 08:39:42AM -0700, Jeffrey Hugo wrote: > On 2/27/2018 11:19 PM, AKASHI Takahiro wrote: > >Tyler, > > > ># I missed catching your patch as its subject doesn't contain arm64. > > > >On Fri, Feb 23, 2018 at 12:42:31PM -0700, Tyler Baicar wrote: > >>Currently on arm64 ESRT m

[PATCH v3 1/2] mkfs.f2fs: support hot file extension

2018-02-28 Thread Chao Yu
This patch adds new option '-E' to accept user configured hot file extension, in order to let kernel module handle hot/cold file's datas separately better. Signed-off-by: Chao Yu --- v3: - remove debug log. include/f2fs_fs.h | 5 ++-- mkfs/f2fs_format.c | 74 +

Re: 4.16 regression: s2ram broken on non-PAE i686

2018-02-28 Thread Woody Suwalski
Thomas Gleixner wrote: Woody, On Wed, 28 Feb 2018, Woody Suwalski wrote: Certainly. I understand you want dmesg output for kernels build with and without PAE, not just PAE=n on the cmdline :-) Here it is... Thanks for providing the data. It did not pinpoint the issue but at least it gave me th

Re: [PATCH] f2fs: fix to restore whint_mode in ->remount_fs

2018-02-28 Thread Jaegeuk Kim
On 02/28, Chao Yu wrote: > From: Chao Yu > > If we fail in ->remount_fs, it needs to restore old whint_mode as other > mount options. > > Fixes: e25afe01822f ("f2fs: support passing down write hints given by users > to block layer") Hi Chao, It was not merged, so please allow me to integrate

Re: [PATCH 4/5] f2fs: issue discard aggressively in the gc_urgent mode

2018-02-28 Thread Jaegeuk Kim
Change log from v1: - relax more to issue discard commands This patch avoids to skip discard commands when user sets gc_urgent mode. Reviewed-by: Chao Yu Signed-off-by: Jaegeuk Kim --- fs/f2fs/segment.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/fs/f2fs/seg

[PATCH 2/2] auxdisplay: make PANEL a menuconfig

2018-02-28 Thread Randy Dunlap
Signed-off-by: Randy Dunlap Cc: Miguel Ojeda Sandonis Acked-by: Geert Uytterhoeven Reviewed-by: Andy Shevchenko --- drivers/auxdisplay/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20180228.orig/drivers/auxdisplay/Kconfig +++ linux-next-20180228/drivers/auxdispl

[PATCH 1/2] auxdisplay: fix broken menu

2018-02-28 Thread Randy Dunlap
unlap --- drivers/auxdisplay/Kconfig | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) --- linux-next-20180228.orig/drivers/auxdisplay/Kconfig +++ linux-next-20180228/drivers/auxdisplay/Kconfig @@ -14,9 +14,6 @@ menuconfig AUXDISPLAY If you say N, all options in th

Re: [PATCH v2 11/11] test_firmware: test three firmware kernel configs using a proc knob

2018-02-28 Thread Josh Triplett
On Thu, Mar 01, 2018 at 12:38:16AM +, Luis R. Rodriguez wrote: > On Wed, Feb 28, 2018 at 04:00:58PM -0800, Josh Triplett wrote: > > On Wed, Feb 28, 2018 at 06:26:03PM +, Luis R. Rodriguez wrote: > > > So for folks who enable CONFIG_FW_LOADER=y, they'd now be forced to gain > > > an > > > e

Re: [PATCH] arm64: defconfig: Enable typec-phy and extcon-usbc-cros-ec for rk3399

2018-02-28 Thread Alexandre Courbot
On Wed, Feb 28, 2018 at 11:02 PM, Enric Balletbo i Serra wrote: > Enables typec phyter and extcon driver for cable detection that is used by > USB 3.0 controller for Rockchip rk3399 SoCs. > > Signed-off-by: Enric Balletbo i Serra Tested-by: Alexandre Courbot Thanks! This fixes a USB regression

Re: [PATCH v2] pvcalls-front: 64-bit align flags

2018-02-28 Thread Boris Ostrovsky
On 02/28/2018 09:05 PM, Stefano Stabellini wrote: We are using test_and_* operations on the status and flag fields of struct sock_mapping. However, these functions require the operand to be 64-bit aligned on arm64. Currently, only status is 64-bit aligned. Make status and flags explicitly 64-b

Re: ftrace: Proposal for an Alternative RecordMcount framework

2018-02-28 Thread Alan Kao
On Wed, Feb 28, 2018 at 05:12:52AM +0800, Steven Rostedt wrote: > On Tue, 27 Feb 2018 18:04:26 +0800 > Alan Kao wrote: > > > 1. During the final linking stages, do "objdump vmlinux.o | grep ..." [2] > > Note, doing it at that stage takes the longest time. It makes small > changes much longer to

[PATCH v2] pvcalls-front: 64-bit align flags

2018-02-28 Thread Stefano Stabellini
We are using test_and_* operations on the status and flag fields of struct sock_mapping. However, these functions require the operand to be 64-bit aligned on arm64. Currently, only status is 64-bit aligned. Make status and flags explicitly 64-bit aligned. Signed-off-by: Stefano Stabellini --- C

Re: [PATCH V2] scsi: core: use blk_mq_requeue_request in __scsi_queue_insert

2018-02-28 Thread jianchao.wang
Hi Bart Thanks for your precious time to review this and kindly detailed response. On 03/01/2018 01:52 AM, Bart Van Assche wrote: > On Wed, 2018-02-28 at 16:55 +0800, Jianchao Wang wrote: >> diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c >> index a86df9c..6fa7b0c 100644 >> --- a/d

Re: [PATCH] irqchip/gic-v3-its: handle rd_idx wrapping in its_wait_for_range_completion()

2018-02-28 Thread Yang Yingliang
On 2018/2/12 2:45, Marc Zyngier wrote: Hi, Marc Sorry for replying so late. On Sun, 11 Feb 2018 03:42:01 +, Yang Yingliang wrote: Hi Yang, In direct case, rd_idx will wrap if other cpus post commands that make rd_idx increase. When rd_idx wrapped, the driver prints timeout messages but

Re: [PATCH 2/2 v2 RFC] tools/memory-model: redefine rb in terms of rcu-fence

2018-02-28 Thread Boqun Feng
On Wed, Feb 28, 2018 at 03:13:54PM -0500, Alan Stern wrote: > This patch reorganizes the definition of rb in the Linux Kernel Memory > Consistency Model. The relation is now expressed in terms of > rcu-fence, which consists of a sequence of gp and rscs links separated > by rcu-link links, in which

Re: [BUG] Kernel crash on Allwinner H3 due to sound core changes

2018-02-28 Thread Kuninori Morimoto
Hi Jernej Thank you for your report > with todays linux-next (next-20180228), kernel on Allwinner H3 SoC crashes > with dmesg like that: https://pastebin.com/raw/0D5JeaJ8 > > I bisected the kernel and first offending commit is: > be7ee5f32a9a ("ASoC: soc-generic-dm

Re: [PATCH] cpuidle/powernv : Restore different PSSCR for idle and hotplug

2018-02-28 Thread Michael Ellerman
Stewart Smith writes: > Akshay Adiga writes: >> commit 1e1601b38e6e ("powerpc/powernv/idle: Restore SPRs for deep idle >> states via stop API.") uses stop-api provided by the firmware to restore >> PSSCR. PSSCR restore is required for handling special wakeup. When special >> wakeup is completed,

Re: [Xen-devel] [PATCH 0/9] drm/xen-front: Add support for Xen PV display frontend

2018-02-28 Thread Stefano Stabellini
On Wed, 28 Feb 2018, Julien Grall wrote: > (+ Stefano and Wei) > > Hi, > > On 02/27/2018 12:40 PM, Oleksandr Andrushchenko wrote: > > Please find some more clarifications on VirtIO use with Xen > > (I would like to thank Xen community for helping with this) > > > > 1. Possible security issues -

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

2018-02-28 Thread JeffyChen
Hi Robin, Thanks for your reply. On 02/28/2018 11:06 PM, Robin Murphy wrote: On 28/02/18 13:00, JeffyChen wrote: Hi Robin, Thanks for your reply. On 02/28/2018 12:59 AM, Robin Murphy wrote: the rockchip IOMMU is part of the master block in hardware, so it needs to control the master's power

Re: [PATCH] cpuidle/powernv : Restore different PSSCR for idle and hotplug

2018-02-28 Thread Michael Ellerman
Akshay Adiga writes: > On Mon, Feb 26, 2018 at 03:47:12PM +1100, Stewart Smith wrote: >> Akshay Adiga writes: >> > commit 1e1601b38e6e ("powerpc/powernv/idle: Restore SPRs for deep idle >> > states via stop API.") uses stop-api provided by the firmware to restore >> > PSSCR. PSSCR restore is req

Re: [lkp-robot] [printk] c162d5b433: BUG:KASAN:use-after-scope_in_c

2018-02-28 Thread Sergey Senozhatsky
Hello, Cc-ing Dmitry Vyukov and kasan-dev on this. On (02/28/18 16:59), Petr Mladek wrote: [..] > > > > > > [0.00] BUG: KASAN: use-after-scope in console_unlock+0x185/0x960 > > > [0.00] BUG: KASAN: use-after-scope in console_unlock+0x185/0x960 > > > > Is there any change to get

Re: [PATCH] powerpc: dts: replace 'linux,stdout-path' with 'stdout-path'

2018-02-28 Thread Michael Ellerman
Rob Herring writes: > 'linux,stdout-path' has been deprecated for some time in favor of > 'stdout-path'. Now dtc will warn on occurrences of 'linux,stdout-path'. > Search and replace all the of occurrences with 'stdout-path'. This patch looks OK. But please remember that not all device trees ar

Re: [PATCH v3 0/4] Split page_type out from mapcount

2018-02-28 Thread Matthew Wilcox
On Wed, Feb 28, 2018 at 03:22:49PM -0800, Randy Dunlap wrote: > On 02/28/2018 02:31 PM, Matthew Wilcox wrote: > > From: Matthew Wilcox > > > > I want to use the _mapcount field to record what a page is in use as. > > This can help with debugging and we can also expose that information to > > user

[PATCH v2 1/2] mkfs.f2fs: support hot file extension

2018-02-28 Thread Chao Yu
This patch adds new option '-E' to accept user configured hot file extension, in order to let kernel module handle hot/cold file's datas separately better. Signed-off-by: Chao Yu --- v2: fix to add missing f2fs_super_block layout modification. include/f2fs_fs.h | 5 +-- mkfs/f2fs_format.c

Re: [PATCH 1/2 v3] mmc: dw_mmc: Fix the DTO timeout overflow calculation for 32-bit systems

2018-02-28 Thread kbuild test robot
Hi Evgeniy, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.16-rc3 next-20180228] [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

Re: [PATCH tip/core/rcu 06/10] trace: Eliminate cond_resched_rcu_qs() in favor of cond_resched()

2018-02-28 Thread Paul E. McKenney
On Wed, Feb 28, 2018 at 06:12:52PM -0500, Steven Rostedt wrote: > On Tue, 27 Feb 2018 07:36:46 -0800 > "Paul E. McKenney" wrote: > > > > > --- a/include/linux/sched.h > > > > +++ b/include/linux/sched.h > > > > @@ -1589,6 +1589,12 @@ static inline int test_tsk_need_resched(struct > > > > task_st

Re: [PATCH] f2fs: don't put dentry page in pagecache into highmem

2018-02-28 Thread Chao Yu
On 2018/2/28 20:31, Yunlong Song wrote: > Previous dentry page uses highmem, which will cause panic in platforms > using highmem (such as arm), since the address space of dentry pages > from highmem directly goes into the decryption path via the function > fscrypt_fname_disk_to_usr. But sg_init_one

Re: [PATCH 0/9] drm/xen-front: Add support for Xen PV display frontend

2018-02-28 Thread Stefano Stabellini
Hi all, just as a clarification, this patch series implements the frontend driver for the "vdispl" protocol, which was reviewed, approved and committed in xen.git back in April: https://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=xen/include/public/io/displif.h As Xen maintainer, if a competing P

Re: [PATCH v2 5/6] platform/chrome: cros_ec_debugfs: Add PD port info to debugfs

2018-02-28 Thread kbuild test robot
Hi Shawn, Thank you for the patch! Yet something to improve: [auto build test ERROR on ljones-mfd/for-mfd-next] [also build test ERROR on v4.16-rc3 next-20180228] [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

[PATCH] powerpc: Keep const vars out of writable .sdata

2018-02-28 Thread Kees Cook
From: Segher Boessenkool Newer gcc will support "-mno-readonly-in-sdata"[1], which makes sure that the optimization on PPC32 for variables getting moved into the .sdata section will not apply to const variables (which must be in .rodata). This was originally noticed in mm/rodata_test.c when roda

Re: [PATCH v15 08/11] fw_cfg: handle fw_cfg_read_blob() error

2018-02-28 Thread Gabriel Somlo
On Thu, Mar 01, 2018 at 01:58:01AM +0200, Michael S. Tsirkin wrote: > On Wed, Feb 28, 2018 at 06:25:58PM -0500, Gabriel Somlo wrote: > > On Wed, Feb 28, 2018 at 05:32:52PM +0200, Michael S. Tsirkin wrote: > > > On Wed, Feb 28, 2018 at 12:49:35PM +0100, Marc-André Lureau wrote: > > > > Hi > > > > >

Re: [tip:x86/apic 1/2] arch/x86/kernel/apic/apic.c:1507:2: error: 'i' undeclared

2018-02-28 Thread Dou Liyang
Hi Thomas, At 03/01/2018 07:31 AM, Thomas Gleixner wrote: Dou, can you please look into that? I zapped the commits from x86/apic for now. OK, and zap them. I will send a new version. Thanks, tglx On Thu, 1 Mar 2018, kbuild test robot wrote: tree: https://git.kernel.org/pub/sc

RE: [PATCH v5 01/12] drivers: base: Unified device connection lookup

2018-02-28 Thread Jun Li
Hi, > -Original Message- > +struct device *device_find_connection(struct device *dev, const char > +*con_id) { > + return __device_find_connection(dev, con_id, generic_match, NULL); } - return __device_find_connection(dev, con_id, generic_match, NULL); + return __device_fi

[PATCH V5 2/2] thermal: imx: add i.MX7 thermal sensor support

2018-02-28 Thread Anson Huang
This patch adds i.MX7 thermal sensor support, most of the i.MX7 thermal sensor functions are same with i.MX6 except the registers offset/layout, so we move those registers offset/layout definitions to soc data structure. i.MX7 uses single calibration data @25C, the calibration data is located at O

[PATCH V5 1/2] ARM: dts: imx7s: add temperature monitor support

2018-02-28 Thread Anson Huang
Add i.MX7 temperature monitor support. Signed-off-by: Anson Huang Acked-by: Dong Aisheng Acked-by: Shawn Guo --- No changes since V4. arch/arm/boot/dts/imx7s.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/

Re: [PATCH 5/5] nvme: pci: pass max vectors as num_possible_cpus() to pci_alloc_irq_vectors

2018-02-28 Thread Christoph Hellwig
Looks fine, and we should pick this up for 4.16 independent of the rest, which I might need a little more review time for. Reviewed-by: Christoph Hellwig

Re: [PATCH v15 08/11] fw_cfg: handle fw_cfg_read_blob() error

2018-02-28 Thread Gabriel Somlo
On Thu, Mar 01, 2018 at 01:58:22AM +0200, Michael S. Tsirkin wrote: > On Thu, Mar 01, 2018 at 01:58:01AM +0200, Michael S. Tsirkin wrote: > > On Wed, Feb 28, 2018 at 06:25:58PM -0500, Gabriel Somlo wrote: > > > On Wed, Feb 28, 2018 at 05:32:52PM +0200, Michael S. Tsirkin wrote: > > > > On Wed, Feb

Re: [PATCH] checkpatch: avoid error report caused by syzbot

2018-02-28 Thread Yisheng Xie
Hi Joe, On 2018/3/1 0:37, Joe Perches wrote: > On Wed, 2018-02-28 at 17:10 +0800, Yisheng Xie wrote: >> syzbot request to add his reported-by when fix the bug find by syzbot. >> However, it will trigger a error when use checkpatch: >> >> ERROR: Unrecognized email address: >> 'syzbot+d7a918a7a8e

Re: [PATCH v2 11/11] test_firmware: test three firmware kernel configs using a proc knob

2018-02-28 Thread Luis R. Rodriguez
On Wed, Feb 28, 2018 at 04:00:58PM -0800, Josh Triplett wrote: > On Wed, Feb 28, 2018 at 06:26:03PM +, Luis R. Rodriguez wrote: > > So for folks who enable CONFIG_FW_LOADER=y, they'd now be forced to gain an > > extra 13436 bytes broken down as follows: > > Ah, I see. > > If you have CONFIG_F

Re: [Ocfs2-devel] [PATCH] Correct a comment error

2018-02-28 Thread Changwei Ge
Hi Larry, On 2018/2/28 18:18, Larry Chen wrote: > The function ocfs2_double_lock tries to lock the inode with lower > blockid first, not lockid. As ocfs2's lock name includes block number, so I think the comment you want to rework is all right. So nack. Thanks, Changwei > > Signed-off-by: Lar

Re: [PATCH 07/12] bus: ti-sysc: Handle some devices in omap_device compatible way

2018-02-28 Thread Tony Lindgren
* Tony Lindgren [180223 21:03]: > Now that ti-sysc can manage child devices, we must also be backwards > compatible with the current omap_device code. With omap_device, we > assume that the child device manages the interconnect target module > directly. ... > /* At this point the module is config

Re: [PATCH] pci-iov: Add support for unmanaged SR-IOV

2018-02-28 Thread Alexander Duyck
On Wed, Feb 28, 2018 at 2:59 PM, Alex Williamson wrote: > On Wed, 28 Feb 2018 09:49:21 -0800 > Alexander Duyck wrote: > >> On Tue, Feb 27, 2018 at 2:25 PM, Alexander Duyck >> wrote: >> > On Tue, Feb 27, 2018 at 1:40 PM, Alex Williamson >> > wrote: >> >> On Tue, 27 Feb 2018 11:06:54 -0800 >> >>

Re: [PATCH 3/3] crypto: ccp - protect RSA implementation from too large input data

2018-02-28 Thread Gary R Hook
On 02/24/2018 10:03 AM, Maciej S. Szmigiero wrote: CCP RSA implementation uses a hardware input buffer which size depends only on the current RSA key length. Key modulus and a message to be processed is then copied to this buffer based on their own lengths. Since the price for providing too long

Re: [PATCH 2/3] crypto: ccp - return an actual key size from RSA max_size callback

2018-02-28 Thread Gary R Hook
On 02/24/2018 10:03 AM, Maciej S. Szmigiero wrote: rsa-pkcs1pad uses a value returned from a RSA implementation max_size callback as a size of an input buffer passed to the RSA implementation for encrypt and sign operations. CCP RSA implementation uses a hardware input buffer which size depends

Re: [PATCH 1/2 RFC] tools/memory-model: rename link and rcu-path to rcu-link and rb

2018-02-28 Thread Paul E. McKenney
On Wed, Feb 28, 2018 at 03:13:45PM -0500, Alan Stern wrote: > This patch makes a simple non-functional change to the RCU portion of > the Linux Kernel Memory Consistency Model by renaming the "link" and > "rcu-path" relations to "rcu-link" and "rb". > > The name "link" was an unfortunate choice, b

Re: [PATCH v2 5/6] platform/chrome: cros_ec_debugfs: Add PD port info to debugfs

2018-02-28 Thread kbuild test robot
Hi Shawn, Thank you for the patch! Yet something to improve: [auto build test ERROR on ljones-mfd/for-mfd-next] [also build test ERROR on v4.16-rc3 next-20180228] [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

linux-next: build warnings after merge of the block tree

2018-02-28 Thread Stephen Rothwell
Hi Jens, After merging the block tree, today's linux-next build (x86_64 allmodconfig) produced these warning: In file included from drivers/misc/cardreader/rts5209.c:24:0: include/linux/rtsx_pci.h:40:0: warning: "SG_END" redefined #define SG_END 0x02 In file included from include/linux/dma

Re: [RFC PATCH 0/4 v2] Define killable version for access_remote_vm() and use it in fs/proc

2018-02-28 Thread Yang Shi
On 2/26/18 5:47 PM, David Rientjes wrote: On Mon, 26 Feb 2018, Yang Shi wrote: Rather than killable, we have patches that introduce down_read_unfair() variants for the files you've modified (cmdline and environ) as well as others (maps, numa_maps, smaps). You mean you have such functionality

Re: [PATCH v3] Documentation: Update ncurses package names for menuconfig

2018-02-28 Thread Masahiro Yamada
2018-03-01 6:47 GMT+09:00 Randy Dunlap : > On 02/28/2018 01:32 PM, Arvind Prasanna wrote: >> The package name is ncurses-devel for Redhat based distros >> and libncurses-dev for Debian based distros. >> >> Signed-off-by: Arvind Prasanna > > Thanks. Looks good to me. > > Acked-by: Randy Dunlap >

Re: [PATCH] clk: imx: imx7d: correct video pll clock tree

2018-02-28 Thread Shawn Guo
On Thu, Jan 04, 2018 at 01:09:21AM +0800, Anson Huang wrote: > There is a test divider and post divider in video PLL, > test divider is placed before post divider, all clocks > that can select parent from video PLL should be from > post divider, NOT from pll_video_main, below are > clock tree dump

Re: [PATCH v4] usb: core: Add "quirks" parameter for usbcore

2018-02-28 Thread kbuild test robot
Hi Kai-Heng, Thank you for the patch! Yet something to improve: [auto build test ERROR on usb/usb-testing] [also build test ERROR on v4.16-rc3 next-20180228] [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

Re: [PATCH resend] drivers/char/random.c: remove unused dont_count_entropy

2018-02-28 Thread Theodore Ts'o
On Thu, Mar 01, 2018 at 12:22:47AM +0100, Rasmus Villemoes wrote: > Ever since "random: kill dead extract_state struct" [1], the > dont_count_entropy member of struct timer_rand_state has been > effectively unused. Since it hasn't found a new use in 12 years, it's > probably safe to finally kill it

Re: [PATCH v2 11/11] test_firmware: test three firmware kernel configs using a proc knob

2018-02-28 Thread Josh Triplett
On Wed, Feb 28, 2018 at 06:26:03PM +, Luis R. Rodriguez wrote: > On Wed, Feb 28, 2018 at 01:07:23AM -0800, Josh Triplett wrote: > > On Wed, Feb 28, 2018 at 01:32:37AM +, Luis R. Rodriguez wrote: > > > On Tue, Feb 27, 2018 at 03:18:15PM -0800, Kees Cook wrote: > > > > On Fri, Feb 23, 2018 at

Re: [PATCH v15 08/11] fw_cfg: handle fw_cfg_read_blob() error

2018-02-28 Thread Michael S. Tsirkin
On Thu, Mar 01, 2018 at 01:58:01AM +0200, Michael S. Tsirkin wrote: > On Wed, Feb 28, 2018 at 06:25:58PM -0500, Gabriel Somlo wrote: > > On Wed, Feb 28, 2018 at 05:32:52PM +0200, Michael S. Tsirkin wrote: > > > On Wed, Feb 28, 2018 at 12:49:35PM +0100, Marc-André Lureau wrote: > > > > Hi > > > > >

Re: [PATCH v15 08/11] fw_cfg: handle fw_cfg_read_blob() error

2018-02-28 Thread Michael S. Tsirkin
On Wed, Feb 28, 2018 at 06:25:58PM -0500, Gabriel Somlo wrote: > On Wed, Feb 28, 2018 at 05:32:52PM +0200, Michael S. Tsirkin wrote: > > On Wed, Feb 28, 2018 at 12:49:35PM +0100, Marc-André Lureau wrote: > > > Hi > > > > > > On Tue, Feb 27, 2018 at 1:20 AM, Michael S. Tsirkin > > > wrote: > > >

Re: [PATCH V3] nvme-pci: Fixes EEH failure on ppc

2018-02-28 Thread Keith Busch
On Wed, Feb 28, 2018 at 04:31:37PM -0600, wenxiong wrote: > On 2018-02-15 14:05, wenxi...@linux.vnet.ibm.com wrote: > > From: Wen Xiong > > > > With b2a0eb1a0ac72869c910a79d935a0b049ec78ad9(nvme-pci: Remove watchdog > > timer), EEH recovery stops working on ppc. > > > > After removing whatdog ti

Re: [PATCH v4] usb: core: Add "quirks" parameter for usbcore

2018-02-28 Thread kbuild test robot
Hi Kai-Heng, Thank you for the patch! Yet something to improve: [auto build test ERROR on usb/usb-testing] [also build test ERROR on v4.16-rc3 next-20180228] [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

[PATCH v2 03/10] PCI/P2PDMA: Add PCI p2pmem dma mappings to adjust the bus offset

2018-02-28 Thread Logan Gunthorpe
The DMA address used when mapping PCI P2P memory must be the PCI bus address. Thus, introduce pci_p2pmem_[un]map_sg() to map the correct addresses when using P2P memory. For this, we assume that an SGL passed to these functions contain all p2p memory or no p2p memory. Signed-off-by: Logan Gunthor

[PATCH v2 04/10] PCI/P2PDMA: Clear ACS P2P flags for all devices behind switches

2018-02-28 Thread Logan Gunthorpe
For peer-to-peer transactions to work the downstream ports in each switch must not have the ACS flags set. At this time there is no way to dynamically change the flags and update the corresponding IOMMU groups so this is done at enumeration time before the the groups are assigned. This effectively

[PATCH v2 05/10] block: Introduce PCI P2P flags for request and request queue

2018-02-28 Thread Logan Gunthorpe
QUEUE_FLAG_PCI_P2P is introduced meaning a driver's request queue supports targeting P2P memory. REQ_PCI_P2P is introduced to indicate a particular bio request is directed to/from PCI P2P memory. A request with this flag is not accepted unless the corresponding queues have the QUEUE_FLAG_PCI_P2P f

[PATCH v2 01/10] PCI/P2PDMA: Support peer to peer memory

2018-02-28 Thread Logan Gunthorpe
Some PCI devices may have memory mapped in a BAR space that's intended for use in Peer-to-Peer transactions. In order to enable such transactions the memory must be registered with ZONE_DEVICE pages so it can be used by DMA interfaces in existing drivers. A kernel interface is provided so that oth

[PATCH v2 10/10] nvmet: Optionally use PCI P2P memory

2018-02-28 Thread Logan Gunthorpe
We create a configfs attribute in each nvme-fabrics target port to enable p2p memory use. When enabled, the port will only then use the p2p memory if a p2p memory device can be found which is behind the same switch as the RDMA port and all the block devices in use. If the user enabled it an no devi

[PATCH v2 00/10] Copy Offload in NVMe Fabrics with P2P PCI Memory

2018-02-28 Thread Logan Gunthorpe
Hi Everyone, Here's v2 of our series to introduce P2P based copy offload to NVMe fabrics. This version has been rebased onto v4.16-rc3 which already includes Christoph's devpagemap work the previous version was based off as well as a couple of the cleanup patches that were in v1. Additionally, we

[PATCH v2 02/10] PCI/P2PDMA: Add sysfs group to display p2pmem stats

2018-02-28 Thread Logan Gunthorpe
Attributes display the total amount of P2P memory, the amount available and whether it is published or not. Signed-off-by: Logan Gunthorpe --- Documentation/ABI/testing/sysfs-bus-pci | 25 + drivers/pci/p2pdma.c| 50 + 2 files c

[PATCH v2 06/10] IB/core: Add optional PCI P2P flag to rdma_rw_ctx_[init|destroy]()

2018-02-28 Thread Logan Gunthorpe
In order to use PCI P2P memory pci_p2pmem_[un]map_sg() functions must be called to map the correct DMA address. To do this, we add a flags variable and the RDMA_RW_CTX_FLAG_PCI_P2P flag. When the flag is specified use the appropriate map function. Signed-off-by: Logan Gunthorpe --- drivers/infin

<    1   2   3   4   5   6   7   8   9   10   >