Re: [PATCH RESEND] video: fbdev: s3c-fb: Constify platform_device_id

2015-08-20 Thread Tomi Valkeinen
On 21/08/15 04:46, Krzysztof Kozlowski wrote: > On 20.08.2015 18:16, Tomi Valkeinen wrote: >> >> >> On 24/07/15 09:12, Krzysztof Kozlowski wrote: >>> 2015-07-08 13:34 GMT+09:00 Jingoo Han : On 2015. 7. 7., at PM 10:00, Krzysztof Kozlowski wrote: > > The

CONFIG_OF vs DMA_OF

2015-08-20 Thread Kuninori Morimoto
Hi Vinod ${LINUX}/drivers/dma/of-dma.c will be compiled if .config has DMA_OF obj-$(CONFIG_DMA_OF) += of-dma.o But, ${LINUX}/include/linux/of_dma.h is based on CONFIG_OF #ifdef CONFIG_OF extern int of_dma_controller_register(struct device_node *np, ...

[PATCH v4 5/5] power: wm831x_power: Support USB charger current limit management

2015-08-20 Thread Baolin Wang
Integrate with the newly added USB charger interface to limit the current we draw from the USB input based on the input device configuration identified by the USB stack, allowing us to charge more quickly from high current inputs without drawing more current than specified from others.

[PATCH v4 3/5] gadget: Support for the usb charger framework

2015-08-20 Thread Baolin Wang
For supporting the usb charger, it adds the usb_charger_init() and usb_charger_exit() functions for usb charger initialization and exit. Introduce a callback 'get_charger_type' which will implemented by user for usb gadget operations to get the usb charger type. Signed-off-by: Baolin Wang ---

[PATCH v4 4/5] gadget: Integrate with the usb gadget supporting for usb charger

2015-08-20 Thread Baolin Wang
When the usb gadget supporting for usb charger is ready, the usb charger should get the type by the 'get_charger_type' callback which is implemented by the usb gadget operations, and get the usb charger pointer from struct 'usb_gadget'. Signed-off-by: Baolin Wang ---

[ANNOUNCE] bcachefs - a general purpose COW filesystem

2015-08-20 Thread Kent Overstreet
For those who haven't kept up with bcache, the bcache codebase has been evolving/metastasizing into a full blown, general purpose posix filesystem - a modern COW filesystem with checksumming, compression, multiple devices, caching, and eventually snapshots and all kinds of other nifty features.

Re: [PATCH v3 02/11] lsm: /proc/$PID/attr/label_map file and getprocattr_seq hook

2015-08-20 Thread Paul Moore
On Fri, Jul 24, 2015 at 6:04 AM, Lukasz Pawelczyk wrote: > This commit adds a new proc attribute, label_map that is required by an > upcoming Smack namespace. In general it can be used to hold a map of > labels, e.g. to be used in namespaces. > > Due to the nature of this file, the standard

Re: [PATCH v3] pinctrl: mediatek: Fix multiple registration issue.

2015-08-20 Thread Axel Lin
2015-08-21 12:46 GMT+08:00 Hongzhou Yang : > Since our common driver need support main chip and PMU > at the same time, that means it will register two > pinctrl device, and the pinctrl_desc structure should > be used two times. > > But pinctrl_desc use global static definition, then > the latest

Re: [PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-08-20 Thread Sascha Hauer
On Thu, Aug 20, 2015 at 03:20:52PM -0700, Eduardo Valentin wrote: > On Thu, Aug 20, 2015 at 10:06:01AM +0200, Sascha Hauer wrote: > > + > > + /* > > +* These calibration values should finally be provided by the > > +* firmware or fuses. For now use default values. > > +*/ > > +

Re: [PATCH v3 01/11] user_ns: 3 new LSM hooks for user namespace operations

2015-08-20 Thread Paul Moore
On Mon, Aug 3, 2015 at 9:38 PM, Kees Cook wrote: > On Mon, Aug 3, 2015 at 4:34 AM, Lukasz Pawelczyk > wrote: >> On pią, 2015-07-31 at 22:48 -0500, Serge E. Hallyn wrote: >>> On Fri, Jul 31, 2015 at 11:28:56AM +0200, Lukasz Pawelczyk wrote: >>> > On czw, 2015-07-30 at 16:30 -0500, Serge E. Hallyn

[PATCH] x86/traps: Weaken context tracking entry assertions

2015-08-20 Thread Andy Lutomirski
We were asserting that we were all the way in CONTEXT_KERNEL when exception handlers were called. While having this be true is, I think, a nice goal (or maybe a variant in which we assert that we're in CONTEXT_KERNEL or some new IRQ context), we're not quite there. In particular, if an IRQ

Re: [PATCH] ARM: Set proper TEXT_OFFSET for IPQ806x

2015-08-20 Thread Varadarajan Narayanan
On Thu, Aug 20, 2015 at 08:54:55PM +0100, Russell King - ARM Linux wrote: > On Thu, Aug 20, 2015 at 12:20:10PM -0500, Andy Gross wrote: > > On Thu, Aug 20, 2015 at 02:00:06PM +0100, Russell King - ARM Linux wrote: > > > On Thu, Aug 20, 2015 at 05:45:41PM +0530, Varadarajan Narayanan wrote: > > > >

[PATCH 3/9] KVM: x86: add pcommit support

2015-08-20 Thread Xiao Guangrong
Pass PCOMMIT CPU feature to guest to enable PCOMMIT instruction Currently we do not catch pcommit instruction for L1 guest and allow L1 to catch this instruction for L2 The specification locates at: https://software.intel.com/sites/default/files/managed/0d/53/319433-022.pdf Signed-off-by: Xiao

[PATCH 5/9] KVM: VMX: simplify rdtscp handling in vmx_cpuid_update()

2015-08-20 Thread Xiao Guangrong
if vmx_rdtscp_supported() is true SECONDARY_EXEC_RDTSCP must have already been set in current vmcs by vmx_secondary_exec_control() Signed-off-by: Xiao Guangrong --- arch/x86/kvm/vmx.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/arch/x86/kvm/vmx.c

[PATCH 4/9] KVM: VMX: drop rdtscp_enabled check in prepare_vmcs02()

2015-08-20 Thread Xiao Guangrong
SECONDARY_EXEC_RDTSCP set for L2 guest comes from vmcs12 Signed-off-by: Xiao Guangrong --- arch/x86/kvm/vmx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index b526c61..f7a721e 100644 --- a/arch/x86/kvm/vmx.c +++

[PATCH 6/9] KVM: VMX: simplify invpcid handling in vmx_cpuid_update()

2015-08-20 Thread Xiao Guangrong
If vmx_invpcid_supported() is true, second execution control filed must be supported and SECONDARY_EXEC_ENABLE_INVPCID must have already been set in current vmcs by vmx_secondary_exec_control() If vmx_invpcid_supported() is false, no need to clear SECONDARY_EXEC_ENABLE_INVPCID Signed-off-by:

[PATCH 8/9] KVM: VMX: introduce set_clear_2nd_exec_ctrl()

2015-08-20 Thread Xiao Guangrong
It's used to clean up the code Signed-off-by: Xiao Guangrong --- arch/x86/kvm/vmx.c | 42 +++--- 1 file changed, 19 insertions(+), 23 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 4f238b7..58f7b89 100644 --- a/arch/x86/kvm/vmx.c +++

[PATCH 7/9] KVM: VMX: unify SECONDARY_VM_EXEC_CONTROL update

2015-08-20 Thread Xiao Guangrong
Unify the update in vmx_cpuid_update() Signed-off-by: Xiao Guangrong --- arch/x86/kvm/vmx.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 0d68140..4f238b7 100644 --- a/arch/x86/kvm/vmx.c +++

[PATCH 9/9] KVM: VMX: drop rdtscp_enabled field

2015-08-20 Thread Xiao Guangrong
Check cpuid bit instead of it Signed-off-by: Xiao Guangrong --- arch/x86/kvm/cpuid.h | 8 arch/x86/kvm/vmx.c | 19 ++- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/arch/x86/kvm/cpuid.h b/arch/x86/kvm/cpuid.h index aed7bfe..d434ee9 100644 ---

[PATCH 0/9] KVM: x86: enable cflushopt/clwb/pcommit and simplify code

2015-08-20 Thread Xiao Guangrong
This pachset enables clfushopt, clwb and pcommit instructions for guest which are used by NVDIMM. The specification locates at: https://software.intel.com/sites/default/files/managed/0d/53/319433-022.pdf Patch 1 fixes a uninitialized value used in KVM MMU code, patch 2 and patch 3 enable these

[PATCH 1/9] KVM: MMU: fix use uninitialized value

2015-08-20 Thread Xiao Guangrong
GCC (gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)) complains of this warning: arch/x86/kvm//mmu.c:3332:9: warning: ‘leaf’ may be used uninitialized in this function [-Wmaybe-uninitialized] while (root >= leaf) { ^ arch/x86/kvm//mmu.c:3304:12: note: ‘leaf’ was declared here

[PATCH 2/9] KVM: x86: allow guest to use cflushopt anc clwb

2015-08-20 Thread Xiao Guangrong
Pass its CPU feature to guest to enable them in guest These are needed by nvdimm drivers The specification locates at: https://software.intel.com/sites/default/files/managed/0d/53/319433-022.pdf Signed-off-by: Xiao Guangrong --- arch/x86/kvm/cpuid.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: RX packet loss on i.MX6Q running 4.2-rc7

2015-08-20 Thread Jon Nettleton
On Fri, Aug 21, 2015 at 12:30 AM, Clemens Gruber wrote: > Hi, > > I am experiencing massive RX packet loss on my i.MX6Q (Chip rev 1.3) on Linux > 4.2-rc7 with a Marvell 88E1510 Gigabit Ethernet PHY connected over RGMII. > I noticed it when doing an UDP benchmark with iperf3. When sending UDP

[PATCH v3] pinctrl: mediatek: Fix multiple registration issue.

2015-08-20 Thread Hongzhou Yang
Since our common driver need support main chip and PMU at the same time, that means it will register two pinctrl device, and the pinctrl_desc structure should be used two times. But pinctrl_desc use global static definition, then the latest registered pinctrl device will overwrite the old one's,

Re: [x86] copy_from{to}_user question

2015-08-20 Thread Borislav Petkov
On Thu, Aug 20, 2015 at 11:22:43AM -0700, H. Peter Anvin wrote: > There is a valid reason to do this, which is that currently > copy_{to,from}_user() effectively bypass SMAP as they don't verify that > the kernel pointer is actually a kernel pointer. Well, we do STAC before we copy but SMAP is

linux-next: build failure after merge of the spi tree

2015-08-20 Thread Stephen Rothwell
transfer timeout") I have used the spi tree from next-20150820 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.

Re: [4.2-rc7][Haswell] NMI soft lockup - try_to_del_timer_sync

2015-08-20 Thread Eric Dumazet
On Thu, 2015-08-20 at 22:43 -0400, Shawn Starr wrote: > Hello folks, > > I was just using KVM and doing some VM work on my laptop when it locked up > system fully, here is the kernel trace below (it repeats after the second > dump) > > Since we're soon 'close' to 4.2 final, maybe someone can

Re: [PATCH v2 0/3] SysFS driver for QEMU fw_cfg device

2015-08-20 Thread Gabriel L. Somlo
On Thu, Aug 20, 2015 at 07:21:48AM +0200, Ard Biesheuvel wrote: > On 19 August 2015 at 22:49, Gabriel L. Somlo wrote: > >> > From: "Gabriel L. Somlo" > >> >> Several different architectures supported by QEMU are set up with a > >> >> "firmware configuration" (fw_cfg) device, used to pass

[PATCH] mm/compaction: correct to flush migrated pages if pageblock skip happens

2015-08-20 Thread Joonsoo Kim
We cache isolate_start_pfn before entering isolate_migratepages(). If pageblock is skipped in isolate_migratepages() due to whatever reason, cc->migrate_pfn could be far from isolate_start_pfn hence flushing pages that were freed happens. For example, following scenario can be possible. - assume

[PATCH] arm64: enable generic idle loop

2015-08-20 Thread Leo Yan
Enable generic idle loop for ARM64, so can support for hlt/nohlt command line options to override default idle loop behavior. Signed-off-by: Leo Yan --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 0f6edb1..c404e74 100644

[RFC V2] fbdev/nvidia:change reverse_order() macro

2015-08-20 Thread yalin wang
This change reverse_order() to swab32(bitrev32()), so that it can have better performance on some platforms. Signed-off-by: yalin wang --- drivers/video/fbdev/nvidia/nv_local.h | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git

[PATCH v5 1/2] efi: export efi_capsule_supported() function symbol

2015-08-20 Thread Kweh, Hock Leong
From: "Kweh, Hock Leong" This patch export efi_capsule_supported() function symbol for capsule kernel module to use. Cc: Matt Fleming Signed-off-by: Kweh, Hock Leong --- drivers/firmware/efi/capsule.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/efi/capsule.c

[PATCH v5 2/2] efi: a misc char interface for user to update efi firmware

2015-08-20 Thread Kweh, Hock Leong
From: "Kweh, Hock Leong" Introducing a kernel module to expose capsule loader interface (misc char device file note) for user to upload capsule binaries. Example method to load the capsule binary: cat firmware.bin > /dev/efi_capsule_loader Cc: Matt Fleming Signed-off-by: Kweh, Hock Leong ---

[PATCH v5 0/2] Enable capsule loader interface for efi firmware

2015-08-20 Thread Kweh, Hock Leong
From: "Kweh, Hock Leong" Dear maintainers & communities, This patchset is created on top of Matt's patchset: 1.)https://lkml.org/lkml/2014/10/7/390 "[PATCH 1/2] efi: Move efi_status_to_err() to efi.h" 2.)https://lkml.org/lkml/2014/10/7/391 "[PATCH 2/2] efi: Capsule update support" It expose a

答复: Re: [PATCH] drbd: Support zeroout device instead of initial full sync

2015-08-20 Thread Nick Wang
Hi Lars, > I still think this does not belong into the kernel at all. > I may not yet have properly explained why. > Thanks for your information. I tried blkdiscard on my test machine, but unfortunately the underlying block device i used doesn't support discard...

Re: [PATCH 3/8] jump_label: introduce DEFINE_STATIC_KEY_{TRUE,FALSE}_ARRAY macros

2015-08-20 Thread Kevin Hao
On Thu, Aug 20, 2015 at 08:31:58PM +0200, Peter Zijlstra wrote: > On Thu, Aug 20, 2015 at 08:14:31PM +0800, Kevin Hao wrote: > > These are used to define a static_key_{true,false} array. > > Yes but why... > > there might have been some clue in the patches you didn't send me, but > since you

[PATCH] Add some typo-words in patch into spelling.txt

2015-08-20 Thread Zhao Lei
I write a small script to show word-pair from all linux spelling-typo commits, and get following result by sort | uniq -c: 181 occured -> occurred 78 transfered -> transferred 67 recieved -> received 65 dependant -> dependent 58 wether -> whether 56 accomodate ->

RE: [PATCH 2/2] soc/fsl: add ftm alarm driver for ls1021a platform

2015-08-20 Thread Wang Dongsheng
Hi Walleij and Russell, I will drop this patch. Thanks for your review. [PATCH v2 1/2] soc/fsl: add freescale dir for SOC specific drivers But the 1/2 of the patches also need, because there has another patch(Freescale FPGA driver) need 1/2 patch. Need I push the 1/2 patch with another

Re: [PATCH 1/8] jump_label: no need to acquire the jump_label_mutex in jump_lable_init()

2015-08-20 Thread Kevin Hao
On Thu, Aug 20, 2015 at 08:29:03PM +0200, Peter Zijlstra wrote: > On Thu, Aug 20, 2015 at 08:14:29PM +0800, Kevin Hao wrote: > > The jump_label_init() run in a very early stage, even before the > > sched_init(). So there is no chance for concurrent access of the > > jump label table. > > It also

Re: [PATCH v2 3/3] media: atmel-isi: add sanity check for supported formats in set_fmt()

2015-08-20 Thread Josh Wu
Hi, Laurent Thanks for the review. On 8/21/2015 2:30 AM, Laurent Pinchart wrote: Hi Josh, Thank you for the patch. On Wednesday 05 August 2015 11:26:29 Josh Wu wrote: After adding the format check in set_fmt(), we don't need any format check in configure_geometry(). So make

[PATCH] t104xd4rdb: add DS26522 nodes to device tree

2015-08-20 Thread Zhao Qiang
DS26522 is used for tdm, configured by SPI bus. Add nodes under spi node to t104xd4rdb.dtsi. Signed-off-by: Zhao Qiang --- Documentation/devicetree/bindings/net/maxim,ds26522.txt | 13 + arch/powerpc/boot/dts/t104xd4rdb.dtsi | 10 ++ 2 files changed, 23

[4.2-rc7][Haswell] NMI soft lockup - try_to_del_timer_sync

2015-08-20 Thread Shawn Starr
Hello folks, I was just using KVM and doing some VM work on my laptop when it locked up system fully, here is the kernel trace below (it repeats after the second dump) Since we're soon 'close' to 4.2 final, maybe someone can check if something regressed? Never saw this in eariler -rcX builds.

€950,000.00 EURO

2015-08-20 Thread Qatar Foundation
Dear Beneficiary, d You have been selected to receive €950,000.00 EURO as charity donations / aid of the Qatar Foundation. Reply back for more information and claims. Yours sincerely, Engineer Saad Al Muhannadi. Reply to:qatarfu...@163.com --

Re: [PATCH v2 3/3] power: wm831x_power: Support USB charger current limit management

2015-08-20 Thread Baolin Wang
On 20 August 2015 at 17:02, David Laight wrote: > From: Baolin Wang >> Sent: 14 August 2015 10:48 >> +/* In miliamps */ > > Spelling police: "milliamps" > Hi David, I'll correct it in next patch series. Thanks for your comments. >> +static unsigned int wm831x_usb_limits[] = { >> + 0, >> +

[PATCH v3] rtc/ds3232: fix ds3232 get a WARNING trace in resume function

2015-08-20 Thread Dongsheng Wang
From: Wang Dongsheng If ds3232 work on some platform that is not implementation irq_set_wake, ds3232 will get a WARNING trace in resume. So fix ds3232->suspended state to false when irq_set_irq_wake return error. Signed-off-by: Wang Dongsheng --- *v3* - Remove kernel trace in commit message. -

Re: [PATCH v2] ARM: dts: UniPhier: fix PPI interrupt CPU mask of timer nodes

2015-08-20 Thread Olof Johansson
On Wed, Aug 19, 2015 at 02:49:26PM +0900, Masahiro Yamada wrote: > This SoC is integrated with 4 Cortex-A9 cores. The GIC bindings > document says that the bits[15:8] of the 3rd cell of the interrupts > property represents PPI interrupt CPU mask. Because the timer > interrupts are wired to all

Re: [PATCH] ARM: multi_v7_defconfig: Enable CROS_EC_PROTO for ChromeOS EC mfd driver

2015-08-20 Thread Olof Johansson
On Wed, Aug 19, 2015 at 12:28:37AM +0200, Javier Martinez Canillas wrote: > Hello Olof, > > On 08/18/2015 11:46 PM, Olof Johansson wrote: > > On Tue, Aug 18, 2015 at 09:10:27AM +0200, Javier Martinez Canillas wrote: > >> The ChromeOS mfd driver (MFD_CROS_EC) select the CROS_EC_PROTO config > >>

Re: [PATCH V2] mm:memory hot-add: memory can not been added to movable zone

2015-08-20 Thread Changsheng Liu
On 08/20/201515:41, Vlastimil Babka wrote: On 08/20/2015 09:28 AM, Changsheng Liu wrote: From: Changsheng Liu When memory is hot added, should_add_memory_movable() always returns 0 because the movable zone is empty, so the memory that was hot added will add to the normal zone even if we want

RE: [PATCH v2] rtc/ds3232: fix ds3232 get a WARNING trace in resume function

2015-08-20 Thread Wang Dongsheng
Thanks, I will push v3 to fix them. Regards, -Dongsheng > -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@free-electrons.com] > Sent: Friday, August 21, 2015 7:22 AM > To: Wang Dongsheng-B40534; Krzysztof Kozlowski > Cc: a.zu...@towertech.it;

Re: [PATCH RESEND] video: fbdev: s3c-fb: Constify platform_device_id

2015-08-20 Thread Krzysztof Kozlowski
On 20.08.2015 18:16, Tomi Valkeinen wrote: > > > On 24/07/15 09:12, Krzysztof Kozlowski wrote: >> 2015-07-08 13:34 GMT+09:00 Jingoo Han : >>> >>> On 2015. 7. 7., at PM 10:00, Krzysztof Kozlowski >>> wrote: The platform_device_id is not modified by the driver and core uses it as

Re: [PATCH] [PATCH v5] mtd:spi-nor: Add Altera Quad SPI Driver

2015-08-20 Thread Viet Nga Dao
On Fri, Aug 21, 2015 at 4:37 AM, Brian Norris wrote: > On Thu, Aug 20, 2015 at 05:18:14PM +0800, Viet Nga Dao wrote: >> You might misunderstand the hardware problem i mention here. This soft >> IP controller is able to provide the ID for our Altera EPCS/EPCQ flash >> chips, which are non JEDEC

Re: [PATCH 1/5] drivers: soc: add support for exynos SROM driver

2015-08-20 Thread Krzysztof Kozlowski
On 20.08.2015 20:34, Pankaj Dubey wrote: > Hi Krzysztof, > > Sorry for delay in reply, as I got busy in some other official > assignments and could not take this series further at that time. > > On Wednesday 27 May 2015 05:22 PM, Krzysztof Kozlowski wrote: >> W dniu 29.04.2015 o 17:38, Pankaj

Re: [PATCH] rtc: s5m: fix to update ctrl register

2015-08-20 Thread Krzysztof Kozlowski
On 21.08.2015 10:00, Joonyoung Shim wrote: > On 08/21/2015 09:44 AM, Krzysztof Kozlowski wrote: >> On 21.08.2015 08:15, Alexandre Belloni wrote: >>> Hi, >>> >>> On 13/08/2015 at 17:49:24 +0900, Joonyoung Shim wrote : According to datasheet, the S2MPS13X and S2MPS14X should update write

€950,000.00 EURO

2015-08-20 Thread Qatar Foundation
Dear Beneficiary, d You have been selected to receive €950,000.00 EURO as charity donations / aid of the Qatar Foundation. Reply back for more information and claims. Yours sincerely, Engineer Saad Al Muhannadi. Reply to:qatarfu...@163.com --

Re: [RESEND PATCH] dmaengine: Add Xilinx AXI Direct Memory Access Engine driver support

2015-08-20 Thread Moritz Fischer
Hi, your MUA produces funny messages somehow ... The driver did not probe for me in it's current form as the bindings were missing interrupt parents for the interrupts... On Thu, Aug 20, 2015 at 12:01 AM, Appana Durga Kedareswara Rao wrote: > Hi , > >> -Original Message- >> From:

Re: [PATCH v3] usb: dwc2: reset dwc2 core before dwc2_get_hwparams()

2015-08-20 Thread John Youn
On 8/19/2015 5:22 AM, Yunzhi Li wrote: > We initiate dwc2 usb controller in BIOS, dwc2_core_reset() should > be called before dwc2_get_hwparams() to reset core registers to > default value. Without this the FIFO setting might be incorrect > because calculating FIFO size need power-on value of >

Re: [PATCH] rtc: s5m: fix to update ctrl register

2015-08-20 Thread Joonyoung Shim
On 08/21/2015 09:44 AM, Krzysztof Kozlowski wrote: > On 21.08.2015 08:15, Alexandre Belloni wrote: >> Hi, >> >> On 13/08/2015 at 17:49:24 +0900, Joonyoung Shim wrote : >>> According to datasheet, the S2MPS13X and S2MPS14X should update write >>> buffer via setting WUDR bit to high after ctrl

Re: [PATCH] ASoC: Samsung: Remove redundant arndale_audio_remove

2015-08-20 Thread Krzysztof Kozlowski
On 21.08.2015 01:41, Vaishali Thakkar wrote: > There is no use of snd_soc_unregister_card in remove function > as devm_snd_soc_register_card in probe function automatically > handles it. So, remove use of snd_soc_unregister_card and with > this change remove arndale_audio_remove as it is now

Re: [PATCHv4 net-next 10/10] openvswitch: Allow attaching helpers to ct action

2015-08-20 Thread Joe Stringer
On 19 August 2015 at 15:57, Pravin Shelar wrote: > On Tue, Aug 18, 2015 at 4:39 PM, Joe Stringer wrote: >> Add support for using conntrack helpers to assist protocol detection. >> The new OVS_CT_ATTR_HELPER attribute of the ct action specifies a helper >> to be used for this connection. >> >>

Re: linux-next conflict resolution branch for btrfs

2015-08-20 Thread Stephen Rothwell
Hi Chris, On Thu, 20 Aug 2015 13:39:18 -0400 Chris Mason wrote: > > There are a few conflicts for btrfs in linux-next this time. They are > small, but I pushed out the merge commit I'm using here: > > git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git next-merge Thanks for

Re: [PATCH] rtc: s5m: fix to update ctrl register

2015-08-20 Thread Krzysztof Kozlowski
On 21.08.2015 08:15, Alexandre Belloni wrote: > Hi, > > On 13/08/2015 at 17:49:24 +0900, Joonyoung Shim wrote : >> According to datasheet, the S2MPS13X and S2MPS14X should update write >> buffer via setting WUDR bit to high after ctrl register is updated. >> >> If not, ALARM interrupt of rtc-s5m

Re: [PATCH] joystick/zhenhua: remove zhenhua_bitreverse()

2015-08-20 Thread Dmitry Torokhov
On Tue, Aug 11, 2015 at 01:49:34PM +0800, yalin wang wrote: > This change remove zhenhua_bitreverse() function, use generic > bitrev8() function instead. > > Signed-off-by: yalin wang Applied, thank you. > --- > drivers/input/joystick/zhenhua.c | 13 ++--- > 1 file changed, 2

linux-next: build failure after merge of the btrfs tree

2015-08-20 Thread Stephen Rothwell
'bi_css' bio->bi_css = first_bio->bi_css; ^ Caused by commit da2f0f74cf7d ("Btrfs: add support for blkio controllers") This build does ont have CONFIG_BLK_CGROUP set. I have used the btrfs tree from next-20150820 for today. -- Cheers, Steph

Re: [PATCHv4 net-next 06/10] openvswitch: Allow matching on conntrack mark

2015-08-20 Thread Joe Stringer
On 19 August 2015 at 13:47, Pravin Shelar wrote: > On Tue, Aug 18, 2015 at 4:39 PM, Joe Stringer wrote: >> Allow matching and setting the conntrack mark field. As with conntrack >> state and zone, these are populated when the CT action is executed, >> and are made available for matching via

Re: [PATCHv4 net-next 09/10] openvswitch: Allow matching on conntrack label

2015-08-20 Thread Joe Stringer
On 20 August 2015 at 14:01, Pravin Shelar wrote: > On Thu, Aug 20, 2015 at 12:13 PM, Joe Stringer wrote: >> On 20 August 2015 at 08:45, Pravin Shelar wrote: >>> On Wed, Aug 19, 2015 at 4:04 PM, Joe Stringer >>> wrote: Thanks for the review, On 19 August 2015 at 14:24, Pravin

Re: [PATCH 1/4] [media] staging: omap4iss: get entity ID using media_entity_id()

2015-08-20 Thread Javier Martinez Canillas
Hello Laurent, On 08/21/2015 02:15 AM, Laurent Pinchart wrote: > Hi Javier, > > On Friday 21 August 2015 02:14:05 Javier Martinez Canillas wrote: >> On 08/20/2015 08:37 PM, Laurent Pinchart wrote: >>> On Wednesday 19 August 2015 17:35:19 Javier Martinez Canillas wrote: The struct

Re: [PATCH 1/4] [media] staging: omap4iss: get entity ID using media_entity_id()

2015-08-20 Thread Laurent Pinchart
Hi Javier, On Friday 21 August 2015 02:14:05 Javier Martinez Canillas wrote: > On 08/20/2015 08:37 PM, Laurent Pinchart wrote: > > On Wednesday 19 August 2015 17:35:19 Javier Martinez Canillas wrote: > >> The struct media_entity does not have an .id field anymore since > >> now the entity ID is

Re: [PATCH 1/4] [media] staging: omap4iss: get entity ID using media_entity_id()

2015-08-20 Thread Javier Martinez Canillas
Hello Laurent, On 08/20/2015 08:37 PM, Laurent Pinchart wrote: > Hi Javier, > > Thank you for the patch. > > On Wednesday 19 August 2015 17:35:19 Javier Martinez Canillas wrote: >> The struct media_entity does not have an .id field anymore since >> now the entity ID is stored in the embedded

Re: [PATCH 5/9] x86/intel_rdt: Add new cgroup and Class of service management

2015-08-20 Thread Vikas Shivappa
On Thu, 20 Aug 2015, Vikas Shivappa wrote: On Mon, 17 Aug 2015, Marcelo Tosatti wrote: Vikas, Tejun, This is an updated interface. It addresses all comments made so far and also covers all use-cases the cgroup interface covers. Let me know what you think. I'll proceed to writing the

Re: [PATCH 5/9] x86/intel_rdt: Add new cgroup and Class of service management

2015-08-20 Thread Vikas Shivappa
On Mon, 17 Aug 2015, Marcelo Tosatti wrote: Vikas, Tejun, This is an updated interface. It addresses all comments made so far and also covers all use-cases the cgroup interface covers. Let me know what you think. I'll proceed to writing the test applications. Usage model:

Re: [RFC] fs/kcore: change copy_to_user to copy_in_user

2015-08-20 Thread Linus Torvalds
On Thu, Aug 20, 2015 at 1:59 AM, yalin wang wrote: > - > - n = copy_to_user(buffer, (char *)start, tsz); > + if ((start + tsz < tsz) || > + (start + tsz) > TASK_SIZE) > +

Re: [GIT PULL] TTY/Serial patches for 4.3-rc1

2015-08-20 Thread Fabio Estevam
Hi Stephen, On Thu, Aug 20, 2015 at 8:57 PM, Stephen Rothwell wrote: > Hi Greg, > > On Thu, 20 Aug 2015 12:11:21 -0700 Greg KH wrote: >> >> All have been in linux-next with no reported issues. > > Except see below. > >> Eduardo Valentin (4): >> serial: imx: introduce

Re: [GIT PULL] at91: defconfig for 4.3 #2

2015-08-20 Thread Olof Johansson
On Thu, Aug 20, 2015 at 4:58 PM, Alexandre Belloni wrote: > Hi, > > On 18/08/2015 at 23:49:30 +0200, Olof Johansson wrote : >> > The only thing now is that since the at91 tree is in linux-next as well >> > as the arm-soc tree, those patches appear twice there and there is a >> > conflict (easy to

Re: [PATCH v3 0/5] sync a se with its cfs_rq when att(det)aching it

2015-08-20 Thread Byungchul Park
On Thu, Aug 20, 2015 at 11:11:31PM +0200, Peter Zijlstra wrote: > On Thu, Aug 20, 2015 at 07:46:09PM +0900, Byungchul Park wrote: > > On Thu, Aug 20, 2015 at 05:38:41PM +0900, Byungchul Park wrote: > > > On Thu, Aug 20, 2015 at 03:17:21AM +0200, Peter Zijlstra wrote: > > > > > > > > I did

Re: [GIT PULL] at91: defconfig for 4.3 #2

2015-08-20 Thread Alexandre Belloni
Hi, On 18/08/2015 at 23:49:30 +0200, Olof Johansson wrote : > > The only thing now is that since the at91 tree is in linux-next as well > > as the arm-soc tree, those patches appear twice there and there is a > > conflict (easy to fix, but a pain). The solution here is to update the > > at91

Re: [GIT PULL] TTY/Serial patches for 4.3-rc1

2015-08-20 Thread Stephen Rothwell
Hi Greg, On Thu, 20 Aug 2015 12:11:21 -0700 Greg KH wrote: > > All have been in linux-next with no reported issues. Except see below. > Eduardo Valentin (4): > serial: imx: introduce serial_imx_enable_wakeup() I reported that this commit breaks the arm multi_v7_defconfig build and I

Re: [PATCH v3 4/5] sched: sync a se with its cfs_rq when switching sched class to fair class

2015-08-20 Thread Byungchul Park
On Thu, Aug 20, 2015 at 11:13:23PM +0200, Peter Zijlstra wrote: > On Thu, Aug 20, 2015 at 04:11:06AM +0800, Yuyang Du wrote: > > On Wed, Aug 19, 2015 at 07:12:41PM +0200, Peter Zijlstra wrote: > > > On Wed, Aug 19, 2015 at 03:47:15PM +0900, byungchul.p...@lge.com wrote: > > > > diff --git

Re: Persistent Reservation API V2

2015-08-20 Thread Keith Busch
On Tue, 11 Aug 2015, Christoph Hellwig wrote: This series adds support for a simplified Persistent Reservation API to the block layer. The intent is that both in-kernel and userspace consumers can use the API instead of having to hand craft SCSI or NVMe command through the various pass through

Re: [PATCH 13/18] iio: adc: mcp320x: Set struct spi_driver .of_match_table

2015-08-20 Thread Michael Welling
On Fri, Aug 21, 2015 at 12:48:23AM +0200, Javier Martinez Canillas wrote: > Hello Michael, > > On 08/21/2015 12:29 AM, Michael Welling wrote: > > On Fri, Aug 21, 2015 at 12:02:40AM +0200, Javier Martinez Canillas wrote: > >> Hello Michael, > >> > >> On 08/20/2015 10:09 PM, Michael Welling wrote:

Re: [PATCH 18/18] spi: (RFC, don't apply) report OF style modalias when probing using DT

2015-08-20 Thread Javier Martinez Canillas
Hello Mark, On 08/21/2015 01:25 AM, Mark Brown wrote: > On Thu, Aug 20, 2015 at 11:45:09PM +0200, Javier Martinez Canillas wrote: >> On 08/20/2015 11:08 PM, Brian Norris wrote: > This is tagged as something that can't be applied but you've not explained why it can't be applied or what

Re: [PATCH v2 0/4] regmap: i2c block support

2015-08-20 Thread Mark Brown
On Thu, Aug 20, 2015 at 12:00:03PM +0200, Markus Pargmann wrote: > Hi, > > This series adds support for i2c block read/writes. To support the maximum 32 > byte read/write operations, the regmap core is extended by max_raw_read and > max_raw_write. bulk operations are splitted depending of the

Re: [V3 PATCH 1/4] panic/x86: Fix re-entrance problem due to panic on NMI

2015-08-20 Thread Peter Zijlstra
On Thu, Aug 06, 2015 at 02:45:43PM +0900, Hidehiro Kawai wrote: > diff --git a/arch/x86/kernel/nmi.c b/arch/x86/kernel/nmi.c > index d05bd2e..dcd4038 100644 > --- a/arch/x86/kernel/nmi.c > +++ b/arch/x86/kernel/nmi.c > @@ -231,7 +231,7 @@ void unregister_nmi_handler(unsigned int type, const char

Re: [PATCH v2 6/8] scsi: ufs: make the UFS variant a platform device

2015-08-20 Thread Akinobu Mita
2015-08-20 22:59 GMT+09:00 Yaniv Gardi : > @@ -1036,7 +1037,7 @@ void ufs_qcom_clk_scale_notify(struct ufs_hba *hba) > * The variant operations configure the necessary controller and PHY > * handshake during initialization. > */ > -static const struct ufs_hba_variant_ops ufs_hba_qcom_vops =

Re: [PATCH v2 7/8] scsi: ufs-qcom: add debug prints for test bus

2015-08-20 Thread Akinobu Mita
2015-08-20 22:59 GMT+09:00 Yaniv Gardi : > @@ -30,6 +48,14 @@ static void ufs_qcom_get_speed_mode(struct > ufs_pa_layer_attr *p, char *result); > static int ufs_qcom_get_bus_vote(struct ufs_qcom_host *host, > const char *speed_mode); > static int ufs_qcom_set_bus_vote(struct

Re: [PATCHv3 0/5] Fix compound_head() race

2015-08-20 Thread Andrew Morton
On Thu, 20 Aug 2015 15:31:07 +0300 "Kirill A. Shutemov" wrote: > On Wed, Aug 19, 2015 at 12:21:41PM +0300, Kirill A. Shutemov wrote: > > Here's my attempt on fixing recently discovered race in compound_head(). > > It should make compound_head() reliable in all contexts. > > > > The patchset is

Re: [PATCH v5 2/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status

2015-08-20 Thread Naoya Horiguchi
On Thu, Aug 20, 2015 at 01:00:05PM +0200, Michal Hocko wrote: > On Thu 20-08-15 08:26:27, Naoya Horiguchi wrote: > > Currently there's no easy way to get per-process usage of hugetlb pages, > > Is this really the case after your previous patch? You have both > HugetlbPages and KernelPageSize

Re: [PATCHv3 4/5] mm: make compound_head() robust

2015-08-20 Thread Andrew Morton
On Wed, 19 Aug 2015 12:21:45 +0300 "Kirill A. Shutemov" wrote: > Hugh has pointed that compound_head() call can be unsafe in some > context. There's one example: > > CPU0CPU1 > > isolate_migratepages_block() > page_count() > compound_head() >

Re: [PATCHv3 3/5] mm: pack compound_dtor and compound_order into one word in struct page

2015-08-20 Thread Andrew Morton
On Wed, 19 Aug 2015 12:21:44 +0300 "Kirill A. Shutemov" wrote: > The patch halves space occupied by compound_dtor and compound_order in > struct page. > > For compound_order, it's trivial long -> int/short conversion. > > For get_compound_page_dtor(), we now use hardcoded table for destructor

Re: [PATCH 18/18] spi: (RFC, don't apply) report OF style modalias when probing using DT

2015-08-20 Thread Mark Brown
On Thu, Aug 20, 2015 at 11:45:09PM +0200, Javier Martinez Canillas wrote: > On 08/20/2015 11:08 PM, Brian Norris wrote: > >> This is tagged as something that can't be applied but you've not > >> explained why it can't be applied or what comments might be useful :( > As Brian pointed out it was

Re: [PATCH v5 1/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/smaps

2015-08-20 Thread Naoya Horiguchi
On Thu, Aug 20, 2015 at 12:49:29PM +0200, Michal Hocko wrote: > On Thu 20-08-15 08:26:26, Naoya Horiguchi wrote: > > Currently /proc/PID/smaps provides no usage info for vma(VM_HUGETLB), which > > is inconvenient when we want to know per-task or per-vma base hugetlb usage. > > To solve this, this

Re: [PATCH v2] rtc/ds3232: fix ds3232 get a WARNING trace in resume function

2015-08-20 Thread Alexandre Belloni
On 12/08/2015 at 17:14:13 +0800, Dongsheng Wang wrote : > From: Wang Dongsheng > > If ds3232 work on some platform that is not implementation > irq_set_wake, ds3232 will get a WARNING trace in resume. > So fix ds3232->suspended state to false when irq_set_irq_wake > return error. > >

Re: [V3 PATCH 2/4] panic/x86: Allow cpus to save registers even if they are looping in NMI context

2015-08-20 Thread Peter Zijlstra
On Thu, Aug 06, 2015 at 02:45:43PM +0900, Hidehiro Kawai wrote: > When cpu-A panics on NMI just after cpu-B has panicked, cpu-A loops > infinitely in NMI context. Especially for x86, cpu-B issues NMI IPI > to other cpus to save their register states and do some cleanups if > kdump is enabled, but

Re: [V3 PATCH 0/4] Fix race issues among panic, NMI and crash_kexec

2015-08-20 Thread Peter Zijlstra
User-Agent: StGit/0.16 Fwiw, stgit is broken wrt sending email, all your emails have the exact same timestamp, which means that the emails will be ordered on received timestamp when threaded and generate the below mess: Aug 06 Hidehiro Kawai (1.9K) [V3 PATCH 0/4] Fix race issues among panic,

Re: Question on adding a firmware ihex file in the kernel source

2015-08-20 Thread David Woodhouse
On Thu, 2015-08-20 at 17:46 -0400, Murali Karicheri wrote: > All, > > Please help me understand the procedure to add a firmware ihex file to > kernel source tree under firmware/ folder. The README.AddingFirmware > file explains that file should be added to >

Re: [PATCH] rtc: s5m: fix to update ctrl register

2015-08-20 Thread Alexandre Belloni
Hi, On 13/08/2015 at 17:49:24 +0900, Joonyoung Shim wrote : > According to datasheet, the S2MPS13X and S2MPS14X should update write > buffer via setting WUDR bit to high after ctrl register is updated. > > If not, ALARM interrupt of rtc-s5m doesn't happen first time when i use >

Re: [PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-08-20 Thread Daniel Lezcano
On 08/20/2015 10:06 AM, Sascha Hauer wrote: This adds support for the Mediatek thermal controller found on MT8173 and likely other SoCs. The controller is a bit special. It does not have its own ADC, instead it controls the on-SoC AUXADC via AHB bus accesses. For this reason we need the physical

Re: [patch -mm] mm, oom: add global access to memory reserves on livelock

2015-08-20 Thread Andrew Morton
On Thu, 20 Aug 2015 14:00:36 -0700 (PDT) David Rientjes wrote: > On system oom, a process may fail to exit if its thread depends on a lock > held by another allocating process. > > In this case, we can detect an oom kill livelock that requires memory > allocation to be successful to resolve. >

Re: [V3 PATCH 3/4] kexec: Fix race between panic() and crash_kexec() called directly

2015-08-20 Thread Peter Zijlstra
On Thu, Aug 06, 2015 at 02:45:43PM +0900, Hidehiro Kawai wrote: > void crash_kexec(struct pt_regs *regs) > { > + int old_cpu, this_cpu; > + > + /* > + * `old_cpu == -1' means we are the first comer and crash_kexec() > + * was called without entering panic(). > + * `old_cpu

Re: [PATCH 2/4] rtc: s3c: remove unnecessary NULL assignment

2015-08-20 Thread Alexandre Belloni
On 11/08/2015 at 20:28:20 +0900, Joonyoung Shim wrote : > It's unnecessary the code that assigns info->rtc_clk to NULL in > s3c_rtc_remove. > > Signed-off-by: Joonyoung Shim > --- > drivers/rtc/rtc-s3c.c | 1 - > 1 file changed, 1 deletion(-) > Applied, thanks. -- Alexandre Belloni, Free

Re: [PATCH 1/4] rtc: s3c: add missing clk control

2015-08-20 Thread Alexandre Belloni
On 11/08/2015 at 20:28:19 +0900, Joonyoung Shim wrote : > It's missed to call clk_unprepare() about info->rtc_src_clk in > s3c_rtc_remove and to call clk_disable_unprepare about info->rtc_clk in > error routine of s3c_rtc_probe. > > Signed-off-by: Joonyoung Shim > --- > drivers/rtc/rtc-s3c.c |

  1   2   3   4   5   6   7   8   9   10   >