Re: [PATCH] kasan: improve double-free detection

2016-05-04 Thread Dmitry Vyukov
On Thu, May 5, 2016 at 8:23 AM, Luruo, Kuthonuzo wrote: >> >> >> I missed that Alexander already landed patches that reduce header size >> >> >> to 16 bytes. >> >> >> It is not OK to increase them again. Please leave state as bitfield >> >> >> and update it with CAS (if we introduce helper functio

Re: v4.6-rc1 regression bisected, Problem loading in-kernel X.509 certificate (-2)

2016-05-04 Thread Herbert Xu
On Wed, May 04, 2016 at 06:38:46AM -0700, Tadeusz Struk wrote: > Hi David > On 05/04/2016 02:01 AM, David Howells wrote: > > Do you want to push this via Herbert's tree? > > > > Yes, I think Herbert has some more patches queued for rc-7. > Let me also send a proper one with the signed-off tag. >

Re: [PATCH v3] crypto: Add a flag allowing the self-tests to be disabled at runtime.

2016-05-04 Thread Herbert Xu
On Tue, May 03, 2016 at 10:00:17AM +0100, Richard W.M. Jones wrote: > Running self-tests for a short-lived KVM VM takes 28ms on my laptop. > This commit adds a flag 'cryptomgr.notests' which allows them to be > disabled. > > However if fips=1 as well, we ignore this flag as FIPS mode mandates > th

[PATCH] cfg80211/nl80211: add wifi tx power mode switching support

2016-05-04 Thread Wei-Ning Huang
Recent new hardware has the ability to switch between tablet mode and clamshell mode. To optimize WiFi performance, we want to be able to use different power table between modes. This patch adds a new netlink message type and cfg80211_ops function to allow userspace to trigger a power mode switch f

Re: [PATCH 24/25] arm64:ilp32: add vdso-ilp32 and use for signal return

2016-05-04 Thread Andrew Pinski
On Wed, May 4, 2016 at 7:24 PM, Zhangjian (Bamvor) wrote: > Hi, > > > On 2016/5/5 7:23, Andrew Pinski wrote: >> >> On Wed, May 4, 2016 at 2:49 PM, Yury Norov >> wrote: >>> >>> On Tue, May 03, 2016 at 08:41:25PM +0800, Zhangjian (Bamvor) wrote: Hi, all After apply this patch wi

Re: better patch for linux/bitops.h

2016-05-04 Thread H. Peter Anvin
On 05/04/16 21:03, Jeffrey Walton wrote: On Wed, May 4, 2016 at 11:50 PM, Theodore Ts'o wrote: ... But instead of arguing over what works and doesn't, let's just create the the test set and just try it on a wide range of compilers and architectures, hmmm? What are the requirements? Here's a s

[PATCH] drm/panel: Add display timings for TPK U.S.A. LLC Fusion 7", 10.1" panels

2016-05-04 Thread Bhuvanchandra DV
Add support for TPK U.S.A. LLC Fusion 7", 10.1" panels to the DRM simple panel driver. Signed-off-by: Bhuvanchandra DV --- This patch is based on top of Stefan's clock polarity patches[1] [1] https://lkml.org/lkml/2016/5/5/20 .../bindings/display/panel/tpk,f07a-0102.txt | 8 .../

RE: [PATCH] kasan: improve double-free detection

2016-05-04 Thread Luruo, Kuthonuzo
> >> >> I missed that Alexander already landed patches that reduce header size > >> >> to 16 bytes. > >> >> It is not OK to increase them again. Please leave state as bitfield > >> >> and update it with CAS (if we introduce helper functions for state > >> >> manipulation, they will hide the CAS loo

Re: [PATCH RESEND v3 1/2] drm: introduce bus_flags in drm_display_info

2016-05-04 Thread Mark yao
Hi Stefan Actually, the pixel clock or data enable polarity are also needed by drm/rockchip, but I have a question: why not add these polarity into drm_display_mode->flags. drm_display_mode->flags has hsync and vsync polarity, I think it's cool that add pixel clock or data enable polarity on

[PATCH] soc/tegra: fuse: enable nvidia,tegra114-efuse entry for Tegra132

2016-05-04 Thread Wei Ni
In the Tegra132 DTS file, the compatible of fuse node was set as "nvidia,tegra124-efuse", because the fuse in Tegra132 is same as Tegra124, they are compatible. But the fuse driver only defined this entry under the CONFIG_ARCH_TEGRA_124_SOC, so the Tegra132 builds can't find this entry. Define this

linux-next: Tree for May 5

2016-05-04 Thread Stephen Rothwell
Hi all, Changes since 20160504: Dropped tree: hsi (at the maintainer's request) The net-next tree gained a conflict against the net tree. The borntraeger tree gained a conflict against the kvms390 tree. Non-merge commits (relative to Linus' tree): 8189 7227 files changed, 309272

Re: [PATCH kernel v4 11/11] powerpc/powernv/npu: Enable NVLink pass through

2016-05-04 Thread Alexey Kardashevskiy
On 05/04/2016 12:08 AM, Alistair Popple wrote: Hi Alexey, On Fri, 29 Apr 2016 18:55:24 Alexey Kardashevskiy wrote: IBM POWER8 NVlink systems come with Tesla K40-ish GPUs each of which also has a couple of fast speed links (NVLink). The interface to links is exposed as an emulated PCI bridge whi

Re: [PATCH v4 3/3] ARM: dts: use syscon in cygnus touchscreen dt node

2016-05-04 Thread Raveendra Padasalagi
Thanks Dmitry and Florian. Hi Dmitry, I understand the dts changes are really needed for the touch screen driver changes made in this patch. But currently there are no deployed systems/customer's using this driver. So please pull the driver changes and I will follow up to make sure dts changes al

RE: [PATCH 1/2] usb: configfs: allow UDC binding rule configured as binding to *any* UDC

2016-05-04 Thread Du, Changbin
Hi, > > On most platforms, there is only one device controller available. > > In this case, we desn't care the UDC's name. So let's ignore the > > name by setting 'UDC' to 'any'. > > Hmm libubsgx allows to do this for a very long time. You simply pass > NULL instead of pointer to usbg_udc. > > It

[PATCH v8 0/7] usb: add support for Intel dual role port mux

2016-05-04 Thread Lu Baolu
Intel SOC chips are featured with USB dual role. The host role is provided by Intel xHCI IP, and the gadget role is provided by IP from designware. Tablet platform designs always share a single port for both host and gadget controllers. There is a mux to switch the port to the right controller acc

[PATCH v8 2/7] usb: mux: add generic code for dual role port mux

2016-05-04 Thread Lu Baolu
Several Intel platforms implement USB dual role by having completely separate xHCI and dwc3 IPs in PCH or SOC silicons. These two IPs share a single USB port. There is another external port mux which controls where the data lines should go. While the USB controllers are part of the silicon, the por

[PATCH v8 5/7] mfd: intel_vuport: Add Intel virtual USB port MFD Driver

2016-05-04 Thread Lu Baolu
Some Intel platforms have an USB port mux controlled by GPIOs. There's a single ACPI platform device that provides 1) USB ID extcon device; 2) USB vbus regulator device; and 3) USB port switch device. This MFD driver will split these 3 devices for their respective drivers. [baolu: removed .owner p

Re: [PATCH] kasan: improve double-free detection

2016-05-04 Thread Dmitry Vyukov
On Wed, May 4, 2016 at 10:13 PM, Luruo, Kuthonuzo wrote: >> >> I missed that Alexander already landed patches that reduce header size >> >> to 16 bytes. >> >> It is not OK to increase them again. Please leave state as bitfield >> >> and update it with CAS (if we introduce helper functions for stat

[PATCH v8 3/7] usb: mux: add driver for Intel gpio controlled port mux

2016-05-04 Thread Lu Baolu
In some Intel platforms, a single usb port is shared between USB host and device controller. The shared port is under control of GPIO pins. This patch adds the support for USB GPIO controlled port mux. [baolu: removed .owner per platform_no_drv_owner.cocci] Signed-off-by: David Cohen Signed-off-

[PATCH v8 6/7] usb: pci-quirks: add Intel USB drcfg mux device

2016-05-04 Thread Lu Baolu
In some Intel platforms, a single usb port is shared between USB host and device controllers. The shared port is under control of a switch which is defined in the Intel vendor defined extended capability for xHCI. This patch adds the support to detect and create the platform device for the port mu

[PATCH v8 7/7] MAINTAINERS: add maintainer entry for Intel USB dual role mux drivers

2016-05-04 Thread Lu Baolu
Add a maintainer entry for Intel USB dual role mux drivers and add myself as a maintainer. Signed-off-by: Lu Baolu --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1d5b4be..6ab9e02 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5879,

[PATCH v8 4/7] usb: mux: add driver for Intel drcfg controlled port mux

2016-05-04 Thread Lu Baolu
Several Intel PCHs and SOCs have an internal mux that is used to share one USB port between device controller and host controller. The mux is handled through the Dual Role Configuration Register. Signed-off-by: Heikki Krogerus Signed-off-by: Lu Baolu Signed-off-by: Wu Hao Reviewed-by: Felipe Ba

[PATCH v8 1/7] regulator: fixed: add support for ACPI interface

2016-05-04 Thread Lu Baolu
Add support to retrieve fixed voltage configure information through ACPI interface. This is needed for Intel Bay Trail devices, where a GPIO is used to control the USB vbus. Signed-off-by: Lu Baolu --- drivers/regulator/fixed.c | 46 ++ 1 file changed,

[PATCH] mm/zsmalloc: avoid unnecessary iteration in get_pages_per_zspage()

2016-05-04 Thread Ganesh Mahendran
if we find a zspage with usage == 100%, there is no need to try other zspages. Signed-off-by: Ganesh Mahendran Cc: Minchan Kim Cc: Nitin Gupta Cc: Sergey Senozhatsky --- mm/zsmalloc.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index fda7177..310c7b

[PATCH 0/3] mfd: lp873x: Add lp873x PMIC support

2016-05-04 Thread Keerthy
The LP873X chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components: - Regulators. - Configurable General Purpose Output Signals(GPO). PMIC interacts with the main processor through i2c. PMIC has couple of LDOs(

[PATCH] mfd: lp873x: Add lp873x PMIC support

2016-05-04 Thread Keerthy
The LP873X chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components: - Regulators. - Configurable General Purpose Output Signals(GPO). PMIC interacts with the main processor through i2c. PMIC has couple of LDOs(

[PATCH 1/3] Documentation: mfd/regulator: LP873X: Add information for the mfd and regulator drivers

2016-05-04 Thread Keerthy
Add information for the mfd and regulator drivers. Signed-off-by: Keerthy --- Documentation/devicetree/bindings/mfd/lp873x.txt | 56 + .../devicetree/bindings/regulator/lp873x.txt | 98 ++ 2 files changed, 154 insertions(+) create mode 100644 Documentatio

[PATCH 3/3] regulator: lp873x: Add support for lp873x PMIC regulators

2016-05-04 Thread Keerthy
The regulators set consists of 2 BUCKs and 2 LDOs. The output voltages are configurable and are meant to supply power to the main processor and other components. The ramp delay is configurable for both BUCKs. Signed-off-by: Keerthy --- drivers/regulator/Kconfig| 9 ++ drivers/regul

[PATCH RESEND v3 0/2] drm: introduce bus_flags for pixel clock polarity

2016-05-04 Thread Stefan Agner
This resend is just rebased on drm-next as of today (+Daniels Ack). Dropped the first patch in version 3 since that is already applied in v4.6. Also moved all generic changes (including the changes in panel-simple) to the first, generic patch. Instead of using struct drm_display_mode to convey th

[PATCH RESEND v3 2/2] drm/fsl-dcu: use bus_flags for pixel clock polarity

2016-05-04 Thread Stefan Agner
The drivers current default configuration drives the pixel data on rising edge of the pixel clock. However, most display sample data on rising edge... This leads to color shift artefacts visible especially at edges. This patch changes the relevant defines to be useful and actually set the bits, an

[PATCH RESEND v3 1/2] drm: introduce bus_flags in drm_display_info

2016-05-04 Thread Stefan Agner
Introduce bus_flags to specify display bus properties like signal polarities. This is useful for parallel display buses, e.g. to specify the pixel clock or data enable polarity. Suggested-by: Thierry Reding Acked-by: Philipp Zabel Acked-by: Manfred Schlaegl Acked-by: Daniel Vetter Signed-off-b

Re: [lkp] [sched/fair] 41e0d37f7a: divide error: 0000 [#1] SMP

2016-05-04 Thread Wanpeng Li
2016-05-03 23:10 GMT+08:00 Rafael J. Wysocki : > On Tuesday, May 03, 2016 03:53:12 PM Rafael J. Wysocki wrote: >> On Tuesday, May 03, 2016 03:22:24 PM Rafael J. Wysocki wrote: >> > On Tue, May 3, 2016 at 2:58 PM, Rafael J. Wysocki >> > wrote: >> > > On Tue, May 3, 2016 at 2:54 PM, Rafael J. Wysoc

[PATCH v2 13/13] ACPICA: Update version to 20160422

2016-05-04 Thread Lv Zheng
From: Bob Moore ACPICA commit a2327ba410e19c2aabaf34b711dbadf7d1dcf346 Version 20160422. Link: https://github.com/acpica/acpica/commit/a2327ba4 Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- include/acpi/acpixf.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/in

[PATCH v2 12/13] ACPICA: Move all ASCII utilities to a common file

2016-05-04 Thread Lv Zheng
From: Bob Moore ACPICA commit ba60e4500053010bf775d58f6f61febbdb94d817 New file is utascii.c Link: https://github.com/acpica/acpica/commit/ba60e450 Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- drivers/acpi/acpica/Makefile |1 + drivers/acpi/acpica/actables.h

[PATCH v2 03/13] ACPICA: ACPI 6.1: Support for new PCCT subtable

2016-05-04 Thread Lv Zheng
From: Bob Moore ACPICA commit de3ea7c322b9b6bdb09aa90c2e1d420cd4dce47c Additional subspace structure was added. Link: https://github.com/acpica/acpica/commit/de3ea7c3 Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- include/acpi/actbl3.h | 23 ++- 1 file changed, 22

[PATCH v2 11/13] ACPICA: ACPI 2.0, Hardware: Add access_width/bit_offset support for acpi_hw_write()

2016-05-04 Thread Lv Zheng
ACPICA commit 48eea5e7993ccb7189bd63cd726e02adafee6057 This patch adds access_width/bit_offset support in acpi_hw_write(). Lv Zheng. Link: https://github.com/acpica/acpica/commit/48eea5e7 Link: https://bugs.acpica.org/show_bug.cgi?id=1240 Signed-off-by: Lv Zheng Signed-off-by: Bob Moore --- dr

[PATCH v2 05/13] ACPICA: ACPI 6.0, tools/iasl: Add support for new resource descriptors

2016-05-04 Thread Lv Zheng
From: Bob Moore ACPICA commit 5a0555ece4ba9917e5842b21d88469ae06b4e815 Adds full support for: i2c_serial_bus_v2 spi_serial_bus_v2 uart_serial_bus_v2 Compiler, Disassembler, Resource Manager, acpi_help. Link: https://github.com/acpica/acpica/commit/5a0555ec Signed-off-by: Bob Moore Signed-off-

[PATCH v2 10/13] ACPICA: ACPI 2.0, Hardware: Add access_width/bit_offset support in acpi_hw_read()

2016-05-04 Thread Lv Zheng
ACPICA commit 96ece052d4d073aae4f935f0ff0746646aea1174 ACPICA commit 3d8583a054e410f2ea4d73b48986facad9cfc0d4 This patch adds access_width/bit_offset support in acpi_hw_read(). This also enables GAS definition where bit_width is not a power of two. Lv Zheng. Link: https://github.com/acpica/acpica

[PATCH v2 04/13] ACPICA: ACPI 6.0: Update _BIX support for new package element

2016-05-04 Thread Lv Zheng
From: Bob Moore ACPICA commit 3451e6d49d37919c13ec2c0019a31534b0dfc0c0 One integer was added at the end of the _BIX method, and the version number was incremented. Link: https://github.com/acpica/acpica/commit/3451e6d4 Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- drivers/acpi/acpica/

[PATCH v2 08/13] ACPICA: Hardware: Add optimized access bit width support

2016-05-04 Thread Lv Zheng
ACPICA commit c49a751b4dae7baec1790748a2b4b6e8ab599f51 For Access Size = 0, it actually can use user expected access bit width. This patch implements this. Besides of the ACPICA upstream commit, this patch also includes a fix fixing the issue reported by the FreeBSD community. The old register de

[PATCH v2 07/13] ACPICA: Utilities: Add ACPI_IS_ALIGNED() macro

2016-05-04 Thread Lv Zheng
This patch introduces ACPI_IS_ALIGNED() macro. Lv Zheng. Signed-off-by: Lv Zheng --- drivers/acpi/acpica/acmacros.h |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/acpi/acpica/acmacros.h b/drivers/acpi/acpica/acmacros.h index 73f6653..ecbaaba 100644 --- a/drivers

[PATCH v2 09/13] ACPICA: Executer: Introduce a set of macros to handle bit width mask generation

2016-05-04 Thread Lv Zheng
ACPICA commit c23034a3a09d5ed79f1827d51f43cfbccf68ab64 A regression was reported to the shift offset >= width of type. This patch fixes this issue. BZ 1270. This is a part of the fix because the order of the patches are modified for Linux upstream, containing the cleanups for the old code. Lv Zhen

[PATCH v2 06/13] ACPICA: Renamed some #defined flag constants for clarity

2016-05-04 Thread Lv Zheng
From: Bob Moore ACPICA commit 438905b205e64e742f9670a0970419c426264831 Expanded a couple of cryptic names. Link: https://github.com/acpica/acpica/commit/438905b2 Signed-off-by: Bob Moore Signed-off-by: Lv Zheng --- drivers/acpi/acpica/aclocal.h | 30 +++--- drivers/

[PATCH v2 01/13] ACPICA: Divergence: remove unwanted spaces for typedef

2016-05-04 Thread Lv Zheng
ACPICA commit b2294cae776f5a66a7697414b21949d307e6856f This patch removes unwanted spaces for typedef. This solution doesn't cover function types. Note that the linuxize result of this commit is very giant and should have many conflicts against the current Linux upstream. Thus it is required to m

[PATCH v2 00/13] ACPICA: 20160422 Release

2016-05-04 Thread Lv Zheng
The 20160422 ACPICA kernel-resident subsystem updates are linuxized based on the linux-pm/linux-next branch. NOTE: 1. Indentation improvement The [PATCH 01] is a result of an ACPICA release process fix. It requires much of human intervention, and many linuxized patches in the developers' local wor

[PATCH v2 02/13] ACPICA: Refactor evaluate_object to reduce nesting

2016-05-04 Thread Lv Zheng
From: Bob Moore ACPICA commit 599e9159f53565e4a3f3e67f6a03f81fcb10a4cf Original patch from hanjun@linaro.org ACPICA BZ 1072. Link: https://github.com/acpica/acpica/commit/599e9159 Link: https://bugs.acpica.org/show_bug.cgi?id=1072 Original-by: Hanjun Guo Signed-off-by: Bob Moore Signed-of

Re: [PATCH kernel v4 10/11] powerpc/powernv/npu: Rework TCE Kill handling

2016-05-04 Thread Alexey Kardashevskiy
On 05/03/2016 05:37 PM, Alistair Popple wrote: On Fri, 29 Apr 2016 18:55:23 Alexey Kardashevskiy wrote: The pnv_ioda_pe struct keeps an array of peers. At the moment it is only used to link GPU and NPU for 2 purposes: 1. Access NPU quickly when configuring DMA for GPU - this was addressed in th

linux-next: manual merge of the borntraeger tree with the kvms390 tree

2016-05-04 Thread Stephen Rothwell
Hi Christian, Today's linux-next merge of the borntraeger tree got a conflict in: arch/s390/kvm/kvm-s390.c between commit: be7c9d7ba9e4 ("KVM: s390: Populate mask of non-hypervisor managed facility bits") from the kvms390 tree and commit: 5c14ad932491 ("KVM: halt_polling: provide a way

Re: [PATCH] ext4 crypto: migrate into vfs's crypto engine

2016-05-04 Thread Jaegeuk Kim
On Wed, May 04, 2016 at 11:20:22PM -0400, Theodore Ts'o wrote: > On Mon, Apr 25, 2016 at 05:15:36PM -0700, Jaegeuk Kim wrote: > > This patch removes the most parts of internal crypto codes. > > And then, it modifies and adds some ext4-specific crypt codes to use the > > generic > > facility. > >

Re: better patch for linux/bitops.h

2016-05-04 Thread Jeffrey Walton
On Wed, May 4, 2016 at 11:50 PM, Theodore Ts'o wrote: > ... > But instead of arguing over what works and doesn't, let's just create > the the test set and just try it on a wide range of compilers and > architectures, hmmm? What are the requirements? Here's a short list: * No undefined behavior

Re: better patch for linux/bitops.h

2016-05-04 Thread Theodore Ts'o
Instead of arguing over who's "sane" or "insane", can we come up with a agreed upon set of tests, and a set of compiler and compiler versions for which these tests must achieve at least *working* code? Bonus points if they achieve optimal code, but what's important is that for a wide range of GCC v

Re: better patch for linux/bitops.h

2016-05-04 Thread Jeffrey Walton
>>> So you are actually saying outright that we should sacrifice *actual* >>portability in favor of *theoretical* portability? What kind of >>twilight zone did we just step into?! >> >>I'm not sure what you mean. It will be well defined on all platforms. >>Clang may not recognize the pattern, whic

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-04 Thread Andy Lutomirski
On May 4, 2016 7:25 PM, "Dave Chinner" wrote: > > On Wed, May 04, 2016 at 06:44:14PM -0700, Andy Lutomirski wrote: > > On Wed, May 4, 2016 at 5:23 PM, Dave Chinner wrote: > > > On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal Harouni wrote: > > >> This is version 2 of the VFS:userns support porta

Re: [PATCH 3/3] x86-32: Remove asmlinkage_protect

2016-05-04 Thread Andy Lutomirski
On Wed, May 4, 2016 at 7:44 PM, Brian Gerst wrote: > Now that syscalls are called from C code, which copies the args to new stack > slots instead of overlaying pt_regs, asmlinkage_protect is no longer needed. Acked-by: Andy Lutomirski asmlinkage_protect was pretty gross... --Andy

Re: [PATCH 2/3] x86-32: Remove GET_THREAD_INFO from entry code

2016-05-04 Thread Andy Lutomirski
On Wed, May 4, 2016 at 7:44 PM, Brian Gerst wrote: > The entry code used to cache the thread_info pointer in the EBP register, but > all the code that used it has been moved to C. Remove the unused code to > get the pointer. Acked-by: Andy Lutomirski

[PATCH] ION: Sys_heap: Makes ion buffer always alloc from page pool

2016-05-04 Thread Chen Feng
Makes the ion buffer always alloced from page pool, no matter it's cached or not. In this way, it can improve the efficiency of it. Currently, there is no difference from cached or non-cached buffer for the page pool. Signed-off-by: Chen Feng --- drivers/staging/android/ion/ion_system_heap.c |

Re: [PATCH 1/3] x86: Don't save/restore EFLAGS on task switch

2016-05-04 Thread Andy Lutomirski
On Wed, May 4, 2016 at 7:44 PM, Brian Gerst wrote: > Now that NT is filtered by the SYSENTER entry code, it is safe to skip saving > and > restoring flags on task switch. Also remove a leftover reset of flags on > 64-bit > fork. Acked-by: Andy Lutomirski

Re: [PATCH v3 01/11] of: Add bindings of hw throttle for Tegra soctherm

2016-05-04 Thread Wei Ni
On 2016年05月04日 21:35, Rob Herring wrote: > On Tue, May 03, 2016 at 06:13:20PM +0800, Wei Ni wrote: >> Add HW throttle configuration sub-node for soctherm, which >> is used to describe the throttle event, and worked as a >> cooling device. The "hot" type trip in thermal zone can >> be bound to thi

[v10, 7/7] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0

2016-05-04 Thread Yangbo Lu
The eSDHC of T4240-R1.0-R2.0 has incorrect vender version and spec version. Acturally the right version numbers should be VVN=0x13 and SVN = 0x1. This patch adds the GUTS driver support for eSDHC driver to get SVR(System version register). And fix host version to avoid that incorrect version number

[v10, 4/7] dt: move guts devicetree doc out of powerpc directory

2016-05-04 Thread Yangbo Lu
Move guts devicetree doc to Documentation/devicetree/bindings/soc/fsl/ since it's used by not only PowerPC but also ARM. And add a specification for 'little-endian' property. Signed-off-by: Yangbo Lu Acked-by: Scott Wood Acked-by: Rob Herring --- Changes for v4: - Added this patch Chang

[v10, 6/7] MAINTAINERS: add entry for Freescale SoC drivers

2016-05-04 Thread Yangbo Lu
Add maintainer entry for Freescale SoC drivers including the QE library and the GUTS driver now. Also add maintainer for QE library. Signed-off-by: Yangbo Lu Acked-by: Scott Wood Acked-by: Qiang Zhao --- Changes for v8: - Added this patch Changes for v9: - Added linux-arm mail l

[v10, 1/7] Documentation: DT: update Freescale DCFG compatible

2016-05-04 Thread Yangbo Lu
Update Freescale DCFG compatible with 'fsl,-dcfg' instead of 'fsl,ls1021a-dcfg' to include more chips such as ls1021a, ls1043a, and ls2080a. Signed-off-by: Yangbo Lu --- Changes for v8: - Added this patch Changes for v9: - Added a list for the possible compatibles Changes for v10:

[v10, 2/7] ARM64: dts: ls2080a: add device configuration node

2016-05-04 Thread Yangbo Lu
Add the dts node for device configuration unit that provides general purpose configuration and status for the device. Signed-off-by: Yangbo Lu Acked-by: Scott Wood --- Changes for v5: - Added this patch Changes for v6: - None Changes for v7: - None Changes for v8:

[v10, 5/7] powerpc/fsl: move mpc85xx.h to include/linux/fsl

2016-05-04 Thread Yangbo Lu
Move mpc85xx.h to include/linux/fsl and rename it to svr.h as a common header file. It has been used for mpc85xx and it will be used for ARM-based SoC as well. Signed-off-by: Yangbo Lu Acked-by: Wolfram Sang Acked-by: Stephen Boyd Acked-by: Scott Wood Acked-by: Joerg Roedel --- Changes for v2

[v10, 3/7] soc: fsl: add GUTS driver for QorIQ platforms

2016-05-04 Thread Yangbo Lu
The global utilities block controls power management, I/O device enabling, power-onreset(POR) configuration monitoring, alternate function selection for multiplexed signals,and clock control. This patch adds GUTS driver to manage and access global utilities block. Signed-off-by: Yangbo Lu Acked-

[v10, 0/7] Fix eSDHC host version register bug

2016-05-04 Thread Yangbo Lu
This patchset is used to fix a host version register bug in the T4240-R1.0-R2.0 eSDHC controller. To get the SoC version and revision, it's needed to add the GUTS driver to access the global utilities registers. So, the first four patches are to add the GUTS driver. The following patches except th

RE: [v9, 6/7] MAINTAINERS: add entry for Freescale SoC driver

2016-05-04 Thread Yangbo Lu
Thanks a lot, Scott and Qiang. Will change 'DRIVER' to 'DRIVERS' and update the patchset with your acts. Best regards, Yangbo Lu > -Original Message- > From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc- > ow...@vger.kernel.org] On Behalf Of Scott Wood > Sent: Thursday, May 05, 2016

Re: [PATCH] ext4 crypto: migrate into vfs's crypto engine

2016-05-04 Thread Theodore Ts'o
On Mon, Apr 25, 2016 at 05:15:36PM -0700, Jaegeuk Kim wrote: > This patch removes the most parts of internal crypto codes. > And then, it modifies and adds some ext4-specific crypt codes to use the > generic > facility. > > Signed-off-by: Jaegeuk Kim So I just tried this patch, and one big prob

Re: [PATCH] usb: dwc3: usb/dwc3: fake dissconnect event when turn off pullup

2016-05-04 Thread John Youn
On 5/4/2016 3:42 AM, Felipe Balbi wrote: > > Hi, > > John Youn writes: >>> John Youn writes: > "Du, Changbin" writes: >> Hi, Balbi, >> >> The step to reproduce this issue is: >> 1) connect device to a host and wait its enumeration. >> 2) trigger software disconnect by c

Re: better patch for linux/bitops.h

2016-05-04 Thread H. Peter Anvin
On May 4, 2016 7:54:12 PM PDT, Jeffrey Walton wrote: >On Wed, May 4, 2016 at 10:41 PM, H. Peter Anvin wrote: >> On May 4, 2016 6:35:44 PM PDT, Jeffrey Walton >wrote: >>>On Wed, May 4, 2016 at 5:52 PM, John Denker wrote: On 05/04/2016 02:42 PM, I wrote: > I find it very odd that th

Re: [PATCH 1/1] drivers: acpi: add CPU id to cooling device type of processor driver

2016-05-04 Thread Eduardo Valentin
On Thu, May 05, 2016 at 12:00:57AM +0200, Rafael J. Wysocki wrote: > On Wednesday, May 04, 2016 02:54:32 PM Srinivas Pandruvada wrote: > > On Wed, 2016-05-04 at 23:49 +0200, Rafael J. Wysocki wrote: > > > On Tue, May 3, 2016 at 7:04 AM, Eduardo Valentin > > > wrote: > > > > > > > > Currently, in

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-04 Thread Guenter Roeck
On Tue, Feb 09, 2016 at 07:01:20PM +0200, Heikki Krogerus wrote: > Hi, > > The OS, or more precisely the user space, needs to be able to control > a few things regarding USB Type-C ports. The first thing that must be > allowed to be controlled is the data role. USB Type-C ports will > select the d

RE: [v9, 6/7] MAINTAINERS: add entry for Freescale SoC driver

2016-05-04 Thread Qiang Zhao
On Wed, 2016-05-04 at 11:24 +0800, Yangbo Lu wrote: > -Original Message- > From: Yangbo Lu [mailto:yangbo...@nxp.com] > Sent: Wednesday, May 04, 2016 11:25 AM > To: linux-...@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > devicet...@vger.kernel.org; linux-arm-ker...@lists.infradead.org;

Re: [PATCH] Fix CONFIG_PM_OPP without CONFIG_OF build failure

2016-05-04 Thread Viresh Kumar
On 03-05-16, 14:14, Eric Engestrom wrote: > diff --git a/drivers/base/power/opp/cpu.c b/drivers/base/power/opp/cpu.c > index ba2bdbd..8aae170 100644 > --- a/drivers/base/power/opp/cpu.c > +++ b/drivers/base/power/opp/cpu.c > @@ -119,6 +119,7 @@ void dev_pm_opp_free_cpufreq_table(struct device *dev,

Re: [f2fs-dev] [PATCH 11/11] f2fs: retry to truncate blocks in -ENOMEM case

2016-05-04 Thread Jaegeuk Kim
Hi, On Thu, May 05, 2016 at 10:00:15AM +0800, Hou Pengyang wrote: > On 2016/5/4 2:21, Jaegeuk Kim wrote: > >This patch modifies to retry truncating node blocks in -ENOMEM case. > > > Hi, Kim. in this patch, I think there is NO chance to retry for -ENOMEM. > > This is because if exist_written_data

Re: better patch for linux/bitops.h

2016-05-04 Thread Jeffrey Walton
On Wed, May 4, 2016 at 10:41 PM, H. Peter Anvin wrote: > On May 4, 2016 6:35:44 PM PDT, Jeffrey Walton wrote: >>On Wed, May 4, 2016 at 5:52 PM, John Denker wrote: >>> On 05/04/2016 02:42 PM, I wrote: >>> I find it very odd that the other seven functions were not upgraded. I suggest the

Re: [alsa-devel] [PATCH 1/7] ASoC: mediatek: Refine mt8173 driver and change config option

2016-05-04 Thread Garlic Tseng
On Wed, 2016-05-04 at 17:43 +0100, Mark Brown wrote: > On Fri, Apr 29, 2016 at 09:00:42PM +0800, Garlic Tseng wrote: > > > .../{mtk-afe-pcm.c => mt8173/mt8173-afe-pcm.c} | 488 > > ++--- > > So there's going to be no code sharing at all between this and any other > Mediatek c

Re: sched: Where to queue RT tasks on prio drop

2016-05-04 Thread Wanpeng Li
2016-05-05 4:51 GMT+08:00 Grochowalski, Matthew (GE Aviation, US) : > It looks like commit 81a44c5 (sched: Queue RT tasks to head when prio drop) > made the behavior on dropping (userspace view) more sensible but I believe > the behavior is still incorrect according to POSIX. > > POSIX (in volume

[PATCH 3/3] x86-32: Remove asmlinkage_protect

2016-05-04 Thread Brian Gerst
Now that syscalls are called from C code, which copies the args to new stack slots instead of overlaying pt_regs, asmlinkage_protect is no longer needed. Signed-off-by: Brian Gerst --- arch/x86/include/asm/linkage.h | 34 -- 1 file changed, 34 deletions(-) diff -

[PATCH 1/3] x86: Don't save/restore EFLAGS on task switch

2016-05-04 Thread Brian Gerst
Now that NT is filtered by the SYSENTER entry code, it is safe to skip saving and restoring flags on task switch. Also remove a leftover reset of flags on 64-bit fork. Signed-off-by: Brian Gerst --- arch/x86/entry/entry_32.S| 4 arch/x86/entry/entry_64.S| 3 --- arch/x86/i

[PATCH 2/3] x86-32: Remove GET_THREAD_INFO from entry code

2016-05-04 Thread Brian Gerst
The entry code used to cache the thread_info pointer in the EBP register, but all the code that used it has been moved to C. Remove the unused code to get the pointer. Signed-off-by: Brian Gerst --- arch/x86/entry/entry_32.S | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/x86/entry/e

[PATCH 0/3] Misc x86 cleanups

2016-05-04 Thread Brian Gerst
Here are a few cleanups from the recent x86 entry code rewrite. [PATCH 1/3] x86: Don't save/restore EFLAGS on task switch [PATCH 2/3] x86-32: Remove GET_THREAD_INFO from entry code [PATCH 3/3] x86-32: Remove asmlinkage_protect arch/x86/entry/entry_32.S| 7 --- arch/x86/entry/entry_6

Re: better patch for linux/bitops.h

2016-05-04 Thread H. Peter Anvin
On May 4, 2016 6:35:44 PM PDT, Jeffrey Walton wrote: >On Wed, May 4, 2016 at 5:52 PM, John Denker wrote: >> On 05/04/2016 02:42 PM, I wrote: >> >>> I find it very odd that the other seven functions were not >>> upgraded. I suggest the attached fix-others.diff would make >>> things more consistent

Re: [PATCH] kdump: Fix gdb macros work work with newer and 64-bit kernels

2016-05-04 Thread Baoquan He
On 04/27/16 at 07:21am, Corey Minyard wrote: > Any comments on this? If no one else cares I'd be willing to take over > maintenance of this. Vivek is busy with some other issues. He asked Dave and me to test and review this patch. Will check this recently. Thanks Baoquan > > -corey > > On 02/

Re: [PATCH 24/25] arm64:ilp32: add vdso-ilp32 and use for signal return

2016-05-04 Thread Zhangjian (Bamvor)
Hi, On 2016/5/5 7:23, Andrew Pinski wrote: On Wed, May 4, 2016 at 2:49 PM, Yury Norov wrote: On Tue, May 03, 2016 at 08:41:25PM +0800, Zhangjian (Bamvor) wrote: Hi, all After apply this patch with my small testcase, the vsyscall of gettimeofday in ilp32 works in both big endian and small end

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-04 Thread Dave Chinner
On Wed, May 04, 2016 at 06:44:14PM -0700, Andy Lutomirski wrote: > On Wed, May 4, 2016 at 5:23 PM, Dave Chinner wrote: > > On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal Harouni wrote: > >> This is version 2 of the VFS:userns support portable root filesystems > >> RFC. Changes since version 1: >

Re: [PATCH v2 3/6] mmc: core: implement enhanced strobe support

2016-05-04 Thread Shawn Lin
On 2016/5/4 20:02, Ulf Hansson wrote: On 29 April 2016 at 04:47, Shawn Lin wrote: Controllers use data strobe line to latch data from devices under hs400 mode, but not for cmd line. So since emmc 5.1, JEDEC introduces enhanced strobe mode for latching cmd response from emmc devices to host cont

RE: [PATCH 01/15] ACPICA: Linuxize: reduce divergences for 20160422 release

2016-05-04 Thread Zheng, Lv
Hi, > From: linux-acpi-ow...@vger.kernel.org [mailto:linux-acpi- > ow...@vger.kernel.org] On Behalf Of Rafael J. Wysocki > Subject: Re: [PATCH 01/15] ACPICA: Linuxize: reduce divergences for 20160422 > release > > On Wednesday, May 04, 2016 11:37:51 PM Rafael J. Wysocki wrote: > > On Wednesday, M

RE: [PATCH 01/15] ACPICA: Linuxize: reduce divergences for 20160422 release

2016-05-04 Thread Zheng, Lv
Hi, > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Subject: Re: [PATCH 01/15] ACPICA: Linuxize: reduce divergences for 20160422 > release > > On Wednesday, May 04, 2016 01:48:07 PM Lv Zheng wrote: > > The patch reduces source code differences between the Linux kernel and the > > ACPICA u

Re: [f2fs-dev] [PATCH 11/11] f2fs: retry to truncate blocks in -ENOMEM case

2016-05-04 Thread Hou Pengyang
On 2016/5/4 2:21, Jaegeuk Kim wrote: This patch modifies to retry truncating node blocks in -ENOMEM case. Hi, Kim. in this patch, I think there is NO chance to retry for -ENOMEM. This is because if exist_written_data returns false, we can confirm that this inode has been released from orphan r

Re: [PATCH v5 0/2] ext4: Improve parallel I/O performance on NVDIMM

2016-05-04 Thread Dave Chinner
On Sun, May 01, 2016 at 10:28:54AM -0700, Christoph Hellwig wrote: > On Fri, Apr 29, 2016 at 12:38:20PM -0400, Waiman Long wrote: > > From my testing, it looked like that parallel overwrites to the same file in > > an ext4 filesystem on DAX can happen in parallel even if their range > > overlaps. I

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-04 Thread Andy Lutomirski
On Wed, May 4, 2016 at 5:23 PM, Dave Chinner wrote: > On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal Harouni wrote: >> This is version 2 of the VFS:userns support portable root filesystems >> RFC. Changes since version 1: >> >> * Update documentation and remove some ambiguity about the feature.

[PATCH] workqueue: fix rebind bound workers warning

2016-05-04 Thread Wanpeng Li
From: Wanpeng Li [ cut here ] WARNING: CPU: 0 PID: 16 at kernel/workqueue.c:4559 rebind_workers+0x1c0/0x1d0 Modules linked in: CPU: 0 PID: 16 Comm: cpuhp/0 Not tainted 4.6.0-rc4+ #31 Hardware name: IBM IBM System x3550 M4 Server -[7914IUW]-/00Y8603, BIOS -[D7E128FUS-1.40]

Re: [PATCH v2 03/15] MIPS: PCI: Compatibility with ARM-like PCI host drivers

2016-05-04 Thread Florian Fainelli
Hi Paul, On 04/04/16 03:09, Paul Burton wrote: > Hi Florian, > > Just an FYI, the pcie-xilinx driver I wrote this for has since been > converted away from the ARM-like pci_common_init_dev & struct hw_pci to > use only functions provided by the core PCI subsystem[1]. As a result > I've stopped usi

Re: better patch for linux/bitops.h

2016-05-04 Thread Jeffrey Walton
On Wed, May 4, 2016 at 5:52 PM, John Denker wrote: > On 05/04/2016 02:42 PM, I wrote: > >> I find it very odd that the other seven functions were not >> upgraded. I suggest the attached fix-others.diff would make >> things more consistent. > > Here's a replacement patch. > ... +1, commit it. Its

Re: linux/bitops.h

2016-05-04 Thread H. Peter Anvin
On May 4, 2016 6:20:32 PM PDT, Jeffrey Walton wrote: >On Wed, May 4, 2016 at 7:06 PM, Andi Kleen wrote: >> On Wed, May 04, 2016 at 03:06:04PM -0700, John Denker wrote: >>> On 05/04/2016 02:56 PM, H. Peter Anvin wrote: >>> >> Beware that shifting by an amount >= the number of bits in the >>> >> wo

Re: linux/bitops.h

2016-05-04 Thread Jeffrey Walton
On Wed, May 4, 2016 at 7:06 PM, Andi Kleen wrote: > On Wed, May 04, 2016 at 03:06:04PM -0700, John Denker wrote: >> On 05/04/2016 02:56 PM, H. Peter Anvin wrote: >> >> Beware that shifting by an amount >= the number of bits in the >> >> word remains Undefined Behavior. >> >> > This construct has b

Re: [BUG] vfio device assignment regression with THP ref counting redesign

2016-05-04 Thread Alex Williamson
On Mon, 2 May 2016 20:03:07 +0200 Andrea Arcangeli wrote: > On Mon, May 02, 2016 at 07:00:42PM +0300, Kirill A. Shutemov wrote: > > Agreed. I just didn't see the two-refcounts solution. > > If you didn't do it already or if you're busy with something else, > I can change the patch to the two r

Re: [PATCH 1/4] random: replace non-blocking pool with a Chacha20-based CRNG

2016-05-04 Thread Theodore Ts'o
On Wed, May 04, 2016 at 10:28:24PM +0200, Stephan Mueller wrote: > > +out: > > + spin_unlock_irqrestore(&primary_crng.lock, flags); > > + return ret; > > Where did you add the memzero_explict of tmp? Oops, sorry, somehow that change got lost in the patch updates. Fixed now.

Re: [PATCH] random: properly align get_random_int_hash

2016-05-04 Thread Theodore Ts'o
On Thu, Mar 31, 2016 at 08:11:25PM -0500, Eric Biggers wrote: > get_random_long() reads from the get_random_int_hash array using an > unsigned long pointer. For this code to be guaranteed correct on all > architectures, the array must be aligned to an unsigned long boundary. > > Signed-off-by: Er

  1   2   3   4   5   6   7   8   9   10   >