Re: Why not make kdbus use CUSE?

2014-12-02 Thread Richard Yao
On 12/02/2014 12:48 AM, Greg Kroah-Hartman wrote: On Tue, Dec 02, 2014 at 12:40:09AM -0500, Richard Yao wrote: They regard a userland compatibility shim in the systemd repostory to provide backward compatibility for applications. Unfortunately, this is insufficient to ensure compatibility

[PATCH v7 4/7] clk: change clk_debugfs_add_file to take a struct clk_hw

2014-12-02 Thread Tomeu Vizoso
Instead of struct clk, as this should be only used by providers. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com Reviewed-by: Stephen Boyd sb...@codeaurora.org --- drivers/clk/clk.c| 6 +++--- include/linux/clk-provider.h | 2 +- 2 files changed, 4 insertions(+), 4

Re: [PATCH 0/5] kvm: memslots lookup optimization

2014-12-02 Thread Igor Mammedov
On Mon, 01 Dec 2014 18:38:34 +0100 Paolo Bonzini pbonz...@redhat.com wrote: On 01/12/2014 18:29, Igor Mammedov wrote: Series speed-ups GFN to memslot lookup time by: * introducing LRU cache, which improves looukup time for same slot workload (typically boot time of Windows and

Re: [PATCH 2/2] fs: Wire up sendfd() syscall (all architectures)

2014-12-02 Thread Geert Uytterhoeven
This really needs a CC to linux-arch (added). On Tue, Dec 2, 2014 at 5:35 AM, Alex Dubov alex.du...@gmail.com wrote: Signed-off-by: Alex Dubov oa...@yahoo.com --- arch/arm/include/uapi/asm/unistd.h| 1 + arch/arm/kernel/calls.S | 1 +

[PATCH v7 1/7] clk: Remove unused function __clk_get_prepare_count

2014-12-02 Thread Tomeu Vizoso
Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com Reviewed-by: Stephen Boyd sb...@codeaurora.org --- drivers/clk/clk.c| 5 - include/linux/clk-provider.h | 1 - 2 files changed, 6 deletions(-) diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 5307225..42f940f 100644

staging: panel: suggestions needed

2014-12-02 Thread Sudip Mukherjee
Hi, I have been looking at your panel driver, and am attaching a 20x4 alphanueric lcd to it. Will start testing it in a few days as and when I get time. Looks like, it is receiving mostly checkpatch and sparse cleanups. Just wanted your opinion on few things I was thinking: 1) Number of

[PATCH v9 1/8] mfd: Add support for Skyworks SKY81452 driver

2014-12-02 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com Acked-by: Lee Jones lee.jo...@linaro.org --- Changes v9: Nothing Changes v8: Nothing Changes v7: Modified licensing text to GPLv2 Changes v6: Added new line character at the end of line of dev_err()

[PATCH v9 0/8] Add Skyworks SKY81452 device drivers

2014-12-02 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com This patch set includes regulator and backlight driver for SKY81452. Also it includes documents for device tree and module. The initial version of sky81452-regulator was applied. Fo this, incremental patches are included. v9: Removed the change to

[PATCH v9 6/8] devicetree: i2c: Add SKY81452 to the Trivial Devices list

2014-12-02 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com --- Changes v9: Nothing Changes v8: Nothing Changes v7: Nothing Changes v6: Nothing Changes v5: Nothing Changes v4: Nothing Changes v3: Nothing Changes v2: Add SKY81452 to the Trivial Devices

[PATCH v9 4/8] devicetree: backlight: Add new SKY81452 backlight binding

2014-12-02 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com --- Changes v9: Nothing Changes v8: Renamed property names for backlight with vendor prefix Modified gpio-enable property to generic property for GPIO Made up the example for backlight DT Changes v7:

[PATCH v9 3/8] devicetree: mfd: Add new SKY81452 mfd binding

2014-12-02 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com --- Changes v9: Nothing Changes v8: Made up the example for backlight DT Changes v7: Nothing Changes v6: Nothing Changes v5: Changed DT for regulator : 'lout' node should be defined under

[PATCH v9 7/8] regulator: sky81452: Modify Device Tree structure

2014-12-02 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com --- Changes v9: Removed the change to remove MODULE_VERSION() Changes v8: Changed the DT parsing of regulator using regulator_node and of_match Changes v7: Modified licensing text to GPLv2 Splitted

[PATCH v9 5/8] devicetree: Add vendor prefix for Skyworks Solutions, Inc.

2014-12-02 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com --- Changes v9: Nothing Changes v8: Nothing Changes v7: Nothing Changes v6: Nothing Changes v5: Nothing Changes v4: Nothing Changes v3: Nothing Changes v2: Added vendor prefix for Skyworks

[PATCH v9 8/8] devicetree: regulator: sky81452: Modify Device Tree structure

2014-12-02 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com --- Changes v9: Nothing Changes v8: Nothing Changes v7: Nothing Changes v6: Nothing Changes v5: Changed DT for regulator : 'lout' node should be defined under 'regulator' Removed compatible string

[PATCH v9 2/8] backlight: Add support Skyworks SKY81452 backlight driver

2014-12-02 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com --- Changes v9: Nothing Changes v8: Renamed property names for backlight with vendor prefix Modified gpio-enable property to generic property for GPIO Changes v7: Modified licensing text to GPLv2

Re: [PATCH RFC v4 net-next 0/5] virtio_net: enabling tx interrupts

2014-12-02 Thread Jason Wang
On Tue, Dec 2, 2014 at 11:15 AM, Jason Wang jasow...@redhat.com wrote: On Mon, Dec 1, 2014 at 6:42 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Dec 01, 2014 at 06:17:03PM +0800, Jason Wang wrote: Hello: We used to orphan packets before transmission for virtio-net. This breaks

[PATCH V6 0/9] Add new powerpc specific ELF core notes

2014-12-02 Thread Anshuman Khandual
This patch series adds five new ELF core note sections which can be used with existing ptrace request PTRACE_GETREGSET-SETREGSET for accessing various transactional memory and miscellaneous debug register sets on powerpc platform. Previous versions: == RFC:

Re: [PATCH V2 RESEND] arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy

2014-12-02 Thread Javier Martinez Canillas
Hello Kukjin, On Mon, Nov 24, 2014 at 6:41 AM, Vivek Gautam gautam.vi...@samsung.com wrote: DP PHY now require pmu-system-controller to handle PMU register to control PHY's power isolation. Adding the same to dp-phy node. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Reviewed-by:

Re: Out-of-bounds access in nfnetlink_bind

2014-12-02 Thread Andrey Ryabinin
2014-12-02 10:53 GMT+03:00 Dmitry Vyukov dvyu...@google.com: Hi, I am working on Kernel AddressSanitizer, a fast memory error detector for kernel: https://code.google.com/p/address-sanitizer/wiki/AddressSanitizerForKernel Here is an error report that I got while running trinity:

Re: [PATCH v6 0/3] mtd: nand: gpmi: add proper raw access support

2014-12-02 Thread Boris Brezillon
On Tue, 2 Dec 2014 08:47:43 +0800 Huang Shijie shijie.hu...@intel.com wrote: On Mon, Dec 01, 2014 at 09:58:58AM +0100, Boris Brezillon wrote: Hi Brian, On Mon, 1 Dec 2014 00:47:09 -0800 Brian Norris computersforpe...@gmail.com wrote: On Sun, Nov 30, 2014 at 07:10:27PM +0100, Boris

[PATCH] i8042: prevent the loading of the i8042 driver on Intel NUC D54250WYK

2014-12-02 Thread Todor Minchev
The Intel NUC D54250WYK has no PS/2 controller, however the DSDT declares PS/2 devices which trigger the loading of the i8042 driver. Signed-off-by: Todor Minchev todor.minc...@intel.com --- drivers/input/serio/i8042-x86ia64io.h | 7 +++ 1 file changed, 7 insertions(+) diff --git

Re: [PATCH] mtd: gpmi: properly handle bitflips in erased pages

2014-12-02 Thread Boris Brezillon
On Mon, 1 Dec 2014 15:37:48 -0800 Brian Norris computersforpe...@gmail.com wrote: On Mon, Dec 01, 2014 at 09:18:18PM +0100, Boris Brezillon wrote: On Mon, 1 Dec 2014 11:41:39 -0800 Brian Norris computersforpe...@gmail.com wrote: On Mon, Dec 01, 2014 at 08:12:39PM +0100, Boris Brezillon

[PATCH 0/8] hugepage migration fixes (v5)

2014-12-02 Thread Naoya Horiguchi
Hi everyone, This is ver.5 patchset for fixing hugepage migration's race problem. In ver.4, Hugh enlighted me about the problem around pmd_huge(), where pmd_huge() returned false for migration/hwpoison entry and we treated them as normal pages. IOW, we didn't handle !pmd_present case properly.

[PATCH v5 8/8] mm/hugetlb: cleanup and rename is_hugetlb_entry_(migration|hwpoisoned)()

2014-12-02 Thread Naoya Horiguchi
non_swap_entry() returns true if a given swp_entry_t is a migration entry or hwpoisoned entry. So non_swap_entry() is_migration_entry() is identical with just is_migration_entry(). So by removing non_swap_entry(), we can write is_hugetlb_entry_(migration|hwpoisoned)() more simply. And the name

[PATCH v5 5/8] mm/hugetlb: add migration/hwpoisoned entry check in hugetlb_change_protection

2014-12-02 Thread Naoya Horiguchi
There is a race condition between hugepage migration and change_protection(), where hugetlb_change_protection() doesn't care about migration entries and wrongly overwrites them. That causes unexpected results like kernel crash. HWPoison entries also can cause the same problem. This patch adds

[PATCH v5 2/8] mm/hugetlb: pmd_huge() returns true for non-present hugepage

2014-12-02 Thread Naoya Horiguchi
Migrating hugepages and hwpoisoned hugepages are considered as non-present hugepages, and they are referenced via migration entries and hwpoison entries in their page table slots. This behavior causes race condition because pmd_huge() doesn't tell non-huge pages from migrating/hwpoisoned

[PATCH v5 7/8] mm/hugetlb: fix suboptimal migration/hwpoisoned entry check

2014-12-02 Thread Naoya Horiguchi
Currently hugetlb_fault() checks at first whether pte of the faulted address is a migration or hwpoisoned entry, which means that we call huge_ptep_get() twice in single hugetlb_fault(). This is not optimized. The reason of this approach is that without checking at first, huge_pte_alloc() can

Re: [PATCH 2/2] fs: Wire up sendfd() syscall (all architectures)

2014-12-02 Thread Alex Dubov
On Tue, Dec 2, 2014 at 7:01 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: This really needs a CC to linux-arch (added). You forgot to update NR_syscalls in arch/m68k/include/asm/unistd.h. Noted. I would assume that other architectures may have similar problems (I only tested my

[PATCH v5 6/8] mm/hugetlb: add migration entry check in __unmap_hugepage_range

2014-12-02 Thread Naoya Horiguchi
If __unmap_hugepage_range() tries to unmap the address range over which hugepage migration is on the way, we get the wrong page because pte_page() doesn't work for migration entries. This patch simply clears the pte for migration entries as we do for hwpoison entries. Fixes: 290408d4a2 (hugetlb:

[PATCH v5 1/8] mm/hugetlb: reduce arch dependent code around follow_huge_*

2014-12-02 Thread Naoya Horiguchi
Currently we have many duplicates in definitions around follow_huge_addr(), follow_huge_pmd(), and follow_huge_pud(), so this patch tries to remove them. The basic idea is to put the default implementation for these functions in mm/hugetlb.c as weak symbols (regardless of

[PATCH v5 3/8] mm/hugetlb: take page table lock in follow_huge_pmd()

2014-12-02 Thread Naoya Horiguchi
We have a race condition between move_pages() and freeing hugepages, where move_pages() calls follow_page(FOLL_GET) for hugepages internally and tries to get its refcount without preventing concurrent freeing. This race crashes the kernel, so this patch fixes it by moving FOLL_GET code for

[PATCH v5 4/8] mm/hugetlb: fix getting refcount 0 page in hugetlb_fault()

2014-12-02 Thread Naoya Horiguchi
When running the test which causes the race as shown in the previous patch, we can hit the BUG get_page() on refcount 0 page in hugetlb_fault(). This race happens when pte turns into migration entry just after the first check of is_hugetlb_entry_migration() in hugetlb_fault() passed with false.

The DM_BUFIO_HASH_BITS is defined as 20, any plan to make it flexible?

2014-12-02 Thread zhangxiao
Hi NeilBrown, See drivers/md/dm-bufio.c as below: 50 /* 51 * Buffer hash 52 */ 53 #define DM_BUFIO_HASH_BITS 20 54 #define DM_BUFIO_HASH(block) \ 55 block) DM_BUFIO_HASH_BITS) ^ (block)) \ 56 ((1 DM_BUFIO_HASH_BITS) - 1)) drivers/md/dm-bufio.c 1854L,

Re: frequent lockups in 3.18rc4

2014-12-02 Thread Lai Jiangshan
On 12/02/2014 03:14 AM, Paul E. McKenney wrote: On Sun, Nov 30, 2014 at 11:02:43PM -0200, Dâniel Fraga wrote: On Sun, 30 Nov 2014 16:21:19 -0800 Linus Torvalds torva...@linux-foundation.org wrote: Maybe you'll have to turn off RCU_CPU_STALL_VERBOSE first. Although I think you should be able

Re: The DM_BUFIO_HASH_BITS is defined as 20, any plan to make it flexible?

2014-12-02 Thread NeilBrown
On Tue, 2 Dec 2014 16:32:14 +0800 zhangxiao xiao.zh...@windriver.com wrote: Hi NeilBrown, See drivers/md/dm-bufio.c as below: 50 /* 51 * Buffer hash 52 */ 53 #define DM_BUFIO_HASH_BITS 20 54 #define DM_BUFIO_HASH(block) \ 55 block)

Re: [PATCH V2 RESEND] arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy

2014-12-02 Thread Jingoo Han
On Tuesday, December 02, 2014 5:17 PM, Javier Martinez Canillas wrote: Hello Kukjin, On Mon, Nov 24, 2014 at 6:41 AM, Vivek Gautam gautam.vi...@samsung.com wrote: DP PHY now require pmu-system-controller to handle PMU register to control PHY's power isolation. Adding the same to dp-phy

Re: The DM_BUFIO_HASH_BITS is defined as 20, any plan to make it flexible?

2014-12-02 Thread zhangxiao
On 2014年12月02日 16:36, NeilBrown wrote: On Tue, 2 Dec 2014 16:32:14 +0800 zhangxiao xiao.zh...@windriver.com wrote: Hi NeilBrown, See drivers/md/dm-bufio.c as below: 50 /* 51 * Buffer hash 52 */ 53 #define DM_BUFIO_HASH_BITS 20 54 #define DM_BUFIO_HASH(block) \

Re: [PATCH 0/3] Dell Airplane Mode Switch driver

2014-12-02 Thread Pali Rohár
On Wednesday 26 November 2014 00:05:28 Darren Hart wrote: On Sun, Nov 23, 2014 at 04:09:18PM +0100, Pali Rohár wrote: This patch series add new acpi Dell Airplane Mode Switch driver (DELLABCE and DELRBTN acpi devices). It provides radio HW switch events (together with current state of

The DM_BUFIO_HASH_BITS is defined as 20, any plan to make it flexible?

2014-12-02 Thread zhangxiao
Hi Experts, See drivers/md/dm-bufio.c as below: 50 /* 51 * Buffer hash 52 */ 53 #define DM_BUFIO_HASH_BITS 20 54 #define DM_BUFIO_HASH(block) \ 55 block) DM_BUFIO_HASH_BITS) ^ (block)) \ 56 ((1 DM_BUFIO_HASH_BITS) - 1)) drivers/md/dm-bufio.c 1854L,

[PATCH v2] ARM: zynq: DT: Add USB to device tree

2014-12-02 Thread Soren Brinkmann
Add USB nodes to zc702, zc706 and zed device trees. Signed-off-by: Soren Brinkmann soren.brinkm...@xilinx.com --- v2: - remove '@0' from phy node name - don't add bogus space --- arch/arm/boot/dts/zynq-7000.dtsi | 20 arch/arm/boot/dts/zynq-zc702.dts | 11 +++

[PATCH v4 05/11] memory: add Atmel EBI (External Bus Interface) driver

2014-12-02 Thread Boris Brezillon
The EBI (External Bus Interface) is used to access external peripherals (NOR, SRAM, NAND, and other specific devices like ethernet controllers). Each device is assigned a CS line and an address range and can have its own configuration (timings, access mode, bus width, ...). This driver provides a

[PATCH net-next 0/2] r8169:change hardware setting

2014-12-02 Thread Chunhao Lin
This patch series contains two hardware setting modification to prevent hardware become abnormal. Chunhao Lin (2): r8169:prevent enable hardware tx/rx too early r8169:disable rtl8168ep cmac engine drivers/net/ethernet/realtek/r8169.c | 33 ++--- 1 file changed,

[PATCH net-next 1/2] r8169:prevent enable hardware tx/rx too early

2014-12-02 Thread Chunhao Lin
For RTL8168G/GU/H/EP and RTL8411B remove enable tx/rx from its own hw_start function. This will prevent enable tx/rx before complete hardware tx/rx setting. Tx/Rx will be enabled in the end of function rtl_hw_start_8168. Signed-off-by: Chunhao Lin h...@realtek.com ---

[PATCH net-next 2/2] r8169:disable rtl8168ep cmac engine

2014-12-02 Thread Chunhao Lin
Cmac engine is the bridge between driver and dash firmware. Other os may not disable cmac when leave. And r8169 did not allocate any resources for cmac engine. Disable it to prevent abnormal system behavior. Signed-off-by: Chunhao Lin h...@realtek.com --- drivers/net/ethernet/realtek/r8169.c |

Re: [PATCH] bcache: prevent crash on changing writeback_running

2014-12-02 Thread Stefan Bader
On 19.08.2014 20:03, Slava Pestov wrote: Thanks, this is now in our development branch. It has been a while but I just went back there and checked linux and linux-next but cannot find this change anywhere. I think it is a rather simple bugfix. So I start to wonder where it went and when it would

[PATCH 12/19] clk: samsung: exynos5433: Add clocks for CMU_GSCL domain

2014-12-02 Thread Chanwoo Choi
This patch adds the divider/gate of CMU_GSCL domain which contains gscaler clocks. Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Inki Dae inki@samsung.com Acked-by: Geunsik Lim

[PATCH 18/19] clocksource: exynos_mct: Add the support for Exynos 64bit SoC

2014-12-02 Thread Chanwoo Choi
This patch adds the support for Exynos 64bit SoC. The delay_timer is only used for Exynos 32bit SoC. Cc: Daniel Lezcano daniel.lezc...@linaro.org Cc: Thomas Gleixner t...@linutronix.de Cc: Kukjin Kim kgene@samsung.com Cc: Mark Rutland mark.rutl...@arm.com Signed-off-by: Chanwoo Choi

[PATCH 19/19] arm64: Enable Exynos5433 SoC in the defconfig

2014-12-02 Thread Chanwoo Choi
This patch enable Exynos5433 SoC in the arm64 defconfig. Cc: Catalin Marinas catalin.mari...@arm.com Cc: Will Deacon will.dea...@arm.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Inki Dae inki@samsung.com Acked-by: Geunsik Lim geunsik@samsung.com ---

[PATCH 08/19] clk: samsung: exynos5433: Add clocks for CMU_AUD domain

2014-12-02 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_AUD domain which includes the clocks of Cortex-A6/Bus/Audio clocks. Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Inki Dae inki@samsung.com

[PATCH 14/19] arm64: dts: exynos: Add dts files for 64-bit Exynos5433 SoC

2014-12-02 Thread Chanwoo Choi
This patch adds new Exynos5433 dtsi to support 64-bit Exynos5433 SoC based on Octal core CPUs (quad Cortex-A57 and quad Cortex-A53). And Exynos5433 supports PSCI (Power State Coordination Interface) v0.1. Cc: Kukjin Kim kgene@samsung.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Marc Zyngier

[PATCH 03/19] clk: samsung: exynos5433: Add clocks for CMU_PERIC domain

2014-12-02 Thread Chanwoo Choi
This patch adds missing divider/gate clocks of CMU_PERIC domain which includes I2S/PCM/SPDIF/PWM/SLIMBUS IPs. The SPI/I2S may use external input clock which has 'ioclk_*' prefix. Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Signed-off-by: Chanwoo Choi

Re: [PATCH v2 2/2] kvm: vmx: enable intel xsaves for guest

2014-12-02 Thread Paolo Bonzini
On 02/12/2014 07:14, Wanpeng Li wrote: Expose intel xsaves feature to guest. Signed-off-by: Wanpeng Li wanpeng...@linux.intel.com --- v1 - v2: *auto switch msr ia32_xss if this msr is present arch/x86/include/asm/kvm_host.h | 1 + arch/x86/include/asm/vmx.h | 3 +++

[PATCHv2 00/19] arm64: Add the support for new 64-bit Exynos5433 SoC

2014-12-02 Thread Chanwoo Choi
This patchset adds new 64-bit Exynos5433 Samsung SoC which contains quad Cortex-A57 and quad Cortex-A53. It is desigend with the 20nm low power process. This patchset include some patches such as: - Support booting of Exynos5433 - Support UART/MCT/GIC/HSI2C/SPI/PDMA/MSHC - Support the clock

[PATCH 02/19] clk: samsung: exynos5433: Add MUX clocks of CMU_TOP domain

2014-12-02 Thread Chanwoo Choi
This patch adds the MUX (multiplexer) clocks for CMU_TOP domain of Exynos5433. CMU_TOP domain provides source clocks to other CMU domains. Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Inki Dae

[PATCH 04/19] clk: samsung: exynos5433: Add clocks for CMU_PERIS domain

2014-12-02 Thread Chanwoo Choi
This patch adds missing gate clocks of CMU_PERIS domain which includes TMU/TZPC/SECKEY/CHIPID/TOPRTC/EFUSE IPs. The special clocks of CMU_PERIS use fin_pll source clock directly. Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Signed-off-by: Chanwoo Choi

[PATCH 15/19] arm64: dts: exynos: Add MSHC dt node for Exynos5433

2014-12-02 Thread Chanwoo Choi
From: Jaehoon Chung jh80.ch...@samsung.com This patch adds MSHC (Mobile Storage Host Controller) dt node for Exynos5433 SoC. MSHC is an interface between the system the SD/MMC card. Cc: Kukjin Kim kgene@samsung.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Marc Zyngier marc.zyng...@arm.com

[PATCH 16/19] arm64: dts: exynos: Add SPI/PDMA dt node for Exynos5433

2014-12-02 Thread Chanwoo Choi
This patch adds SPI (Serial Peripheral Interface) dt node for Exynos5433 SoC. SPI transfers serial data by using various peripherals. SPI includes 8-bit/16-bit/32-bit shift registers to transmit and receive data. PDMA is used for SPI communication. Cc: Kukjin Kim kgene@samsung.com Cc: Mark

[PATCH 17/19] serial: samsung: Add the support for Exynos5433 SoC

2014-12-02 Thread Chanwoo Choi
This patch adds new s3c24xx_serial_drv_data structure for Exynos5433 SoC because Exynos5433 has different fifo size from existing Exynos4 SoC. Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Jiri Slaby jsl...@suse.cz Cc: linux-ser...@vger.kernel.org Signed-off-by: Chanwoo Choi

[PATCH 01/19] clk: samsung: exynos5433: Add clocks using common clock framework

2014-12-02 Thread Chanwoo Choi
This patch adds the support for CMU (Clock Management Units) of Exynos5433 which is 64bit SoC and has Octa-cores. This patch supports necessary clocks (PLL/MMC/UART/MCT/I2C/SPI) for kernel boot and includes binding documentation for Exynos5433 clock controller. Cc: Sylwester Nawrocki

[PATCH 09/19] clk: samsung: exynos5433: Add clocks for CMU_BUS{0|1|2} domains

2014-12-02 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_BUS{0|1|2} domains which contain global data buses clocked at up the 400MHz. These blocks transfer data between DRAM and various sub-blocks. These clock domains also contain global peripheral buses clocked at 67/111/200/222/266/333/400 MHz and

[PATCH 13/19] arm64: exynos5433: Enable ARMv8-based Exynos5433 SoC support

2014-12-02 Thread Chanwoo Choi
This patch adds the necessary Kconfig entries to enable support for the ARMv8 based Exynos5433 SoC. Cc: Catalin Marinas catalin.mari...@arm.com Cc: Will Deacon will.dea...@arm.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Geunsik Lim geunsik@samsung.com Acked-by: Inki Dae

[PATCH 07/19] clk: samsung: exynos5433: Add clocks for CMU_DISP domain

2014-12-02 Thread Chanwoo Choi
This patch adds the the mux/divider/gate clocks for CMU_DISP domain which includes the clocks of Display IPs (DECON/HDMI/DSIM/MIXER). The CMU_DISP clocks is used to need the source clock of CMU_MIF domain so, the CMU_MIF's clocks related to CMU_DISP should be always on state. Also, CMU_DISP must

Re: [PATCH v2 1/2] kvm: x86: revert mask out xsaves

2014-12-02 Thread Paolo Bonzini
On 02/12/2014 07:14, Wanpeng Li wrote: xsaves will be exported to guest in the next patch, so revert the mask out xsaves patch. Signed-off-by: Wanpeng Li wanpeng...@linux.intel.com --- arch/x86/kvm/cpuid.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git

[PATCH 11/19] clk: samsung: exynos5433: Add clocks for CMU_G3D domain

2014-12-02 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_G3D domain which contains the clocks for GPU(3D Graphics Engine). Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Inki Dae inki@samsung.com

[PATCH 05/19] clk: samsung: exynos5433: Add clocks for CMU_G2D domain

2014-12-02 Thread Chanwoo Choi
This patch adds ths mux/divider/gate clocksof CMU_G2D domain which includes G2D/MDMA IPs. The CMU_G2D must need the clocks related to G2D by providing CMU_TOP domain. So, this patch add several clocks for G2D from CMU_TOP domain. Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa

[PATCH 06/19] clk: samsung: exynos5433: Add clocks for CMU_MIF domain

2014-12-02 Thread Chanwoo Choi
This patch adds the mux/divider/gate clock fo CMU_MIF domain which includes the clocks for DMC(DRAM memory controller) and CCI(Cache Coherent Interconnect). The CMU_MIF domain provides the source clocks for CMU_DISP/CMU_BUS2. Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa

[PATCH 10/19] clk: samsung: exynos5433: Add missing clocks for CMU_FSYS domain

2014-12-02 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_FSYS domain which contains the clocks of USB/UFS/SDMMC/TSI/PDMA IPs. Cc: Sylwester Nawrocki s.nawro...@samsung.com Cc: Tomasz Figa tomasz.f...@gmail.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Acked-by: Inki Dae inki@samsung.com

Re: [patch 2/3] mm: memory: remove -vm_file check on shared writable vmas

2014-12-02 Thread Jan Kara
On Mon 01-12-14 17:58:01, Johannes Weiner wrote: The only way a VMA can have shared and writable semantics is with a backing file. OK, one always learns :) After some digging I found that MAP_SHARED | MAP_ANONYMOUS mappings are in fact mappings of a temporary file in tmpfs. It would be worth

Re: [PATCH v2 2/2] kvm: vmx: enable intel xsaves for guest

2014-12-02 Thread Wanpeng Li
Hi Paolo, On Tue, Dec 02, 2014 at 09:51:22AM +0100, Paolo Bonzini wrote: On 02/12/2014 07:14, Wanpeng Li wrote: Expose intel xsaves feature to guest. Signed-off-by: Wanpeng Li wanpeng...@linux.intel.com --- v1 - v2: *auto switch msr ia32_xss if this msr is present

Re: oom coredump

2014-12-02 Thread Michal Hocko
On Thu 27-11-14 18:47:47, Oleg Nesterov wrote: On 11/27, Michal Hocko wrote: [...] Why is the ptrace check wrong? It was added in reply to exploit I sent. But: - It doesn't (and can't) really work, it can only detect this particular case and the same exploit still blocks oom-killer

[patch] CodingStyle: add some more error handling guidelines

2014-12-02 Thread Dan Carpenter
I added a paragraph on choosing label names, and updated the example code to use a better label name. I also cleaned up the example code to more modern style by moving the allocation out of the initializer and changing the NULL check. Perhaps the most common type of error handling bug in the

Re: [PATCH v2 1/2] kvm: x86: revert mask out xsaves

2014-12-02 Thread Wanpeng Li
On Tue, Dec 02, 2014 at 09:55:09AM +0100, Paolo Bonzini wrote: On 02/12/2014 07:14, Wanpeng Li wrote: xsaves will be exported to guest in the next patch, so revert the mask out xsaves patch. Signed-off-by: Wanpeng Li wanpeng...@linux.intel.com --- arch/x86/kvm/cpuid.c | 10 +- 1

[PATCH] staging: unisys: remove duplicate header

2014-12-02 Thread Sudip Mukherjee
these header files were included two times Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/staging/unisys/include/timskmod.h | 1 - drivers/staging/unisys/uislib/uisutils.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/staging/unisys/include/timskmod.h

[PATCH] ASoC: Kconfig: remove not used SND_AT91_SOC_AFEB9260 option

2014-12-02 Thread Nicolas Ferre
Now that the driver snd-soc-afeb9260.c is deleted, remove its Kconfig option. Reported-by: Paul Bolle pebo...@tiscali.nl Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- Hi Paul, Indeed, I forgot to include the Kconfig removal: sorry for the noise. Mark, I send another patch so that it

Re: [patch] CodingStyle: add some more error handling guidelines

2014-12-02 Thread Julia Lawall
@@ -403,9 +408,10 @@ The rationale is: int fun(int a) { int result = 0; - char *buffer = kmalloc(SIZE); + char *buffer; - if (buffer == NULL) + buffer = kmalloc(SIZE); kmalloc actually takes two arguments. Perhaps it would be better to show something that looks

Re: [patch 1/3] mm: protect set_page_dirty() from ongoing truncation

2014-12-02 Thread Jan Kara
On Mon 01-12-14 17:58:00, Johannes Weiner wrote: Tejun, while reviewing the code, spotted the following race condition between the dirtying and truncation of a page: __set_page_dirty_nobuffers() __delete_from_page_cache() if (TestSetPageDirty(page))

Re: [PATCH] ARM: zynq: DT: Add USB to device tree

2014-12-02 Thread Arnd Bergmann
On Monday 01 December 2014 13:51:26 Sören Brinkmann wrote: Hi Arnd, On Mon, 2014-12-01 at 10:26PM +0100, Arnd Bergmann wrote: On Monday 01 December 2014 10:42:32 Soren Brinkmann wrote: + usb_phy0: usb-phy@0 { + compatible = usb-nop-xceiv; +

[PATCH v15 0/3] Add drm driver for Rockchip Socs

2014-12-02 Thread Mark Yao
This a series of patches is a DRM Driver for Rockchip Socs, add support for vop devices. Future patches will add additional encoders/connectors, such as eDP, HDMI. The basic crtc for rockchip is a VOP - Video Output Processor. the vop devices found on Rockchip rk3288 Soc, rk3288 soc have two

Re: [PATCH v3 05/11] memory: add Atmel EBI (External Bus Interface) driver

2014-12-02 Thread Alexander Stein
On Monday 01 December 2014 17:17:30, Arnd Bergmann wrote: On Monday 01 December 2014 11:50:06 Boris Brezillon wrote: I don't have a strong opinion regarding where this driver should live (I even considered putting it in drivers/bus) :-). But note that there are other external memory

[PATCH v15 1/3] drm: rockchip: Add basic drm driver

2014-12-02 Thread Mark Yao
This patch adds the basic structure of a DRM Driver for Rockchip Socs. Signed-off-by: Mark Yao mark@rock-chips.com Signed-off-by: Daniel Kurtz djku...@chromium.org Acked-by: Daniel Vetter dan...@ffwll.ch Reviewed-by: Rob Clark robdcl...@gmail.com --- Changes in v2: - use the component

[RFC] mm:add zero_page _mapcount when mapped into user space

2014-12-02 Thread Wang, Yalin
This patch add/dec zero_page's _mapcount to make sure the mapcount is correct for zero_page, so that when read from /proc/kpagecount, zero_page's mapcount is also correct, userspace process like procrank can calculate PSS correctly. Signed-off-by: Yalin Wang yalin.w...@sonymobile.com ---

[PATCH v15 2/3] dt-bindings: video: Add for rockchip display subsytem

2014-12-02 Thread Mark Yao
This add a display subsystem comprise the all display interface nodes. Signed-off-by: Mark Yao mark@rock-chips.com --- Changes in v2: - add DRM master device node to list all display nodes that comprise the graphics subsystem. Changes in v3: None Changes in v4: None Changes in v5: None

[PATCH v15 3/3] dt-bindings: video: Add documentation for rockchip vop

2014-12-02 Thread Mark Yao
This adds binding documentation for Rockchip SoC VOP driver. Signed-off-by: Mark Yao mark@rock-chips.com --- Changes in v2: - rename lcdc to vop - add vop reset - add iommu node - add port for display-subsystem Changes in v3: None Changes in v4: None Changes in v5: None Changes in v6:

Re: [patch 3/3] mm: memory: merge shared-writable dirtying branches in do_wp_page()

2014-12-02 Thread Jan Kara
On Mon 01-12-14 17:58:02, Johannes Weiner wrote: Whether there is a vm_ops-page_mkwrite or not, the page dirtying is pretty much the same. Make sure the page references are the same in both cases, then merge the two branches. It's tempting to go even further and page-lock the !page_mkwrite

Re: [PATCH 1/2] oom: don't assume that a coredumping thread will exit soon

2014-12-02 Thread Michal Hocko
On Fri 28-11-14 00:04:05, Oleg Nesterov wrote: oom_kill.c assumes that PF_EXITING task should exit and free the memory soon. This is wrong in many ways and one important case is the coredump. A task can sleep in exit_mm() forever while the coredumping sub-thread can need more memory. Change

[PATCH 5/5] clarification of _shipped files intent

2014-12-02 Thread Nicholas Mc Guire
clarification of _shipped files intent The rational for using _shipped files should be clearly indicated so that it does not look like it is encouraging binary blobs. This patch is against linux 3.18.0-rc6 Note that the original file uses leading tabs so for this patch this was retained.

[PATCH 0/5] documentation of _shipped and offset header files

2014-12-02 Thread Nicholas Mc Guire
This patchset cleanup includes documentation updates for _shipped files, offset header files as well as some directly related change proposals in Kbuild and CodingStyle. This proposed patch set describes the intent and use of _shipped files and offset header files as well as a minor update on

[PATCH 4/5] limit _shipped to c h and S files

2014-12-02 Thread Nicholas Mc Guire
limit _shipped to c h and S files _shipped targets are intended for generated source files which should not permit .o binary blobs which is currently the case. This patch simply restricts _shipped targets to .c, .h and .S files. A special case for .inc_shipped is added to prevent breaking

[PATCH 2/5] Description of _shipped files handling in kbuild

2014-12-02 Thread Nicholas Mc Guire
Description of _shipped files handling in kbuild This adds a section on handling of _shipped files in Kbuild Makefiles and the build process. This patch is against linux 3.18.0-rc6 Signed-off-by: Nicholas Mc Guire der.h...@hofr.at --- Documentation/kbuild/makefiles.txt | 58

[PATCH 1/5] mandate defined build cmd and source ref for _shipped files

2014-12-02 Thread Nicholas Mc Guire
mandate defined build cmd and source ref for _shipped files Currently shipped files have more or less free style indications of how to generate them respectively what the sources are, in their header. Mandating defined tags and keywords would allow for automated checking. This patch is against

[PATCH 3/5] Description of offset header files handling

2014-12-02 Thread Nicholas Mc Guire
Description of offset header files handling This adds a section on offset header files handling in Kbuild. This patch is against linux 3.18.0-rc6 Signed-off-by: Nicholas Mc Guire der.h...@hofr.at --- Documentation/kbuild/makefiles.txt | 123 ++-- 1 file

[PATCH] additional external module symbol dependecy handling options

2014-12-02 Thread Nicholas Mc Guire
additional external module symbol dependecy handling options The use of KBUILD_EXTRA_SYMBOLS is clarified by an example and the additional option of using KBUILD_EXTMOD is added as equivalent alternative. This patch is against linux 3.18.0-rc6 Signed-off-by: Nicholas Mc Guire der.h...@hofr.at

[RFC V2] mm:add zero_page _mapcount when mapped into user space

2014-12-02 Thread Wang, Yalin
This patch add/dec zero_page's _mapcount to make sure the mapcount is correct for zero_page, so that when read from /proc/kpagecount, zero_page's mapcount is also correct, userspace process like procrank can calculate PSS correctly. Signed-off-by: Yalin Wang yalin.w...@sonymobile.com ---

Re: [PATCH v15 0/3] Add drm driver for Rockchip Socs

2014-12-02 Thread Heiko Stübner
Hi Mark, Am Dienstag, 2. Dezember 2014, 17:13:20 schrieb Mark Yao: This a series of patches is a DRM Driver for Rockchip Socs, add support for vop devices. Future patches will add additional encoders/connectors, such as eDP, HDMI. The basic crtc for rockchip is a VOP - Video Output

Re: [PATCH v4 3/3] gpio: add support for Cypress CYUSBS234 USB-GPIO adapter

2014-12-02 Thread Lee Jones
On Mon, 01 Dec 2014, Linus Walleij wrote: On Fri, Nov 28, 2014 at 5:41 PM, Muthu Mani m...@cypress.com wrote: Adds support for USB-GPIO interface of Cypress Semiconductor CYUSBS234 USB-Serial Bridge controller. The GPIO get/set can be done through vendor command on control endpoint

Re: [PATCH v1] lib/genalloc.c: Export devm_gen_pool_create for modules

2014-12-02 Thread Prabhakar Lad
Hi Michal, Thanks for the patch. On Mon, Dec 1, 2014 at 1:00 PM, Michal Simek michal.si...@xilinx.com wrote: Modules can use this function for creating pool. Signed-off-by: Michal Simek michal.si...@xilinx.com --- I am pushing Zynq OCMC driver which is using this function. ---

Re: [PATCH] time: Fix sign bug in ntp mult overflow warning

2014-12-02 Thread Jeremiah Mahler
John, On Mon, Nov 24, 2014 at 08:35:45PM -0800, John Stultz wrote: In commit 6067dc5a8c2b (time: Avoid possible NTP adjustment mult overflow) a new check was added to watch for adjustments that could cause a mult overflow. Unfortunately the check compares a signed with unsigned value and

Re: [PATCH] ARM: rockchip: Convert resume code to C

2014-12-02 Thread Arnd Bergmann
On Monday 01 December 2014 15:04:59 Doug Anderson wrote: Russel, On Mon, Dec 1, 2014 at 2:50 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: What I see here is a load of complexity which achieves very little. The result doesn't get rid of much assembly, but it does make stuff

Re: [PATCH 2/2] oom: kill the insufficient and no longer needed PT_TRACE_EXIT check

2014-12-02 Thread Michal Hocko
On Fri 28-11-14 00:04:08, Oleg Nesterov wrote: After the previous patch we can remove the PT_TRACE_EXIT check in oom_scan_process_thread(), it was added to handle the case when the coredumping was frozen by ptrace, but it doesn't really work. If nothing else, we would need to check all threads

Re: [PATCH v1] lib/genalloc.c: Export devm_gen_pool_create for modules

2014-12-02 Thread Michal Simek
On 12/02/2014 10:31 AM, Prabhakar Lad wrote: Hi Michal, Thanks for the patch. On Mon, Dec 1, 2014 at 1:00 PM, Michal Simek michal.si...@xilinx.com wrote: Modules can use this function for creating pool. Signed-off-by: Michal Simek michal.si...@xilinx.com --- I am pushing Zynq OCMC

  1   2   3   4   5   6   7   8   9   10   >