[PATCH v2 1/2] net/macb: unify clock management

2015-03-06 Thread Boris Brezillon
From: Cyrille Pitchen Most of the functions from the Common Clk Framework handle NULL pointer as input argument. Since the TX clock is optional, we now set tx_clk to NULL value instead of ERR_PTR(-ENOENT) when this clock is not available. This simplifies the clock management and avoid the need t

[PATCH 1/1] usb: xhci: handle Config Error Change (CEC) in xhci driver

2015-03-06 Thread Lu Baolu
Linux xHCI driver doesn't report and handle port cofig error change. If Port Configure Error for root hub port occurs, CEC bit in PORTSC would be set by xHC and remains 1. This happends when the root port fails to configure its link partner, e.g. the port fails to exchange port capabilities informa

Re: Re: [PATCH v2 3/3] efi: Capsule update with user helper interface

2015-03-06 Thread Borislav Petkov
On Thu, Mar 05, 2015 at 03:08:42PM -0800, Andy Lutomirski wrote: > No. Only root should be able to load capsules, but even root may not > be able to write to /lib. So basically what we want to do is: # cat /any/path/to/efi/capsule/accessible/to/root/efi_capsule.img > /sys/firmware/efi/update N

Re: [PATCH v2 2/2] net/macb: merge at91_ether driver into macb driver

2015-03-06 Thread Alexandre Belloni
On 06/03/2015 at 07:13:59 +0100, Boris Brezillon wrote : > From: Cyrille Pitchen > > macb and at91_ether drivers can be compiled as modules, but the at91_ether > driver use some functions and variables defined in the macb one, thus > creating a dependency on the macb driver. > > Since these driv

[alsa-devel] [PATCH] ARM: dts: Support audio on Exynos5422-odroidxu3 using simple-audio-card

2015-03-06 Thread Inha Song
Add MAX98090 audio codec, I2S interface and the sound nodes to support audio on Exynos5422 SoC Based Odroid-XU3 board. Now we can support audio in Odroid-XU3 board using simple-audio-card DT binding. Signed-off-by: Inha Song --- arch/arm/boot/dts/exynos5420.dtsi | 9 + arch/arm/boo

Re: linux-next: Tree for Mar 5 (iwlwifi/mvm)

2015-03-06 Thread Emmanuel Grumbach
On Fri, Mar 6, 2015 at 1:41 AM, Randy Dunlap wrote: > On 03/04/15 19:34, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20150304: >> > > on i386, when IWLWIFI_DEBUGFS is not enabled: > > > ../drivers/net/wireless/iwlwifi/mvm/phy-ctxt.c:179:38: error: 'struct > iwl_mvm' has no member named

[PATCH 1/1] staging: rtl8723au: Remove unnecessary OOM message

2015-03-06 Thread Quentin Lambert
This patch reduces the kernel size by removing error messages that duplicate the normal OOM message. A simplified version of the semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr) @@ identifier f,print,l; expression e; constant char[] c; @@ e = \(kzalloc\|kmalloc\|

Re: [PATCH v5] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-03-06 Thread Borislav Petkov
On Thu, Mar 05, 2015 at 09:37:52AM +, Naoya Horiguchi wrote: > print_mce() doesn't help? No, it doesn't because it does a bunch of MCA-specific things too. > Currently quirk_no_way_out() is set only for a specific CPU model, so even > if we define another callback for kdump code, setting it t

[PATCH] drivers: hwspinlock: add CSR atlas7 implementation

2015-03-06 Thread Barry Song
From: Wei Chen Add hwspinlock support for the CSR atlas7 SoC. The Hardware Spinlock device on atlas7 provides hardware assistance for synchronization between the multiple processors in the system (dual Cortex-A7, CAN bus Cortex-M3 and audio DSP). Signed-off-by: Wei Chen Signed-off-by: Barry So

Re: Synchronization mechanism between wait_for_completion_interruptible_timeout() & complete()

2015-03-06 Thread Naveen Kumar Parna
Thanks Michal. Now I am clearing x->done to zero before wait_for_completion_interruptible_timeout. On Thu, Mar 5, 2015 at 6:53 PM, Michal Hocko wrote: > On Wed 04-03-15 18:46:43, Naveen Kumar Parna wrote: >> Hello, >> >> I have a question regarding the synchronization mechanism between >> wait_f

Re: [PATCH v6] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-03-06 Thread Borislav Petkov
On Fri, Mar 06, 2015 at 02:59:13AM +, Naoya Horiguchi wrote: > From 8890e9976c525a4b480bf5f86008641688de8c11 Mon Sep 17 00:00:00 2001 > From: Naoya Horiguchi > Date: Fri, 6 Mar 2015 11:52:10 +0900 > Subject: [PATCH v6] x86: mce: kexec: switch MCE handler for kexec/kdump > > kexec disables (or

Re: [PATCH v4 6/9] ARM: at91: time: move the system timer driver to drivers/clocksource

2015-03-06 Thread Daniel Lezcano
On 03/05/2015 04:49 PM, Alexandre Belloni wrote: Import at91rm9200_time.c from mach-at91 as timer-atmel-st.c. Further cleanup is required to get rid of the mach-at91 headers. Signed-off-by: Alexandre Belloni Acked-by: Boris Brezillon --- arch/arm/mach-at91/Makefile

Re: [PATCH 1/1] x86/vdso: fix a reference to a non-existing instruction

2015-03-06 Thread Ingo Molnar
* Andy Lutomirski wrote: > On Thu, Mar 5, 2015 at 12:13 AM, Jiri Slaby wrote: > > .LSTARTFDEDLSI1 says: > > /* HACK: The dwarf2 unwind routines will subtract 1 from the > >return address to get an address in the middle of the > >presumed call instruction. Since

[tip:perf/urgent] perf annotate: Fix fallback to unparsed disassembler line

2015-03-06 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 3995614d9b0320e10ce202836c8477e1bcf1a2d4 Gitweb: http://git.kernel.org/tip/3995614d9b0320e10ce202836c8477e1bcf1a2d4 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 5 Mar 2015 15:27:28 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 Mar 2015 15:27:28 -0300 perf

Re: [PATCH] proc: show locks in /proc/pid/fdinfo/X

2015-03-06 Thread Cyrill Gorcunov
On Thu, Mar 05, 2015 at 06:37:18PM +0300, Andrey Vagin wrote: > Let's show locks which are associated with a file descriptor in > its fdinfo file. > > Currently we don't have a reliable way to determine who holds a lock. > We can find some information in /proc/locks, but PID which is reported > th

[tip:x86/asm] x86/asm/entry: Switch all C consumers of kernel_stack to this_cpu_sp0()

2015-03-06 Thread tip-bot for Andy Lutomirski
Commit-ID: 75182b1632a89f12540baa1806a7c5c180db620c Gitweb: http://git.kernel.org/tip/75182b1632a89f12540baa1806a7c5c180db620c Author: Andy Lutomirski AuthorDate: Thu, 5 Mar 2015 19:19:03 -0800 Committer: Ingo Molnar CommitDate: Fri, 6 Mar 2015 08:32:57 +0100 x86/asm/entry: Switch all

[tip:x86/asm] x86/asm/entry: Add this_cpu_sp0() to read sp0 for the current cpu

2015-03-06 Thread tip-bot for Andy Lutomirski
Commit-ID: 8ef46a672a7d852709561d10672b6eaa8a4acd82 Gitweb: http://git.kernel.org/tip/8ef46a672a7d852709561d10672b6eaa8a4acd82 Author: Andy Lutomirski AuthorDate: Thu, 5 Mar 2015 19:19:02 -0800 Committer: Ingo Molnar CommitDate: Fri, 6 Mar 2015 08:32:57 +0100 x86/asm/entry: Add this_cp

Re: [PATCH v4 7/9] clocksource: atmel-st: properly initialize driver

2015-03-06 Thread Daniel Lezcano
On 03/05/2015 04:49 PM, Alexandre Belloni wrote: Use clocksource_of_init to initialize the system timer instead of relying on a custom function. Signed-off-by: Alexandre Belloni Acked-by: Boris Brezillon This patch should be before 6/9 but anyway ... Acked-by: Daniel Lezcano --- arch/a

[tip:x86/asm] x86/asm/entry/64/compat: Change the 32-bit sysenter code to use sp0

2015-03-06 Thread tip-bot for Andy Lutomirski
Commit-ID: 9d0c914c60f4d3123debb653340dc1f7cf44939d Gitweb: http://git.kernel.org/tip/9d0c914c60f4d3123debb653340dc1f7cf44939d Author: Andy Lutomirski AuthorDate: Thu, 5 Mar 2015 19:19:04 -0800 Committer: Ingo Molnar CommitDate: Fri, 6 Mar 2015 08:32:58 +0100 x86/asm/entry/64/compat: C

[tip:x86/asm] x86/asm/entry: Rename 'init_tss' to 'cpu_tss'

2015-03-06 Thread tip-bot for Andy Lutomirski
Commit-ID: 24933b82c0d9a711475a5ef7904eb733f561e637 Gitweb: http://git.kernel.org/tip/24933b82c0d9a711475a5ef7904eb733f561e637 Author: Andy Lutomirski AuthorDate: Thu, 5 Mar 2015 19:19:05 -0800 Committer: Ingo Molnar CommitDate: Fri, 6 Mar 2015 08:32:58 +0100 x86/asm/entry: Rename 'ini

Re: [PATCH 0/17] crypto: talitos - Add support for SEC1

2015-03-06 Thread leroy christophe
Le 06/03/2015 01:28, Herbert Xu a écrit : On Thu, Mar 05, 2015 at 06:21:01PM -0600, Kim Phillips wrote: On Thu, 5 Mar 2015 17:46:05 +0100 Christophe Leroy wrote: [15/17] crypto: talitos - Implementation of SEC1 ... [16/17] crypto: talitos - SEC1 bugs on 0 data hash [17/17] crypto: talitos

[tip:x86/asm] x86/asm/entry: Rename 'INIT_TSS_IST' to ' CPU_TSS_IST'

2015-03-06 Thread tip-bot for Andy Lutomirski
Commit-ID: 9b47668843d800ed57f6f6bfd6f5c4cffdf201c6 Gitweb: http://git.kernel.org/tip/9b47668843d800ed57f6f6bfd6f5c4cffdf201c6 Author: Andy Lutomirski AuthorDate: Thu, 5 Mar 2015 19:19:07 -0800 Committer: Ingo Molnar CommitDate: Fri, 6 Mar 2015 08:32:58 +0100 x86/asm/entry: Rename 'INI

[PATCH] checkpatch: spell check reudce

2015-03-06 Thread Jani Nikula
References: http://mid.gmane.org/1424977312-24902-1-git-send-email-ville.syrj...@linux.intel.com Signed-off-by: Jani Nikula --- scripts/spelling.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/spelling.txt b/scripts/spelling.txt index fc7fd52b5e03..bb8e4d0a1911 100644 --- a/scrip

[tip:x86/asm] x86/asm/entry: Remove INIT_TSS and fold the definitions into 'cpu_tss'

2015-03-06 Thread tip-bot for Andy Lutomirski
Commit-ID: d0a0de21f82bbc1737ea3c831f018d0c2bc6b9c2 Gitweb: http://git.kernel.org/tip/d0a0de21f82bbc1737ea3c831f018d0c2bc6b9c2 Author: Andy Lutomirski AuthorDate: Thu, 5 Mar 2015 19:19:06 -0800 Committer: Ingo Molnar CommitDate: Fri, 6 Mar 2015 08:32:58 +0100 x86/asm/entry: Remove INIT

[tip:x86/urgent] x86/vdso: Fix the build on GCC5

2015-03-06 Thread tip-bot for Jiri Slaby
Commit-ID: e893286918d2cde3a94850d8f7101cd1039e0c62 Gitweb: http://git.kernel.org/tip/e893286918d2cde3a94850d8f7101cd1039e0c62 Author: Jiri Slaby AuthorDate: Thu, 5 Mar 2015 09:13:31 +0100 Committer: Ingo Molnar CommitDate: Fri, 6 Mar 2015 09:34:45 +0100 x86/vdso: Fix the build on GCC5

Re: [PATCH v4 8/9] clocksource: atmel-st: use syscon/regmap

2015-03-06 Thread Daniel Lezcano
On 03/05/2015 04:49 PM, Alexandre Belloni wrote: The register range from the system timer is also used by the watchdog driver. Use a regmap to handle concurrent accesses. Signed-off-by: Alexandre Belloni Acked-by: Boris Brezillon --- drivers/clocksource/timer-atmel-st.c | 99 ++--

Re: [PATCH v4 8/9] clocksource: atmel-st: use syscon/regmap

2015-03-06 Thread Alexandre Belloni
On 06/03/2015 at 09:43:02 +0100, Daniel Lezcano wrote : > On 03/05/2015 04:49 PM, Alexandre Belloni wrote: > >The register range from the system timer is also used by the watchdog driver. > >Use a regmap to handle concurrent accesses. > > > >Signed-off-by: Alexandre Belloni > >Acked-by: Boris Brez

Re: Synchronization mechanism between wait_for_completion_interruptible_timeout() & complete()

2015-03-06 Thread Michal Hocko
On Fri 06-03-15 14:04:53, Naveen Kumar Parna wrote: > Thanks Michal. > > Now I am clearing x->done to zero before > wait_for_completion_interruptible_timeout. You shouldn't touch this internal thing. Why would you want that anyway? If x->done > 0 then there has been something completed. > On Thu

[tip:irq/core] genirq: Remove the deprecated 'IRQF_DISABLED' request_irq() flag entirely

2015-03-06 Thread tip-bot for Valentin Rothberg
Commit-ID: d8bf368d0631d4bc2612d8bf2e4e8e74e620d0cc Gitweb: http://git.kernel.org/tip/d8bf368d0631d4bc2612d8bf2e4e8e74e620d0cc Author: Valentin Rothberg AuthorDate: Thu, 5 Mar 2015 15:23:08 +0100 Committer: Ingo Molnar CommitDate: Thu, 5 Mar 2015 20:53:06 +0100 genirq: Remove the depre

Re: [BUG] uprobe: failed to work on 9pfs

2015-03-06 Thread Peter Zijlstra
On Fri, Mar 06, 2015 at 01:18:47PM +0800, He Kuang wrote: > Uprobe uses inode address to index all registered uprobes in a > rb_tree, this works well in most filesystems but failed on 9pfs. > > 9pfs allocate more than one vfs inode to the same file, the inode > address when we create uprobe is not

Re: NMI watchdog triggering during load_balance

2015-03-06 Thread Peter Zijlstra
On Thu, Mar 05, 2015 at 09:05:28PM -0700, David Ahern wrote: > Hi Peter/Mike/Ingo: > > Does that make sense or am I off in the weeds? How much of your story pertains to 3.18? I'm not particularly interested in anything much older than that. -- To unsubscribe from this list: send the line "unsubsc

Re: [PATCH 07/14] clockevent: Add STM32 Timer driver

2015-03-06 Thread Linus Walleij
On Thu, Feb 12, 2015 at 6:45 PM, Maxime Coquelin wrote: > STM32 MCUs feature 16 and 32 bits general purpose timers with prescalers. > The drivers detects whether the time is 16 or 32 bits, and applies a > 1024 prescaler value if it is 16 bits. > > Signed-off-by: Maxime Coquelin This is a nice d

Re: [PATCH 14/14] MAINTAINERS: Add entry for STM32 MCUs

2015-03-06 Thread Linus Walleij
On Thu, Feb 12, 2015 at 6:46 PM, Maxime Coquelin wrote: > Add a MAINTAINER entry covering all STM32 machine and drivers files. > > Signed-off-by: Maxime Coquelin (...) > +F: drivers/clocksource/arm_system_timer.c Is that all? And that is not even a STM32 specific driver. Yours, Linus Wall

Re: NMI watchdog triggering during load_balance

2015-03-06 Thread Peter Zijlstra
On Thu, Mar 05, 2015 at 09:05:28PM -0700, David Ahern wrote: > Since each domain is a superset of the lower one each pass through > load_balance regularly repeats the processing of the previous domain (e.g., > NODE domain repeats the cpus in the CPU domain). Then multiplying that > across 1024 cpus

Re: [PATCH v6] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-03-06 Thread Naoya Horiguchi
On Fri, Mar 06, 2015 at 09:34:21AM +0100, Borislav Petkov wrote: > On Fri, Mar 06, 2015 at 02:59:13AM +, Naoya Horiguchi wrote: > > From 8890e9976c525a4b480bf5f86008641688de8c11 Mon Sep 17 00:00:00 2001 > > From: Naoya Horiguchi > > Date: Fri, 6 Mar 2015 11:52:10 +0900 > > Subject: [PATCH v6]

Re: NMI watchdog triggering during load_balance

2015-03-06 Thread Peter Zijlstra
On Thu, Mar 05, 2015 at 09:05:28PM -0700, David Ahern wrote: > Socket(s): 32 > NUMA node(s): 4 Urgh, with 32 'cpus' per socket, you still do _8_ sockets per node, for a total of 256 cpus per node. That's painful. I don't suppose you can really change the hardware, but that's

Re: [PATCH v2 10/18] dt-bindings: Document the STM32 pin controller

2015-03-06 Thread Linus Walleij
On Fri, Feb 20, 2015 at 7:01 PM, Maxime Coquelin wrote: > This adds documentation of device tree bindings for the > STM32 pin controller. > > Signed-off-by: Maxime Coquelin (...) > +Pin controller node: > +Required properies: > +- compatible : "st,stm32-pinctrl" > +- #address-cells: The value

smsc911x driver - suspend/resume

2015-03-06 Thread Ran Shalit
Hello, I try to figure out when the resume function is called in smsc911x driver: http://lxr.free-electrons.com/source/drivers/net/ethernet/smsc/smsc911x.c According to datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/9220.pdf There is the following sequence: 1. host set mode to D1 (sleep

Re: [PATCH v2 11/18] pinctrl: Add pinctrl driver for STM32 MCUs

2015-03-06 Thread Linus Walleij
On Fri, Feb 20, 2015 at 7:01 PM, Maxime Coquelin wrote: > This driver adds pinctrl and GPIO support to STMicrolectronic's > STM32 family of MCUs. > > Pin muxing and GPIO handling have been tested on STM32F429 > based Discovery board. > > Signed-off-by: Maxime Coquelin (...) > +config PINCTRL_ST

[RFC] With 8250 Designware UART, if writes to the LCR failed the kernel will hung up

2015-03-06 Thread Zhang Zhen
Hi, I'm testing 4.0-rc1 kernel on my board with 8250 Designware UART.(ARM Cortex-a15 single core). I found if serial is busy and writes to the LCR failed after tried 1000 times. The kernel will hung up. The system boot success after changed from: 95 st

Re: [PATCH v6] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-03-06 Thread Borislav Petkov
On Fri, Mar 06, 2015 at 09:09:30AM +, Naoya Horiguchi wrote: > I'm not sure why that works, could you elabroate it? Because the _safe() variants are only for handling reads to possibly non-existent MSRs. The _STATUS MSRs which you're accessing are guaranteed to be present, otherwise __mcheck_c

Re: [PATCH v2] xen-scsiback: use DRV_PFX in the pr macros and DPRINTK

2015-03-06 Thread Chentao (Boby)
On 2015/3/5 0:32, Joe Perches wrote: On Wed, 2015-03-04 at 18:32 +, Tao Chen wrote: Defined the string of {xen-pvscsi: } as DRV_PFX, then use it in the pr sentences and DPRINTK. Also fixed up some comments just as eliminate redundant white spaces and format the code. These will make the

Re: [PATCH v2] ixgbe: make VLAN filter conditional

2015-03-06 Thread Jeff Kirsher
On Fri, 2015-03-06 at 06:04 +, Hiroshi Shimamoto wrote: > > From: Hiroshi Shimamoto > > > > Disable hardware VLAN filtering if netdev->features VLAN flag is > dropped. > > > > In SR-IOV case, there is a use case which needs to disable VLAN > filter. > > For example, we need to make a network

Re: [PATCH v6] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-03-06 Thread Naoya Horiguchi
On Fri, Mar 06, 2015 at 10:27:38AM +0100, Borislav Petkov wrote: > On Fri, Mar 06, 2015 at 09:09:30AM +, Naoya Horiguchi wrote: > > I'm not sure why that works, could you elabroate it? > > Because the _safe() variants are only for handling reads to possibly > non-existent MSRs. The _STATUS MSR

Re: [PATCH v2 10/18] dt-bindings: Document the STM32 pin controller

2015-03-06 Thread Linus Walleij
I saw this other thing: On Fri, Feb 20, 2015 at 7:01 PM, Maxime Coquelin wrote: > This adds documentation of device tree bindings for the > STM32 pin controller. > > Signed-off-by: Maxime Coquelin (...) > +- altmode : Should be mode or alternate function number associated this pin, > as > +des

[PATCH v5 10/29] PCI: Save sysdata in pci_host_bridge drvdata

2015-03-06 Thread Yijing Wang
Save platform specific sysdata in pci_host_bridge drvdata, host bridge specific operation need to access it before the pci bus creation. Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- drivers/pci/host-bridge.c |4 +++- drivers/pci/pci.h |4 +++- drivers/pci/probe.c

[PATCH v5 03/29] xen/PCI: Don't use deprecated function pci_scan_bus_parented()

2015-03-06 Thread Yijing Wang
From: Arnd Bergmann Use pci_scan_root_bus() instead of deprecated function pci_scan_bus_parented(). Signed-off-by: Arnd Bergmann Signed-off-by: Yijing Wang CC: Konrad Rzeszutek Wilk CC: xen-de...@lists.xenproject.org Signed-off-by: Bjorn Helgaas --- drivers/pci/xen-pcifront.c | 11 +++

[PATCH v5 12/29] PCI: Introduce new scan function pci_scan_host_bridge()

2015-03-06 Thread Yijing Wang
Introduce new scan function pci_scan_host_bridge() to support host bridge drivers that need to provide platform own pci_host_bridge_ops. Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- drivers/pci/probe.c | 22 ++ include/linux/pci.h |4 2 files change

[PATCH v5 26/29] PCI: Rename __pci_create_root_bus() to pci_create_root_bus()

2015-03-06 Thread Yijing Wang
Now no one use pci_create_root_bus(), we could remove it and rename __pci_create_root_bus() to pci_create_root_bus(). Signed-off-by: wangyij...@huawei.com Signed-off-by: Bjorn Helgaas --- drivers/pci/probe.c | 27 --- include/linux/pci.h |3 --- 2 files changed, 8 i

[PATCH v5 24/29] PCI/designware: Use pci_scan_root_bus() for simplicity

2015-03-06 Thread Yijing Wang
Use pci_scan_root_bus() instead of pci_create_root_bus() + pci_scan_child_bus() for simplicity. Signed-off-by: Yijing Wang CC: Mohit Kumar CC: Jingoo Han Signed-off-by: Bjorn Helgaas --- drivers/pci/host/pcie-designware.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --g

[PATCH v5 14/29] ia64/PCI: Refine pci_acpi_scan_root() with generic pci_host_bridge

2015-03-06 Thread Yijing Wang
From: Yijing Wang Signed-off-by: Yijing Wang CC: Tony Luck CC: Fenghua Yu CC: linux-i...@vger.kernel.org Signed-off-by: Bjorn Helgaas --- arch/ia64/pci/pci.c | 34 ++ 1 files changed, 18 insertions(+), 16 deletions(-) diff --git a/arch/ia64/pci/pci.c b/arch

[PATCH v5 11/29] PCI: Introduce pci_host_bridge_ops to support host specific operations

2015-03-06 Thread Yijing Wang
Now we have weak functions like pcibios_root_bridge_prepare() to setup pci host bridge, We could introduce pci_host_bridge_ops which contain host bridge specific ops to setup pci_host_bridge. Then host bridge driver could add pci_host_bridge_ops hooks intead of weak function to setup pci_host_bridg

[PATCH v5 18/29] sparc/PCI: Claim bus resources before pci_bus_add_devices()

2015-03-06 Thread Yijing Wang
Pci_claim_bus_resources() should be called before pci_bus_add_devices(), or driver may failed to load, because the resources had not claimed. Signed-off-by: Yijing Wang --- arch/sparc/kernel/pci.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/arch/sparc/kernel/pci.c

[PATCH v5 29/29] PCI: Remove pci_bus_assign_domain_nr()

2015-03-06 Thread Yijing Wang
Now we save the domain number in pci_host_bridge, we could remove pci_bus_assign_domain_nr() and clean the domain member in pci_bus. Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- drivers/pci/pci.c |5 - drivers/pci/probe.c | 12 include/linux/pci.h |3

[PATCH v5 28/29] PCI: Remove platform specific pci_domain_nr()

2015-03-06 Thread Yijing Wang
Now pci_host_bridge holds the domain number, so we could eliminate all platform specific pci_domain_nr(). Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- arch/alpha/include/asm/pci.h |2 -- arch/ia64/include/asm/pci.h |1 - arch/microblaze/pci/pci-common.c | 11 --

[PATCH v5 16/29] powerpc/pci: Use pci_scan_host_bridge() for simplicity

2015-03-06 Thread Yijing Wang
Now we could use pci_scan_host_bridge() to scan pci buses, provide powerpc specific pci_host_bridge_ops. Suggested-by: Arnd Bergmann Signed-off-by: Yijing Wang CC: Benjamin Herrenschmidt CC: linuxppc-...@lists.ozlabs.org Signed-off-by: Bjorn Helgaas --- arch/powerpc/include/asm/machdep.h

[PATCH v5 27/29] PCI: Export find_pci_host_bridge() and rename to pci_find_host_bridge()

2015-03-06 Thread Yijing Wang
Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- drivers/pci/host-bridge.c |6 +++--- drivers/pci/pci.h |2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/pci/host-bridge.c b/drivers/pci/host-bridge.c index bc1de59..51f0a82 100644 --- a/drive

Re: [PATCH v2] xen-scsiback: use DRV_PFX in the pr macros and DPRINTK

2015-03-06 Thread Chentao (Boby)
On 2015/3/4 18:34, David Vrabel wrote: On 04/03/15 18:32, Tao Chen wrote: Defined the string of {xen-pvscsi: } as DRV_PFX, then use it in the pr sentences and DPRINTK. Also fixed up some comments just as eliminate redundant white spaces and format the code. These will make the code easier to

[PATCH v5 25/29] PCI/xgene: Use pci_scan_root_bus() instead of pci_create_root_bus()

2015-03-06 Thread Yijing Wang
Use pci_scan_root_bus() instead of pci_create_root_bus() + pci_scan_child_bus() for simplicity. Signed-off-by: Yijing Wang CC: Tanmay Inamdar Signed-off-by: Bjorn Helgaas --- drivers/pci/host/pci-xgene.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/pci/hos

[PATCH v5 19/29] sparc/PCI: Use pci_scan_host_bridge() for simplicity

2015-03-06 Thread Yijing Wang
Now we could use pci_scan_host_bridge() to scan pci buses, provide sparc specific pci_host_bridge_ops. Signed-off-by: Yijing Wang CC: "David S. Miller" CC: sparcli...@vger.kernel.org Signed-off-by: Bjorn Helgaas --- arch/sparc/kernel/pci.c | 32 ++-- 1 files chang

[PATCH v5 21/29] parisc/PCI: Use pci_scan_root_bus() for simplicity

2015-03-06 Thread Yijing Wang
From: Yijing Wang Now pci_bus_add_devices() has been ripped out from pci_scan_root_bus(), we could use pci_scan_root_bus() instead of pci_create_root_bus() + pci_scan_child_bus() for simplicity. Signed-off-by: Yijing Wang CC: "James E.J. Bottomley" CC: linux-par...@vger.kernel.org Signed-off-b

[PATCH v5 17/29] PCI: Remove weak pcibios_root_bridge_prepare()

2015-03-06 Thread Yijing Wang
Now no one use weak pcibios_root_bridge_prepare(), we could remove it. Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- drivers/pci/probe.c | 16 +--- include/linux/pci.h |2 -- 2 files changed, 1 insertions(+), 17 deletions(-) diff --git a/drivers/pci/probe.c b/dr

[PATCH v5 23/29] PCI/tegra: Remove redundant tegra_pcie_scan_bus()

2015-03-06 Thread Yijing Wang
Now pci_scan_root_bus() is almost similar to pci_create_root_bus() + pci_scan_child_bus(). So we could use common pci_scan_root_bus() in pci_common_init_dev() to scan pci busses. tegra_pcie_scan_bus() is redundant, remove it. Signed-off-by: Yijing Wang CC: Thierry Reding CC: linux-te...@vger.ker

[PATCH v5 20/29] PCI: Introduce pci_bus_child_max_busnr()

2015-03-06 Thread Yijing Wang
Sometimes, we need to know the highest reserved busnr for children bus. Because parent's bus->busn_res could have padding in it. This function return the max child busnr as pci_scan_child_bus(). Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas Signed-off-by: Fengguang Wu --- drivers/pci

[PATCH v5 22/29] PCI/mvebu: Use pci_common_init_dev() to simplify code

2015-03-06 Thread Yijing Wang
Mvebu_pcie_scan_bus() is not necessary, we could use pci_common_init_dev() instead of pci_common_init(), and pass the device pointer as the parent. Then pci_scan_root_bus() will be called to scan the pci busses. Signed-off-by: Yijing Wang CC: Thomas Petazzoni CC: Jason Cooper Signed-off-by: Bjo

[PATCH v5 13/29] x86/PCI: Refine pci_acpi_scan_root() with generic pci_host_bridge

2015-03-06 Thread Yijing Wang
Signed-off-by: Yijing Wang CC: Thomas Gleixner CC: x...@kernel.org Signed-off-by: Bjorn Helgaas --- arch/x86/pci/acpi.c | 36 1 files changed, 20 insertions(+), 16 deletions(-) diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c index ad0e926..e730d31

[PATCH v5 15/29] powerpc/pci: Rename pcibios_root_bridge_prepare()

2015-03-06 Thread Yijing Wang
Pcibios_root_bridge_prepare() in powerpc is used to set root bus speed. Rename it to pcibios_set_root_bus_speed() for better readability. Signed-off-by: Yijing Wang CC: Benjamin Herrenschmidt CC: linuxppc-...@lists.ozlabs.org Signed-off-by: Bjorn Helgaas --- arch/powerpc/include/asm/machdep.h

[PATCH v5 05/29] PCI: Combine PCI domain and bus number in u32 arg

2015-03-06 Thread Yijing Wang
Currently, we use int type for bus number in pci_create_root_bus(), pci_scan_root_bus() and pci_scan_bus_legacy. Because PCI bus number always <= 255, so we could change the bus number argument type to u32, and combine PCI domain and bus number in one. Also add a domain member in pci_host_bridge to

[PATCH v5 08/29] PCI: Separate pci_host_bridge creation out of pci_create_root_bus()

2015-03-06 Thread Yijing Wang
This patch separate pci_host_bridge creation out of pci_create_root_bus(), and try to make a generic pci_host_bridge, then we could place generic PCI infos like domain number in it. Also Ripping out pci_host_bridge creation from pci_create_root_bus() make code more better readability. Further more,

Right interface for cellphone modem audio (was Re: [PATCHv2 0/2] N900 Modem Speech Support)

2015-03-06 Thread Pavel Machek
Hi! > >>Userland access goes via /dev/cmt_speech. The API is implemented in > >>libcmtspeechdata, which is used by ofono and the freesmartphone.org project. > >Yes, the ABI is "tested" for some years, but it is not documented, and > >it is very wrong ABI. > > > >I'm not sure what they do with the

[PATCH v5 00/29] Refine PCI scan interfaces and make generic pci host bridge

2015-03-06 Thread Yijing Wang
v4-v5: Fix some code style issues and rename some functions suggested by Bjorn. Fix some code flaw(Eg. call pci_bus_add_devices() before resources claim or lack the return checking). v3->v4: Fix the rebase issue. v2->v3: Rebase this series on v4.0-rc1. v1->v2

[PATCH v5 07/29] PCI: Introduce pci_host_assign_domain_nr() to assign domain

2015-03-06 Thread Yijing Wang
Introduce pci_host_assign_domain_nr() to assign domain number for pci_host_bridge. Later we will remove pci_bus_assign_domain_nr(). Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- drivers/pci/pci.c | 20 +++- include/linux/pci.h |4 2 files changed, 19 i

[PATCH v5 01/29] PCI: Rip out pci_bus_add_devices() from pci_scan_bus()

2015-03-06 Thread Yijing Wang
Pci_bus_add_devices() should not be placed in pci_scan_bus(). Now pci device will be added to driver core once its creation. All things left in pci_bus_add_devices() are driver attachment and other trivial sysfs things. Pci_scan_bus() should be the function responsible for scanning PCI devices, not

[PATCH v5 04/29] PCI: Remove deprecated pci_scan_bus_parented()

2015-03-06 Thread Yijing Wang
No one uses pci_scan_bus_parented() any more, remove it. Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- drivers/pci/probe.c | 19 --- include/linux/pci.h |2 -- 2 files changed, 0 insertions(+), 21 deletions(-) diff --git a/drivers/pci/probe.c b/drivers/pci/p

RE: [PATCH v2] ixgbe: make VLAN filter conditional

2015-03-06 Thread Hiroshi Shimamoto
> On Fri, 2015-03-06 at 06:04 +, Hiroshi Shimamoto wrote: > > > From: Hiroshi Shimamoto > > > > > > Disable hardware VLAN filtering if netdev->features VLAN flag is > > dropped. > > > > > > In SR-IOV case, there is a use case which needs to disable VLAN > > filter. > > > For example, we need t

[PATCH v5 09/29] PCI: Introduce pci_host_bridge_list to manage host bridges

2015-03-06 Thread Yijing Wang
Introduce pci_host_bridge_list to manage pci host bridges in system, so we could detect whether the host in domain:bus is alreay registered. Then we could remove bus alreay exist test in __pci_create_root_bus(). Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- drivers/pci/host-bridge

[PATCH v5 02/29] PCI: Rip out pci_bus_add_devices() from pci_scan_root_bus()

2015-03-06 Thread Yijing Wang
Just like pci_scan_bus(), we also should rip out pci_bus_add_devices() from pci_scan_root_bus(). Lots platforms first call pci_scan_root_bus(), but after that, they call pci_bus_size_bridges() and pci_bus_assign_resources(). Place pci_bus_add_devices() in pci_scan_root_bus() hurts PCI scan logic. F

Re: x32 + audit status?

2015-03-06 Thread David Drysdale
On Fri, Mar 6, 2015 at 7:28 AM, Paul Moore wrote: > On Thu, Mar 5, 2015 at 6:07 PM, Andy Lutomirski wrote: >> On Mar 5, 2015 10:32 AM, "David Drysdale" wrote: >>> >>> Hi, >>> >>> Do we currently expect the audit system to work with x32 syscalls? >>> >>> I was playing with the audit system for th

[PATCH] rtc: hym8563: return clock rate even when clock is disabled

2015-03-06 Thread Heiko Stuebner
When the clock is disabled, do not return a rate of 0 but instead return the rate the clock will be running at after it gets enabled. This prevents problems when the core clock code is trying to determine a suitable rate, while the clock is still off. Signed-off-by: Heiko Stuebner --- drivers/rt

[PATCH v5 06/29] PCI: Pass PCI domain number combined with root bus number

2015-03-06 Thread Yijing Wang
Now we could pass PCI domain combined with bus number in u32 argu. Because in arm/arm64, PCI domain number is assigned by pci_bus_assign_domain_nr(). So we leave pci_scan_root_bus() and pci_create_root_bus() in arm/arm64 unchanged. A new function pci_host_assign_domain_nr() will be introduced for a

Re: [PATCH v10] sched/deadline: support dl task migration during cpu hotplug

2015-03-06 Thread Juri Lelli
Hi, On 05/03/2015 02:12, Wanpeng Li wrote: > I observe that dl task can't be migrated to other cpus during cpu hotplug, > in addition, task may/may not be running again if cpu is added back. The > root cause which I found is that dl task will be throtted and removed from > dl rq after comsuming al

Re: [PATCH 14/14] MAINTAINERS: Add entry for STM32 MCUs

2015-03-06 Thread Maxime Coquelin
2015-03-06 10:03 GMT+01:00 Linus Walleij : > On Thu, Feb 12, 2015 at 6:46 PM, Maxime Coquelin > wrote: > >> Add a MAINTAINER entry covering all STM32 machine and drivers files. >> >> Signed-off-by: Maxime Coquelin > > (...) >> +F: drivers/clocksource/arm_system_timer.c > > Is that all? And th

[3.16.y-ckt stable] Linux 3.16.7-ckt8 stable review

2015-03-06 Thread Luis Henriques
This is the start of the review cycle for the Linux 3.16.7-ckt8 stable kernel. This version contains 183 new patches, summarized below. The new patches are posted as replies to this message and also available in this git branch: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=linux-3.16.y-revi

Re: [PATCH v2 11/18] pinctrl: Add pinctrl driver for STM32 MCUs

2015-03-06 Thread Maxime Coquelin
2015-03-06 10:24 GMT+01:00 Linus Walleij : > On Fri, Feb 20, 2015 at 7:01 PM, Maxime Coquelin > wrote: > >> This driver adds pinctrl and GPIO support to STMicrolectronic's >> STM32 family of MCUs. >> >> Pin muxing and GPIO handling have been tested on STM32F429 >> based Discovery board. >> >> Sign

[PATCH 3.16.y-ckt 012/183] hx4700: regulator: declare full constraints

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Martin Vajnar commit a52d209336f8fc7483a8c7f4a8a7d2a8e1692a6c upstream. Since the removal of CONFIG_REGULATOR_DUMMY option, the touchscreen stopped working. This patch enables the "re

[PATCH 3.16.y-ckt 021/183] axonram: Fix bug in direct_access

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Matthew Wilcox commit 91117a20245b59f70b563523edbf998a62fc6383 upstream. The 'pfn' returned by axonram was completely bogus, and has been since 2008. Signed-off-by: Matthew Wilcox R

[PATCH 3.16.y-ckt 047/183] PCI: Fix infinite loop with ROM image of size 0

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Michel=20D=C3=A4nzer?= commit 16b036af31e1456cb69243a5a0c9ef801ecd1f17 upstream. If the image size would ever read as 0, pci_get_rom_size() could keep processing the same im

[PATCH 3.16.y-ckt 050/183] Bluetooth: Add support for Broadcom BCM20702A0 variants firmware download

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Heinrich Siebmanns commit 6029ddc2333ae37f637d44beef3a1480cbbb33b9 upstream. This requires the flag BTUSB_BCM_PATCHRAM to work. Relevant details from /sys/kernel/debug/usb/devices fo

[PATCH 3.16.y-ckt 077/183] mei: mask interrupt set bit on clean reset bit

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Alexander Usyskin commit 1ab1e79b9fd4b01331490bbe2e630a0fc0b25449 upstream. We should mask interrupt set bit when writing back hcsr value in reset bit clean-up. This is refinement fo

[PATCH 3.16.y-ckt 093/183] blk-mq: fix double-free in error path

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Tony Battersby commit 564e559f2baf6a868768d0cac286980b3cfd6e30 upstream. If the allocation of bt->bs fails, then bt->map can be freed twice, once in blk_mq_init_bitmap_tags() -> bt_al

[PATCH 3.16.y-ckt 076/183] [media] lmedm04: Fix usb_submit_urb BOGUS urb xfer, pipe 1 != type 3 in interrupt urb

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Malcolm Priestley commit 15e1ce33182d1d5dbd8efe8d382b9352dc857527 upstream. A quirk of some older firmwares that report endpoint pipe type as PIPE_BULK but the endpoint otheriwse func

[PATCH 3.16.y-ckt 094/183] drm/radeon: workaround for CP HW bug on CIK

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Christian=20K=C3=B6nig?= commit a9c73a0e022c33954835e66fec3cd744af90ec98 upstream. Emit the EOP twice to avoid cache flushing problems. Signed-off-by: Christian König Sign

[PATCH 3.16.y-ckt 107/183] target: Fix PR_APTPL_BUF_LEN buffer size limitation

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit f161d4b44d7cc1dc66b53365215227db356378b1 upstream. This patch addresses the original PR_APTPL_BUF_LEN = 8k limitiation for write-out of PR APTPL metadata tha

[PATCH 3.16.y-ckt 097/183] cpufreq: speedstep-smi: enable interrupts when waiting

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit d4d4eda23794c701442e55129dd4f8f2fefd5e4d upstream. On Dell Latitude C600 laptop with Pentium 3 850MHz processor, the speedstep-smi driver sometimes loads and so

[PATCH 3.16.y-ckt 109/183] mm/memory.c: actually remap enough memory

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Grazvydas Ignotas commit 9cb12d7b4ccaa976f97ce0c5fd0f1b6a83bc2a75 upstream. For whatever reason, generic_access_phys() only remaps one page, but actually allows to access arbitrary si

[PATCH 3.16.y-ckt 115/183] ALSA: hdspm - Constrain periods to 2 on older cards

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Adrian Knoth commit f0153c3d948c1764f6c920a0675d86fc1d75813e upstream. RME RayDAT and AIO use a fixed buffer size of 16384 samples. With period sizes of 32-4096, this translates to 4-

[PATCH 3.16.y-ckt 181/183] sched/rt: Reduce rq lock contention by eliminating locking of non-feasible target

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Tim Chen commit 80e3d87b2c5582db0ab5e39610ce3707d97ba409 upstream. This patch adds checks that prevens futile attempts to move rt tasks to a CPU with active tasks of equal or higher p

[PATCH 3.16.y-ckt 145/183] debugfs: leave freeing a symlink body until inode eviction

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 0db59e59299f0b67450c5db21f7f316c8fb04e84 upstream. As it is, we have debugfs_remove() racing with symlink traversals. Supply ->evict_inode() and do freeing there - inod

[PATCH 3.16.y-ckt 182/183] caif: remove wrong dev_net_set() call

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel commit 8997c27ec41127bf57421cc0205413d525421ddc upstream. src_net points to the netns where the netlink message has been received. This netns may be different from the

[PATCH 3.16.y-ckt 178/183] mm: softdirty: unmapped addresses between VMAs are clean

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Feiner commit 81d0fa623c5b8dbd5279d9713094b0f9b0a00fb4 upstream. If a /proc/pid/pagemap read spans a [VMA, an unmapped region, then a VM_SOFTDIRTY VMA], the virtual pages in the

  1   2   3   4   5   6   7   8   9   10   >