Re: [PATCH] KVM: arm: Use PTR_ERR_OR_ZERO()

2017-12-01 Thread Christoffer Dall
Hi Vasyl, On Tue, Nov 28, 2017 at 11:48:17PM +0100, Vasyl Gomonovych wrote: > Fix ptr_ret.cocci warnings: > virt/kvm/arm/vgic/vgic-its.c:971:1-3: WARNING: PTR_ERR_OR_ZERO can be used > > Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR > > Generated by: scripts/coccinelle/api/ptr_ret.co

Re: [PATCH v18 05/10] xbitmap: add more operations

2017-12-01 Thread Wei Wang
On 11/30/2017 06:34 PM, Tetsuo Handa wrote: Wei Wang wrote: + * @start: the start of the bit range, inclusive + * @end: the end of the bit range, inclusive + * + * This function is used to clear a bit in the xbitmap. If all the bits of the + * bitmap are 0, the bitmap will be freed. + */ +void x

Re: [PATCH v18 06/10] virtio_ring: add a new API, virtqueue_add_one_desc

2017-12-01 Thread Wei Wang
On 12/01/2017 03:38 AM, Michael S. Tsirkin wrote: On Wed, Nov 29, 2017 at 09:55:22PM +0800, Wei Wang wrote: Current virtqueue_add API implementation is based on the scatterlist struct, which uses kaddr. This is inadequate to all the use case of vring. For example: - Some usages don't use IOMMU,

Re: [RFC PATCH] KVM: x86: Allow Qemu/KVM to use PVH entry point

2017-12-01 Thread Paolo Bonzini
On 30/11/2017 19:23, Maran Wilson wrote: > Are you saying the Linux PVH entry code (such as init_pvh_bootparams()) > should use the fw_cfg interface to read the e820 memory map data and put > it into the zeropage? Basically, keeping the patch very much like it > already is, just extracting the e820

Re: [PATCH v3 4/4] DTS: Pandora: fix panel compatibility string

2017-12-01 Thread Tomi Valkeinen
On 01/12/17 00:06, Sebastian Reichel wrote: How about let's call it a "typo fix" then? :) >>> >>> Well, it is not really a typo. >> >> Well what if the stable people pick it into earlier stable series >> based on the word fix in the subject? That has happened before. >> >> I suggest you updat

[PATCH] KVM: X86: Reduce the overhead when lapic_timer_advance is disabled

2017-12-01 Thread Wanpeng Li
When I run ebizzy in a 32 vCPUs guest on a 32 pCPUs Xeon box, I can observe ~8000 kvm_wait_lapic_expire CurAvg/s through kvm_stat tool even if the advance tscdeadline hrtimer expiration is disabled. Each call to wait_lapic_expire() will consume ~70 cycles when a timer fires since apic_timer_expi

Re: KASAN: stack-out-of-bounds Read in xfrm_state_find (3)

2017-12-01 Thread Dmitry Vyukov
On Fri, Dec 1, 2017 at 8:27 AM, Steffen Klassert wrote: > On Wed, Nov 22, 2017 at 08:05:00AM -0800, syzbot wrote: >> syzkaller has found reproducer for the following crash on >> 0c86a6bd85ff0629cd2c5141027fc1c8bb6cde9c >> git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/master >> c

Re: [PATCH -next] fork.c: Move check of clone NEWIPC and SYSVSEM to copy_process

2017-12-01 Thread Michal Hocko
On Wed 29-11-17 22:33:43, Marcos Paulo de Souza wrote: > On Thu, Nov 30, 2017 at 11:04:06AM +0100, Michal Hocko wrote: > > CC Eric > > > > On Sun 26-11-17 14:06:52, Marcos Paulo de Souza wrote: > > > Currently this check for CLONE_NEWIPC with CLONE_SYSVSEM is done inside > > > copy_namespaces, res

Re: BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:LINE

2017-12-01 Thread Dmitry Vyukov
On Thu, Nov 30, 2017 at 9:41 PM, Eric Biggers wrote: > On Thu, Nov 30, 2017 at 11:55:00AM -0800, syzbot wrote: >> Call Trace: >> __dump_stack lib/dump_stack.c:17 [inline] >> dump_stack+0x194/0x257 lib/dump_stack.c:53 >> ___might_sleep+0x2b2/0x470 kernel/sched/core.c:6060 >> __might_sleep+0x95/

Re: [PATCH v3 1/4] omapdrm: panel: fix compatible vendor string for td028ttec1

2017-12-01 Thread Tomi Valkeinen
On 01/12/17 03:57, Rob Herring wrote: >> diff --git a/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c >> b/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c >> index 0a38a0e8c925..a0dfa14f4fab 100644 >> --- a/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c >> +++ b/drivers/g

Re: [PATCH 02/18] vchecker: introduce the valid access checker

2017-12-01 Thread Joonsoo Kim
On Fri, Dec 01, 2017 at 01:08:13PM +0800, kbuild test robot wrote: > Hi Joonsoo, > > I love your patch! Yet something to improve: Thanks! I will fix all the error from kbuild bot on next spin. Thanks.

Re: [PATCH 0/4] Backported amdgpu ttm deadlock fixes for 4.14

2017-12-01 Thread Christian König
Am 01.12.2017 um 01:23 schrieb Lyude Paul: I haven't gone to see where it started, but as of late a good number of pretty nasty deadlock issues have appeared with the kernel. Easy reproduction recipe on a laptop with i915/amdgpu prime with lockdep enabled: DRI_PRIME=1 glxinfo Acked-by: Christi

Re: [PATCH 1/2] f2fs: pass down write hints to block layer for bufferd write

2017-12-01 Thread Hyunchul Lee
Hi Chao, On 11/30/2017 04:06 PM, Chao Yu wrote: > Hi Hyunchul, > > On 2017/11/28 8:23, Hyunchul Lee wrote: >> From: Hyunchul Lee >> >> This implements which hint is passed down to block layer >> for datas from the specific segment type. >> >> segment type hints >> ---

Re: WARNING: suspicious RCU usage (3)

2017-12-01 Thread Dmitry Vyukov
On Thu, Nov 30, 2017 at 9:04 AM, Dmitry Vyukov wrote: > On Thu, Nov 30, 2017 at 1:47 AM, Eric Biggers wrote: >> On Tue, Nov 28, 2017 at 09:06:06PM -0800, Eric Biggers wrote: >>> On Tue, Nov 28, 2017 at 01:30:26PM -0800, Andrew Morton wrote: >>> > >>> > It looks like blkcipher_walk_done() passed a

Re: [PATCH 2/2] kvm: x86: fix KVM_XEN_HVM_CONFIG ioctl

2017-12-01 Thread Paolo Bonzini
On 30/11/2017 21:40, Kees Cook wrote: > Hi Paolo, > > Since this didn't make it via my usercopy tree, do you want to take it > via KVM? It is a stand-alone fix, AIUI. Yes, will do! Thanks, Paolo

Re: [PATCH v4 1/3] drm/bridge/synopsys: dsi: stop clobbering drvdata

2017-12-01 Thread Philippe CORNU
Dear Nickey, Many thanks for your patch. I am sorry to say that but you can not add my "Acked-by" to this patch because this code is different from the "original" one from Brian (which got my "Acked-by"). Sometimes it is not an issue because differences are not important but in this particula

Re: [PATCH v3 7/9] KVM: x86: Implement Intel Processor Trace MSRs read/write

2017-12-01 Thread Paolo Bonzini
On 01/12/2017 07:40, Kang, Luwei wrote: >>> + case MSR_IA32_RTIT_ADDR0_A ... MSR_IA32_RTIT_ADDR3_B: { >>> + u32 eax, ebx, ecx, edx; >>> + >>> + cpuid_count(0x14, 1, &eax, &ebx, &ecx, &edx); >> >> Please cache the cpuid_count result, or do the cpuid_coun

Re: [PATCH v2] nvme-fc: don't require user to enter host_traddr

2017-12-01 Thread Johannes Thumshirn
James Smart writes: > On 11/30/2017 7:12 AM, Johannes Thumshirn wrote: >> One major usability difference between NVMf RDMA and FC is resolving >> the default host transport address in RDMA. This is perfectly doable >> in FC as well, as we already have all possible lport <-> rport >> combinations

Re: [PATCH v13 3/7] mm, oom: cgroup-aware OOM killer

2017-12-01 Thread Michal Hocko
On Thu 30-11-17 15:28:20, Roman Gushchin wrote: > Traditionally, the OOM killer is operating on a process level. > Under oom conditions, it finds a process with the highest oom score > and kills it. > > This behavior doesn't suit well the system with many running > containers: > > 1) There is no

Re: [PATCH] KVM: X86: Reduce the overhead when lapic_timer_advance is disabled

2017-12-01 Thread Paolo Bonzini
On 01/12/2017 09:15, Wanpeng Li wrote: > When I run ebizzy in a 32 vCPUs guest on a 32 pCPUs Xeon box, I can observe > ~8000 kvm_wait_lapic_expire CurAvg/s through kvm_stat tool even if the > advance > tscdeadline hrtimer expiration is disabled. Each call to wait_lapic_expire() > will consume ~

Re: [PATCH v2] leds: pm8058: Silence pointer to integer size warning

2017-12-01 Thread Pavel Machek
On Fri 2017-12-01 07:57:15, Lee Jones wrote: > On Thu, 30 Nov 2017, Bjorn Andersson wrote: > > > The pointer returned by of_device_get_match_data() doesn't have the same > > size as u32 on 64-bit architectures, causing a compile warning when > > compile-testing the driver on such platform. > > >

Re: [Intel-gfx] [RFC PATCH 3/6] drm/i915: Add HDCP framework + base implementation

2017-12-01 Thread Ramalingam C
On Friday 01 December 2017 01:06 PM, Daniel Vetter wrote: On Fri, Dec 01, 2017 at 12:53:31PM +0530, Ramalingam C wrote: Sean, IMHO, it will good if we can have all generic hdcp1.4 authentication flow in drm helpers and all interested display drivers to use them. This Design will make the ext

Re: [PATCH v13 5/7] mm, oom: add cgroup v2 mount option for cgroup-aware OOM killer

2017-12-01 Thread Michal Hocko
On Thu 30-11-17 15:28:22, Roman Gushchin wrote: > Add a "groupoom" cgroup v2 mount option to enable the cgroup-aware > OOM killer. If not set, the OOM selection is performed in > a "traditional" per-process way. > > The behavior can be changed dynamically by remounting the cgroupfs. Is it ok to c

Re: [PATCH v13 6/7] mm, oom, docs: describe the cgroup-aware OOM killer

2017-12-01 Thread Michal Hocko
On Thu 30-11-17 15:28:23, Roman Gushchin wrote: > @@ -1229,6 +1252,41 @@ to be accessed repeatedly by other cgroups, it may > make sense to use > POSIX_FADV_DONTNEED to relinquish the ownership of memory areas > belonging to the affected files to ensure correct memory ownership. > > +OOM Kille

Re: [PATCH RFC 2/2] arm64: allwinner: a64: Add Brava Keller initial support

2017-12-01 Thread Philippe Ombredanne
Dear Jagan, On Fri, Dec 1, 2017 at 8:54 AM, Maxime Ripard wrote: > On Fri, Dec 01, 2017 at 12:12:14AM +0530, Jagan Teki wrote: [] >> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-brava-keller.dts >> b/arch/arm64/boot/dts/allwinner/sun50i-a64-brava-keller.dts >> new file mode 100644 >> in

Re: [PATCH] vfio/iommu_type1: report the IOMMU aperture info

2017-12-01 Thread Pierre Morel
On 30/11/2017 16:23, Jean-Philippe Brucker wrote: On 30/11/17 14:49, Pierre Morel wrote: [...] Shouldn't the 52bit problem be reported by the iommu geometry? Yes, and most IOMMUs seem to set force_aperture. My comment was only about default values to adopt in case a new IOMMU driver doesn't se

Re: [PATCH] x86/numa: move setting parse numa node to num_add_memblk

2017-12-01 Thread zhong jiang
+cc more mm maintainer. Any one has any object. please let me know. Thanks zhongjiang On 2017/11/29 17:13, zhong jiang wrote: > Currently, Arm64 and x86 use the common code wehn parsing numa node > in a acpi way. The arm64 will set the parsed node in numa_add_memblk, > but the x86 is not set i

Re: [PATCH 1/2] f2fs: pass down write hints to block layer for bufferd write

2017-12-01 Thread Hyunchul Lee
Hi Jaegeuk, On 12/01/2017 04:28 PM, Jaegeuk Kim wrote: > On 11/30, Chao Yu wrote: >> On 2017/11/28 8:23, Hyunchul Lee wrote: >>> From: Hyunchul Lee >>> >>> This implements which hint is passed down to block layer >>> for datas from the specific segment type. >>> >>> segment type

Re: blk-mq + bfq IO hangs after writing partition table

2017-12-01 Thread Ming Lei
On Fri, Dec 01, 2017 at 06:52:37AM +, i...@ludios.org wrote: > > Hi, > > I think I am triggering a blk-mq + bfq bug that I can reproduce 100% > of the time by using gdisk (1.0.1-1 in Debian stretch) to write a > partition table to a USB flash drive. After it is triggered, IO hangs > forever

Re: [PATCH 1/2] mtd: spi-nor: add a API to restore the addressing mode

2017-12-01 Thread Cyrille Pitchen
Hi Hou, Le 24/11/2017 à 11:08, Zhiqiang Hou a écrit : > From: Hou Zhiqiang > > It's better to restore the addressing mode of the SPI flash > whenever remove the driver or reboot the system. > > Signed-off-by: Hou Zhiqiang > --- > drivers/mtd/spi-nor/spi-nor.c | 8 > include/linux/mtd

Re: [PATCH v4 4/6] ARM: dts: imx6qdl: Add Variscite DART-MX6 SoM support

2017-12-01 Thread Neil Armstrong
On 30/11/2017 01:39, Shawn Guo wrote: > On Wed, Nov 29, 2017 at 11:20:55AM +0100, Neil Armstrong wrote: >> This patch adds support for the Variscite DART-MX6 SoM with : >> - i.MX6 Quad or Dual Lite SoC >> - 1Gb/2Gb LPDDR2 >> - 4-64 GB eMMC >> - Camera Interface >> - HDMI+CEC interface >> - LVDS / D

Re: [PATCH v2] leds: pm8058: Silence pointer to integer size warning

2017-12-01 Thread Lee Jones
On Fri, 01 Dec 2017, Pavel Machek wrote: > On Fri 2017-12-01 07:57:15, Lee Jones wrote: > > On Thu, 30 Nov 2017, Bjorn Andersson wrote: > > > - led->ledtype = (u32)of_device_get_match_data(&pdev->dev); > > > + led->ledtype = (u32)(unsigned long)of_device_get_match_data(&pdev->dev); > > > > Wouldn

Re: [PATCH v4 6/6] ARM: configs: Add missing config for DART-MX6 SoM

2017-12-01 Thread Neil Armstrong
Hi Shawn, On 30/11/2017 01:46, Shawn Guo wrote: > On Wed, Nov 29, 2017 at 11:20:57AM +0100, Neil Armstrong wrote: >> This patch adds the missing configs for the DART-MX6 SoM support : >> - SERDEV bluetooth driver + SERIAL_DEV_BUS configs >> - WL18XX driver >> - DEFAULT_ON Led Trigger >> >> Reviewe

Re: [PATCH v2] leds: pm8058: Silence pointer to integer size warning

2017-12-01 Thread Lee Jones
On Thu, 30 Nov 2017, Bjorn Andersson wrote: > The pointer returned by of_device_get_match_data() doesn't have the same > size as u32 on 64-bit architectures, causing a compile warning when > compile-testing the driver on such platform. > > Cast the return value of of_device_get_match_data() to un

Re: [PATCH 2/2] mtd: m25p80: restore the addressing mode when stop using the flash

2017-12-01 Thread Cyrille Pitchen
Hi Hou, Le 24/11/2017 à 11:08, Zhiqiang Hou a écrit : > From: Hou Zhiqiang > > Add .shutdown function to restore the addressing mode in reboot > process, and add the same operation to the .remove function. > > Signed-off-by: Hou Zhiqiang > --- > drivers/mtd/devices/m25p80.c | 8 > 1

Re: [PATCH] mm: check pfn_valid first in zero_resv_unavail

2017-12-01 Thread Dave Young
On 11/30/17 at 12:25pm, Pavel Tatashin wrote: > Hi Dave, > > Because unavailable memory can be in the middle of a section, I think > a proper fix would be to do pfn_valid() check only at the beginning of > section. Otherwise, we might miss zeroing a struct page is in the > middle of a section but

Re: [PATCH v4 5/6] ARM: dts: imx6q: Add Variscite DART-MX6 Carrier-board support

2017-12-01 Thread Neil Armstrong
Hi Shawn, On 30/11/2017 01:43, Shawn Guo wrote: > On Wed, Nov 29, 2017 at 11:20:56AM +0100, Neil Armstrong wrote: >> This patch adds support for the i.MX6 Quad variant of the Variscite DART-MX6 >> SoM Carrier-Board. >> >> This Carrier-Board has the following : >> - LVDS interface for the VLCD-CAP-

Re: [PATCH] mm: check pfn_valid first in zero_resv_unavail

2017-12-01 Thread Dave Young
On 11/30/17 at 10:35am, Michal Hocko wrote: > On Thu 30-11-17 14:04:31, Dave Young wrote: > > With latest kernel I get below bug while testing kdump: > > > > [0.00] BUG: unable to handle kernel paging request at > > ea00034b1040 > > [0.00] IP: zero_resv_unavail+0xbd/0x126 > >

Re: [PATCH] x86/numa: move setting parse numa node to num_add_memblk

2017-12-01 Thread Michal Hocko
On Fri 01-12-17 16:48:25, zhong jiang wrote: > +cc more mm maintainer. > > Any one has any object. please let me know. Please repost with the changelog which actually tells 1) what is the problem 2) why do we need to address it and 3) how do we address it. -- Michal Hocko SUSE Labs

Re: [PATCH v5] HID: hid-multitouch: support fine-grain orientation reporting

2017-12-01 Thread Jiri Kosina
On Thu, 12 Oct 2017, Wei-Ning Huang wrote: > From: Wei-Ning Huang > > The current hid-multitouch driver only allow the report of two > orientations, vertical and horizontal. We use the Azimuth orientation > usage 0x3F under the Digitizer usage page to report orientation if the > device supports

[GIT PULL] Immutable branch between MFD and LED due for the v4.16 merge window

2017-12-01 Thread Lee Jones
Enjoy! The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323: Linux 4.15-rc1 (2017-11-26 16:01:47 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git ib-mfd-leds-v4.16 for you to fetch changes up to 8f52df50d9366f77

[PATCH v5 0/6] ARM: Add Variscite DART-MX6 SoM and Carrier-board support

2017-12-01 Thread Neil Armstrong
This patchset adds support for the Variscite DART-MX6 SoM with : - i.MX6 Quad or Dual Lite SoC - 1Gb/2Gb LPDDR2 - 4-64 GB eMMC - Camera Interface - HDMI+CEC interface - LVDS / DSI / Parallel RGB interfaces - Ethernet RGMII interface - On-SoM Wi-Fi/Bluetooth with WiLink wl1835 SDIO Module - SD/MMC/S

Re: [PATCH v4 4/6] ARM: dts: imx6qdl: Add Variscite DART-MX6 SoM support

2017-12-01 Thread Philippe Ombredanne
On Fri, Dec 1, 2017 at 9:54 AM, Neil Armstrong wrote: > On 30/11/2017 01:39, Shawn Guo wrote: >> On Wed, Nov 29, 2017 at 11:20:55AM +0100, Neil Armstrong wrote: >>> This patch adds support for the Variscite DART-MX6 SoM with : >>> - i.MX6 Quad or Dual Lite SoC >>> - 1Gb/2Gb LPDDR2 >>> - 4-64 GB eM

[PATCH v5 4/6] ARM: dts: imx6qdl: Add Variscite DART-MX6 SoM support

2017-12-01 Thread Neil Armstrong
This patch adds support for the Variscite DART-MX6 SoM with : - i.MX6 Quad or Dual Lite SoC - 1Gb/2Gb LPDDR2 - 4-64 GB eMMC - Camera Interface - HDMI+CEC interface - LVDS / DSI / Parallel RGB interfaces - Ethernet RGMII interface - On-SoM Wi-Fi/Bluetooth with WiLink wl1835 SDIO Module - SD/MMC/SDIO

[PATCH v5 6/6] ARM: imx_v6_v7_defconfig: Add missing config for DART-MX6 SoM

2017-12-01 Thread Neil Armstrong
This patch adds the missing configs for the DART-MX6 SoM support : - SERDEV bluetooth driver + SERIAL_DEV_BUS configs - WL18XX driver - DEFAULT_ON Led Trigger Reviewed-by: Fabio Estevam Signed-off-by: Neil Armstrong --- arch/arm/configs/imx_v6_v7_defconfig | 6 ++ 1 file changed, 6 insertio

[PATCH v5 5/6] ARM: dts: imx6q: Add Variscite DART-MX6 Carrier-board support

2017-12-01 Thread Neil Armstrong
This patch adds support for the i.MX6 Quad variant of the Variscite DART-MX6 SoM Carrier-Board. This Carrier-Board has the following : - LVDS interface for the VLCD-CAP-GLD-LVDS 7" LCD 800 x 480 touch display - HDMI Connector - USB Host + USB OTG Connector - 10/100/1000 Mbps Ethernet - miniPCI-Exp

[PATCH v5 1/6] ARM: dts: imx6qdl-pinfunc: Add missing MX6QDL_PAD_ENET_RXD0__OSC32K_32K_OUT

2017-12-01 Thread Neil Armstrong
Add missing pinmux entry for OSC32K_32K_OUT on pad ENET_RXD0 used by the Variscite DART-MX6 SoM. Reviewed-by: Fabio Estevam Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/imx6dl-pinfunc.h | 1 + arch/arm/boot/dts/imx6q-pinfunc.h | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/a

[PATCH v5 2/6] dt-bindings: Add vendor prefix for Solomon Goldentek Display Corporation

2017-12-01 Thread Neil Armstrong
Solomon Goldentek Display Corporation is a Taiwanese LCD/LCM manufacturer. Company Site: http://www.goldentek.com.tw Acked-by: Rob Herring Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/de

Re: [PATCH] x86/numa: move setting parse numa node to num_add_memblk

2017-12-01 Thread zhong jiang
On 2017/12/1 16:58, Michal Hocko wrote: > On Fri 01-12-17 16:48:25, zhong jiang wrote: >> +cc more mm maintainer. >> >> Any one has any object. please let me know. > Please repost with the changelog which actually tells 1) what is the > problem 2) why do we need to address it and 3) how do we ad

Re: [PATCH] x86/power: Fix some ordering bugs in __restore_processor_context()

2017-12-01 Thread Jarkko Nikula
On 11/30/2017 05:57 PM, Andy Lutomirski wrote: __restore_processor_context() had a couple of ordering bugs. It restored GSBASE after calling load_gs_index(), and the latter can call into tracing code. It also tried to restore segment registers before restoring the LDT, which is straight-up wron

[PATCH v5 3/6] dt-bindings: display: Add bindings for SGD GKTW70SDAE4SE Panel

2017-12-01 Thread Neil Armstrong
The GKTW70SDAE4SE is an LVDS display panel. Their bindings are modelled on the the LVDS panel bindings. Acked-by: Rob Herring Signed-off-by: Neil Armstrong --- .../bindings/display/panel/sgd,gktw70sdae4se.txt | 41 ++ 1 file changed, 41 insertions(+) create mode 100644 D

[PATCH 1/2] dt-bindings: regulator: Add Spreadtrum SC27xx regulator documentation

2017-12-01 Thread Erick Chen
This patch adds support for the Spreadtrum SC2731 voltage regulator device. Signed-off-by: Erick Chen --- .../bindings/regulator/sprd,sc2731-regulator.txt | 45 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/sprd,sc2731-

[PATCH 2/2] regulator: sc2731: Add regulator driver to support Spreadtrum SC2731 PMIC

2017-12-01 Thread Erick Chen
Add regulator driver for Spreadtrum SC2731 device. It has 17 general purpose LDOs, BUCKs generator and digital output to control regulators. Signed-off-by: Erick Chen Reviewed-by: Baolin Wang --- drivers/regulator/Kconfig|7 + drivers/regulator/Makefile |1 + drive

Re: [PATCH v4 1/5] soc: qcom: Introduce QMI encoder/decoder

2017-12-01 Thread Jitendra Sharma
Hi Bjorn, Few minor comments .. On 11/30/2017 6:46 AM, Bjorn Andersson wrote: Add the helper library for encoding and decoding QMI encoded messages. The implementation is taken from lib/qmi_encdec.c of the Qualcomm kernel (msm-3.18). Modifications has been made to the public API, source buffe

[PATCH 1/2] arm64: dts: a64-olinuxino: Enable RTL8723BS WiFi

2017-12-01 Thread Jagan Teki
Enable RTL8723BS WiFi chip on a64-olinuxino board: - WiFi SDIO interface is connected to MMC1 - WiFi REG_ON pin connected to gpio PL2: attach to mmc-pwrseq - WiFi HOST_WAKE pin connected to gpio PL3 To make rtl8723bs chip to work build it as module to and run CONFIG_RTL8723BS=m Signed-off-by: Jag

[PATCH 2/2] arm64: allwinner: a64-sopine: Use dcdc1 regulator instead of vcc3v3

2017-12-01 Thread Jagan Teki
Since current tree support AXP803 regulators, replace fixed regulator vcc3v3 with AXP803 dcdc1 regulator. Tested mmc0 on sopine baseboard. Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts | 2 +- arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi

Re: [PATCH V4 3/5] device property: Introduce a common API to fetch device match data

2017-12-01 Thread Sakari Ailus
Hi Sinan, Thanks for the patch. On Thu, Nov 30, 2017 at 09:52:54PM -0500, Sinan Kaya wrote: > There is an OF/ACPI function to obtain the driver data. We want to hide > OF/ACPI details from the device drivers and abstract following the device > family of functions. > > Signed-off-by: Sinan Kaya

Re: [PATCH 2/2] regulator: sc2731: Add regulator driver to support Spreadtrum SC2731 PMIC

2017-12-01 Thread Philippe Ombredanne
Erik, On Fri, Dec 1, 2017 at 9:58 AM, Erick Chen wrote: > Add regulator driver for Spreadtrum SC2731 device. > It has 17 general purpose LDOs, BUCKs generator and > digital output to control regulators. > > Signed-off-by: Erick Chen > Reviewed-by: Baolin Wang > --- > drivers/regulator/Kconfig

[PATCH] mm, oom: simplify alloc_pages_before_oomkill handling

2017-12-01 Thread Michal Hocko
Recently added alloc_pages_before_oomkill gained new caller with this patchset and I think it just grown to deserve a simpler code flow. What do you think about this on top of the series? --- >From f1f6035ea0df65e7619860b013f2fabdda65233e Mon Sep 17 00:00:00 2001 From: Michal Hocko Date: Fri, 1 D

Re: [PATCH v4 4/6] ARM: dts: imx6qdl: Add Variscite DART-MX6 SoM support

2017-12-01 Thread Neil Armstrong
Hi Philippe, On 01/12/2017 10:02, Philippe Ombredanne wrote: > On Fri, Dec 1, 2017 at 9:54 AM, Neil Armstrong > wrote: >> On 30/11/2017 01:39, Shawn Guo wrote: >>> On Wed, Nov 29, 2017 at 11:20:55AM +0100, Neil Armstrong wrote: This patch adds support for the Variscite DART-MX6 SoM with : >

Re: [PATCH] mm: check pfn_valid first in zero_resv_unavail

2017-12-01 Thread Michal Hocko
On Fri 01-12-17 16:56:57, Dave Young wrote: > On 11/30/17 at 10:35am, Michal Hocko wrote: [...] > > Can we exclude that range from the memblock allocator instead? E.g. what > > happens if somebody allocates from that range? > > It is a EFI BGRT image buffer provided by firmware, they are reserved

Re: [PATCH] PM / runtime: Drop children check from __pm_runtime_set_status()

2017-12-01 Thread Ulf Hansson
+ Kishon On 30 November 2017 at 13:51, Yoshihiro Shimoda wrote: > Hi, > >> From: Ulf Hansson, Sent: Wednesday, November 29, 2017 6:59 PM >> >> On 29 November 2017 at 10:43, Geert Uytterhoeven >> wrote: >> > Hi Ulf, > >> Okay, so the problem remains no matter which solution for wakeup you >> pi

Re: [PATCH] ARM64: dts: meson-axg: enable IR controller

2017-12-01 Thread Jerome Brunet
On Fri, 2017-12-01 at 09:36 +0800, Yixun Lan wrote: > Enable IR remote controller which find in Amlogic's Meson-AXG SoC. > > Signed-off-by: Yixun Lan > --- > arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 6 ++ > arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 14 ++ > 2 file

[PATCH] dmaengine: timb_dma: fix spelling mistake: "Couldnt" -> "Couldn't"

2017-12-01 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in dev_err error message text. Signed-off-by: Colin Ian King --- drivers/dma/timb_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/timb_dma.c b/drivers/dma/timb_dma.c index 896bafb7a532..395c698edb4d 1006

Re: [PATCH] mm: check pfn_valid first in zero_resv_unavail

2017-12-01 Thread Dave Young
On 12/01/17 at 10:19am, Michal Hocko wrote: > On Fri 01-12-17 16:56:57, Dave Young wrote: > > On 11/30/17 at 10:35am, Michal Hocko wrote: > [...] > > > Can we exclude that range from the memblock allocator instead? E.g. what > > > happens if somebody allocates from that range? > > > > It is a EFI

Re: [PATCH 0/4] Utilization estimation (util_est) for FAIR tasks

2017-12-01 Thread Dietmar Eggemann
Hi Patrick, On 11/09/2017 05:41 PM, Patrick Bellasi wrote: [...] This series is based on v4.14-rc8 and is composed of four patches: Could you rebase this onto v4.15-rc1 or tip/sched/core so we have the patch-set 'sched/fair: A bit of a cgroup/PELT overhaul' underneath. -- Dietmar [...]

[PATCH] wlcore, wl1251: fix spelling mistake: "Couldnt" -> "Couldn't"

2017-12-01 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in error message text. Signed-off-by: Colin Ian King --- drivers/net/wireless/ti/wl1251/init.c | 2 +- drivers/net/wireless/ti/wlcore/acx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/ti/wl125

[PATCH] scsi: bnx2fc: fix spelling mistake: "Couldnt" -> "Couldn't"

2017-12-01 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in error message text. Signed-off-by: Colin Ian King --- drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c index e

Re: [PATCH] vfio/iommu_type1: report the IOMMU aperture info

2017-12-01 Thread Pierre Morel
On 30/11/2017 19:30, Alex Williamson wrote: On Thu, 30 Nov 2017 16:11:35 +0100 Pierre Morel wrote: On 30/11/2017 15:08, Alex Williamson wrote: On Thu, 30 Nov 2017 12:34:38 +0100 Pierre Morel wrote: When userland VFIO defines a new IOMMU for a guest it may want to specify to the guest th

[PATCH] scsi: csiostor: fix spelling mistake: "Couldnt" -> "Couldn't"

2017-12-01 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in error message text. Signed-off-by: Colin Ian King --- drivers/scsi/csiostor/csio_mb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/csiostor/csio_mb.c b/drivers/scsi/csiostor/csio_mb.c index 931b1d

Re: [PATCH v4 4/6] ARM: dts: imx6qdl: Add Variscite DART-MX6 SoM support

2017-12-01 Thread Philippe Ombredanne
Neil, On Fri, Dec 1, 2017 at 10:19 AM, Neil Armstrong wrote: > Hi Philippe, > > On 01/12/2017 10:02, Philippe Ombredanne wrote: >> On Fri, Dec 1, 2017 at 9:54 AM, Neil Armstrong >> wrote: >>> On 30/11/2017 01:39, Shawn Guo wrote: On Wed, Nov 29, 2017 at 11:20:55AM +0100, Neil Armstrong wro

Re: [PATCH] mm: check pfn_valid first in zero_resv_unavail

2017-12-01 Thread Michal Hocko
On Fri 01-12-17 17:29:51, Dave Young wrote: > On 12/01/17 at 10:19am, Michal Hocko wrote: > > On Fri 01-12-17 16:56:57, Dave Young wrote: > > > On 11/30/17 at 10:35am, Michal Hocko wrote: > > [...] > > > > Can we exclude that range from the memblock allocator instead? E.g. what > > > > happens if s

Re: [PATCH] wlcore, wl1251: fix spelling mistake: "Couldnt" -> "Couldn't"

2017-12-01 Thread Joe Perches
On Fri, 2017-12-01 at 09:34 +, Colin King wrote: > Trivial fix to spelling mistake in error message text. [] > diff --git a/drivers/net/wireless/ti/wl1251/init.c > b/drivers/net/wireless/ti/wl1251/init.c [] > @@ -311,7 +311,7 @@ static int wl1251_hw_init_data_path_config(struct wl1251 > *wl)

RE: [PATCH v3 2/2] Protected O_CREAT open in sticky directories

2017-12-01 Thread David Laight
From: Solar Designer > Sent: 30 November 2017 17:52 > > On Thu, Nov 30, 2017 at 04:53:06PM +, David Laight wrote: > > From: Salvatore Mesoraca > > > if a program tries to open a file, in a sticky directory, > > > with the O_CREAT flag and without the O_EXCL, it probably has a bug. > > > This f

Re: [PATCH 1/2] MAINTAINERS: Add thunderbolt.rst to the Thunderbolt driver entry

2017-12-01 Thread Mika Westerberg
On Mon, Nov 27, 2017 at 02:48:57PM +0300, Mika Westerberg wrote: > Make sure Thunderbolt maintainers get to see patches that touch > documentation of the Thunderbolt driver as well. > > Signed-off-by: Mika Westerberg Applied.

Re: [GIT PULL] hash addresses printed with %p

2017-12-01 Thread Greg Kroah-Hartman
On Thu, Nov 30, 2017 at 06:17:47PM -0500, Linus Torvalds wrote: > On Thu, Nov 30, 2017 at 12:10 PM, Greg Kroah-Hartman > wrote: > > > > So changing it to use __ATTR() should fix this remaning leakage up. > > That is if we even really need to export these values at all. What does > > userspace do

Re: [PATCH v3 4/4] DTS: Pandora: fix panel compatibility string

2017-12-01 Thread H. Nikolaus Schaller
Hi Tomi, > Am 01.12.2017 um 09:13 schrieb Tomi Valkeinen : > > On 01/12/17 00:06, Sebastian Reichel wrote: > > How about let's call it a "typo fix" then? :) Well, it is not really a typo. >>> >>> Well what if the stable people pick it into earlier stable series >>> based on the w

Re: [GIT PULL] hash addresses printed with %p

2017-12-01 Thread Greg Kroah-Hartman
On Thu, Nov 30, 2017 at 05:18:42PM +, Ard Biesheuvel wrote: > On 30 November 2017 at 17:10, Greg Kroah-Hartman > wrote: > > On Thu, Nov 30, 2017 at 04:32:35PM +, Greg Kroah-Hartman wrote: > >> On Wed, Nov 29, 2017 at 01:36:25PM -0800, Linus Torvalds wrote: > >> > On Wed, Nov 29, 2017 at 1:

Re: [PATCH 2/2] thunderbolt: Mask ring interrupt properly when polling starts

2017-12-01 Thread mika.westerb...@linux.intel.com
On Mon, Nov 27, 2017 at 04:21:34PM +, Bernat, Yehezkel wrote: > On Mon, 2017-11-27 at 14:48 +0300, Mika Westerberg wrote: > > When ring enters polling mode we are expected to mask the ring > > interrupt > > before the callback is called. However, the current code actually > > unmasks it probabl

Re: [PATCH] mm: check pfn_valid first in zero_resv_unavail

2017-12-01 Thread Dave Young
On 12/01/17 at 10:42am, Michal Hocko wrote: > On Fri 01-12-17 17:29:51, Dave Young wrote: > > On 12/01/17 at 10:19am, Michal Hocko wrote: > > > On Fri 01-12-17 16:56:57, Dave Young wrote: > > > > On 11/30/17 at 10:35am, Michal Hocko wrote: > > > [...] > > > > > Can we exclude that range from the me

[PATCH] virtio_balloon: fix increment of vb->num_pfns in fill_balloon()

2017-12-01 Thread Jan Stancek
commit c7cdff0e8647 ("virtio_balloon: fix deadlock on OOM") changed code to increment vb->num_pfns before call to set_page_pfns(), which used to happen only after. This patch fixes boot hang for me on ppc64le KVM guests. Fixes: c7cdff0e8647 ("virtio_balloon: fix deadlock on OOM") Cc: Michael S. T

[PATCH V2] mm: check pfn_valid first in zero_resv_unavail

2017-12-01 Thread Dave Young
With latest kernel I get below bug while testing kdump: [0.00] BUG: unable to handle kernel paging request at ea00034b1040 [0.00] IP: zero_resv_unavail+0xbd/0x126 [0.00] PGD 37b98067 P4D 37b98067 PUD 37b97067 PMD 0 [0.00] Oops: 0002 [#1] SMP [0.00] Modul

Re: [PATCH v8 07/13] slimbus: Add support for 'clock-pause' feature

2017-12-01 Thread Greg Kroah-Hartman
On Thu, Nov 30, 2017 at 08:25:26PM +0100, Philippe Ombredanne wrote: > On Thu, Nov 30, 2017 at 6:41 PM, wrote: > [] > > diff --git a/drivers/slimbus/sched.c b/drivers/slimbus/sched.c > > new file mode 100644 > > index ..74300f1a6898 > > --- /dev/null > > +++ b/drivers/slimbus/sched.c

[PATCH v4 00/15] soundwire: Add a new SoundWire subsystem

2017-12-01 Thread Vinod Koul
This patch series adds a new SoundWire subsystem which implements a new MIPI bus protocol 'SoundWire'. The SoundWire protocol is a robust, scalable, low complexity, low power, low latency, two-pin (clock and data) multi-drop bus that allows for the transfer of multiple audio streams and embedded c

[PATCH v4 08/15] soundwire: Add Slave status handling helpers

2017-12-01 Thread Vinod Koul
From: Sanyog Kale SoundWire Slaves report status to bus. Add helpers to handle the status changes. Signed-off-by: Hardik T Shah Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- drivers/soundwire/bus.c | 202 ++ drivers/soundwire/bus.h

[PATCH v4 03/15] soundwire: Add Master registration

2017-12-01 Thread Vinod Koul
A Master registers with SoundWire bus and scans the firmware provided for device description. In this patch we scan the ACPI namespaces and create the SoundWire Slave devices based on the ACPI description Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- drivers/soundwire/Makefile|

[PATCH v4 06/15] soundwire: Add IO transfer

2017-12-01 Thread Vinod Koul
SoundWire bus supports read or write register(s) for SoundWire Slave device. sdw_read() and sdw_write() APIs are provided for single register read/write. sdw_nread() and sdw_nwrite() for operations on contiguous registers. Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- drivers/soundwi

[PATCH v4 09/15] soundwire: Add slave status handling

2017-12-01 Thread Vinod Koul
Add status handling API sdw_handle_slave_status() to handle Slave status changes. Signed-off-by: Hardik T Shah Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- drivers/soundwire/bus.c | 351 ++ drivers/soundwire/bus.h | 2 + include

[PATCH v4 15/15] MAINTAINERS: Add SoundWire entry

2017-12-01 Thread Vinod Koul
Add the SoundWire subsystem maintainer entry with details and Sanyog and me as maintainers. Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index aa71ab52fd76..351fd3d87153 100644 ---

[PATCH v4 13/15] soundwire: intel: Add Intel Master driver

2017-12-01 Thread Vinod Koul
Some Intel platforms have SoundWire Master, so add Intel SoundWire Master driver which uses Cadence module. This patch adds probe and initialization routines for Intel Master driver. Signed-off-by: Hardik T Shah Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- drivers/soundwire/Kconfig

[PATCH v4 10/15] soundwire: Add sysfs for SoundWire DisCo properties

2017-12-01 Thread Vinod Koul
It helps to read the properties for understanding and debugging systems, so add sysfs files for SoundWire DisCo properties. TODO: Add ABI files for sysfs Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- drivers/soundwire/Makefile| 2 +- drivers/soundwire/bus.c | 3 + driv

[PATCH v4 12/15] soundwire: cdns: Add sdw_master_ops and IO transfer support

2017-12-01 Thread Vinod Koul
From: Sanyog Kale Implement sdw_master_ops with support for xfer_msg, xfer_msg_defer and reset_page_addr. Since Cadence module doesn't know the systems it will be used, set the read_prop to the bus helper. Signed-off-by: Hardik T Shah Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul ---

[PATCH v4 14/15] soundwire: intel: Add Intel init module

2017-12-01 Thread Vinod Koul
The SoundWire Master is implemented as part of Audio controller in Intel platforms. Add a init module which creates SoundWire Master platform devices based on the links supported in the hardware. Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- drivers/soundwire/Makefile | 3

Re: [GIT PULL] hash addresses printed with %p

2017-12-01 Thread Ard Biesheuvel
On 1 December 2017 at 09:48, Greg Kroah-Hartman wrote: > On Thu, Nov 30, 2017 at 05:18:42PM +, Ard Biesheuvel wrote: >> On 30 November 2017 at 17:10, Greg Kroah-Hartman >> wrote: >> > On Thu, Nov 30, 2017 at 04:32:35PM +, Greg Kroah-Hartman wrote: >> >> On Wed, Nov 29, 2017 at 01:36:25PM

Re: [PATCH v8 07/13] slimbus: Add support for 'clock-pause' feature

2017-12-01 Thread Srinivas Kandagatla
On 01/12/17 09:51, Greg Kroah-Hartman wrote: On Thu, Nov 30, 2017 at 08:25:26PM +0100, Philippe Ombredanne wrote: On Thu, Nov 30, 2017 at 6:41 PM, wrote: [] diff --git a/drivers/slimbus/sched.c b/drivers/slimbus/sched.c new file mode 100644 index ..74300f1a6898 --- /dev/null +++

[PATCH v4 11/15] soundwire: cdns: Add cadence library

2017-12-01 Thread Vinod Koul
Cadence IP implements SoundWire Master. Add base cadence library initialization and interrupt handling Signed-off-by: Hardik T Shah Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- drivers/soundwire/Kconfig | 3 + drivers/soundwire/Makefile | 4 + drivers/soundwire

[PATCH v4 07/15] regmap: Add SoundWire bus support

2017-12-01 Thread Vinod Koul
SoundWire bus provides sdw_read() and sdw_write() APIs for Slave devices to program the registers. Provide support in regmap for SoundWire bus. Signed-off-by: Hardik T Shah Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- drivers/base/regmap/Kconfig | 4 ++ drivers/base/regmap/Ma

[PATCH v4 04/15] soundwire: Add MIPI DisCo property helpers

2017-12-01 Thread Vinod Koul
MIPI Discovery And Configuration (DisCo) Specification for SoundWire specifies properties to be implemented for SoundWire Masters and Slaves. The DisCo spec doesn't mandate these properties. However, SDW bus cannot work without knowing these values. The helper functions read the Master and Slave p

[PATCH v4 05/15] soundwire: Add SoundWire MIPI defined registers

2017-12-01 Thread Vinod Koul
From: Sanyog Kale MIPI SoundWire spec defines standard SoundWire registers mandatory for SoundWire Slave devices, so add them. Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- include/linux/soundwire/sdw_registers.h | 194 1 file changed, 194 insertion

[PATCH v4 01/15] Documentation: Add SoundWire summary

2017-12-01 Thread Vinod Koul
From: Sanyog Kale SoundWire is a new Linux bus which implements a new MIPI bus protocol 'SoundWire'. The summary of SoundWire bus and API is documented in the 'summary' file. Signed-off-by: Sanyog Kale Signed-off-by: Hardik T Shah Signed-off-by: Pierre-Louis Bossart Signed-off-by: Vinod Koul

  1   2   3   4   5   6   7   8   9   >