[RFC PATCH V2] fs null_blk: Null pointer deference problem in alloc_page_buffers

2014-01-20 Thread Raghavendra K T
If we load the null_blk module with bs=8k we get following oops: [ 3819.812190] BUG: unable to handle kernel NULL pointer dereference at 0008 [ 3819.812387] IP: [] create_empty_buffers+0x28/0xaf [ 3819.812527] PGD 219244067 PUD 215a06067 PMD 0 [ 3819.812640] Oops: [#1] SMP [ 3819

Re: [PATCH] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

2014-01-20 Thread Vinod Koul
On Mon, Jan 20, 2014 at 06:17:56PM +0530, Shevchenko, Andriy wrote: > On Mon, 2014-01-20 at 14:55 +0530, Vinod Koul wrote: > > On Thu, Dec 19, 2013 at 12:51:29PM +0200, Andy Shevchenko wrote: > > > On Wed, 2013-12-18 at 21:19 +0530, Vinod Koul wrote: > > > > On Mon, Dec 16, 2013 at 01:51:47PM +0530

[GIT] Security subsystem changes for 3.14

2014-01-20 Thread James Morris
Changes for this kernel include maintenance updates for Smack, SELinux (and several networking fixes), IMA and TPM. Please pull. The following changes since commit d8ec26d7f8287f5788a494f56e8814210f0e64be: Linux 3.13 (2014-01-19 18:40:07 -0800) are available in the git repository at: git:

Re: linux-next: build failure after merge of the tip tree

2014-01-20 Thread Stephen Rothwell
ven further discussion, I have applied this as a merge > >> fix patch for today. Let me know when it is all sorted out. > >> > > > > Where is this fix? > > ( Browsing Linux-next remote GIT repository online. ) > > 2x NOPE for me. > > > > - Sedat

Re: [PATCH 3/6] cgroup: clean up cgroup_subsys names and initialization

2014-01-20 Thread Michal Hocko
On Fri 17-01-14 13:11:54, Tejun Heo wrote: > cgroup_subsys is a bit messier than it needs to be. > > * The name of a subsys can be different from its internal identifier > defined in cgroup_subsys.h. Most subsystems use the matching name > but three - cpu, memory and perf_event - use differen

Re: [PATCH] sched/deadline: Add sched_dl documentation

2014-01-20 Thread Henrik Austad
On Mon, Jan 20, 2014 at 01:15:51PM +0100, Juri Lelli wrote: > On 01/20/2014 12:24 PM, Henrik Austad wrote: > > On Mon, Jan 20, 2014 at 11:40:40AM +0100, Juri Lelli wrote: > >> From: Dario Faggioli > >> > >> Add in Documentation/scheduler/ some hints about the design > >> choices, the usage and the

Re: [PATCH v7 6/6] MCS Lock: add Kconfig entries to allow arch-specific hooks

2014-01-20 Thread Peter Zijlstra
On Mon, Jan 20, 2014 at 01:30:30PM +0100, Peter Zijlstra wrote: > Then again, people seem to whinge if you don't keep these Kbuild files > sorted, but manually sorting 29 files is just not something I like to > do. This seems to do it.. gawk '/^generic-y/ { i = 3; do {

Re: [PATCH 3/3] perf tools: bring back old behavior when NO_DEMAGLE doesn't link with libbfd

2014-01-20 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 20, 2014 at 03:39:40PM +0400, Stanislav Fomichev escreveu: > This commit reverts part of the 3e6a147deef9 "perf tools: Separate lbfd > check out of NO_DEMANGLE condition" which always links perf with libbfd. > I'd like to preserve old behavior when NO_DEMAGLE does not link with > it, be

Re: [PATCH] dma: fix vchan_cookie_complete() debug print

2014-01-20 Thread Russell King - ARM Linux
On Mon, Jan 20, 2014 at 05:33:01PM +0530, Vinod Koul wrote: > On Mon, Jan 20, 2014 at 11:28:22AM +, Russell King - ARM Linux wrote: > > On Mon, Jan 20, 2014 at 03:29:17PM +0530, Vinod Koul wrote: > > > On Fri, Dec 06, 2013 at 04:42:09PM +0100, Jonas Jensen wrote: > > > > vd->tx.cookie is set ze

Re: [PATCH] pwm: add support for Intel Low Power Subsystem PWM

2014-01-20 Thread One Thousand Gnomes
> +static int pwm_lpss_config(struct pwm_chip *chip, struct pwm_device *pwm, > + int duty_ns, int period_ns) > +{ > + struct pwm_lpss_chip *lpwm = to_lpwm(chip); > + u8 on_time_div; > + unsigned long c = clk_get_rate(lpwm->clk); > + unsigned long long base_unit, hz = 10U

Re: [PATCH v7 1/7] VFS: Introduce new O_DENY* open flags

2014-01-20 Thread One Thousand Gnomes
> > (and why not just use EPERM, it has the meaning you want already) > We need to determine if we have a share reservation error to map it > accurately in file servers and wine. Ok > > Shouldn't this also check for CAP_SYS_DAC or some similar permission so > > that root can override such a mess

Re: [PATCH] dma: Add Xilinx AXI Video Direct Memory Access Engine driver support

2014-01-20 Thread Srikanth Thokala
Hi Arnd, Sorry for the duplication. Ccing others. On Mon, Jan 20, 2014 at 5:09 PM, Arnd Bergmann wrote: > On Monday 20 January 2014, Srikanth Thokala wrote: >> On Fri, Jan 17, 2014 at 9:43 PM, Arnd Bergmann wrote: >> > On Thursday 16 January 2014, Srikanth Thokala wrote: >> > I also assume tha

Re: [PATCH 2/5] efi: Dump the EFI page table

2014-01-20 Thread Matt Fleming
On Sat, 18 Jan, at 12:48:15PM, Borislav Petkov wrote: > From: Borislav Petkov > > This is very useful for debugging issues with the recently added > pagetable switching code for EFI virtual mode. > > Signed-off-by: Borislav Petkov > Tested-by: Toshi Kani > --- > arch/x86/Kconfig

[PATCH v3] phy: Add new Exynos5 USB 3.0 PHY driver

2014-01-20 Thread Vivek Gautam
Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs. The new driver uses the generic PHY framework and will interact with DWC3 controller present on Exynos5 series of SoCs. Thereby, removing old phy-samsung-usb3 driver and related code used untill now which was based on usb/phy framework

Re: [PATCH] drivers: staging: lustre: lustre: include: add "__attribute__((packed))" for the related union

2014-01-20 Thread James Hogan
On 20/01/14 13:01, Dan Carpenter wrote: > It would be easy enough to make the compiler complain about any union > which would normally have size which is not a multiple of 4. > > Warning: union will be padded with 2 bytes unless __attribute__((packed)). > > Otherwise you will be fighting this for

Re: [PATCH] sched/deadline: Add sched_dl documentation

2014-01-20 Thread Luca Abeni
Hi all, On 01/20/2014 02:16 PM, Henrik Austad wrote: [...] + The typical -deadline task is composed of a computation phase (instance) + which is activated on a periodic or sporadic fashion. The expected (maximum) + duration of such computation is called the task's runtime; the time interval + by

Re: [PATCH 2/5] efi: Dump the EFI page table

2014-01-20 Thread Borislav Petkov
On Mon, Jan 20, 2014 at 01:38:02PM +, Matt Fleming wrote: > > +config EFI_PGT_DUMP > > + bool "Dump the EFI pagetable" > > + depends on EFI && X86_PTDUMP > > + ---help--- > > + Enable this if you want to dump the EFI page table before > > + enabling virtual mode. This can be used

[GIT PULL] x86/apic changes for v3.14

2014-01-20 Thread Ingo Molnar
Linus, Please pull the latest x86-apic-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-apic-for-linus # HEAD: 5b4d1dbc24bb6fd7179ada0f47be34e27e64decb x86, apic: Make disabled_cpu_apicid static read_mostly, fix typos Two main changes: - Improve lo

Re: [PATCH 5/5] efi: Split efi_enter_virtual_mode

2014-01-20 Thread Matt Fleming
On Sat, 18 Jan, at 12:48:18PM, Borislav Petkov wrote: > From: Borislav Petkov > > ... into a kexec flavor for better code readability and simplicity. The > original one was getting ugly with ifdeffery. > > Signed-off-by: Borislav Petkov > Tested-by: Toshi Kani > --- > arch/x86/platform/efi/ef

Re: [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2014-01-20 Thread Vivek Gautam
Hi Kishon, [...] Right. While 3.0 block(PIPE3) can be used for Super Speed, 2.0 block(UTMI+) can be used for High speed. >>> >>> >>> It should then come under *single IP muliple PHY* category similar >>>

Re: [PATCH 5/5] efi: Split efi_enter_virtual_mode

2014-01-20 Thread Borislav Petkov
On Mon, Jan 20, 2014 at 01:44:07PM +, Matt Fleming wrote: > > +void __init kexec_enter_virtual_mode(void) > > +{ > > Could this be static for now? Didn't you wanna do arch/x86/platform/efi/kexec.c anyway? -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine.

RE: [PATCH] isci: reformulate for_each_isci_host macro to fix an oops

2014-01-20 Thread Dorau, Lukasz
On Thursday, January 16, 2014 2:16 PM Lukasz Dorau wrote: > > The loop 'for' in macro 'for_each_isci_host' (drivers/scsi/isci/init.c:717) > is executed more times than it can be. Regardless the condition: >'id < ARRAY_SIZE(to_pci_info(pdev)->hosts)' (drivers/scsi/isci/host.h:315) > it is exe

Re: [PATCH] NFSv4.1: PNFS_BLOCK_NONE_DATA should be handle properly in bl_add_merge_extent?

2014-01-20 Thread Christoph Hellwig
On Mon, Jan 20, 2014 at 06:07:28PM +0800, shaobingqing wrote: > In the current code, extents would not delete from the bl_extents list when > lseg is removed from layout. Now one extent's lseg is deleted and its type > is PNFS_BLOCK_NONE_DATA, while a layoutget request get a extent with the same

[GIT PULL] x86/asm changes for v3.14

2014-01-20 Thread Ingo Molnar
Linus, Please pull the latest x86-asm-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-asm-for-linus # HEAD: a740576a4abf933de8f50787f24f24456cebd761 x86: Slightly tweak the access_ok() C variant for better code Misc optimizations. Thanks,

Re: [PATCH v7 2/6] MCS Lock: optimizations and extra comments

2014-01-20 Thread Peter Zijlstra
On Thu, Jan 16, 2014 at 04:08:20PM -0800, Tim Chen wrote: > Remove unnecessary operation and make the cmpxchg(lock, node, NULL) == node > check in mcs_spin_unlock() likely() as it is likely that a race did not occur > most of the time. It might be good to describe why the node->locked=1 is thought

Re: Terrible performance of sequential O_DIRECT 4k writes in SAN environment. ~3 times slower then Solars 10 with the same HBA/Storage.

2014-01-20 Thread Christoph Hellwig
On Thu, Jan 16, 2014 at 09:07:21AM +1100, Dave Chinner wrote: > Yes, I think it can be done relatively simply. We'd have to change > the code in xfs_file_aio_write_checks() to check whether EOF zeroing > was required rather than always taking an exclusive lock (for block > aligned IO at EOF sub-blo

Re: [PATCH v7 0/6] MCS Lock: MCS lock code cleanup and optimizations

2014-01-20 Thread Peter Zijlstra
On Thu, Jan 16, 2014 at 04:08:04PM -0800, Tim Chen wrote: > This is an update of the MCS lock patch series posted in November. Aside from the smallish gripes I posted about; Acked-by: Peter Zijlstra -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messa

Re: [QUERY]: Is using CPU hotplug right for isolating CPUs?

2014-01-20 Thread Lei Wen
Hi Viresh, On Wed, Jan 15, 2014 at 5:27 PM, Viresh Kumar wrote: > Hi Again, > > I am now successful in isolating a CPU completely using CPUsets, > NO_HZ_FULL and CPU hotplug.. > > My setup and requirements for those who weren't following the > earlier mails: > > For networking machines it is requ

Re: [PATCH 10/20] ARM64 / ACPI: Enumerate possible/present CPU set and map logical cpu id to APIC id

2014-01-20 Thread Hanjun Guo
On 2014年01月18日 01:37, Sudeep Holla wrote: On 17/01/14 12:25, Hanjun Guo wrote: When boot the kernel with MADT, the cpu possible and present sets should be enumerated for later smp initialization. The logic cpu id maps to APIC id (GIC id) is also implemented, it is needed for acpi processor driv

[GIT PULL] x86/build changes for v3.14

2014-01-20 Thread Ingo Molnar
Linus, Please pull the latest x86-build-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-build-for-linus # HEAD: 6f34152f54bcf63a49ea701643c81f5b2168fec8 x86, boot: Move intcall() to the .inittext section Misc smaller improvements. Thanks,

[GIT PULL] x86/cleanups for v3.14

2014-01-20 Thread Ingo Molnar
Linus, Please pull the latest x86-cleanups-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-cleanups-for-linus # HEAD: d139336700a5f3a560da235e4dfcd286773025d4 x86, cpu, amd: Fix a shadowed variable situation Misc cleanups. Thanks, Ingo

Re: [PATCH] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

2014-01-20 Thread Shevchenko, Andriy
On Mon, 2014-01-20 at 17:37 +0530, Vinod Koul wrote: > On Mon, Jan 20, 2014 at 06:17:56PM +0530, Shevchenko, Andriy wrote: > > On Mon, 2014-01-20 at 14:55 +0530, Vinod Koul wrote: > > > On Thu, Dec 19, 2013 at 12:51:29PM +0200, Andy Shevchenko wrote: > > > > On Wed, 2013-12-18 at 21:19 +0530, Vinod

Re: [PATCH 1/3] ACPI / idle: Move idle_boot_override out of the arch directory

2014-01-20 Thread Hanjun Guo
On 2014年01月18日 21:47, Rafael J. Wysocki wrote: On Saturday, January 18, 2014 11:52:18 AM Hanjun Guo wrote: On 2014-1-18 11:45, Hanjun Guo wrote: On 2014-1-17 20:06, Sudeep Holla wrote: On 17/01/14 02:03, Hanjun Guo wrote: Move idle_boot_override out of the arch directory to be a single enum i

Re: [PATCH v3 1/2] i2c: qup: Add device tree bindings information

2014-01-20 Thread Rob Herring
On Fri, Jan 17, 2014 at 5:03 PM, Bjorn Andersson wrote: > From: "Ivan T. Ivanov" > > The Qualcomm Universal Peripherial (QUP) wraps I2C mini-core and > provide input and output FIFO's for it. I2C controller can operate > as master with supported bus speeds of 100Kbps and 400Kbps. > > Signed-off-b

[PATCH v6 02/10] mfd: omap-usb-host: Get clocks based on hardware revision

2014-01-20 Thread Roger Quadros
Not all revisions have all the clocks so get the necessary clocks based on hardware revision. This should avoid un-necessary clk_get failure messages that were observed earlier. Be more strict and always fail on clk_get() error. CC: Lee Jones CC: Samuel Ortiz Signed-off-by: Roger Quadros ---

[PATCH v6 00/10] USB Host support for OMAP5 uEVM (for 3.14)

2014-01-20 Thread Roger Quadros
Hi Benoit & Tony, This patchset brings up USB Host ports and Ethernet port on the OMAP5 uEVM board. It depends on the TI Clock DT conversion patches [1] and is based on 3.13 [1] - http://article.gmane.org/gmane.linux.ports.arm.kernel/293147 Tested on: - OMAP5 uEVM - Pandaboard ES Rev. B1 - B

[PATCH v6 07/10] ARM: dts: omap5: Update omap-usb-host node

2014-01-20 Thread Roger Quadros
The omap-usb-host driver expects a certain name for internal and external reference clocks. Provide these clocks. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/omap5.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi in

[PATCH v6 04/10] mfd: omap-usb-host: Update DT clock binding information

2014-01-20 Thread Roger Quadros
The omap-usb-host driver expects certained named clocks. Add this information to the DT binding document. CC: Lee Jones CC: Samuel Ortiz Signed-off-by: Roger Quadros --- .../devicetree/bindings/mfd/omap-usb-host.txt | 23 ++ 1 file changed, 23 insertions(+) diff --git

[PATCH v6 03/10] mfd: omap-usb-host: Use clock names as per function for reference clocks

2014-01-20 Thread Roger Quadros
Use a meaningful name for the reference clocks so that it indicates the function. CC: Lee Jones CC: Samuel Ortiz Signed-off-by: Roger Quadros --- drivers/mfd/omap-usb-host.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/oma

[PATCH v6 05/10] mfd: omap-usb-tll: Update DT clock binding information

2014-01-20 Thread Roger Quadros
The omap-usb-tll driver needs one clock for each TLL channel. Add this information to the DT binding document. CC: Lee Jones CC: Samuel Ortiz Signed-off-by: Roger Quadros --- Documentation/devicetree/bindings/mfd/omap-usb-tll.txt | 10 ++ 1 file changed, 10 insertions(+) diff --git a/

[PATCH v6 10/10] ARM: OMAP2+: Remove legacy_init_ehci_clk()

2014-01-20 Thread Roger Quadros
The necessary clock phandle for the EHCI clock is now provided via device tree so we no longer need this legacy method. Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/pdata-quirks.c | 16 1 file changed, 16 deletions(-) diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/a

[PATCH v6 09/10] ARM: dts: omap5-uevm: Provide USB PHY clock

2014-01-20 Thread Roger Quadros
The HS USB 2 PHY gets its clock from AUXCLK1. Provide this information. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/omap5-uevm.dts | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts index 002fa70.

Re: [PATCH 06/20] ARM64 / ACPI: Introduce some PCI functions when PCI is enabled

2014-01-20 Thread Hanjun Guo
On 2014年01月20日 16:20, Arnd Bergmann wrote: On Monday 20 January 2014 16:08:01 Hanjun Guo wrote: diff --git a/drivers/acpi/plat/arm-core.c b/drivers/acpi/plat/arm-core.c index 3c8521d..1835b21 100644 --- a/drivers/acpi/plat/arm-core.c +++ b/drivers/acpi/plat/arm-core.c @@ -100,6 +100,25 @@ int ac

[PATCH v6 08/10] ARM: dts: omap4-panda: Provide USB PHY clock

2014-01-20 Thread Roger Quadros
The USB PHY gets its clock from AUXCLK3. Provide this information. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/omap4-panda-common.dtsi | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/omap4-panda-common.dtsi b/arch/arm/boot/dts/omap4-panda-com

[PATCH v6 06/10] ARM: dts: omap4: Update omap-usb-host node

2014-01-20 Thread Roger Quadros
The omap-usb-host driver expects a certain name for internal and external reference clocks. Provide these clocks. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/omap4.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi in

[PATCH v6 01/10] mfd: omap-usb-host: Use resource managed clk_get()

2014-01-20 Thread Roger Quadros
Use devm_clk_get() instead of clk_get(). CC: Lee Jones CC: Samuel Ortiz Signed-off-by: Roger Quadros Acked-by: Lee Jones --- drivers/mfd/omap-usb-host.c | 81 + 1 file changed, 16 insertions(+), 65 deletions(-) diff --git a/drivers/mfd/omap-usb-hos

[GIT PULL] x86/cpu change for v3.14

2014-01-20 Thread Ingo Molnar
Linus, Please pull the latest x86-cpu-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-cpu-for-linus # HEAD: dd360393f4d948eb518372316e52101cf3b44212 x86, cpu: Detect more TLB configuration A single change that extends our TLB cache size detection+re

Re: Linux 3.13

2014-01-20 Thread Domenico Andreoli
On Sun, Jan 19, 2014 at 07:13:30PM -0800, Linus Torvalds wrote: > The release got delayed by a week due to travels, but I suspect that's > just as well. We had a few fixes come in, and while it wasn't a lot, I > think we're better off for it. At least I hope so - I'll be very > disappointed if any

Re: [PATCH] dt-bindings: add rockchip vendor prefix

2014-01-20 Thread Heiko Stübner
Am Freitag, 20. Dezember 2013, 16:26:47 schrieb Heiko Stübner: > It seems I forgot to add the vendor prefix for rockchip to the vendor-prefix > list. Therefore add it now. > > Signed-off-by: Heiko Stuebner not sure, where this should go through arm-soc? or is there a special dt-tree around? Th

RE: [PATCHv10 2/2] dma: Add Freescale eDMA engine driver support

2014-01-20 Thread Jingchang Lu
From: Vinod Koul Sent: Monday, January 20, 2014 6:20 PM To: Lu Jingchang-B35083 Cc: dan.j.willi...@intel.com; a...@arndb.de; shawn@linaro.org; pawel.m...@arm.com; mark.rutl...@arm.com; swar...@wwwdotorg.org; linux-kernel@vger.kernel.org; linux-arm-ke

Re: [PATCH] SUNRPC: Allow one callback request to be received from two sk_buff

2014-01-20 Thread Sergei Shtylyov
Hello. On 20-01-2014 10:59, shaobingqing wrote: In current code, there only one struct rpc_rqst is prealloced. If one callback request is received from two sk_buff, the xprt_alloc_bc_request would be execute two times with the same transport->xid. The first time xprt_alloc_bc_request will alloc

Re: Linux 3.13 (repost)

2014-01-20 Thread Domenico Andreoli
[ Fixed Al Viro's email. sorry ] On Sun, Jan 19, 2014 at 07:13:30PM -0800, Linus Torvalds wrote: > The release got delayed by a week due to travels, but I suspect that's > just as well. We had a few fixes come in, and while it wasn't a lot, I > think we're better off for it. At least I hope so - I

Re: [PATCH v2 0/4] X86/KVM: enable Intel MPX for KVM

2014-01-20 Thread Paolo Bonzini
Il 12/12/2013 12:09, Liu, Jinsong ha scritto: > Paolo Bonzini wrote: >> Il 12/12/2013 06:47, Liu, Jinsong ha scritto: >>> Paolo Bonzini wrote: Il 11/12/2013 09:31, Liu, Jinsong ha scritto: > Paolo, comments for version 2? I think I commented that it's fine, I'm just waiting for a

Re: [RFC part2 PATCH 8/9] ACPI / ARM64: Update acpi_register_gsi to register with the core IRQ subsystem

2014-01-20 Thread Grant Likely
On Wed, 11 Dec 2013 06:23:04 +0100, Arnd Bergmann wrote: > On Tuesday 10 December 2013, Grant Likely wrote: > > > --- a/drivers/acpi/plat/arm-core.c > > > +++ b/drivers/acpi/plat/arm-core.c > > > @@ -90,7 +90,7 @@ enum acpi_irq_model_id acpi_irq_model = > > > ACPI_IRQ_MODEL_GIC; > > > > > > st

[PATCH v5 0/4] ata: ahci_platform: Add PHY support and OMAP support

2014-01-20 Thread Roger Quadros
Hi, Some platforms have a PHY hooked up to the SATA controller. The PHY needs to be initialized and powered up for SATA to work. We do that using the Generic PHY framework in PATCH 3. In order to support SATA on the OMAP platforms we need to runtime resume the device before use. PATCH 4 takes car

[PATCH v5 3/4] ata: ahci_platform: Manage SATA PHY

2014-01-20 Thread Roger Quadros
From: Balaji T K Some platforms have a PHY hooked up to the SATA controller. The PHY needs to be initialized and powered up for SATA to work. We do that using the PHY framework. [Roger Q] Cleaned up. Signed-off-by: Balaji T K Signed-off-by: Roger Quadros Reviewed-by: Bartlomiej Zolnierkiewicz

[PATCH v5 4/4] ata: ahci_platform: runtime resume the device before use

2014-01-20 Thread Roger Quadros
On OMAP platforms the device needs to be runtime resumed before it can be accessed. The OMAP HWMOD framework takes care of enabling the module and its resources based on the device's runtime PM state. In this patch we runtime resume during .probe() and runtime suspend during .remove() (i.e. ahci_h

[PATCH v5 1/4] ata: ahci_platform: Add DT compatible for Synopsis DWC AHCI controller

2014-01-20 Thread Roger Quadros
Add compatible string "snps,dwc-ahci", which should be used for Synopsis Designware SATA cores. e.g. on TI OMAP5 and DRA7 platforms. Signed-off-by: Roger Quadros Reviewed-by: Bartlomiej Zolnierkiewicz --- drivers/ata/ahci_platform.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/at

[PATCH v5 2/4] ata: ahci_platform: Update DT compatible list

2014-01-20 Thread Roger Quadros
The ahci_platform driver supports "snps,exynos5440-ahci", "ibm,476gtr-ahci" and "snps,dwc-ahci". Add this to the DT binding information. Signed-off-by: Roger Quadros Reviewed-by: Bartlomiej Zolnierkiewicz --- Documentation/devicetree/bindings/ata/ahci-platform.txt | 4 +++- 1 file changed, 3 in

RE: [RFC PATCH] vfio/iommu_type1: Multi-IOMMU domain support

2014-01-20 Thread Varun Sethi
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Saturday, January 18, 2014 2:06 AM > To: Sethi Varun-B16395 > Cc: io...@lists.linux-foundation.org; linux-kernel@vger.kernel.org > Subject: [RFC PATCH] vfio/iommu_type1: Multi-IOMMU domain support >

[GIT PULL] x86/intel-mid changes for v3.14

2014-01-20 Thread Ingo Molnar
Linus, Please pull the latest x86-intel-mid-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-intel-mid-for-linus # HEAD: ee87c751d88f9b03fee7349556817fe80c113b32 x86, intel_mid: Replace memcpy with struct assignment This tree improves Intel MID (Mob

Re: [PATCH] dt-bindings: add rockchip vendor prefix

2014-01-20 Thread Rob Herring
On Mon, Jan 20, 2014 at 8:23 AM, Heiko Stübner wrote: > Am Freitag, 20. Dezember 2013, 16:26:47 schrieb Heiko Stübner: >> It seems I forgot to add the vendor prefix for rockchip to the vendor-prefix >> list. Therefore add it now. >> >> Signed-off-by: Heiko Stuebner > > not sure, where this should

Re: [PATCH 5/5] efi: Split efi_enter_virtual_mode

2014-01-20 Thread Matt Fleming
On Mon, 20 Jan, at 02:46:25PM, Borislav Petkov wrote: > On Mon, Jan 20, 2014 at 01:44:07PM +, Matt Fleming wrote: > > > +void __init kexec_enter_virtual_mode(void) > > > +{ > > > > Could this be static for now? > > Didn't you wanna do arch/x86/platform/efi/kexec.c anyway? Yes, but the patche

Re: [PATCH v5 2/4] ata: ahci_platform: Update DT compatible list

2014-01-20 Thread Rob Herring
On Mon, Jan 20, 2014 at 8:41 AM, Roger Quadros wrote: > The ahci_platform driver supports "snps,exynos5440-ahci", "ibm,476gtr-ahci" > and "snps,dwc-ahci". Add this to the DT binding information. > > Signed-off-by: Roger Quadros > Reviewed-by: Bartlomiej Zolnierkiewicz Acked-by: Rob Herring >

[GIT PULL] x86/microcode changes for v3.14

2014-01-20 Thread Ingo Molnar
Linus, Please pull the latest x86-microcode-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-microcode-for-linus # HEAD: 9c079129d7bfb24251890e40694fd79dd1872ed9 Merge tag 'amd_ucode_for_3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp i

Re: [PATCH v3 3/7] net: moxa: connect to PHY

2014-01-20 Thread Rob Herring
On Mon, Jan 20, 2014 at 5:13 AM, Jonas Jensen wrote: > The kernel now has a MDIO bus driver and a phy_driver (RTL8201CP), > connect to this PHY using OF. > > Signed-off-by: Jonas Jensen > --- > > Notes: > Applies to next-20140120 > > .../devicetree/bindings/n

[GIT PULL] x86/mm changes for v3.14

2014-01-20 Thread Ingo Molnar
Linus, Please pull the latest x86-mm-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-mm-for-linus # HEAD: f3d815cb854b2f6262ade56a4d91a1ed3f1e50c4 x86/mm/numa: Fix 32-bit kernel NUMA boot A cleanup, a fix and ASLR support for hugetlb mappings. Tha

Re: [RFC PATCH 3/4] virtio_balloon: add pressure notification via a new virtqueue

2014-01-20 Thread Luiz Capitulino
On Mon, 20 Jan 2014 12:43:45 +1030 Rusty Russell wrote: > Luiz Capitulino writes: > > On Fri, 17 Jan 2014 09:10:47 +1030 > > Rusty Russell wrote: > > > >> Luiz Capitulino writes: > >> > From: Luiz capitulino > >> > > >> > This commit adds support to a new virtqueue called message virtqueue. >

ATUALIZAR SUA CONTA UNICAMP WEBMAIL

2014-01-20 Thread UNICAMP E-mail do Administrador
-- Caros assinantes válidos Unicamp, Esta mensagem é a partir da UNICAMP Administrador Email Serviço a todos os nossos subscribers.You conta de e-mail são para nos fornecer as informações abaixo para revalidar sua conta devido a spam e UNICAMP atualizar a versão de spam New mês. Aviso: A sua c

[for-next][PATCH 0/2] tracing: Minor fixes

2014-01-20 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: 92fdd98cf8bdec4d6b0c510e2f073ac4fd059be8 Al Viro (1): tracing: Fix buggered tee(2) on tracing_pipe Steven Rostedt (Red Hat) (1): tracing: Have trace buffer point back to trace_array ke

[for-next][PATCH 2/2] tracing: Fix buggered tee(2) on tracing_pipe

2014-01-20 Thread Steven Rostedt
From: Al Viro In kernel/trace/trace.c we have this: static void tracing_pipe_buf_release(struct pipe_inode_info *pipe, struct pipe_buffer *buf) { __free_page(buf->page); } static const struct pipe_buf_operations tracing_pipe_buf_ops = { .can_me

[for-next][PATCH 1/2] tracing: Have trace buffer point back to trace_array

2014-01-20 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" The trace buffer has a descriptor pointer that goes back to the trace array. But it was never assigned. Luckily, nothing uses it (yet), but it will in the future. Although nothing currently uses this, if any of the new features get backported to older kernels, an

Re: [QUERY]: Is using CPU hotplug right for isolating CPUs?

2014-01-20 Thread Viresh Kumar
On 20 January 2014 19:29, Lei Wen wrote: > Hi Viresh, Hi Lei, > I have one question regarding unbounded workqueue migration in your case. > You use hotplug to migrate the unbounded work to other cpus, but its cpu mask > would still be 0xf, since cannot be changed by cpuset. > > My question is ho

[GIT PULL] x86/platform changes for v3.14

2014-01-20 Thread Ingo Molnar
Linus, Please pull the latest x86-platform-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-platform-for-linus # HEAD: ca1e631c3acf80bc5f5934ce9054a9b4880c96e1 x86, tsc, apic: Unbreak static (MSR) calibration when CONFIG_X86_LOCAL_APIC=n Improved In

Re: [PATCH v9 3/5] qrwlock, x86 - Treat all data type not bigger than long as atomic in x86

2014-01-20 Thread Peter Zijlstra
On Tue, Jan 14, 2014 at 11:44:05PM -0500, Waiman Long wrote: > The generic __native_word() macro defined in include/linux/compiler.h > only allows "int" and "long" data types to be treated as native and > atomic. The x86 architecture, however, allow the use of char and short > data types as atomic

Re: [V0 PATCH] xen/pvh: set some cr flags upon vcpu start

2014-01-20 Thread Konrad Rzeszutek Wilk
On Fri, Jan 17, 2014 at 06:24:55PM -0800, Mukesh Rathor wrote: > pvh was designed to start with pv flags, but a commit in xen tree Thank you for posting this! > 51e2cac257ec8b4080d89f0855c498cbbd76a5e5 removed some of the flags as You need to always include the title of said commit. > they are

[GIT PULL] RAS changes for v3.14

2014-01-20 Thread Ingo Molnar
Linus, Please pull the latest x86-ras-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-ras-for-linus # HEAD: b769e014f3ae4af8a56c6327077b3c40410dedad Merge tag 'ras_for_3.14_p2' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras into x86/ras Th

[GIT PULL] x86 leftover fixes for v3.14

2014-01-20 Thread Ingo Molnar
Linus, Please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus # HEAD: da6139e49c7cb0f4251265cb5243b8d220adb48d x86: Add check for number of available vectors before CPU down Two leftover fixes that did no

Re: [PATCH v9 4/5] qrwlock: Use smp_store_release() in write_unlock()

2014-01-20 Thread Peter Zijlstra
On Tue, Jan 14, 2014 at 11:44:06PM -0500, Waiman Long wrote: > This patch modifies the queue_write_unlock() function to use the new > smp_store_release() function (currently in tip). It also removes the > temporary implementation of smp_load_acquire() and smp_store_release() > function in qrwlock.c

Re: [PATCH v9 1/5] qrwlock: A queue read/write lock implementation

2014-01-20 Thread Peter Zijlstra
On Tue, Jan 14, 2014 at 11:44:03PM -0500, Waiman Long wrote: > +#ifndef arch_mutex_cpu_relax > +# define arch_mutex_cpu_relax() cpu_relax() > +#endif Include > +#ifndef smp_load_acquire > +# ifdef CONFIG_X86 > +# define smp_load_acquire(p) \ > + ({

Re: [PATCH v2] backlight: Convert from Legacy pm ops to dev_pm_ops

2014-01-20 Thread Shuah Khan
On 01/19/2014 06:34 PM, Jingoo Han wrote: On Monday, January 20, 2014 12:37 AM, Rafael J. Wysocki wrote: On Wednesday, November 14, 2040 04:27:17 AM Shuah Khan wrote: Convert drivers/video/backlight/class to use dev_pm_ops for power management and remove Legacy PM ops hooks. With this change, r

Re: linux-next: build failure after merge of the tip tree

2014-01-20 Thread Sedat Dilek
t; Where is this fix? >> > ( Browsing Linux-next remote GIT repository online. ) >> > 2x NOPE for me. >> > >> > - Sedat - >> > >> > [1] >> > http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/log/?id=next-20140120&q

[PATCH] dell-wmi: Add KEY_SWITCHVIDEOMODE for Dell N4110.

2014-01-20 Thread Souvik Banerjee
This key is reported by the keyboard controller but also generates WMI events. By adding it to the legacy keymap the WMI messages can be silenced. --- drivers/platform/x86/dell-wmi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-

Re: [PATCH] dell-wmi: Add KEY_SWITCHVIDEOMODE for Dell N4110.

2014-01-20 Thread Matthew Garrett
On Mon, Jan 20, 2014 at 09:28:22AM -0600, Souvik Banerjee wrote: > This key is reported by the keyboard controller but also generates WMI > events. By adding it to the legacy keymap the WMI messages can be > silenced. Wouldn't this result in it being reported twice? -- Matthew Garrett | mj...@sr

[GIT PULL] Metag architecture changes for v3.14

2014-01-20 Thread James Hogan
Hi Linus, Please pull the following changes since commit 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae: Linux 3.13-rc1 (2013-11-22 11:30:55 -0800) which are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/metag.git tags/metag-for-v3.14 for you to fetch

Re: [PATCH v3] arm: remove !CPU_V6 and !GENERIC_ATOMIC64 build dependencies for XEN

2014-01-20 Thread Stefano Stabellini
On Thu, 16 Jan 2014, Will Deacon wrote: > Hi Stefano, > > On Thu, Jan 16, 2014 at 04:27:55PM +, Stefano Stabellini wrote: > > On Thu, 9 Jan 2014, Will Deacon wrote: > > > Ok, thanks for the explanation. Looking at the patch, I wonder whether > > > it's > > > not cleaner just to implement xchg

[GIT PULL] localmodconfig: Add config depends by default settings

2014-01-20 Thread Steven Rostedt
Linus, While debugging the problem with localmodconfig and the ALSA codec modules all being set, I discovered a small bug in the dependency logic. If a config has a dependency based on its setting value, localmodcondig misses it. For example: config FOO default y if BAR || ZOO If FOO is n

[ANNOUNCE] util-linux v2.24.1

2014-01-20 Thread Karel Zak
The util-linux release v2.24.1 is available at ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.24/ Feedback and bug reports, as always, are welcomed. Karel Util-linux 2.24.1 Release Notes === agetty: - support the special terminal on first serial line

Re: [QUERY]: Is using CPU hotplug right for isolating CPUs?

2014-01-20 Thread Frederic Weisbecker
On Mon, Jan 20, 2014 at 08:30:10PM +0530, Viresh Kumar wrote: > On 20 January 2014 19:29, Lei Wen wrote: > > Hi Viresh, > > Hi Lei, > > > I have one question regarding unbounded workqueue migration in your case. > > You use hotplug to migrate the unbounded work to other cpus, but its cpu > > ma

Re: [PATCH] x86, perf_p4: block PMIs on init to prevent a stream of unkown NMIs

2014-01-20 Thread Don Zickus
On Mon, Jan 20, 2014 at 09:38:59AM +0100, Peter Zijlstra wrote: > On Fri, Jan 17, 2014 at 10:41:41AM -0500, Don Zickus wrote: > > I could have removed the ENABLE bit too, but was worried it would impact > > BIOS vendors secret ability to monitor cpu states. I figured the ability to > > generate a

[PATCH][trivial] pci: Fix make htmldocs failure caused by msi.c

2014-01-20 Thread Masanari Iida
An empty line in msi.c caused "make htmldocs" failure. Warning(/home/iida/Repo/linux-next//drivers/pci/msi.c:962): bad line: Remove the empty line fixed the issue. Signed-off-by: Masanari Iida --- drivers/pci/msi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/msi.c b/drivers/p

[PATCH v7 2/7] dt-bindings: sram: describe option to reserve parts of the memory

2014-01-20 Thread Heiko Stübner
Some SoCs need parts of their sram for special purposes. So while being part of the peripheral, it should not be part of the genpool controlling the sram. Therefore add an option mmio-sram-reserved to keep arbitrary portions of the sram from general usage. Suggested-by: Rob Herring Signed-off-by

[PATCH v7 1/7] of: add functions to count number of elements in a property

2014-01-20 Thread Heiko Stübner
The need to know the number of array elements in a property is a common pattern. To prevent duplication of open-coded implementations add a helper static function that also centralises strict sanity checking and DTB format details, as well as a set of wrapper functions for u8, u16, u32 and u64. Su

[PATCH v7 3/7] misc: sram: implement mmio-sram-reserved option

2014-01-20 Thread Heiko Stübner
This implements support for the mmio-sram-reserved option to keep the genpool from using these areas. Suggested-by: Rob Herring Signed-off-by: Heiko Stuebner Tested-by: Ulrich Prinz --- drivers/misc/sram.c | 121 +++ 1 file changed, 113 insertio

[PATCH v7 6/7] ARM: rockchip: add power-management-unit

2014-01-20 Thread Heiko Stübner
The pmu is needed to bring up the cores during smp operations and later also other system parts. Therefore add a node and documentation for it. Signed-off-by: Heiko Stuebner Tested-by: Ulrich Prinz --- Documentation/devicetree/bindings/arm/rockchip/pmu.txt | 16 arch/arm/boot

[PATCH v7 7/7] ARM: rockchip: add smp bringup code

2014-01-20 Thread Heiko Stübner
This adds the necessary smp-operations and startup code to use additional cores on Rockchip SoCs. We currently hog the power management unit in the smp code, as it is necessary to control the power to the cpu core and nothing else is currently using it, so a generic implementation can be done late

[GIT PULL] ktest: New features

2014-01-20 Thread Steven Rostedt
Linus, Note, I just realized that I did not base this branch on any specific SHA1 (like a release). I must have updated the branch and forgot about it before doing development on it. But this has been in linux-next for a bit, and I understand that it is looked down upon to rebase this late in the

[PATCH v7 4/7] ARM: rockchip: add snoop-control-unit

2014-01-20 Thread Heiko Stübner
This adds the device-node and config select to enable the scu in all Rockchip Cortex-A9 SoCs. Signed-off-by: Heiko Stuebner Tested-by: Ulrich Prinz --- arch/arm/boot/dts/rk3xxx.dtsi |5 + arch/arm/mach-rockchip/Kconfig |1 + 2 files changed, 6 insertions(+) diff --git a/arch/arm/b

[GIT PULL] regmap updates for v3.14

2014-01-20 Thread Mark Brown
The following changes since commit d6e0a2dd12f4067a5bcefb8bbd8ddbeff800afbc: Linux 3.13-rc7 (2014-01-04 15:12:14 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git tags/regmap-v3.14 for you to fetch changes up to 86776fc174973e55

Re: [QUERY]: Is using CPU hotplug right for isolating CPUs?

2014-01-20 Thread Frederic Weisbecker
On Mon, Jan 20, 2014 at 05:00:20PM +0530, Viresh Kumar wrote: > On 16 January 2014 15:16, Thomas Gleixner wrote: > > Just do the math. > > > > max reload value / timer freq = max time span > > Thanks. > > > So: > > > > 0x7fff / 24MHz = 89.478485 sec > > > > Nothing to do here excep

<    1   2   3   4   5   6   7   >