Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-17 Thread Geert Uytterhoeven
On Mon, Nov 17, 2014 at 2:22 AM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Saturday, November 15, 2014 01:32:01 PM Geert Uytterhoeven wrote: On Fri, Nov 14, 2014 at 6:36 PM, Kevin Hilman khil...@kernel.org wrote: On Thu, Nov 13, 2014 at 11:28 PM, Kevin Hilman khil...@kernel.org wrote:

Re: linux-next: manual merge of the tiny tree with the net-next tree

2014-11-17 Thread Josh Triplett
On Mon, Nov 17, 2014 at 04:35:03PM +1100, Stephen Rothwell wrote: Hi Josh, Today's linux-next merge of the tiny tree got a conflict in net/openvswitch/Kconfig between commit 8cd4313aa775 (openvswitch: Fix build failure) from the net-next tree and commit b043d487e255 (lib: Conditionally

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

2014-11-17 Thread Stephen Rothwell
Hi Tomi, After merging the omap_dss2 tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/video/fbdev/simplefb.c: In function 'simplefb_clocks_init': drivers/video/fbdev/simplefb.c:207:2: error: implicit declaration of function 'of_clk_get_parent_count'

Re: [PATCH v3 2/3] tracing, function_graph: add additional marks to signal very large function execution time

2014-11-17 Thread Byungchul Park
Hi Namhyung, :) On Mon, Nov 17, 2014 at 04:58:21PM +0900, Namhyung Kim wrote: Hi Byungchul, On Mon, 17 Nov 2014 09:41:57 +0900, byungchul park wrote: From: Byungchul Park byungchul.p...@lge.com Currently, function graph tracer prints ! or + just before function execution time to

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

2014-11-17 Thread Stephen Rothwell
Hi Corey, After merging the ipmi tree, today's linux-next build (powerpc allyesconfig) failed like this: make[3]: *** No rule to make target `drivers/char/ipmi/ipmi_powernv.o', needed by `drivers/char/ipmi/built-in.o'. Caused by commit e6d873424d62 (drivers/char/ipmi: Add powernv IPMI driver).

Re: [BUG] index is out of range for nfnl_group2type[]

2014-11-17 Thread Andrey Ryabinin
On 11/14/2014 08:44 PM, Pablo Neira Ayuso wrote: On Thu, Nov 13, 2014 at 12:00:43PM +0300, Andrey Ryabinin wrote: FYI I've spotted this: [ 180.202810] [ 180.203600] UBSan: Undefined behaviour in

Re: [RFC v6 0/3] usb: phy: hold wakeupsource on usb phy events.

2014-11-17 Thread Kiran Raparthy
Hi Felipe, Just a gentle reminder. Could you please review/share your comments for the below v6 patches which i sent earlier. [RFC v6 1/3] usb: phy: introduce usb_phy_set_event interface [RFC v6 2/3] usb: phy: handle per-PHY connect and disconnect events [RFC v6 3/3] usb: phy: hold wakeupsource

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

2014-11-17 Thread Stephen Rothwell
Hi Corey, After merging the ipmi tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/char/ipmi/ipmi_ssif.c: In function 'ssif_probe': drivers/char/ipmi/ipmi_ssif.c:1377:23: error: 'union ipmi_smi_info_union' has no member named 'acpi_info'

Re: [PATCH] dmaengine: pl330: Fix linker error undefined reference to `__aeabi_uldivmod'

2014-11-17 Thread Vinod Koul
On Thu, Nov 13, 2014 at 05:11:28PM +, Jon Medhurst (Tixy) wrote: On Thu, 2014-11-13 at 22:31 +0530, Vinod Koul wrote: On Thu, Nov 13, 2014 at 04:27:27PM +, Jon Medhurst (Tixy) wrote: 32-bit ARM kernels may have a 64-bit dma_addr_t but have no implementation of the compiler helper

Re: [PATCH v4 2/6] input: touchscreen: ti_am335x_tsc: Remove udelay in interrupt handler

2014-11-17 Thread Richard Cochran
On Mon, Nov 17, 2014 at 09:57:05AM +0530, Vignesh R wrote: My patches are based on v3.18rc2. I tested my patches on am335x-evm using tslib. No beaglebone + cape testing? Please explain touch is broken? What is the behaviour of TSC? With plain v3.17 plus your series, the cursor is almost

Re: [PATCH 1/1] kprobes: Deletion of an unnecessary check before the function call module_put

2014-11-17 Thread Masami Hiramatsu
(2014/11/16 21:34), SF Markus Elfring wrote: From: Markus Elfring elfr...@users.sourceforge.net Date: Sun, 16 Nov 2014 12:20:31 +0100 The module_put() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was

Re: [RFC PATCH 0/7] Replace _PAGE_NUMA with PAGE_NONE protections

2014-11-17 Thread Aneesh Kumar K.V
Mel Gorman mgor...@suse.de writes: This is follow up from the pipe/page fault oddness thread. Automatic NUMA balancing depends on being able to protect PTEs to trap a fault and gather reference locality information. Very broadly speaking it would mark PTEs as not present and use another bit

Re: [GIT PULL] x86 fixes

2014-11-17 Thread Markus Trippelsdorf
On 2014.11.17 at 08:42 +0100, Markus Trippelsdorf wrote: On 2014.11.16 at 10:07 +0100, Ingo Molnar wrote: Junjie Mao (1): x86, kaslr: Prevent .bss from overlaping initrd This breaks the build for me: ... OBJCOPY arch/x86/boot/compressed/vmlinux.bin HOSTCC

[RESUBMIT PATCH v7 0/9] Add Skyworks SKY81452 device drivers

2014-11-17 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. v7: Modified licensing text to

Kudos to Josselin Mouette a different systemd proponent.

2014-11-17 Thread SystemD Abomination
Kudos to Josselin Mouette a different systemd proponent. There is an exception to every rule. The rule has been that every proponent of systemd thusfar has been a social justice warrior, well really just an anglo-type feminist (hates men, works to restrict men and raise woman in his place, there

[RESUBMIT PATCH v7 7/9] regulator: sky81452: Modify Device Tree structure

2014-11-17 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com --- Changes v7: Modified licensing text to GPLv2 Splitted Kconfig renaming from DT patch Changes v6: Added new line character at the end of line of dev_err() Changes v5: Changed DT for regulator :

[RESUBMIT PATCH v7 4/9] devicetree: backlight: Add new SKY81452 backlight binding

2014-11-17 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com --- Changes v7: Nothing Changes v6: Nothing Changes v5: Nothing Changes v4: Nothing Changes v3: Nothing Changes v2: Added reg attribute for I2C slave address

[RESUBMIT PATCH v7 3/9] devicetree: mfd: Add new SKY81452 mfd binding

2014-11-17 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com --- Changes v7: Nothing Changes v6: Nothing Changes v5: Changed DT for regulator : 'lout' node should be defined under 'regulator' Removed compatible string from sky81452-regulator driver Changes v4:

[RESUBMIT PATCH v7 5/9] devicetree: Add vendor prefix for Skyworks Solutions, Inc.

2014-11-17 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com --- Changes v7: Nothing Changes v6: Nothing Changes v5: Nothing Changes v4: Nothing Changes v3: Nothing Changes v2: Added vendor prefix for Skyworks Solutions, Inc.

[RESUBMIT PATCH v7 6/9] devicetree: i2c: Add SKY81452 to the Trivial Devices list

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

[RESUBMIT PATCH v7 1/9] mfd: Add support for Skyworks SKY81452 driver

2014-11-17 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 v7: Modified licensing text to GPLv2 Changes v6: Added new line character at the end of line of dev_err() Changes v5: Move sky81452-backlight.h to

Re: [PATCH] i8k: Ignore temperature sensors which report invalid values

2014-11-17 Thread Pali Rohár
On Thursday 23 October 2014 18:45:07 Guenter Roeck wrote: On Thu, Oct 23, 2014 at 12:37:34PM +0200, Pali Rohár wrote: On Wednesday 22 October 2014 19:10:05 Guenter Roeck wrote: On Wed, Oct 22, 2014 at 06:35:53PM +0200, Pali Rohár wrote: On Wednesday 22 October 2014 18:19:47 Guenter Roeck

[RESUBMIT PATCH v7 9/9] regulator: sky81452: Modify dependent Kconfig symbol

2014-11-17 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com --- Changes v7: Splitted Kconfig renaming from DT patch drivers/regulator/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/Kconfig

[RESUBMIT PATCH v7 8/9] devicetree: regulator: sky81452: Modify Device Tree structure

2014-11-17 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com --- Changes v7: Nothing Changes v6: Nothing Changes v5: Changed DT for regulator : 'lout' node should be defined under 'regulator' Removed compatible string from sky81452-regulator driver Changes v4:

[RESUBMIT PATCH v7 2/9] backlight: Add support Skyworks SKY81452 backlight driver

2014-11-17 Thread gyungoh
From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com --- Changes v7: Modified licensing text to GPLv2 Changes v6: Added new line character at the end of line of dev_err() Changes v5: Move sky81452-backlight.h to include/linux/platform_data Changes v4:

Kudos to Josselin Mouette a different systemd proponent.

2014-11-17 Thread SystemD Abomination
Kudos to Josselin Mouette a different systemd proponent. There is an exception to every rule. The rule has been that every proponent of systemd thusfar has been a social justice warrior, well really just an anglo-type feminist (hates men, works to restrict men and raise woman in his place, there

Re: [PATCH] drivers: Change calls to mdelay to msleep in order to stop CPU busy looping in mdfld_dsi_pkg_sender.c

2014-11-17 Thread Jani Nikula
On Sat, 15 Nov 2014, Nicholas Krause xerofo...@gmail.com wrote: Changes the calls of mdelay to msleep in the driver file mdfld_dsi_pkg_sender.c in order to prevent CPU busy looping in order to save CPU cycles as this is considered bad form over sleeping the CPU for high resolution timer

Re: [RFC] adp1653: Add device tree bindings for LED controller

2014-11-17 Thread Pali Rohár
On Sunday 16 November 2014 08:59:28 Pavel Machek wrote: For device tree people: Yes, I know I'll have to create file in documentation, but does the binding below look acceptable? I'll clean up driver code a bit more, remove the printks. Anything else obviously wrong? Signed-off-by: Pavel

Kudos to Josselin Mouette a different systemd proponent.

2014-11-17 Thread SystemD Abomination
Kudos to Josselin Mouette a different systemd proponent. There is an exception to every rule. The rule has been that every proponent of systemd thusfar has been a social justice warrior, well really just an anglo-type feminist (hates men, works to restrict men and raise woman in his place, there

Kudos to Josselin Mouette a different systemd proponent.

2014-11-17 Thread SystemD Abomination
Kudos to Josselin Mouette a different systemd proponent. There is an exception to every rule. The rule has been that every proponent of systemd thusfar has been a social justice warrior, well really just an anglo-type feminist (hates men, works to restrict men and raise woman in his place, there

[PATCH] staging: skein: fix sparse warnings related to shift operator

2014-11-17 Thread Domagoj Trsan
Fix warnings: drivers/staging/skein/skein_base.h:89:30: warning: shift too big (50) for type int ... drivers/staging/skein/skein_base.h:89:30: warning: shift too big (39)for type int drivers/staging/skein/skein_base.h:89:19: warning: too many warnings Signed-off-by: Domagoj Trsan

Re: [PATCH] serial: 8250_dw: Handle no_console_suspend when uart loses state

2014-11-17 Thread Loic Poulain
In certain suspend modes on certain boards the 8250 UART may lose state when the device goes to suspend. If we're using no_console_suspend this can cause lots of problems during resume. Let's cache the basic UART config registers at suspend time and if we notice that the UART loses state (by

Re: [GIT PULL] at91: fixes for 3.18 #2

2014-11-17 Thread Nicolas Ferre
On 17/11/2014 00:12, Olof Johansson : On Fri, Nov 14, 2014 at 12:11:22PM +0100, Nicolas Ferre wrote: Arnd, Olof, Kevin, I don't have more for the moment, so here is trivial at91 material for 3.18. Thanks, best regards, The following changes since commit

Re: [PATCH 1/1] kernel-audit: Deletion of an unnecessary check before the function call audit_log_end

2014-11-17 Thread SF Markus Elfring
You removed the statement from if (foo) kfree_fsm(foo); so now it prints a warning. drivers/s390/net/fsm.c Would it be better to continue the clarification of affected implementation details under the discussion topic s390/net: Deletion of unnecessary checks before two function calls?

[RESEND PATCH v2 1/3] regulator: max77802: Remove support for board files

2014-11-17 Thread Krzysztof Kozlowski
The driver is used only on Exynos based boards with DTS support. Simplify the driver and remove dead (unused) entries in platform_data structure. Convert the driver to DTS-only version. Parse all regulators at once, not one-by-one. Remove dependency on data provided by max77686 MFD driver. Use

[RESEND PATCH v2 3/3] mfd: max77686/802: Remove support for board files

2014-11-17 Thread Krzysztof Kozlowski
The driver is used only on Exynos based boards with DTS support. After removal of board file support from max77686 and max77802 regulator drivers, the MFD driver can be converted to DTS-only version. This simplifies a little the code: 1. No dead (unused) entries in platform_data structure. 2. More

linux-next: Tree for Nov 17

2014-11-17 Thread Stephen Rothwell
Hi all, Changes since 20141114: The idle tree gained a conflict against the pm tree. The net-next tree gained a build failure for which I applied a merge fix patch. The drm tree gained conflicts against the drm-intel-fixes and Linus' trees. The block tree gained a build failure so I used the

[RESEND PATCH v2 2/3] regulator: max77686: Remove support for board files

2014-11-17 Thread Krzysztof Kozlowski
The driver is used only on Exynos based boards with DTS support. Simplify the driver and remove dead (unused) entries in platform_data structure. Convert the driver to DTS-only version. Parse all regulators at once, not one-by-one. Remove dependency on data provided by max77686 MFD driver. Use

[RESEND PATCH v2 0/3] regulator: max77686/802: Cleanup

2014-11-17 Thread Krzysztof Kozlowski
Hi, No changes, resending with new acks/tests from Javier and after rebasing on current next. Changes since v1 1. Rebase on next-20141105, now it should apply cleanly to regulator tree. 2. Remove first 3 patches, applied by Mark. Description === Previously this

Re: [PATCH v12 11/15] arm: omap1: Migrate debug_ll macros to use 8250.S

2014-11-17 Thread Daniel Thompson
On 16/11/14 00:29, Aaro Koskinen wrote: Hi, On Fri, Oct 24, 2014 at 11:54:32AM +0100, Daniel Thompson wrote: +config DEBUG_OMAP1UART1 +bool Kernel low-level debugging via OMAP1 UART1 +depends on ARCH_OMAP1 +select DEBUG_UART_8250 +help

Re: [PATCH 2/4] gpiolib: use const parameters when possible

2014-11-17 Thread Uwe Kleine-König
Hello, On Wed, Feb 13, 2013 at 04:03:00PM +0900, Alexandre Courbot wrote: From: Alexandre Courbot acour...@nvidia.com Constify descriptor parameter of gpiod_* functions for those that should obviously not modify it. This includes value or direction get, cansleep, and IRQ number query.

[PATCH V3 1/2] virtio: introduce methods of sanitizing device features

2014-11-17 Thread Jason Wang
Buggy host may advertised buggy host features (a usual case is that host advertise a feature whose dependencies were missed). In this case, driver should detect and disable the buggy features by itself. This patch introduces driver specific sanitize_features() method which is called just before

Re: [PATCH] serial: 8250_dw: Handle no_console_suspend when uart loses state

2014-11-17 Thread Heiko Stübner
Am Montag, 17. November 2014, 09:56:08 schrieb Loic Poulain: In certain suspend modes on certain boards the 8250 UART may lose state when the device goes to suspend. If we're using no_console_suspend this can cause lots of problems during resume. Let's cache the basic UART config

[PATCH V3 2/2] virtio-net: sanitize buggy features advertised by host

2014-11-17 Thread Jason Wang
This patch tries to detect the possible buggy features advertised by host and sanitize them. One example is booting virtio-net with only ctrl_vq disabled, qemu may still advertise many features which depends on it. This will trigger several BUG()s in virtnet_send_command(). This patch utilizes

Re: [PATCH 0/3] KVM: simplification to the memslots code

2014-11-17 Thread Paolo Bonzini
On 17/11/2014 02:56, Takuya Yoshikawa wrote: here are a few small patches that simplify __kvm_set_memory_region and associated code. Can you please review them? Ah, already queued. Sorry for being late to respond. While they are not in kvm/next, there's time to add Reviewed-by's and all

Re: [PATCH] nios2: fix error handling of irq_of_parse_and_map

2014-11-17 Thread Tobias Klauser
On 2014-11-14 at 23:04:19 +0100, Dmitry Torokhov d...@chromium.org wrote: Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating failure, so testing for negative result never works. Signed-off-by: Dmitry Torokhov d...@chromium.org Reviewed-by: Tobias Klauser

[PATCH] video: ARM CLCD: Remove duplicated include in amba-clcd.c

2014-11-17 Thread Qiang Chen
This patch fixes duplicated include dma-mapping.h in drivers/video/fbdev/amba-clcd.c Signed-off-by: Qiang Chen qiang2.c...@sonymobile.com --- drivers/video/fbdev/amba-clcd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/amba-clcd.c b/drivers/video/fbdev/amba-clcd.c index

Re: [PATCH 0/3] KVM: simplification to the memslots code

2014-11-17 Thread Takuya Yoshikawa
On 2014/11/17 18:23, Paolo Bonzini wrote: On 17/11/2014 02:56, Takuya Yoshikawa wrote: here are a few small patches that simplify __kvm_set_memory_region and associated code. Can you please review them? Ah, already queued. Sorry for being late to respond. While they are not in

RE: [PATCH v8 02/14] perf: Add AUX area to ring buffer for raw data streams

2014-11-17 Thread Metzger, Markus T
-Original Message- From: Alexander Shishkin [mailto:alexander.shish...@linux.intel.com] Sent: Friday, November 14, 2014 2:44 PM To: Peter Zijlstra Cc: Ingo Molnar; linux-kernel@vger.kernel.org; Robert Richter; Frederic Weisbecker; Mike Galbraith; Paul Mackerras; Stephane Eranian;

[PATCH v12 0/3] ARM: rk3288: Add PM Domain support

2014-11-17 Thread Caesar Wang
Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288. https://chromium-review.googlesource.com/#/c/220253/9 This is the GPU driver, add the following information in DT, and it can support the PMDOMAIN gpu: gpu@ffa3 {

Re: [PATCH V3 1/2] virtio: introduce methods of sanitizing device features

2014-11-17 Thread Michael S. Tsirkin
On Mon, Nov 17, 2014 at 05:17:17PM +0800, Jason Wang wrote: Buggy host may advertised buggy host features (a usual case is that host advertise a feature whose dependencies were missed). In this case, driver should detect and disable the buggy features by itself. This patch introduces driver

Re: [PATCH 00/10] Save MSI chip in pci_sys_data

2014-11-17 Thread Thomas Gleixner
On Sun, 16 Nov 2014, Bjorn Helgaas wrote: On Tue, Nov 11, 2014 at 09:23:59PM -0700, Bjorn Helgaas wrote: On Mon, Oct 27, 2014 at 03:48:37PM +0800, Yijing Wang wrote: Yijing Wang (10): MSI: Rename msi_chip to msi_controller for better readability PCI/MSI: Introduce weak

[RFC PATCH 03/16] PCI: Clean up pci_scan_bus()

2014-11-17 Thread Yijing Wang
No one uses it, clean up. Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/pci/probe.c | 20 include/linux/pci.h |1 - 2 files changed, 0 insertions(+), 21 deletions(-) diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index fc99e88..0a02fc2 100644

[RFC PATCH 00/16] Refine PCI host bridge scan interfaces

2014-11-17 Thread Yijing Wang
This series is based Linux 3.18-rc1 and Lorenzo Pieralisi's arm PCI domain cleanup patches, link: https://patchwork.ozlabs.org/patch/407585/ Current pci scan interfaces like pci_scan_root_bus() and directly call pci_create_root_bus()/pci_scan_child_bus() lack flexiblity. Some platform infos like

[RFC PATCH 12/16] ia64/PCI: Remove the redundant bus variable

2014-11-17 Thread Yijing Wang
Signed-off-by: Yijing Wang wangyij...@huawei.com --- arch/ia64/pci/pci.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/arch/ia64/pci/pci.c b/arch/ia64/pci/pci.c index 291a582..aac3220 100644 --- a/arch/ia64/pci/pci.c +++ b/arch/ia64/pci/pci.c @@ -424,7 +424,6 @@

[RFC PATCH 05/16] PCI: Use pci_scan_root_bus() instead of pci_scan_bus_parented()

2014-11-17 Thread Yijing Wang
Now we can remove the deprecated pci_scan_bus_parented(), and use pci_scan_root_bus() instead. Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/pci/probe.c| 19 --- drivers/pci/xen-pcifront.c |6 +++--- include/linux/pci.h|2 -- 3 files

[RFC PATCH 15/16] arm/PCI: Use pci_scan_host_bridge() instead of pci_scan_root_bus()

2014-11-17 Thread Yijing Wang
Signed-off-by: Yijing Wang wangyij...@huawei.com --- arch/arm/include/asm/mach/pci.h |1 + arch/arm/kernel/bios32.c| 52 +++--- 2 files changed, 32 insertions(+), 21 deletions(-) diff --git a/arch/arm/include/asm/mach/pci.h

[RFC PATCH 09/16] PCI: Associate .get_msi_ctrl() with pci_host_bridge

2014-11-17 Thread Yijing Wang
From: Yijing Wang wangyijing0...@gmail.com Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/pci/host-bridge.c |1 + include/linux/pci.h |2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/pci/host-bridge.c b/drivers/pci/host-bridge.c index

[RFC PATCH 16/16] powerpc/PCI: Use pci_scan_host_bridge() to scan PCI bus

2014-11-17 Thread Yijing Wang
Signed-off-by: Yijing Wang wangyij...@huawei.com --- arch/powerpc/kernel/pci-common.c | 81 ++--- 1 files changed, 48 insertions(+), 33 deletions(-) diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c index e5dad9a..5b0f078 100644

[RFC PATCH 14/16] arm/PCI: Introduce pci_get_domain_nr()

2014-11-17 Thread Yijing Wang
Signed-off-by: Yijing Wang wangyij...@huawei.com --- arch/arm/include/asm/mach/pci.h |9 + arch/arm/kernel/bios32.c|8 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/mach/pci.h b/arch/arm/include/asm/mach/pci.h index

[RFC PATCH 10/16] PCI: Add of_scan_bus() to pci_host_info

2014-11-17 Thread Yijing Wang
Add of_scan_bus() to support some platforms scan bus by of_node. Signed-off-by: Yijing Wang wangyij...@huawei.com --- drivers/pci/host-bridge.c |1 + drivers/pci/probe.c | 10 +++--- include/linux/pci.h |3 +++ 3 files changed, 11 insertions(+), 3 deletions(-) diff

[RFC PATCH 13/16] ia64/PCI: Use pci_scan_host_bridge() to refactor pci_acpi_scan_root()

2014-11-17 Thread Yijing Wang
Signed-off-by: Yijing Wang wangyij...@huawei.com --- arch/ia64/pci/pci.c | 84 +++--- 1 files changed, 39 insertions(+), 45 deletions(-) diff --git a/arch/ia64/pci/pci.c b/arch/ia64/pci/pci.c index aac3220..c7d97ae 100644 --- a/arch/ia64/pci/pci.c

[RFC PATCH 02/16] PCI: Use pci_scan_root_bus() instead of pci_scan_bus()

2014-11-17 Thread Yijing Wang
From: Yijing Wang wangyijing0...@gmail.com Now we could use pci_scan_root_bus() instead of pci_scan_bus(), pass NULL resources means use the default io/mem. Signed-off-by: Yijing Wang wangyij...@huawei.com --- arch/alpha/include/asm/pci.h |2 +- arch/alpha/kernel/sys_nautilus.c |2

[RFC PATCH 06/16] PCI: Use u32 type to combine PCI domain and bus number

2014-11-17 Thread Yijing Wang
Currently, we use int type for bus number in pci_create_root_bus() and pci_scan_root_bus(). Because bus number is = 255, so we could change the bus number argument type to u32, and combine PCI domain and bus number, we will save the domain number in pci_host_bridge in later patch, and eliminate

[RFC PATCH 01/16] PCI: Enhance pci_scan_root_bus() to support default IO/MEM resources

2014-11-17 Thread Yijing Wang
From: Yijing Wang wangyijing0...@gmail.com Pci_scan_root_bus(), pci_scan_bus() and pci_scan_bus_parented() are very similar. But the latter two use the default io/mem resources. Enhance pci_scan_root_bus() to support default io/mem resources, then we could use pci_scan_root_bus() instead of them,

[RFC PATCH 11/16] x86/PCI: Use pci_scan_host_bridge() instead of pci_create_root_bus()

2014-11-17 Thread Yijing Wang
Now we could use pci_scan_host_bridge() to refactor pci_acpi_scan_root(). Signed-off-by: Yijing Wang wangyij...@huawei.com --- arch/x86/pci/acpi.c | 65 ++--- arch/x86/pci/common.c | 23 - 2 files changed, 56 insertions(+), 32

Re: [PATCH V3 1/2] virtio: introduce methods of sanitizing device features

2014-11-17 Thread Cornelia Huck
On Mon, 17 Nov 2014 11:37:01 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Mon, Nov 17, 2014 at 05:17:17PM +0800, Jason Wang wrote: Buggy host may advertised buggy host features (a usual case is that host advertise a feature whose dependencies were missed). In this case, driver should

[RFC PATCH 08/16] PCI: Introduce pci_scan_host_bridge() and pci_host_info

2014-11-17 Thread Yijing Wang
From: Yijing Wang wangyijing0...@gmail.com Now pci_host_bridge has been ripped out from pci root bus creation. Currently pci_scan_root_bus() lacks scalability, so platform host drivers have no proper way to configure pci_host_bridge. E.g we should assign msi_controller to pci_host_bridge, add

[RFC PATCH 04/16] PCI: Rip out pci_bus_add_devices() from pci_scan_root_bus()

2014-11-17 Thread Yijing Wang
Rip out pci_bus_add_devices() from pci_scan_root_bus() for following reasons. 1. pci_scan_root_bus() means we only do the scan, we should not add pci busses. 2. A lots of drviers which use pci_scan_root_bus() call pci_bus_size_bridges(), pci_bus_assign_resources() after pci_scan_root_bus(). But

[RFC PATCH 07/16] PCI: Separate pci_host_bridge creation out of pci_create_root_bus()

2014-11-17 Thread Yijing Wang
There are some common PCI infos like domain, msi_controller, these infos are saved in arch PCI sysdata, and lots arch specific functions like pci_domain_nr() and pcibios_msi_controller() required. We could separate pci_host_bridge creation out of pci_create_root_bus(), then we could put the common

Re: linux-next: manual merge of the drm tree with Linus' tree

2014-11-17 Thread Thierry Reding
On Mon, Nov 17, 2014 at 02:11:58PM +1100, Stephen Rothwell wrote: * PGP Signed by an unknown key Hi Dave, Today's linux-next merge of the drm tree got a conflict in drivers/gpu/drm/tegra/dc.c between commit 8ff64c17f3be (drm/tegra: dc: Add missing call to drm_vblank_on()) from Linus' tree

Re: [PATCH 2/2] sched/deadline: fix start high-res preemption tick for a non-running task

2014-11-17 Thread Juri Lelli
Hi, On 13/11/14 10:30, Wanpeng Li wrote: Hi Juri, On 11/13/14, 5:37 PM, Juri Lelli wrote: Hi, not sure I understand what the problem is here. On 11/11/14 01:52, Wanpeng Li wrote: Queued ticks are scheduled to match the budget, which means the budget is overall consumed and the dl task

[PATCH v12 1/3] dt-bindings: add document of Rockchip power domain

2014-11-17 Thread Caesar Wang
This add the necessary binding documentation for the power domain found on Rockchip Socs. Signed-off-by: Jack Dai jack@rock-chips.com Signed-off-by: jinkun.hong jinkun.h...@rock-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- Changes in v12: None Changes in v11: None

[PATCH v12 2/3] power-domain: rockchip: add power domain driver

2014-11-17 Thread Caesar Wang
In order to meet high performance and low power requirements, a power management unit is designed or saving power when RK3288 in low power mode. The RK3288 PMU is dedicated for managing the power ot the whole chip. Signed-off-by: Jack Dai jack@rock-chips.com Signed-off-by: jinkun.hong

[PATCH v12 0/3] ARM: rk3288: Add PM Domain support

2014-11-17 Thread Caesar Wang
Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288. https://chromium-review.googlesource.com/#/c/220253/9 This is the GPU driver, add the following information in DT, and it can support the PMDOMAIN gpu: gpu@ffa3 {

[PATCH v12 3/3] ARM: dts: add rk3288 power-domain node

2014-11-17 Thread Caesar Wang
This patch add the needed clocks into power-controller. why need we do so that? Firstly, we always be needed turn off clocks to save power when the system enter suspend.So we need to enumerate the clocks are needed to switch power doamin no and off. Secondly, Rk3288 reset circuit should be

Re: [PATCH 2/3] gpio: arizona: Add support for CS47L24

2014-11-17 Thread Richard Fitzgerald
On Mon, Nov 17, 2014 at 07:41:53AM +0100, Linus Walleij wrote: On Tue, Nov 11, 2014 at 6:04 PM, Richard Fitzgerald r...@opensource.wolfsonmicro.com wrote: Signed-off-by: Richard Fitzgerald r...@opensource.wolfsonmicro.com Apart from the whitespace fix pointed out by Mark, THe line Mark

Re: [PATCH] staging: comedi: me4000: Fixed code style issue

2014-11-17 Thread Ian Abbott
On 15/11/14 15:55, Marcus Hufvudsson wrote: Fixed checkpatch.pl error message. Space prohibited before that ',' Signed-off-by: Marcus Hufvudsson marcus...@gmail.com --- drivers/staging/comedi/drivers/me4000.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] nios2: fix error handling of irq_of_parse_and_map

2014-11-17 Thread Ley Foon Tan
On Mon, Nov 17, 2014 at 5:24 PM, Tobias Klauser tklau...@distanz.ch wrote: On 2014-11-14 at 23:04:19 +0100, Dmitry Torokhov d...@chromium.org wrote: Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating failure, so testing for negative result never works. Signed-off-by:

Re: [RFC] adp1653: Add device tree bindings for LED controller

2014-11-17 Thread Pavel Machek
Hi! On Mon 2014-11-17 09:43:19, Pali Rohár wrote: On Sunday 16 November 2014 08:59:28 Pavel Machek wrote: For device tree people: Yes, I know I'll have to create file in documentation, but does the binding below look acceptable? I'll clean up driver code a bit more, remove the printks.

[PATCH 1/1] ALSA: hda: Deletion of unnecessary checks before two function calls

2014-11-17 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Mon, 17 Nov 2014 10:44:33 +0100 The functions kfree() and release_firmware() test whether their argument is NULL and then return immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle

Re: [RESEND PATCH v2 0/3] regulator: max77686/802: Cleanup

2014-11-17 Thread Mark Brown
On Mon, Nov 17, 2014 at 10:04:12AM +0100, Krzysztof Kozlowski wrote: No changes, resending with new acks/tests from Javier and after rebasing on current next. ...after less than two weeks. Please allow a reasonable time for review. signature.asc Description: Digital signature

Re: [RFC PATCH 01/16] PCI: Enhance pci_scan_root_bus() to support default IO/MEM resources

2014-11-17 Thread Arnd Bergmann
On Monday 17 November 2014 18:21:35 Yijing Wang wrote: - list_for_each_entry(window, resources, list) - if (window-res-flags IORESOURCE_BUS) { - found = true; - break; - } + if (!resources) { +

Re: [PATCH V3 2/2] virtio-net: sanitize buggy features advertised by host

2014-11-17 Thread Michael S. Tsirkin
On Mon, Nov 17, 2014 at 05:17:18PM +0800, Jason Wang wrote: This patch tries to detect the possible buggy features advertised by host and sanitize them. One example is booting virtio-net with only ctrl_vq disabled, qemu may still advertise many features which depends on it. This will trigger

Re: [RFC] adp1653: Add device tree bindings for LED controller

2014-11-17 Thread Pali Rohár
On Monday 17 November 2014 11:05:19 Pavel Machek wrote: Hi! On Mon 2014-11-17 09:43:19, Pali Rohár wrote: On Sunday 16 November 2014 08:59:28 Pavel Machek wrote: For device tree people: Yes, I know I'll have to create file in documentation, but does the binding below look

Re: [PATCH V3 1/2] virtio: introduce methods of sanitizing device features

2014-11-17 Thread Michael S. Tsirkin
On Mon, Nov 17, 2014 at 10:44:30AM +0100, Cornelia Huck wrote: On Mon, 17 Nov 2014 11:37:01 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Mon, Nov 17, 2014 at 05:17:17PM +0800, Jason Wang wrote: Buggy host may advertised buggy host features (a usual case is that host advertise a

Re: [PATCH v7 08/13] usb: chipidea: add a usb2 driver for ci13xxx

2014-11-17 Thread Antoine Tenart
Felipe, On Fri, Nov 14, 2014 at 03:13:34PM -0600, Felipe Balbi wrote: On Fri, Nov 14, 2014 at 10:10:52PM +0100, Antoine Tenart wrote: On Fri, Nov 14, 2014 at 03:08:32PM -0600, Felipe Balbi wrote: On Fri, Nov 14, 2014 at 04:25:58PM +0100, Antoine Tenart wrote: Add a USB2 ChipIdea driver

Re: [PATCH 2/5] regulator: s2mps11: Add support S2MPS13 regulator device

2014-11-17 Thread Krzysztof Kozłowski
On 17.11.2014 01:42, Chanwoo Choi wrote: This patch adds S2MPS13 regulator device to existing S2MPS11 device driver. The S2MPS13 has just different number of regulators from S2MPS14. The S2MPS13 regulator device includes LDO[1-40] and BUCK[1-10]. Cc: Mark Brown broo...@kernel.org

Re: [RFC] adp1653: Add device tree bindings for LED controller

2014-11-17 Thread Pavel Machek
On Mon 2014-11-17 11:09:45, Pali Rohár wrote: On Monday 17 November 2014 11:05:19 Pavel Machek wrote: Hi! On Mon 2014-11-17 09:43:19, Pali Rohár wrote: On Sunday 16 November 2014 08:59:28 Pavel Machek wrote: For device tree people: Yes, I know I'll have to create file in

Re: [PATCH 3/5] clk: s2mps11: Add the support for S2MPS13 PMIC clock

2014-11-17 Thread Krzysztof Kozłowski
On 17.11.2014 01:42, Chanwoo Choi wrote: This patch adds the support for S2MPS13 PMIC clock which is same with existing S2MPS14 RTC IP. But, S2MPS13 uses all of clocks (32khz_{ap|bt|cp}). Cc: Mike Turquette mturque...@linaro.org Signed-off-by: Chanwoo Choi cw00.c...@samsung.com ---

Re: [PATCH 4/5] rtc: s5m: Add the support for S2MPS13 RTC

2014-11-17 Thread Krzysztof Kozłowski
On 17.11.2014 01:42, Chanwoo Choi wrote: This patch adds only the compatible string for S2MPS13 clock which is identical with S2MPS14 clock driver. Cc: Alessandro Zummo a.zu...@towertech.it Signed-off-by: Chanwoo Choi cw00.c...@samsung.com --- drivers/rtc/rtc-s5m.c | 15 ++-

Re: [PATCH v4 5/6] Documentation: dt-bindings: Add binding info for X-Gene QMTM UIO driver

2014-11-17 Thread Ankit Jindal
On 16 November 2014 09:56, Anup Patel a...@brainfault.org wrote: On Thu, Nov 13, 2014 at 1:15 PM, Ankit Jindal ankit.jin...@linaro.org wrote: This patch adds device tree binding documentation for X-Gene QMTM UIO driver. Signed-off-by: Ankit Jindal ankit.jin...@linaro.org Signed-off-by:

Re: [PATCH 5/5] mfd: s2mps11: Add binding documentation for Samsung S2MPS13 PMIC

2014-11-17 Thread Krzysztof Kozłowski
On 17.11.2014 01:43, Chanwoo Choi wrote: This patch adds the binding documentation for Samsung S2MPS13 PMIC which is similiar with existing S2MPS14 PMIC. S2MPS13 has the different number of regulators from S2MPS14 and RTC/Clock is the same with the S2MPS14. Cc: Lee Jones lee.jo...@linaro.org

Re: [PATCH V3 1/2] virtio: introduce methods of sanitizing device features

2014-11-17 Thread Cornelia Huck
On Mon, 17 Nov 2014 12:11:39 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Mon, Nov 17, 2014 at 10:44:30AM +0100, Cornelia Huck wrote: On Mon, 17 Nov 2014 11:37:01 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Mon, Nov 17, 2014 at 05:17:17PM +0800, Jason Wang wrote: Buggy

Re: [PATCH] clk: qcom: Fix duplicate rbcpr clock name

2014-11-17 Thread Georgi Djakov
On 10/11/2014 03:16 AM, Stephen Boyd wrote: On 10/10, Georgi Djakov wrote: There is a duplication in a clock name for apq8084 platform that causes the following warning: RBCPR_CLK_SRC redefined Resolve this by adding a MMSS_ prefix to this clock and making its name coherent with msm8974

Re: [PATCH v4] of: replace Asahi Kasei Corp venter prefix

2014-11-17 Thread Sergei Shtylyov
Hello. On 11/17/2014 3:51 AM, Kuninori Morimoto wrote: From: Kuninori Morimoto kuninori.morimoto...@renesas.com s/venter/vendor/ in the subject. Sorry for a late comment. Current vendor-prefixes.txt already has ak prefix for Asahi Kasei Corp by ae8c4209af2c(of: Add vendor prefix for

Re: [PATCH V3 1/2] virtio: introduce methods of sanitizing device features

2014-11-17 Thread Michael S. Tsirkin
On Mon, Nov 17, 2014 at 11:20:48AM +0100, Cornelia Huck wrote: On Mon, 17 Nov 2014 12:11:39 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Mon, Nov 17, 2014 at 10:44:30AM +0100, Cornelia Huck wrote: On Mon, 17 Nov 2014 11:37:01 +0200 Michael S. Tsirkin m...@redhat.com wrote:

Re: [RFC PATCH] overlayfs: support more than one read-only layer

2014-11-17 Thread Miklos Szeredi
On Fri, Nov 14, 2014 at 9:55 AM, Jordi Pujol Palomer jordipuj...@gmail.com wrote: EL Mon, 10 Nov 2014 10:09:54 +0100 Miklos Szeredi mik...@szeredi.hu escrigué: Maybe it wasn't clear, but the number of lower layers isn't limited by FILESYSTEM_MAX_STACK_DEPTH, sorry, you have been clear, it's

Re: [PATCH v2 1/2] spi: add support for DLN-2 USB-SPI adapter

2014-11-17 Thread Laurentiu Palcu
Hi Johan, On Fri, Nov 14, 2014 at 11:56:45AM +0100, Johan Havold wrote: On Thu, Nov 13, 2014 at 05:17:21PM +0200, Laurentiu Palcu wrote: Hi Johan, On Thu, Nov 13, 2014 at 01:27:28PM +0100, Johan Havold wrote: On Wed, Nov 12, 2014 at 03:38:09PM +0200, Laurentiu Palcu wrote:

[PATCH 1/1] ALSA: ice17xx: Deletion of unnecessary checks before the function call snd_ac97_resume

2014-11-17 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Mon, 17 Nov 2014 11:28:02 +0100 The snd_ac97_resume() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.

  1   2   3   4   5   6   7   8   9   10   >