[PATCH 1/2] lockdep: Add a comment about crossrelease_hist_end() in lockdep_sys_exit()

2017-08-14 Thread Byungchul Park
In lockdep_sys_exit(), crossrelease_hist_end() is called unconditionally even when getting here without having started e.g. just after forked. But it's no problem since it anyway would rollback to an invalid element. A comment would be helpful to understand this situation. Signed-off-by: Byungchul

[PATCH 0/2] Fix a bug in crossrelease

2017-08-14 Thread Byungchul Park
Thanks to Boqun, we found out a bug with regard to the rollback and overwrite-detection. I like Boqun's or Peterz's suggestions more, but please consider this fix-up first if we need time to decide which one to choose. https://lkml.org/lkml/2017/8/11/383 Byungchul Park (2): lockdep: Add a comme

Re: [PATCH v6 14/17] powerpc: Add support for setting SPRN_TIDR

2017-08-14 Thread Michael Neuling
On Tue, 2017-08-08 at 16:06 -0700, Sukadev Bhattiprolu wrote: > We need the SPRN_TIDR to bet set for use with fast thread-wakeup > (core-to-core wakeup).  Each thread in a process needs to have a > unique id within the process but as explained below, for now, we > assign globally unique thread ids

[PATCH 2/2] lockdep: Fix the rollback and overwrite detection in crossrelease

2017-08-14 Thread Byungchul Park
As Boqun pointed out, current->hist_id should be aligned with the latest valid xhlock->hist_id so that hist_id_save[] storing current->hist_id can be comparable with xhlock->hist_id. Fix it. Additionally, the condition for overwrite-detection should be the opposite. Fix it with modifying comment.

[PATCH v3 1/3] dt-bindings: display: Add Document for Rockchip Soc LVDS

2017-08-14 Thread Sandy Huang
This patch add Document for Rockchip Soc RK3288 LVDS, This based on the patches from Mark yao and Heiko Stuebner. Signed-off-by: Sandy Huang Signed-off-by: Mark yao Signed-off-by: Heiko Stuebner --- Changes: set lvds data-mapping to opctions. .../bindings/display/rockchip/rockchip-lvds.tx

[PATCH v3 3/3] drm/rockchip: Add support for Rockchip Soc LVDS

2017-08-14 Thread Sandy Huang
This adds support for Rockchip soc lvds found on rk3288 Based on the patches from Mark yao and Heiko Stuebner Signed-off-by: Sandy Huang Signed-off-by: Mark yao Signed-off-by: Heiko Stuebner --- Changes: use drm_of_find_panel_or_bridge() to get panel or bridge. drivers/gpu/drm/rockchip/Kc

Re: [PATCH v8 06/14] lockdep: Detect and handle hist_lock ring buffer overwrite

2017-08-14 Thread Boqun Feng
On Fri, Aug 11, 2017 at 10:06:37PM +0900, Byungchul Park wrote: > On Fri, Aug 11, 2017 at 6:44 PM, Byungchul Park > wrote: > > On Fri, Aug 11, 2017 at 05:52:02PM +0900, Byungchul Park wrote: > >> On Fri, Aug 11, 2017 at 04:03:29PM +0800, Boqun Feng wrote: > >> > Thanks for taking a look at it ;-)

Re: [linux-sunxi] [PATCH v2] arm64: allwinner: a64: Add A64-OLinuXino initial support

2017-08-14 Thread Chen-Yu Tsai
Hi, On Sun, Aug 13, 2017 at 1:54 AM, Jagan Teki wrote: > From: Jagan Teki > > OLimex A64-OLinuXino is an open-source hardware board > using the Allwinner A64 SOC. > > OLimex A64-OLinuXino has > - A64 Quad-core Cortex-A53 64bit > - 1GB or 2GB RAM DDR3L @ 672Mhz > - microSD slot and 4/8/16GB eMMC

Re: [PATCH RESEND] x86/smpboot: Unbreak CPU0 hotplug

2017-08-14 Thread Thomas Gleixner
On Thu, 10 Aug 2017, Ingo Molnar wrote: > * Vitaly Kuznetsov wrote: > > I haven't received a single comment on this since the initial submission > > on June, 26 - is it so bad? :-) Sorry slipped through the cracks. > So the fix looks good to me at first sight, but wanted to wait for Thomas to >

Re: [RFC PATCH V2] kvm: x86: reduce rtc 0x70 access vm-exit time

2017-08-14 Thread Paolo Bonzini
On 13/08/2017 21:51, Peng Hao wrote: > some versions of windows guest access rtc frequently because of > rtc as system tick.guest access rtc like this: write register index > to 0x70, then write or read data from 0x71. writing 0x70 port is > just as index and do nothing else. So we can use coalesce

[PATCH] powerpc/8xx: fix two CONFIG_8xx left behind

2017-08-14 Thread Christophe Leroy
Commit 968159c0031ac ("powerpc/8xx: Getting rid of remaining use of CONFIG_8xx") removed all but 2 references to 8xx in Kconfigs. This patch removes the two remaining ones. Signed-off-by: Christophe Leroy --- arch/powerpc/Kconfig | 2 +- arch/powerpc/platforms/8xx/Kconfig | 2 +-

Re: [PATCH] liquidio: fix duplicated code for different branches

2017-08-14 Thread Felix Manlunas
On Sat, Aug 12, 2017 at 08:38:55PM -0500, Gustavo A. R. Silva wrote: > Refactor code in order to avoid identical code for different branches. > > This issue was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A. R. Silva > --- > This code was tested by compilation only. > > dr

[PATCH] net/bluetooth: make bluetooth socket can be created in net namespace

2017-08-14 Thread fupan.li
From: Fupan Li By now kernel only supported creating bluetooth socket in init_net net namespace, which made bluetooth device cannot be accessed in containers, this patch made bluetooth socket can be created in net namespaces to fix this issue. Signed-off-by: Fupan Li --- net/bluetooth/af_bluet

Re: Regression in kernel 4.13-rcX for 32-bit x86 system - bisected to commit fc8dffd379ca

2017-08-14 Thread Thomas Gleixner
On Mon, 14 Aug 2017, Larry Finger wrote: > My Del Latitude D600 (single 32-bit CPU) shows the following locking message > when booted: > > > WARNING: possible recursive locking detected > 4.12.0-rc2-00029-gfc8dffd #159 Not tainted > ---

Re: [PATCH v8 06/14] lockdep: Detect and handle hist_lock ring buffer overwrite

2017-08-14 Thread Byungchul Park
On Mon, Aug 14, 2017 at 03:05:22PM +0800, Boqun Feng wrote: > > I like Boqun's approach most but, _whatever_. It's ok if it solves the > > problem. > > The last one is not bad when it is used for syscall exit, but we have to > > give > > up valid dependencies unnecessarily in other cases. And I t

Re: [PATCH 1/3] bus: kconfig: Enable SUNXI RSB for arm64

2017-08-14 Thread Chen-Yu Tsai
On Sat, Aug 12, 2017 at 1:40 PM, Jagan Teki wrote: > From: Jagan Teki > > Sunxi arm64 doesn't have separate configs for > h5 and a64 so enable SUNXI_RSB bus for ARM64. The commit message is missing a lot of details. It assumes the reader knows about the A64 SoC and that it uses the RSB bus to co

Re: [PATCH v6 02/17] powerpc/vas: Move GET_FIELD/SET_FIELD to vas.h

2017-08-14 Thread Michael Ellerman
Sukadev Bhattiprolu writes: > Move the GET_FIELD and SET_FIELD macros to vas.h as VAS and other > users of VAS, including NX-842 can use those macros. > > There is a lot of related code between the VAS/NX kernel drivers > and skiboot. For consistency switch the order of parameters in > SET_FIELD

Re: [PATCH v2 1/5] reset: add reset-simple to unify socfpga, stm32, sunxi, and zx2967

2017-08-14 Thread Philipp Zabel
On Fri, 2017-08-11 at 10:47 -0700, Alexandru Gagniuc wrote: > Hi Philipp, > > On 08/11/2017 06:06 AM, Philipp Zabel wrote: > [snip] > > > diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig > > index 52d5251660b9b..f7ba01a71daee 100644 > > --- a/drivers/reset/Kconfig > > +++ b/drivers/rese

Re: [PATCH] [media] media: imx: use setup_timer

2017-08-14 Thread Philipp Zabel
On Sun, 2017-08-13 at 21:39 +0300, Cihangir Akturk wrote: > Use setup_timer function instead of initializing timer with the > function and data fields. > > Generated by: scripts/coccinelle/api/setup_timer.cocci. > > Signed-off-by: Cihangir Akturk > --- >  drivers/staging/media/imx/imx-ic-prpencv

[PATCH] VGDrvCommonIoCtl: Add f32bit flag argument

2017-08-14 Thread Hans de Goede
On some operating-systems the driver can tell whether an ioctl is a 32bit compat callback or not without looking at the ioctl-nr, at a flag argument to pass this info along and use it for Linux to not need separate ioctl codes for 32 and 64 bit. Signed-off-by: Hans de Goede --- include/VBox/VBox

[RFC] VGDrvCommonIoCtl: Add f32bit flag argument

2017-08-14 Thread Hans de Goede
Note to linux-kernel readers: This Cc-ed to linux-kernel because it is relevant for the "[RFC 0/2] Add Virtual Box vboxguest and vboxsf guest drivers to the mainline kernel" thread. Hi Michael, Knut, My first submission of the vboxguest driver for inclusion into the Linux kernel has lead to some

Re: [PATCH 2/3] arm64: defconfig: Enable CONFIG_MFD_AXP20X_RSB

2017-08-14 Thread Chen-Yu Tsai
On Sat, Aug 12, 2017 at 1:40 PM, Jagan Teki wrote: > From: Jagan Teki > > X-Powers AXP series PMICs with RSB is need for sunxi a64 The proper vendor name is "Allwinner". > so make it default in defconfig. > > Signed-off-by: Jagan Teki Applied with the following commit message: arm64: defconf

Re: [PATCH v8 06/14] lockdep: Detect and handle hist_lock ring buffer overwrite

2017-08-14 Thread Byungchul Park
On Mon, Aug 14, 2017 at 03:05:22PM +0800, Boqun Feng wrote: > > 1. Boqun's approach > > My approach requires(additionally): > > MAX_XHLOCKS_NR * sizeof(unsigned int) // because of the hist_id field > in hist_lock > > bytes per task. > > > 2. Peterz's approach > > And Peter's approach re

Re: [PATCH v1 3/4] KVM: MMU: Add 5 level EPT & Shadow page table support.

2017-08-14 Thread Paolo Bonzini
On 12/08/2017 15:35, Yu Zhang wrote: > struct rsvd_bits_validate { > - u64 rsvd_bits_mask[2][4]; > + u64 rsvd_bits_mask[2][5]; > u64 bad_mt_xwr; > }; Can you change this 4 to PT64_ROOT_MAX_LEVEL in patch 2? > - if (vcpu->arch.mmu.shadow_root_level == PT64_ROOT_4LEVEL && > -

Re: [PATCH v1 0/4] KVM: MMU: 5 level EPT/shadow support

2017-08-14 Thread Paolo Bonzini
On 12/08/2017 15:35, Yu Zhang wrote: > Intel's existing processors limit the maximum linear address width to > 48 bits, and the maximum physical address width to 46 bits. And the > upcoming processors will extend maximum linear address width to 57 bits > and maximum physical address width can go up

Re: [linux-sunxi] [PATCH v2] arm64: allwinner: a64: Add A64-OLinuXino initial support

2017-08-14 Thread Jagan Teki
On Mon, Aug 14, 2017 at 12:38 PM, Chen-Yu Tsai wrote: > Hi, > > On Sun, Aug 13, 2017 at 1:54 AM, Jagan Teki wrote: >> From: Jagan Teki >> >> OLimex A64-OLinuXino is an open-source hardware board >> using the Allwinner A64 SOC. >> >> OLimex A64-OLinuXino has >> - A64 Quad-core Cortex-A53 64bit >>

Re: [PATCH v2 3/3] reset: uniphier: add analog amplifiers reset control

2017-08-14 Thread Philipp Zabel
On Sun, 2017-08-13 at 18:00 +0900, Katsuhiro Suzuki wrote: > Add a reset line for analog signal amplifier core (ADAMV) on > UniPhier LD11/LD20 SoCs. > > Signed-off-by: Katsuhiro Suzuki Thank you, applied all three to the reset/next branch with Masahiro's acks. regards Philipp

Re: [PATCH v1 1/4] KVM: MMU: check guest CR3 reserved bits based on its physical address width.

2017-08-14 Thread Paolo Bonzini
On 12/08/2017 15:35, Yu Zhang wrote: > + ctxt->ops->get_cpuid(ctxt, &eax, NULL, NULL, NULL); > + maxphyaddr = eax * 0xff; This is "&", not "*". You can also use rsvd_bits here. > + rsvd = (~((1UL << maxphyaddr) - 1)) & > +

Re: [RFC 1/2] misc: Add vboxguest driver for Virtual Box Guest integration

2017-08-14 Thread Hans de Goede
Hi, On 12-08-17 23:56, Hans de Goede wrote: On 11-08-17 23:23, Arnd Bergmann wrote: +/** + * @name VBoxGuest IOCTL codes and structures. + * + * The range 0..15 is for basic driver communication. + * The range 16..31 is for HGCM communication. + * The range 32..47 is reserved for future use

Re: [linux-sunxi] [PATCH v5] arm64: allwinner: a64: Add initial NanoPi A64 support

2017-08-14 Thread Chen-Yu Tsai
On Mon, Aug 14, 2017 at 3:22 PM, Jagan Teki wrote: > On Mon, Aug 14, 2017 at 12:20 PM, Chen-Yu Tsai wrote: >> Hi, >> >> On Sat, Aug 12, 2017 at 1:38 PM, Jagan Teki wrote: >>> From: Jagan Teki >>> >>> NanoPi A64 is a new board of high performance with low cost >>> designed by FriendlyElec., usin

Re: [PATCH 3/3] arm64: defconfig: Enable CONFIG_REGULATOR_AXP20X

2017-08-14 Thread Chen-Yu Tsai
On Sat, Aug 12, 2017 at 1:40 PM, Jagan Teki wrote: > From: Jagan Teki > > X-POWERS AXP20X PMIC Regulators is need for sunxi a64 > so make it default in defconfig. > > Signed-off-by: Jagan Teki Applied with the following commit message: arm64: defconfig: Enable REGULATOR_AXP20X The Allwinner A

Re: [RFC PATCH] sched/topology: Introduce NUMA identity node sched domain

2017-08-14 Thread Suravee Suthikulpanit
On 8/11/17 16:15, Peter Zijlstra wrote: On Fri, Aug 11, 2017 at 12:58:22PM +0700, Suravee Suthikulpanit wrote: On 8/11/17 11:57, Suravee Suthikulpanit wrote: [...] @@ -1445,9 +1448,24 @@ void sched_init_numa(void) tl[i] = sched_domain_topology[i]; /* + * Ignore the NUMA

Fast Loans

2017-08-14 Thread Financial Services
Do you need a loan to pay up bill or to start a business? Email Us

[PATCH 2/2] staging:rtl8188eu Fix coding style issues

2017-08-14 Thread janani-sankarababu
This patch solves the following warnings thrown by checkpatch script WARNING: Comparisons should place the constant on the right side of the test Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) dif

RE: hotplug support for arch/arc/plat-eznps platform

2017-08-14 Thread Ofer Levi(SW)
Sorry for the late response but this patch is a drawback,. Its back to about 0.4 sec per cpu bring up. This is when possible, present and isolcpus are 16-4095 Most time is spent at: register_sched_domain_sysctl() calling sd_sysctl_header = register_sysctl_table(sd_ctl_root); [ 22.15] ## CP

Re: [linux-sunxi] [PATCH v2] arm64: allwinner: a64: Add A64-OLinuXino initial support

2017-08-14 Thread Chen-Yu Tsai
On Mon, Aug 14, 2017 at 3:34 PM, Jagan Teki wrote: > On Mon, Aug 14, 2017 at 12:38 PM, Chen-Yu Tsai wrote: >> Hi, >> >> On Sun, Aug 13, 2017 at 1:54 AM, Jagan Teki wrote: >>> From: Jagan Teki >>> >>> OLimex A64-OLinuXino is an open-source hardware board >>> using the Allwinner A64 SOC. >>> >>>

Re: [PATCH V15 06/11] acpi: apei: handle SEA notification type for ARMv8

2017-08-14 Thread Xiongfeng Wang
Hi Tyler, On 2017/4/19 7:05, Tyler Baicar wrote: > ARM APEI extension proposal added SEA (Synchronous External Abort) > notification type for ARMv8. > Add a new GHES error source handling function for SEA. If an error > source's notification type is SEA, then this function can be registered > into

Re: [PATCH] crypto: caam - properly set IV after {en,de}crypt

2017-08-14 Thread Gilad Ben-Yossef
Hi, On Thu, Jun 29, 2017 at 1:19 PM, Horia Geantă wrote: > On 6/28/2017 4:42 PM, Horia Geantă wrote: >> On 6/28/2017 4:27 PM, David Gstir wrote: >>> Certain cipher modes like CTS expect the IV (req->info) of >>> ablkcipher_request (or equivalently req->iv of skcipher_request) to >>> contain the l

Re: [PATCH 4.4 18/58] mm, mprotect: flush TLB if potentially racing with a parallel reclaim leaving stale TLB entries

2017-08-14 Thread Mel Gorman
On Fri, Aug 11, 2017 at 06:45:49PM +0100, Ben Hutchings wrote: > On Wed, 2017-08-09 at 12:41 -0700, Greg Kroah-Hartman wrote: > > 4.4-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Mel Gorman > > > > commit 3ea277194daaeaa84ce751

Re: [patch-rt] hotplug, hrtimer: Migrate expired/deferred timers during cpu offline

2017-08-14 Thread Mike Galbraith
On Fri, 2017-08-11 at 10:15 +0200, Mike Galbraith wrote: > On Fri, 2017-08-11 at 09:55 +0200, Mike Galbraith wrote: > > The below fixes the list debug explosion up. > > > > If we do not migrate expired/deferred timers during cpu offline, ->cb_entry > > will be corrupted by online initialization of

Re: [PATCH -next] zram: fix compr_data_size stat

2017-08-14 Thread Minchan Kim
Hi Yisheng, Thanks for the all fixup! A minor nitpick below: On Fri, Aug 11, 2017 at 09:10:32AM +0800, Yisheng Xie wrote: > The compr_data_size is a stat for compressed size of pages stored, which > should add comp_len when we compresse a page. > > Meanwhile fix typos in comment: > * ZRAM_SAME m

random.c: LFSR polynomials are not irreducible/primitive

2017-08-14 Thread Stephan Mueller
Hi Ted, drivers/char/random.c contains the following comment: """ * Our mixing functions were analyzed by Lacharme, Roeck, Strubel, and * Videau in their paper, "The Linux Pseudorandom Number Generator * Revisited" (see: http://eprint.iacr.org/2012/251.pdf). In their * paper, they point out

Re: [PATCH v3 pci] PCI/MSI: pci-xgene-msi: Enable MSI support in ACPI boot for X-Gene v1

2017-08-14 Thread Marc Zyngier
On 12/08/17 01:02, Khuong Dinh wrote: > This patch makes pci-xgene-msi driver ACPI-aware and provides > MSI capability for X-Gene v1 PCIe controllers in ACPI boot mode. > > Signed-off-by: Khuong Dinh > [Take over from Duc Dang] > Acked-by: Marc Zyngier Given that the patch has changed v

Re: [PATCH 1/3] mfd: dm355evm_msp: move header file out of I2C realm

2017-08-14 Thread Wolfram Sang
On Mon, Aug 14, 2017 at 07:43:36AM +0100, Lee Jones wrote: > On Sun, 13 Aug 2017, Wolfram Sang wrote: > > > On Tue, May 23, 2017 at 08:17:27AM +0100, Lee Jones wrote: > > > On Mon, 22 May 2017, Wolfram Sang wrote: > > > > > > > include/linux/i2c is not for client devices. Move the header file to

Re: [PATCH] zsmalloc: zs_page_migrate: schedule free_work if zspage is ZS_EMPTY

2017-08-14 Thread Minchan Kim
Hi Hui, On Mon, Aug 14, 2017 at 02:34:46PM +0800, Hui Zhu wrote: > After commit e2846124f9a2 ("zsmalloc: zs_page_migrate: skip unnecessary > loops but not return -EBUSY if zspage is not inuse") zs_page_migrate > can handle the ZS_EMPTY zspage. > > But it will affect the free_work free the zspage.

[PATCH v4 0/8] Support more devices on rockchip rv1108

2017-08-14 Thread Andy Yan
This series try to support i2c/spi/pwm/saradc/pmic/watchdog on rockchip rv1108 soc. The clk tree, pinctrl, i2c, watchdog and saradc dt-bindings has been applied. So there are not included in this version. Changes in v4: - remove unnecessary property io-channel-ranges of saradc - order i2c device

[PATCH v4 1/8] spi: rockchip: add compatible string for rv1108 spi

2017-08-14 Thread Andy Yan
The spi on rv1108 is the same as other rockchip based socs, add compatible string for it. Signed-off-by: Andy Yan Acked-by: Rob Herring --- Changes in v4: None Changes in v3: None Changes in v2: None Documentation/devicetree/bindings/spi/spi-rockchip.txt | 1 + drivers/spi/spi-rockchip.c

[PATCH v4 2/8] ARM: dts: rockchip: add spi dt node for rv1108

2017-08-14 Thread Andy Yan
Add SPI device tree node for rv1108. Signed-off-by: Andy Yan --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/boot/dts/rv1108.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 86aa

[PATCH v4 3/8] dt-bindings: pwm: add description for rv1108 pwm

2017-08-14 Thread Andy Yan
Add device tree bindings document for pwm on rockchip rv1108 soc. Signed-off-by: Andy Yan --- Changes in v4: None Changes in v3: - make the compatible string be: "rockchip,rv1108-pwm", "rockchip,rk3288-pwm" for rv1108 Changes in v2: None Documentation/devicetree/bindings/pwm/pwm-rockchip.t

Re: linux-next: manual merge of the akpm-current tree with the tip tree

2017-08-14 Thread Minchan Kim
Hi Nadav, On Mon, Aug 14, 2017 at 05:07:19AM +, Nadav Amit wrote: < snip > > For some reason (I would assume intentional), all the examples here first > “do not modify” the PTE, and then modify it - which is not an “interesting” > case. However, based on what I understand on the memory barrie

[PATCH v4 4/8] ARM: dts: rockchip: add pwm dt node for rv1108

2017-08-14 Thread Andy Yan
Add pwm device tree node for rv1108 soc Signed-off-by: Andy Yan --- Changes in v4: None Changes in v3: None Changes in v2: - add compatible string "rockchip,rv1108-pwm" arch/arm/boot/dts/rv1108.dtsi | 143 ++ 1 file changed, 143 insertions(+) diff --gi

Re: [PATCH v2 5/7] mm:swap: use on-stack-bio for BDI_CAP_SYNCHRONOUS device

2017-08-14 Thread Minchan Kim
On Sat, Aug 12, 2017 at 04:46:33PM +0800, kbuild test robot wrote: > Hi Minchan, > > [auto build test ERROR on mmotm/master] > [also build test ERROR on next-20170811] > [cannot apply to linus/master v4.13-rc4] > [if your patch is applied to the wrong git tree, please drop us a note to > help imp

[PATCH v4 5/8] ARM: dts: rockchip: add saradc support for rv1108

2017-08-14 Thread Andy Yan
Add saradc device tree node for rv1108 soc Signed-off-by: Andy Yan --- Changes in v4: - remove unnecessary property io-channel-ranges Changes in v3: None Changes in v2: - add compatible string "rockchip,rv1108-saradc" arch/arm/boot/dts/rv1108.dtsi | 11 +++ 1 file changed, 11 inserti

[RFC PATCH] media: vb2: add bidirectional flag in vb2_queue

2017-08-14 Thread Stanimir Varbanov
Hi, This RFC patch is intended to give to the drivers a choice to change the default behavior of the v4l2-core DMA mapping direction from DMA_TO/FROM_DEVICE (depending on the buffer type CAPTURE or OUTPUT) to DMA_BIDIRECTIONAL during queue_init time. Initially the issue with DMA mapping direction

[PATCH v4 6/8] ARM: dts: rockchip: add pwm backlight for rv1108 evb

2017-08-14 Thread Andy Yan
RV1108 EVB uses pwm0 modulate the backlight, add dt node to enable it. Signed-off-by: Andy Yan --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/boot/dts/rv1108-evb.dts | 43 1 file changed, 43 insertions(+) diff --git a/arch/arm

Re: [PATCH 2/3] mfd: tps65010: move header file out of I2C realm

2017-08-14 Thread Lee Jones
On Mon, 14 Aug 2017, Lee Jones wrote: > On Sun, 13 Aug 2017, Wolfram Sang wrote: > > > On Tue, May 23, 2017 at 08:18:19AM +0100, Lee Jones wrote: > > > On Mon, 22 May 2017, Wolfram Sang wrote: > > > > > > > include/linux/i2c is not for client devices. Move the header file to a > > > > more appro

[PATCH v4 8/8] ARM: dts: rockchip: add accelerometer bma250e dt node for rv1108 evb

2017-08-14 Thread Andy Yan
Add dt node of bosch accelerometer bma250e on rv1108 evb. Signed-off-by: Andy Yan --- Changes in v4: - order it by i2c address. Changes in v3: None Changes in v2: None arch/arm/boot/dts/rv1108-evb.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/rv1108-evb.dts

[PATCH v4 7/8] ARM: dts: rockchip: add pmic rk805 dt node for rv1108 evb

2017-08-14 Thread Andy Yan
RK805 is used as the voltage regulator on rv1108 evaluation board. Add device tree node for it. Signed-off-by: Andy Yan --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/boot/dts/rv1108-evb.dts | 108 +++ 1 file changed, 108 insertions

Re: [PATCH net-next V2 3/3] tap: XDP support

2017-08-14 Thread Daniel Borkmann
On 08/11/2017 01:41 PM, Jason Wang wrote: This patch tries to implement XDP for tun. The implementation was split into two parts: [...] @@ -1402,6 +1521,22 @@ static ssize_t tun_get_user(struct tun_struct *tun, struct tun_file *tfile, skb_reset_network_header(skb); skb_probe_tr

Re: [PATCH 3/3] mfd: twl: move header file out of I2C realm

2017-08-14 Thread Wolfram Sang
> > Given the triviality of the change for non-MFD subsystems, can we apply > > this for 4.14? > > I can't apply anything without Acks for *all* of the subsystems above. Well, there are cases when you can. Those should be exceptions and well justified, of course. > My suggestion would be to col

Re: [PATCH v1 2/6] fs: use on-stack-bio if backing device has BDI_CAP_SYNC capability

2017-08-14 Thread Minchan Kim
Hi Christoph, On Fri, Aug 11, 2017 at 12:46:15PM +0200, Christoph Hellwig wrote: > On Wed, Aug 09, 2017 at 08:06:24PM -0700, Dan Williams wrote: > > I like it, but do you think we should switch to sbvec[] to > > preclude pathological cases where nr_pages is large? > > Yes, please. Still, I don't

Re: [PATCH v8 09/14] lockdep: Apply crossrelease to completions

2017-08-14 Thread Arnd Bergmann
On Mon, Aug 7, 2017 at 9:12 AM, Byungchul Park wrote: > Although wait_for_completion() and its family can cause deadlock, the > lock correctness validator could not be applied to them until now, > because things like complete() are usually called in a different context > from the waiting context,

Re: [PATCH v2 0/3] livepatch: Introduce force sysfs attribute

2017-08-14 Thread Miroslav Benes
On Fri, 11 Aug 2017, Josh Poimboeuf wrote: > On Thu, Aug 10, 2017 at 12:48:12PM +0200, Miroslav Benes wrote: > > Now there is a sysfs attribute called "force", which provides two > > functionalities, "signal" and "force" (previously "unmark"). I haven't > > managed to come up with better names. Pr

Re: [PATCH v1 2/6] fs: use on-stack-bio if backing device has BDI_CAP_SYNC capability

2017-08-14 Thread Minchan Kim
Hi Jens, On Fri, Aug 11, 2017 at 08:26:59AM -0600, Jens Axboe wrote: > On 08/11/2017 04:46 AM, Christoph Hellwig wrote: > > On Wed, Aug 09, 2017 at 08:06:24PM -0700, Dan Williams wrote: > >> I like it, but do you think we should switch to sbvec[] to > >> preclude pathological cases where nr_pages

[PATCH] f2fs: remove unused function overprovision_sections

2017-08-14 Thread Yunlong Song
Signed-off-by: Yunlong Song --- fs/f2fs/segment.h | 5 - 1 file changed, 5 deletions(-) diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h index 7f700e5..b9b4f85 100644 --- a/fs/f2fs/segment.h +++ b/fs/f2fs/segment.h @@ -492,11 +492,6 @@ static inline int overprovision_segments(struct f2fs_

Re: [PATCH v3 28/28] drm: vboxvideo: switch to drm_*_get(), drm_*_put() helpers

2017-08-14 Thread Daniel Vetter
On Fri, Aug 11, 2017 at 06:11:08PM +0200, Hans de Goede wrote: > Hi, > > On 11-08-17 18:04, Sean Paul wrote: > > On Fri, Aug 11, 2017 at 03:26:45PM +0200, Hans de Goede wrote: > > > Hi, > > > > > > On 11-08-17 14:33, Cihangir Akturk wrote: > > > > Use drm_*_get() and drm_*_put() helpers instead o

Re: New assembler warnings with binutils 2.29

2017-08-14 Thread Catalin Marinas
On Fri, Aug 11, 2017 at 10:26:06AM +0100, Ard Biesheuvel wrote: > On 11 August 2017 at 10:22, Catalin Marinas wrote: > > On Thu, Aug 10, 2017 at 01:13:22PM -0700, Laura Abbott wrote: > >> Fedora rawhide recently upgraded to binutils 2.29 and this seems > >> to produce new warnings: > >> > >> ./arc

[PATCH v2 1/5] iio: srf08: add device tree binding for srf02 and srf10

2017-08-14 Thread Andreas Klinger
add trivial device tree binding "devantech,srf02" and "devantech,srf10" Signed-off-by: Andreas Klinger Acked-by: Jonathan Cameron --- Documentation/devicetree/bindings/i2c/trivial-devices.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/trivial-dev

[PATCH v2 0/5] iio: srf08: add support for similar devices and triggered buffers

2017-08-14 Thread Andreas Klinger
This patch series adds support for: - triggered buffer - ultrasonic devices srf02 and srf10 Thanks to Jonathan for his review which lined out improvements throughout the patches. I'm not sure, if the cc of [PATCH v2 1/5] is correct now. Changes in v2: - removed unnecessary patch "[PATCH 6/7] iio

[PATCH v2 2/5] iio: srf08: add device tree table

2017-08-14 Thread Andreas Klinger
Added MODULE_DEVICE_TABLE for device tree bindings. It used to work without it by using the i2c_device_id table, but adding the table makes everything clear and documented. Signed-off-by: Andreas Klinger --- drivers/iio/proximity/srf08.c | 8 1 file changed, 8 insertions(+) diff --git

[PATCH v2 3/5] iio: srf08: add triggered buffer support

2017-08-14 Thread Andreas Klinger
Add support for triggered buffers. Data format is quite simple: distance 16 Bit alignment48 Bit timestamp64 Bit Signed-off-by: Andreas Klinger --- drivers/iio/proximity/srf08.c | 59 --- 1 file changed, 56 insertions(+), 3 deletions(-)

[PATCH v2 4/5] iio: srf08: add sensor type srf10

2017-08-14 Thread Andreas Klinger
Ultrasonic sensor srf10 is quite similar to srf08 and now also supported by the driver as device tree compatible string. It was necessary to prepare the source for supplementary sensors. This is done by enum srf08_sensor_type. The most significiant difference between srf08 and srf10 is another ra

[PATCH v2 5/5] iio: srf08: add support for srf02 in i2c mode

2017-08-14 Thread Andreas Klinger
srf02 added with support for i2c interface Attributes for setting max range or sensitivity are omitted for the case of srf02 type sensor, because they are not supported by the hardware. Signed-off-by: Andreas Klinger --- drivers/iio/proximity/Kconfig | 8 ++--- drivers/iio/proximity/srf08.c |

Re: [linux-sunxi] [PATCH v2] arm64: allwinner: a64: Add A64-OLinuXino initial support

2017-08-14 Thread Jagan Teki
On Mon, Aug 14, 2017 at 1:26 PM, Chen-Yu Tsai wrote: > On Mon, Aug 14, 2017 at 3:34 PM, Jagan Teki wrote: >> On Mon, Aug 14, 2017 at 12:38 PM, Chen-Yu Tsai wrote: >>> Hi, >>> >>> On Sun, Aug 13, 2017 at 1:54 AM, Jagan Teki >>> wrote: From: Jagan Teki OLimex A64-OLinuXino is an

Re: [PATCH v2 1/5] iio: srf08: add device tree binding for srf02 and srf10

2017-08-14 Thread Wolfram Sang
On Mon, Aug 14, 2017 at 10:59:41AM +0200, Andreas Klinger wrote: > add trivial device tree binding "devantech,srf02" and "devantech,srf10" > > Signed-off-by: Andreas Klinger > Acked-by: Jonathan Cameron > --- > Documentation/devicetree/bindings/i2c/trivial-devices.txt | 2 ++ Again: This file h

Re: [PATCH] zsmalloc: zs_page_migrate: schedule free_work if zspage is ZS_EMPTY

2017-08-14 Thread Hui Zhu
2017-08-14 16:31 GMT+08:00 Minchan Kim : > Hi Hui, > > On Mon, Aug 14, 2017 at 02:34:46PM +0800, Hui Zhu wrote: >> After commit e2846124f9a2 ("zsmalloc: zs_page_migrate: skip unnecessary >> loops but not return -EBUSY if zspage is not inuse") zs_page_migrate >> can handle the ZS_EMPTY zspage. >> >>

Re: [linux-sunxi] [PATCH v2] arm64: allwinner: a64: Add A64-OLinuXino initial support

2017-08-14 Thread Chen-Yu Tsai
On Mon, Aug 14, 2017 at 5:09 PM, Jagan Teki wrote: > On Mon, Aug 14, 2017 at 1:26 PM, Chen-Yu Tsai wrote: >> On Mon, Aug 14, 2017 at 3:34 PM, Jagan Teki wrote: >>> On Mon, Aug 14, 2017 at 12:38 PM, Chen-Yu Tsai wrote: Hi, On Sun, Aug 13, 2017 at 1:54 AM, Jagan Teki wrote:

[PATCH V2 2/2] cpufreq: schedutil: Always process remote callback with slow switching

2017-08-14 Thread Viresh Kumar
The frequency update from the utilization update handlers can be divided into two parts: (A) Finding the next frequency (B) Updating the frequency While any CPU can do (A), (B) can be restricted to a group of CPUs only, depending on the current platform. For platforms where fast cpufreq switchin

Re: [PATCH] zsmalloc: zs_page_migrate: schedule free_work if zspage is ZS_EMPTY

2017-08-14 Thread Minchan Kim
On Mon, Aug 14, 2017 at 05:11:50PM +0800, Hui Zhu wrote: > 2017-08-14 16:31 GMT+08:00 Minchan Kim : > > Hi Hui, > > > > On Mon, Aug 14, 2017 at 02:34:46PM +0800, Hui Zhu wrote: > >> After commit e2846124f9a2 ("zsmalloc: zs_page_migrate: skip unnecessary > >> loops but not return -EBUSY if zspage is

[PATCH] f2fs: free_user_blocks should use reserved_segments instead

2017-08-14 Thread Yunlong Song
The part (overprovision_segments - reserved_segments) can still be used for LFS, so free_use_blocks should use reserved_segments instead, rather than use overprovision_segments. Signed-off-by: Yunlong Song --- fs/f2fs/gc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/f

[RFC] block: deprecate choosing elevator via boot param

2017-08-14 Thread Oleksandr Natalenko
Setting I/O scheduler via kernel command line is not flexible enough anymore. Different schedulers might be desirable for different types of devices (SSDs and HDDs, for instance). Moreover, setting elevator while using blk-mq framework does not work in this way already. This commit enables warning

Re: [PATCH -next] zram: fix compr_data_size stat

2017-08-14 Thread Yisheng Xie
Hi, Minchan Thanks for your comment! On 2017/8/14 16:08, Minchan Kim wrote: > Hi Yisheng, > > Thanks for the all fixup! > A minor nitpick below: > > On Fri, Aug 11, 2017 at 09:10:32AM +0800, Yisheng Xie wrote: >> The compr_data_size is a stat for compressed size of pages stored, which >> should

Re: [PATCH] net/bluetooth: make bluetooth socket can be created in net namespace

2017-08-14 Thread Marcel Holtmann
Hi Fupan, > By now kernel only supported creating bluetooth socket in init_net > net namespace, which made bluetooth device cannot be accessed in > containers, this patch made bluetooth socket can be created in > net namespaces to fix this issue. > > Signed-off-by: Fupan Li > --- > net/bluetooth

Re: [RFC 1/2] misc: Add vboxguest driver for Virtual Box Guest integration

2017-08-14 Thread Arnd Bergmann
On Sat, Aug 12, 2017 at 11:56 PM, Hans de Goede wrote: > On 11-08-17 23:23, Arnd Bergmann wrote: >> On Fri, Aug 11, 2017 at 3:23 PM, Hans de Goede >> wrote: >> Most of the issues I would normally comment on are already moot based >> on the assumption that we won't be able to make substantial chan

Re: SIGNAL_UNKILLABLE and init again

2017-08-14 Thread Jamie Iles
Hi Oleg, On Thu, Apr 27, 2017 at 01:16:51PM +0100, Jamie Iles wrote: > On Wed, Apr 26, 2017 at 05:18:58PM +0200, Oleg Nesterov wrote: > > Hi Jamie, > > > > On 04/25, Jamie Iles wrote: > > > > > > Hi Oleg, > > > > > > I'm back looking at SIGNAL_UNKILLABLE and debugging child reapers again, > > >

Re: [PATCH -next] zram: fix compr_data_size stat

2017-08-14 Thread Minchan Kim
On Mon, Aug 14, 2017 at 05:24:16PM +0800, Yisheng Xie wrote: > Hi, Minchan > > Thanks for your comment! > On 2017/8/14 16:08, Minchan Kim wrote: > > Hi Yisheng, > > > > Thanks for the all fixup! > > A minor nitpick below: > > > > On Fri, Aug 11, 2017 at 09:10:32AM +0800, Yisheng Xie wrote: > >>

[PATCH 0/2] kmemleak: Adjustments for three function implementations

2017-08-14 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 14 Aug 2017 11:30:22 +0200 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Delete an error message for a failed memory allocation in two functions Use seq_puts() in print_unreferenced() mm/kmemleak.c | 7 +

[PATCH 1/2] kmemleak: Delete an error message for a failed memory allocation in two functions

2017-08-14 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 14 Aug 2017 10:50:22 +0200 Omit an extra message for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- mm/kmemleak.c | 5 + 1 file changed, 1 insertion(+), 4 deletions

Re: [PATCH 1/2] dt-bindings: i2c: Add MediaTek MT7622 i2c binding

2017-08-14 Thread Matthias Brugger
On 08/09/2017 09:43 AM, Jun Gao wrote: From: Jun Gao Add MT7622 i2c binding to binding file. Compare to MT8173 i2c controller, MT7622 limit message size to 255, and not support 4GB DMA mode. Signed-off-by: Jun Gao --- Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 11 ++- 1

[PATCH 2/2] kmemleak: Use seq_puts() in print_unreferenced()

2017-08-14 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 14 Aug 2017 11:23:11 +0200 The script "checkpatch.pl" pointed information out like the following. WARNING: Prefer seq_puts to seq_printf Thus fix the affected source code place. Signed-off-by: Markus Elfring --- mm/kmemleak.c | 2 +- 1 file changed, 1 insertio

Re: [linux-sunxi] [PATCH 1/4] dt-bindings: add binding for Allwinner A64 SRAM controller and SRAM C

2017-08-14 Thread Chen-Yu Tsai
On Wed, Aug 9, 2017 at 4:56 PM, Icenowy Zheng wrote: > The display engine on Allwinner A64 wants to claim the SRAM C section. > > Add a SRAM controller compatible for A64, and a SRAM section compatible > for its SRAM C. > > Signed-off-by: Icenowy Zheng Looks good to me. Will wait for device tree

Re: [PATCH 4/4] MIPS/ptrace: Add PTRACE_SET_SYSCALL operation

2017-08-14 Thread James Hogan
On Fri, Aug 11, 2017 at 03:23:34PM -0700, Kees Cook wrote: > On Fri, Aug 11, 2017 at 1:56 PM, James Hogan wrote: > > Add a PTRACE_SET_SYSCALL ptrace operation to allow the system call to be > > cancelled independently to the value of the v0 system call number > > register. > > > > This is needed f

Re: [PATCH] perf bpf: Fix endianness problem when loading parameters in prologue

2017-08-14 Thread Thomas-Mich Richter
On 08/11/2017 09:23 PM, Arnaldo Carvalho de Melo wrote: > Em Fri, Aug 11, 2017 at 06:47:56PM +0800, Wangnan (F) escreveu: >> Hi Thomas, >> >> Please try this patch on your machine and give me the result. > > Right, I'm waiting for test results for the last two patches from Wang: > > (3.0K)

Crypto Fixes for 4.13

2017-08-14 Thread Herbert Xu
Hi Linus: This push fixes an error path bug in ixp4xx as well as a read overrun in sha1-avx2. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus Herbert Xu (1): crypto: ixp4xx - Fix error handling path in 'aead_perform()' megha@linux.intel.

Re: [RFC PATCH v5 0/5] vfio-pci: Add support for mmapping MSI-X table

2017-08-14 Thread Alexey Kardashevskiy
Folks, Is there anything to change besides those compiler errors and David's comment in 5/5? Or the while patchset is too bad? Thanks. On 07/08/17 17:25, Alexey Kardashevskiy wrote: > This is a followup for "[PATCH kernel v4 0/6] vfio-pci: Add support for > mmapping MSI-X table" > http://www.s

Re: [PATCH 3/3] x86/intel_rdt/cqm: Improve limbo list processing

2017-08-14 Thread Thomas Gleixner
On Wed, 9 Aug 2017, Vikas Shivappa wrote: > @@ -426,6 +426,9 @@ static int domain_setup_mon_state(struct rdt_resource *r, > struct rdt_domain *d) > GFP_KERNEL); > if (!d->rmid_busy_llc) > return -ENOMEM; > +

Re: [PATCH] net/bluetooth: make bluetooth socket can be created in net namespace

2017-08-14 Thread fupan
On 2017/8/14 17:30, Marcel Holtmann wrote: Hi Fupan, By now kernel only supported creating bluetooth socket in init_net net namespace, which made bluetooth device cannot be accessed in containers, this patch made bluetooth socket can be created in net namespaces to fix this issue. Signed-off-b

Re: [linux-sunxi] [PATCH 3/4] drivers: soc: sunxi: add support for remapping func value to reg value

2017-08-14 Thread Chen-Yu Tsai
On Wed, Aug 9, 2017 at 4:56 PM, Icenowy Zheng wrote: > On some Allwinner SoCs, sometimes the value needed to write into the > register to claim SRAM is not equal to the value specified in the > device tree. > > We now defines 0 as "CPU" and 1 as "Device", however, for VE SRAM, the > register needs

Re: [PATCH] backlight: add DDC/CI brightness driver

2017-08-14 Thread Daniel Thompson
On 10/08/17 13:56, Miłosz Rachwał wrote: On 13.02.2017 13:12, Daniel Thompson wrote: On 21/01/17 18:31, Miłosz Rachwał wrote: This patch contains driver for exposing VESA DDC/CI MCCS brightness settings via kernel backlight API. This allows to control monitor brightness using standard software

Re: [linux-sunxi] [PATCH 4/4] drivers: soc: sunxi: add support for A64 and its SRAM C

2017-08-14 Thread Chen-Yu Tsai
On Wed, Aug 9, 2017 at 4:56 PM, Icenowy Zheng wrote: > Allwinner A64's display engine claims the SRAM C section to work. > > Add support for the A64 SRAM controller and the SRAM C section of it. > > Signed-off-by: Icenowy Zheng Looks good to me. Will apply all 4 once the dt bindings are acked.

  1   2   3   4   5   6   7   8   9   10   >