Re: [RFC PATCH 0/2] kpatch: dynamic kernel patching

2014-05-06 Thread Josh Poimboeuf
On Tue, May 06, 2014 at 04:05:21PM +0200, Frederic Weisbecker wrote: > On Tue, May 06, 2014 at 07:12:11AM -0500, Josh Poimboeuf wrote: > > On Mon, May 05, 2014 at 11:49:23PM +0200, Frederic Weisbecker wrote: > > > On Mon, May 05, 2014 at 08:43:04PM +0200, Ingo Molnar wrote: > > > > If a kernel

Re: [PATCH 0/2] namespaces: log namespaces per task

2014-05-06 Thread Serge Hallyn
Quoting James Bottomley (james.bottom...@hansenpartnership.com): > On Tue, 2014-05-06 at 03:27 +, Serge Hallyn wrote: > > Quoting James Bottomley (james.bottom...@hansenpartnership.com): > > > >> Right, but when the contaner has an audit namespace, that namespace > > > >has > > > >> a name, >

Re: [PATCH 3.4 00/43] 3.4.89-stable review

2014-05-06 Thread Greg Kroah-Hartman
On Tue, May 06, 2014 at 08:00:16AM -0600, Shuah Khan wrote: > On 05/04/2014 09:41 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.4.89 release. > > There are 43 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH] asus-nb-wmi: set wapf=4 for ASUSTeK COMPUTER INC. X75VBP & X550CA

2014-05-06 Thread Matthew Garrett
That's not being merged without a Signed-off-by:. -- Matthew Garrett | mj...@srcf.ucam.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: [PATCH] asus-nb-wmi: set wapf=4 for ASUSTeK COMPUTER INC. X75VBP & X550CA

2014-05-06 Thread poma
> Corentin, care to pick up this one? > https://bugzilla.redhat.com/attachment.cgi?id=892751 Matthew, who actually maintains the Asus Notebooks WMI Hotkey Driver i.e. 'asus-nb-wmi'? poma -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH 08/17] mm: page_alloc: Use word-based accesses for get/set pageblock bitmaps

2014-05-06 Thread Vlastimil Babka
On 05/06/2014 11:13 AM, Mel Gorman wrote: On Mon, May 05, 2014 at 02:40:38PM +0200, Vlastimil Babka wrote: @@ -62,11 +65,35 @@ extern int pageblock_order; /* Forward declaration */ struct page; +unsigned long get_pageblock_flags_mask(struct page *page, +

Re: [PATCH V5 2/3] arm: dts: dra7: Replace peripheral interrupt numbers with crossbar inputs

2014-05-06 Thread Tony Lindgren
* Sricharan R [140506 06:58]: > Now with the crossbar IP in picture, the peripherals do not have the > fixed interrupt lines. Instead they rely on the crossbar irqchip to > allocate and map a free interrupt line to its crossbar input. So replacing > all the peripheral interrupt numbers with its

Re: [PATCH/RFC] Deprecate BUG/BUG_ON in favour of BUG_AND_HALT/BUG_AND_HALT_ON

2014-05-06 Thread Paul Gortmaker
On 14-05-06 03:35 AM, Ingo Molnar wrote: > > * Richard Weinberger wrote: > >> On Wed, Apr 30, 2014 at 5:03 PM, Paul Gortmaker >> wrote: >>> A long standing problem for us has been the misuse of BUG/BUG_ON. >>> The typical misuse is someone only thinking of what represents >>> a bug in their

Re: [PATCH 1/2] ARM: SAMSUNG: remove gpio flags in dev-backlight

2014-05-06 Thread Alexandre Courbot
On Tue, May 6, 2014 at 1:59 PM, Kukjin Kim wrote: > Alexandre Courbot wrote: >> >> On Thu, Apr 10, 2014 at 11:14 PM, Alexandre Courbot >> wrote: >> > On Thu, Apr 10, 2014 at 6:51 PM, Jingoo Han wrote: >> >> On Thursday, April 10, 2014 1:17 PM, Alexandre Courbot wrote: >> >>> >> >>> Ping, can I

Re: [PATCH 1/4] memcg, mm: introduce lowlimit reclaim

2014-05-06 Thread Michal Hocko
On Tue 06-05-14 09:29:32, Johannes Weiner wrote: > On Fri, May 02, 2014 at 06:00:56PM -0400, Johannes Weiner wrote: > > On Fri, May 02, 2014 at 06:49:30PM +0200, Michal Hocko wrote: > > > On Fri 02-05-14 11:58:05, Johannes Weiner wrote: > > > > This is not even guarantees anymore, but rather

Re: [PATCH v3 01/20] usb: ehci-orion: Fix clock reference leaking

2014-05-06 Thread Alan Stern
On Tue, 6 May 2014, Gregory CLEMENT wrote: > In order to disable the clock while the module was removing, a call to > devm_clk_get() was made. This was wrong and lead to a leak module > ref-counts. > > In order to have a reference of the clock get, a private structure was > added using the

Re: [RFC PATCH 0/5] watchdog: Add reboot API

2014-05-06 Thread Jonas Jensen
Thanks, Applied in series: 1, 3, and 4 Patches work on moxa UC-7112-LX hardware. Tested-by: Jonas Jensen -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH] rtc: rtc-at91rm9200: fix infinite wait for ACKUPD irq

2014-05-06 Thread Boris BREZILLON
The rtc user must wait at least 1 sec between each time/calandar update (see atmel's datasheet chapter "Updating Time/Calendar"). Use the 1Hz interrupt to update the at91_rtc_upd_rdy flag and wait for the at91_rtc_wait_upd_rdy event if the rtc is not ready. Signed-off-by: Boris BREZILLON

Re: [PATCH v7 1/2] phy: Add new Exynos5 USB 3.0 PHY driver

2014-05-06 Thread Sylwester Nawrocki
On 28/04/14 08:17, Vivek Gautam wrote: > 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 >

Re: [PATCH 06/24] net, diet: Use small UDP hash tables on small kernels

2014-05-06 Thread Eric Dumazet
On Mon, 2014-05-05 at 15:25 -0700, Andi Kleen wrote: > From: Andi Kleen > > UDP has two hash tables, for UDP and UDP lite. Default > them to 16 entries each on small kernels. This can be > still overriden on the command line. > > Signed-off-by: Andi Kleen > --- > net/ipv4/udp.c | 5 + > 1

Re: sched,numa: invalid memory access in account_entity_dequeue

2014-05-06 Thread Sasha Levin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/06/2014 09:40 AM, Peter Zijlstra wrote: > On Tue, May 06, 2014 at 08:23:25AM -0400, Sasha Levin wrote: > I suppose you've scripted this addr2line -ie vmlinux for all addresses in > this splat? >>> >>> Yeah, I'm trying to get that

[PATCH] arm: Describe required sort order for textofs-y (TEXT_OFFSET)

2014-05-06 Thread Daniel Thompson
The section of the makefile that determines the TEXT_OFFSET is sorted by address so that, in multi-arch kernel builds, the architecture with the most stringent requirements for the kernel base address gets to define TEXT_OFFSET. The comment should reflect that. Signed-off-by: Daniel Thompson ---

Re: [PATCH] DMA-API: Change dma_declare_coherent_memory() CPU address to phys_addr_t

2014-05-06 Thread Arnd Bergmann
On Tuesday 06 May 2014 13:42:06 James Bottomley wrote: > On Tue, 2014-05-06 at 07:18 -0600, Bjorn Helgaas wrote: > > On Mon, May 5, 2014 at 8:42 PM, James Bottomley > > wrote: > > > On Mon, 2014-05-05 at 17:01 -0600, Bjorn Helgaas wrote: > > >> On Fri, May 02, 2014 at 10:42:18AM +0200, Arnd

Re: Atomicity in KMS panic notifier

2014-05-06 Thread Takashi Iwai
At Tue, 6 May 2014 15:53:32 +0200, David Herrmann wrote: > > Hi > > On Tue, May 6, 2014 at 3:38 PM, Takashi Iwai wrote: > > At Tue, 6 May 2014 15:32:21 +0200, > > David Herrmann wrote: > >> fbcon is called through the VT or fbdev layer, which is called by > >> bust_spinlocks(1) via either

[PATCH v2 2/5] cgroup: replace cftype->write_string() with cftype->write()

2014-05-06 Thread Tejun Heo
Convert all cftype->write_string() users to the new cftype->write() which maps directly to kernfs write operation and has full access to kernfs and cgroup contexts. The conversions are mostly mechanical. * @css and @cft are accessed using of_css() and of_cft() accessors respectively instead of

Re: [RFC PATCH 0/2] kpatch: dynamic kernel patching

2014-05-06 Thread Frederic Weisbecker
On Tue, May 06, 2014 at 07:12:11AM -0500, Josh Poimboeuf wrote: > On Mon, May 05, 2014 at 11:49:23PM +0200, Frederic Weisbecker wrote: > > On Mon, May 05, 2014 at 08:43:04PM +0200, Ingo Molnar wrote: > > > If a kernel refuses to patch with certain threads running, that will > > > drive those

Re: [PATCH] crypto: x86/sha1: fix coverity CID 1195603

2014-05-06 Thread Milos Vyletel
And this time in plain text... Most likely yes but I wanted to keep sha1_ssse3_mod_init consistent with sha256_ssse3_mod_init/sha512_ssse3_mod_init functions. Milos On Tue, May 6, 2014 at 4:28 AM, Pavel Machek wrote: > On Wed 2014-04-30 15:17:54, Milos Vyletel wrote: >> Coverity detected

Re: [PATCH 0/2] namespaces: log namespaces per task

2014-05-06 Thread Richard Guy Briggs
On 14/05/06, Serge Hallyn wrote: > Quoting Richard Guy Briggs (r...@redhat.com): > > On 14/05/03, James Bottomley wrote: > > > On Tue, 2014-04-22 at 14:12 -0400, Richard Guy Briggs wrote: > > > > Questions: > > > > Is there a way to link serial numbers of namespaces involved in > > > > migration

[PATCH] staging: unisys: Replace GUID with uuid_le

2014-05-06 Thread Benjamin Romer
This patch replaces the GUID type with uuid_le. It removes the header file guidutils.h, updates all uses of the GUID type to uuid_le, and replaces all function calls that used the GUID type with their uuid_le equivalents. Signed-off-by: Benjamin Romer ---

Re: [PATCH 3.4 00/43] 3.4.89-stable review

2014-05-06 Thread Shuah Khan
On 05/04/2014 09:41 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.4.89 release. There are 43 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: + printk-print-initial-logbuf-contents-before-re-enabling-interrupts.patch added to -mm tree

2014-05-06 Thread Jan Kara
On Tue 06-05-14 14:12:34, Will Deacon wrote: > On Tue, May 06, 2014 at 01:29:58PM +0100, Jan Kara wrote: > > On Tue 06-05-14 13:06:48, Will Deacon wrote: > > > On Fri, May 02, 2014 at 11:46:51PM +0100, Jan Kara wrote: > > > > I really dislike this patch. It goes completely against my efforts of

Re: [PATCH 06/17] pci: host: pcie-designware: Use *base-mask* for configuring the iATU

2014-05-06 Thread Arnd Bergmann
On Tuesday 06 May 2014 19:03:52 Kishon Vijay Abraham I wrote: > In DRA7, the cpu sees 32bit address, but the pcie controller can see only > 28bit > address. So whenever the cpu issues a read/write request, the 4 most > significant bits are used by L3 to determine the target controller. > For

[PATCH V5 3/3] arm: dts: dra7: Add routable-irqs property for gic node

2014-05-06 Thread Sricharan R
There is a IRQ crossbar device in the soc, which maps the irq requests from the peripherals to the mpu interrupt controller's inputs. The gic provides the support for such IPs in the form of routable-irqs. So adding the property here to gic node. Cc: Benoit Cousson Cc: Santosh Shilimkar Cc:

[PATCH V5 2/3] arm: dts: dra7: Replace peripheral interrupt numbers with crossbar inputs

2014-05-06 Thread Sricharan R
Now with the crossbar IP in picture, the peripherals do not have the fixed interrupt lines. Instead they rely on the crossbar irqchip to allocate and map a free interrupt line to its crossbar input. So replacing all the peripheral interrupt numbers with its fixed crossbar input lines. Cc: Benoit

[PATCH V5 0/3] arm: dts: dra7: Updates for adding crossbar device

2014-05-06 Thread Sricharan R
Some socs have a large number of interrupts requests to service the needs of its many peripherals and subsystems. All of the interrupt requests lines from the subsystems are not needed at the same time, so they have to be muxed to the controllers appropriately. In such places a interrupt

[PATCH] libata: clean up ZPODD when a port is detached

2014-05-06 Thread Levente Kurusa
When a ZPODD device is unbound via sysfs, the ACPI notify handler is not removed. This causes panics as observed in Bug #74601. The panic only happens when the wake happens from outside the kernel (i.e. inserting a media or pressing a button). Add a loop to ata_port_detach which loops through the

[PATCH V5 1/3] arm: dts: dra7: Add crossbar device binding

2014-05-06 Thread Sricharan R
This adds the irq crossbar device node. There is a IRQ crossbar device in the soc, which maps the irq requests from the peripherals to the mpu interrupt controller's inputs. The Peripheral irq requests are connected to only one crossbar input and the output of the crossbar is connected to only

Re: [PATCH v3 17/20] phy: Add support for USB cluster on the Armada 375 SoC

2014-05-06 Thread Andrew Lunn
On Tue, May 06, 2014 at 02:14:12AM +0200, Gregory CLEMENT wrote: > The Armada 375 SoC comes with an USB2 host and device controller and > an USB3 controller. The USB cluster control register allows to manage > common features of both USB controllers. It uses the generic PHY > framework > >

Re: [PATCH v2 01/12] ARM: imx/mxs defconfigs: add MTD_SPI_NOR (new dependency for M25P80)

2014-05-06 Thread Shawn Guo
On Wed, Apr 30, 2014 at 11:26:36PM -0700, Brian Norris wrote: > These defconfigs contain the CONFIG_M25P80 symbol, which is now > dependent on the MTD_SPI_NOR symbol. Add CONFIG_MTD_SPI_NOR to satisfy > the new dependency. > > Signed-off-by: Brian Norris > Cc: Shawn Guo > Cc: Sascha Hauer >

Re: [PATCH 05/17] pci: host: pcie-dra7xx: add support for pcie-dra7xx controller

2014-05-06 Thread Arnd Bergmann
On Tuesday 06 May 2014 19:03:51 Kishon Vijay Abraham I wrote: > Added support for pcie controller in dra7xx. This driver re-uses > the designware core code that is already present in kernel. > > Cc: Bjorn Helgaas > Cc: Mohit Kumar > Cc: Jingoo Han > Cc: Marek Vasut > Signed-off-by: Kishon

RE: [PATCH 02/27] ACPICA: Utilities: Deploy ACPI_DEBUGGER_EXEC for ACPI_DEBUGGER enabled code in utglobal.c.

2014-05-06 Thread Zheng, Lv
Hi, > From: Pavel Machek [mailto:pa...@ucw.cz] > Sent: Tuesday, May 06, 2014 7:08 PM > > Hi! > > > > From: Pavel Machek [mailto:pa...@ucw.cz] > > > Sent: Tuesday, May 06, 2014 3:54 PM > > > > > > On Wed 2014-04-30 10:03:39, Lv Zheng wrote: > > > > This patch deploys ACPI_DEBUGGER_EXEC usage to

Re: [PATCH 05/17] pci: host: pcie-dra7xx: add support for pcie-dra7xx controller

2014-05-06 Thread Marek Vasut
On Tuesday, May 06, 2014 at 03:33:51 PM, Kishon Vijay Abraham I wrote: > Added support for pcie controller in dra7xx. This driver re-uses > the designware core code that is already present in kernel. [...] > +#define to_dra7xx_pcie(x)container_of((x), struct dra7xx_pcie, pp) > + > +static

Re: Atomicity in KMS panic notifier

2014-05-06 Thread David Herrmann
Hi On Tue, May 6, 2014 at 3:38 PM, Takashi Iwai wrote: > At Tue, 6 May 2014 15:32:21 +0200, > David Herrmann wrote: >> fbcon is called through the VT or fbdev layer, which is called by >> bust_spinlocks(1) via either unblank_screen() or console_unblank(). > > You mean bust_spinlocks(0), right? >

Re: + printk-print-initial-logbuf-contents-before-re-enabling-interrupts.patch added to -mm tree

2014-05-06 Thread Peter Zijlstra
On Tue, May 06, 2014 at 02:12:34PM +0100, Will Deacon wrote: > That said, printing one message each time seems to go too far in the > opposite direction for my liking, so the best bet is likely to limit the > work to some fixed number of messages. Do you have any feeling for such a > limit? 42!

Re: [PATCH v7 1/2] phy: Add new Exynos5 USB 3.0 PHY driver

2014-05-06 Thread Kishon Vijay Abraham I
On Wednesday 30 April 2014 08:54 AM, Vivek Gautam wrote: > Hi Kishon, Tomasz, > > > On Mon, Apr 28, 2014 at 11:47 AM, Vivek Gautam > wrote: >> 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

Re: IMA & truncate

2014-05-06 Thread Javier González
Hi, > I have discovered one IMA related issue. > > IMA file hash is re-calculate if needed on file close. > > It works with ftruncate(fd, length) syscall, because it operates on > "opened" file. > Recalculation is happening on file close. > > truncate(path, length) syscall works with path and

Re: [PATCH v3 12/20] ARM: configs: Add usb_xhci_mvebu to multi_v7_defconfig

2014-05-06 Thread Jason Cooper
If you need to do another respin of this series, please add Olof, Arnd and Kevin (and a...@kernel.org) to the To:. Otherwise, I'll take care of it. thx, Jason. On Tue, May 06, 2014 at 02:14:07AM +0200, Gregory CLEMENT wrote: > The Marvell Armada 38x platform needs the xhci_mvebu driver enabled

Re: [PATCH v3 08/20] ARM: mvebu: Add Device Tree description of xHCI hosts on Armada 38x

2014-05-06 Thread Andrew Lunn
On Tue, May 06, 2014 at 02:14:03AM +0200, Gregory CLEMENT wrote: > The Marvell Armada 38x SoCs contains two xHCI host. This commit adds > the Device Tree description of those interfaces at the SoC level, and > also enables the two USB3 ports on the Armada 385 DB platform and one > USB3 port on the

[RFA][PATCH] tracing: Add trace__enabled() function

2014-05-06 Thread Steven Rostedt
There are some code paths in the kernel that need to do some preparations before it calls a tracepoint. As that code is worthless overhead when the tracepoint is not enabled, it would be prudent to have that code only run when the tracepoint is active. To accomplish this, all tracepoints now get

[PATCH 01/17] phy: phy-omap-pipe3: Add support for PCIe PHY

2014-05-06 Thread Kishon Vijay Abraham I
PCIe PHY uses an external pll instead of the internal pll used by SATA and USB3. So added support in pipe3 PHY to use external pll. Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/phy/ti-phy.txt |8 +- drivers/phy/phy-ti-pipe3.c | 99

Re: [PATCH] DMA-API: Change dma_declare_coherent_memory() CPU address to phys_addr_t

2014-05-06 Thread James Bottomley
On Tue, 2014-05-06 at 07:18 -0600, Bjorn Helgaas wrote: > On Mon, May 5, 2014 at 8:42 PM, James Bottomley > wrote: > > On Mon, 2014-05-05 at 17:01 -0600, Bjorn Helgaas wrote: > >> On Fri, May 02, 2014 at 10:42:18AM +0200, Arnd Bergmann wrote: > > > >> > I don't know about NCR_Q720, but all others

Re: [PATCH v3 05/20] usb: host: xhci-plat: Add clocks support

2014-05-06 Thread Jason Cooper
On Tue, May 06, 2014 at 02:14:00AM +0200, Gregory CLEMENT wrote: > Some platform (such as the Armada 38x ones) can gate the clock of > their USB controller. This patch add the support for the clock, by > enabling them during probe and disabling them on remove. > > As not all platforms have clock

Re: [TEMP PATCH 16/17] pci: host: pcie-dra7xx: use reset framework APIs to reset PCIe

2014-05-06 Thread Dan Murphy
On 05/06/2014 08:34 AM, Kishon Vijay Abraham I wrote: > Get reset nodes from dt and use reset framework APIs to reset PCIe. > This is needed since reset is handled by the SoC. > > Cc: Dan Murphy > Signed-off-by: Kishon Vijay Abraham I > --- > Documentation/devicetree/bindings/pci/ti-pci.txt |

Re: [TEMP PATCH 17/17] ARM: dts: dra7: Add *resets* property for PCIe dt node

2014-05-06 Thread Dan Murphy
On 05/06/2014 08:34 AM, Kishon Vijay Abraham I wrote: > Added *resets* and *reset-names* properies for PCIe dt node. > The documention for this node can be found @ ../bindings/pci/ti-pci.txt. > > Cc: Dan Murphy > Signed-off-by: Kishon Vijay Abraham I > --- > arch/arm/boot/dts/dra7.dtsi |2

[PATCH 06/17] pci: host: pcie-designware: Use *base-mask* for configuring the iATU

2014-05-06 Thread Kishon Vijay Abraham I
In DRA7, the cpu sees 32bit address, but the pcie controller can see only 28bit address. So whenever the cpu issues a read/write request, the 4 most significant bits are used by L3 to determine the target controller. For example, the cpu reserves 0x2000_ - 0x2FFF_ for PCIe controller but

Re: sched,numa: invalid memory access in account_entity_dequeue

2014-05-06 Thread Peter Zijlstra
On Tue, May 06, 2014 at 08:23:25AM -0400, Sasha Levin wrote: > > I suppose you've scripted this addr2line -ie vmlinux for all addresses in > > this splat? > > Yeah, I'm trying to get that script upstream > (https://lkml.org/lkml/2014/3/29/1) > since it seems to simplify looking at stack traces.

[PATCH 08/17] ARM: dts: DRA7: Change the parent of apll_pcie_in_clk_mux to dpll_pcie_ref_m2ldo_ck

2014-05-06 Thread Kishon Vijay Abraham I
From: Keerthy Change the parent of apll_pcie_in_clk_mux to dpll_pcie_ref_m2ldo_ck from dpll_pcie_ref_ck. Cc: Rajendra Nayak Cc: Tero Kristo Cc: Paul Walmsley Signed-off-by: Keerthy Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra7xx-clocks.dtsi |2 +- 1 file changed, 1

Re: [PATCH] staging: dgnc: fix compile warning frame size is larger than 1024 bytes

2014-05-06 Thread Martin Kepplinger
Am 2014-05-06 15:33, schrieb Dan Carpenter: > On Tue, May 06, 2014 at 02:41:37PM +0200, Martin Kepplinger wrote: >> fix following warning by dynamically allocating memory: >> dgnc_tty.c:583:1: warning: the frame size of 1060 bytes is larger than 1024 >> bytes [-Wframe-larger-than=] >> >>

[PATCH 03/17] phy: ti-pipe3: add external clock support for PCIe PHY

2014-05-06 Thread Kishon Vijay Abraham I
APLL used by PCIE phy can either use external clock as input or the clock from DPLL. Added support for the APLL to use external clock as input here. Cc: Rajendra Nayak Cc: Tero Kristo Cc: Paul Walmsley Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/phy/ti-phy.txt

Re: [PATCH] clk: ti: clk-7xx: Correct ABE DPLL configuration

2014-05-06 Thread Peter Ujfalusi
Mike, On 04/24/2014 06:03 PM, Tero Kristo wrote: > On 04/24/2014 12:11 PM, Peter Ujfalusi wrote: >> Mike, Tero, >> >> On 04/03/2014 09:29 AM, Peter Ujfalusi wrote: >>> On 04/02/2014 05:12 PM, Tero Kristo wrote: On 04/02/2014 04:48 PM, Peter Ujfalusi wrote: > ABE DPLL frequency need to be

Re: Atomicity in KMS panic notifier

2014-05-06 Thread Takashi Iwai
At Tue, 6 May 2014 15:32:21 +0200, David Herrmann wrote: > > Hi > > On Tue, May 6, 2014 at 3:27 PM, Takashi Iwai wrote: > > At Mon, 5 May 2014 16:52:45 +0200, > > Daniel Vetter wrote: > >> > >> On Mon, May 5, 2014 at 4:48 PM, Takashi Iwai wrote: > >> > > >> > The current problem I see is that

[PATCH 10/17] arm: dra7xx: Add hwmod data for pcie1 and pcie2 subsystems

2014-05-06 Thread Kishon Vijay Abraham I
Added hwmod data for pcie1 and pcie2 subsystem present in DRA7xx SOC. Cc: Tony Lindgren Cc: Russell King Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 55 + 1 file changed, 55 insertions(+) diff --git

[PATCH 05/17] pci: host: pcie-dra7xx: add support for pcie-dra7xx controller

2014-05-06 Thread Kishon Vijay Abraham I
Added support for pcie controller in dra7xx. This driver re-uses the designware core code that is already present in kernel. Cc: Bjorn Helgaas Cc: Mohit Kumar Cc: Jingoo Han Cc: Marek Vasut Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/pci/ti-pci.txt | 33 ++

[PATCH 09/17] arm: dra7xx: Add hwmod data for pcie1 phy and pcie2 phy

2014-05-06 Thread Kishon Vijay Abraham I
Added hwmod data for pcie1 and pcie2 phy present in DRA7xx SOC. Also added the missing CLKCTRL OFFSET macro and CONTEXT OFFSET macro for pcie1 phy and pcie2 phy. Cc: Tony Lindgren Cc: Russell King Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/cm2_7xx.h |4 ++

[PATCH 12/17] ARM: dts: dra7: Add dt data for PCIe PHY control module

2014-05-06 Thread Kishon Vijay Abraham I
Added dt data for PCIe PHY control module used by PCIe PHY. The documention for this node can be found @ ../bindings/phy/ti-phy.txt Cc: Tony Lindgren Cc: Rob Herring Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra7.dtsi |8 1 file changed, 8 insertions(+) diff

Re: [PATCH v3 02/20] usb: ehci-orion: Add the optional PHY support

2014-05-06 Thread Andrew Lunn
On Tue, May 06, 2014 at 02:13:57AM +0200, Gregory CLEMENT wrote: > This commit allows to use the PHY provided through the device tree. It > will be useful for the Armada 375 SoCs. if no PHY is provided then the > behavior of the driver is unchanged. > > Signed-off-by: Gregory CLEMENT > --- >

[PATCH 14/17] ARM: dts: dra7: Add dt data for PCIe controller

2014-05-06 Thread Kishon Vijay Abraham I
Added dt data for PCIe controller. This node contains dt data for both the DRA7 part of designware controller and for the designware core. The documention for this node can be found @ ../bindings/pci/ti-pci.txt. Cc: Tony Lindgren Cc: Bjorn Helgaas Cc: Jingoo Han Cc: Rob Herring Signed-off-by:

[TEMP PATCH 16/17] pci: host: pcie-dra7xx: use reset framework APIs to reset PCIe

2014-05-06 Thread Kishon Vijay Abraham I
Get reset nodes from dt and use reset framework APIs to reset PCIe. This is needed since reset is handled by the SoC. Cc: Dan Murphy Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/pci/ti-pci.txt |2 ++ drivers/pci/host/pci-dra7xx.c| 10

[TEMP PATCH 17/17] ARM: dts: dra7: Add *resets* property for PCIe dt node

2014-05-06 Thread Kishon Vijay Abraham I
Added *resets* and *reset-names* properies for PCIe dt node. The documention for this node can be found @ ../bindings/pci/ti-pci.txt. Cc: Dan Murphy Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra7.dtsi |2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 15/17] ARM: OMAP: Enable PCI for DRA7

2014-05-06 Thread Kishon Vijay Abraham I
Now that we have added PCIe driver for DRA7 SOCs, enable PCI on DRA7 SOCs. Cc: Tony Lindgren Cc: Rob Herring Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/Kconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig

[PATCH 13/17] ARM: dts: dra7: Add dt data for PCIe PHY

2014-05-06 Thread Kishon Vijay Abraham I
Added dt data for PCIe PHY as a child node of ocp2scp3. The documention for this node can be found @ ../bindings/phy/ti-phy.txt. Cc: Tony Lindgren Cc: Rob Herring Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra7.dtsi | 23 +++ 1 file changed, 23

[PATCH 07/17] ARM: dts: DRA7: Add divider table to optfclk_pciephy_div clock

2014-05-06 Thread Kishon Vijay Abraham I
From: Keerthy Add divider table to optfclk_pciephy_div clock. The Documentation for divider clock can be found at ../clock/ti/divider.txt Cc: Rajendra Nayak Cc: Tero Kristo Cc: Paul Walmsley Signed-off-by: Keerthy Signed-off-by: Kishon Vijay Abraham I ---

[PATCH 11/17] ARM: dts: dra7xx-clocks: Add missing 32khz clocks used for PHY

2014-05-06 Thread Kishon Vijay Abraham I
Added missing 32khz clock used by PCIe PHY. The documention for this node can be found @ ../bindings/clock/ti/gate.txt. Cc: Tony Lindgren Cc: Rajendra Nayak Cc: Tero Kristo Cc: Paul Walmsley Cc: Rob Herring Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra7xx-clocks.dtsi |

[PATCH 04/17] phy: pipe3: insert delay to enumerate in GEN2 mode

2014-05-06 Thread Kishon Vijay Abraham I
8-bit delay value (0xF1) is required for GEN2 devices to be enumerated consistently. Added an API to be called from PHY drivers to set this delay value and called it from PIPE3 driver to set the delay value. Signed-off-by: Kishon Vijay Abraham I ---

[PATCH 00/17] PCIe support for DRA7xx

2014-05-06 Thread Kishon Vijay Abraham I
This patch series adds support for PCIe in DRA7xx including drivers and dt data. PCIe in DRA7xx uses desingware IP and hence this re-uses the pcie desingware driver (pcie-designware.c) by Jingoo. The last couple of patches are marked as *TEMP* since the TI reset driver [1] is not yet merged and

[PATCH 02/17] phy: omap-control: add external clock support for PCIe PHY

2014-05-06 Thread Kishon Vijay Abraham I
Export an API to be called by PIPE3 PHY to enable external clock for PCIE PHY. Added a new compatible for PCIE in omap-control in order to enable it. Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/phy/ti-phy.txt |9 ++-- drivers/phy/phy-omap-control.c

Re: RFC: A reduced Linux network stack for small systems

2014-05-06 Thread Tom Zanussi
On Tue, 2014-05-06 at 09:25 +0200, Richard Weinberger wrote: > On Tue, May 6, 2014 at 12:25 AM, Andi Kleen wrote: > > There has been a lot of interest recently to run Linux on very small > > systems, > > like Quark systems. These may have only 2-4MB memory. They are also limited > > by flash

Re: [PATCH v3 4/7] of: configure the platform device dma parameters

2014-05-06 Thread Santosh Shilimkar
On Tuesday 06 May 2014 05:54 AM, Arnd Bergmann wrote: > On Tuesday 06 May 2014 13:44:38 Benjamin Herrenschmidt wrote: >> On Mon, 2014-05-05 at 16:28 -0600, Bjorn Helgaas wrote: >>> I still wonder whether arm, powerpc, and tile (and I just noticed >>> microblaze also has a similar

Re: [PATCH] staging: dgnc: fix compile warning frame size is larger than 1024 bytes

2014-05-06 Thread Dan Carpenter
On Tue, May 06, 2014 at 02:41:37PM +0200, Martin Kepplinger wrote: > fix following warning by dynamically allocating memory: > dgnc_tty.c:583:1: warning: the frame size of 1060 bytes is larger than 1024 > bytes [-Wframe-larger-than=] > > Signed-off-by: Martin Kepplinger > --- > This is more of

Re: [lm-sensors] coretemp.0 folder contents changed

2014-05-06 Thread Guenter Roeck
On 05/06/2014 04:55 AM, Jean Delvare wrote: Hi Guenter, Srinivas, On Mon, 5 May 2014 10:32:31 -0700, Guenter Roeck wrote: On Mon, May 05, 2014 at 10:13:11AM -0700, Srinivas Pandruvada wrote: for kernel : 3.15.rc3 . Is there any change in the coretemp? Previously we used to see, tempx data

Re: [PATCH v2 0/2] clk: Support for Palmas clk32kg and clk32kgaudio clocks

2014-05-06 Thread Nishanth Menon
On 16:24-20140506, Peter Ujfalusi wrote: > Hi, > > Changes since v1: > - binding documentation and driver has been separated based on Nishanth > Menon's > comment > > v1 of the driver can be found: > https://lkml.org/lkml/2014/4/3/104 > > Palmas class o

Re: Atomicity in KMS panic notifier

2014-05-06 Thread David Herrmann
Hi On Tue, May 6, 2014 at 3:27 PM, Takashi Iwai wrote: > At Mon, 5 May 2014 16:52:45 +0200, > Daniel Vetter wrote: >> >> On Mon, May 5, 2014 at 4:48 PM, Takashi Iwai wrote: >> > >> > The current problem I see is that the rest of panic notifier chain >> > won't be called once when we hit the

IMA & truncate

2014-05-06 Thread Dmitry Kasatkin
Hi, I have discovered one IMA related issue. IMA file hash is re-calculate if needed on file close. It works with ftruncate(fd, length) syscall, because it operates on "opened" file. Recalculation is happening on file close. truncate(path, length) syscall works with path and no file open/close

Re: Atomicity in KMS panic notifier

2014-05-06 Thread Takashi Iwai
At Mon, 5 May 2014 16:52:45 +0200, Daniel Vetter wrote: > > On Mon, May 5, 2014 at 4:48 PM, Takashi Iwai wrote: > > > > The current problem I see is that the rest of panic notifier chain > > won't be called once when we hit the problem in KMS notifier. So, > > this bug in KMS influences on the

Re: [PATCH RFC/TEST] sched: make sync affine wakeups work

2014-05-06 Thread Peter Zijlstra
On Mon, May 05, 2014 at 10:20:20AM +0530, Preeti U Murthy wrote: > Don't you think we should go conservative on the value of > RECLAIM_DISTANCE in arch specific code at-least? On powerpc we set it to > 10. Besides, the git log does not tell us the basis on which this value > was set to a default

[PATCH v2 0/2] clk: Support for Palmas clk32kg and clk32kgaudio clocks

2014-05-06 Thread Peter Ujfalusi
Hi, Changes since v1: - binding documentation and driver has been separated based on Nishanth Menon's comment v1 of the driver can be found: https://lkml.org/lkml/2014/4/3/104 Palmas class of devices can provide 32K clock(s) to be used by other devices on the board. Depending on the actual

[PATCH v2 1/2] dt/bindings: Binding documentation for Palmas clk32kg and clk32kgaudio clocks

2014-05-06 Thread Peter Ujfalusi
Palmas class of devices can provide 32K clock(s) to be used by other devices on the board. Depending on the actual device the provided clocks can be: CLK32K_KG and CLK32K_KGAUDIO or only one: CLK32K_KG (TPS659039 for example) Use separate compatible flags for the two 32K clock. A system which

Re: [PATCH RFC/TEST] sched: make sync affine wakeups work

2014-05-06 Thread Peter Zijlstra
On Sun, May 04, 2014 at 08:41:09AM -0400, Rik van Riel wrote: > Even on 8-node DL980 systems, the NUMA distance in the > SLIT table is less than RECLAIM_DISTANCE, and we will > do wake_affine across the entire system. Yeah, so the problem is that (AFAIK) ACPI doesn't actually specify a metric for

[PATCH v2 2/2] clk: Add driver for Palmas clk32kg and clk32kgaudio clocks

2014-05-06 Thread Peter Ujfalusi
Palmas class of devices can provide 32K clock(s) to be used by other devices on the board. Depending on the actual device the provided clocks can be: CLK32K_KG and CLK32K_KGAUDIO or only one: CLK32K_KG (TPS659039 for example) Use separate compatible flags for the two 32K clock. A system which

[PATCH v2 2/9] cgroup: update and fix parsing of "cgroup.subtree_control"

2014-05-06 Thread Tejun Heo
I was confused that strsep() was equivalent to strtok_r() in skipping over consecutive delimiters. strsep() just splits at the first occurrence of one of the delimiters which makes the parsing very inflexible, which makes allowing multiple whitespace chars as delimters kinda moot. Let's just be

RE: [PATCH/RFC] usb: gadget: CONFIG_USB_S3C_HSOTG should depend on HAS_DMA

2014-05-06 Thread David Laight
From: Geert Uytterhoeven > If NO_DMA=y: > > drivers/built-in.o: In function `s3c_hsotg_map_dma': > s3c-hsotg.c:(.text+0x375b2c): undefined reference to `usb_gadget_map_request' > drivers/built-in.o: In function `s3c_hsotg_unmap_dma': > s3c-hsotg.c:(.text+0x376a32): undefined reference to >

Re: [PATCH] DMA-API: Change dma_declare_coherent_memory() CPU address to phys_addr_t

2014-05-06 Thread Bjorn Helgaas
On Mon, May 5, 2014 at 8:42 PM, James Bottomley wrote: > On Mon, 2014-05-05 at 17:01 -0600, Bjorn Helgaas wrote: >> On Fri, May 02, 2014 at 10:42:18AM +0200, Arnd Bergmann wrote: > >> > I don't know about NCR_Q720, but all others are only used on machines >> > where physical addresses and bus

Re: [PATCH v1.1 2/16 update 2] arcmsr: Adding code to support MSI-X interrupt

2014-05-06 Thread Alexander Gordeev
On Tue, May 06, 2014 at 02:54:45PM +0200, Tomas Henzl wrote: > On 05/06/2014 10:17 AM, ching wrote: > > From: Ching > > > > Adding code to support MSI-X interrupt. > > > > This update has modification by Tomas' suggestion. > > And I add a msix_vector_count for free_irq. > > > > Signed-off-by:

Re: + printk-print-initial-logbuf-contents-before-re-enabling-interrupts.patch added to -mm tree

2014-05-06 Thread Will Deacon
On Tue, May 06, 2014 at 01:29:58PM +0100, Jan Kara wrote: > On Tue 06-05-14 13:06:48, Will Deacon wrote: > > On Fri, May 02, 2014 at 11:46:51PM +0100, Jan Kara wrote: > > > I really dislike this patch. It goes completely against my efforts of > > > lowering irq latency caused by printing to

Re: [PATCH 2/6] mfd: stmpe: add optional regulators

2014-05-06 Thread Shawn Guo
On Wed, Apr 16, 2014 at 04:44:11PM +0200, Linus Walleij wrote: > The STMPE has VCC and VIO supply lines, and sometimes (as on > Ux500) this comes from a software-controlled regulator. Make > it possible to supply the STMPE with power from these > regulators. > > Signed-off-by: Linus Walleij

[PATCH v4 0/9] kdb: Allow selective reduction in capabilities (was "kiosk mode")

2014-05-06 Thread Daniel Thompson
This patchset implements restricted modes for the KDB debugger. It is a continuation of previous kiosk mode work of Anton Vorontsov. It provides a means for the root user to choose the set of kdb commands that are available on the kdb console. It is implemented similarly to the existing code to

[PATCH v4 2/9] kdb: Remove currently unused kdbtab_t->cmd_flags

2014-05-06 Thread Daniel Thompson
From: Anton Vorontsov The struct member is never used in the code, so we can remove it. We will introduce real flags soon by renaming cmd_repeat to cmd_flags. Signed-off-by: Anton Vorontsov Signed-off-by: John Stultz --- kernel/debug/kdb/kdb_main.c| 1 - kernel/debug/kdb/kdb_private.h |

[PATCH v4 4/9] kdb: Rename kdb_register_repeat() to kdb_register_flags()

2014-05-06 Thread Daniel Thompson
From: Anton Vorontsov We're about to add more options for commands behaviour, so let's give a more generic name to the low-level kdb command registration function. There are just various renames, no functional changes. Signed-off-by: Anton Vorontsov Signed-off-by: John Stultz Signed-off-by:

[PATCH v4 1/9] sysrq: Implement __handle_sysrq_nolock to avoid recursive locking in kdb

2014-05-06 Thread Daniel Thompson
If kdb is triggered using SysRq-g then any use of the sr command results in the SysRq key table lock being recursively acquired, killing the debug session. That patch resolves the problem by introducing a _nolock alternative for __handle_sysrq. Signed-off-by: Daniel Thompson ---

[PATCH v4 8/9] kdb: Add enable mask for groups of commands

2014-05-06 Thread Daniel Thompson
From: Anton Vorontsov Currently all kdb commands are enabled whenever kdb is deployed. This makes it difficult to deploy kdb to help debug certain types of systems. Android phones provide one example; the FIQ debugger found on some Android devices has a deliberately weak set of commands to

[PATCH v4 6/9] kdb: Remove KDB_REPEAT_NONE flag

2014-05-06 Thread Daniel Thompson
From: Anton Vorontsov Since we now treat KDB_REPEAT_* as flags, there is no need to pass KDB_REPEAT_NONE. It's just the default behaviour when no flags are specified. Signed-off-by: Anton Vorontsov Signed-off-by: John Stultz --- include/linux/kdb.h | 1 - kernel/debug/kdb/kdb_bp.c

[PATCH v4 7/9] kdb: Categorize kdb commands (similar to SysRq categorization)

2014-05-06 Thread Daniel Thompson
This patch introduces several new flags to collect kdb commands into groups (later allowing them to be optionally disabled). This follows similar prior art to enable/disable magic sysrq commands. The commands have been categorized as follows: Always on: go (w/o args), env, set, help, ?, cpu

[PATCH v4 9/9] kdb: Allow access to sensitive commands to be restricted by default

2014-05-06 Thread Daniel Thompson
Currently kiosk mode must be explicitly requested by the bootloader or userspace. It is convenient to be able to change the default value in a similar manner to CONFIG_MAGIC_SYSRQ_DEFAULT_MASK. Signed-off-by: Daniel Thompson --- kernel/debug/kdb/kdb_main.c | 2 +- lib/Kconfig.kgdb|

[PATCH v4 3/9] kdb: Rename kdb_repeat_t to kdb_cmdflags_t, cmd_repeat to cmd_flags

2014-05-06 Thread Daniel Thompson
From: Anton Vorontsov We're about to add more options for command behaviour, so let's expand the meaning of kdb_repeat_t. So far we just do various renames, there should be no functional changes. Signed-off-by: Anton Vorontsov Signed-off-by: John Stultz Signed-off-by: Daniel Thompson ---

[PATCH v4 5/9] kdb: Use KDB_REPEAT_* values as flags

2014-05-06 Thread Daniel Thompson
From: Anton Vorontsov The actual values of KDB_REPEAT_* enum values and overall logic stayed the same, but we now treat the values as flags. This makes it possible to add other flags and combine them, plus makes the code a lot simpler and shorter. But functionality-wise, there should be no

<    1   2   3   4   5   6   7   8   9   10   >