Re: sched: odd values for effective load calculations

2014-12-15 Thread Peter Zijlstra
Sorry for the long delay, I was out for a few weeks due to having become a dad for the second time. On Sat, Dec 13, 2014 at 09:30:12AM +0100, Ingo Molnar wrote: > * Sasha Levin wrote: > > > Hi all, > > > > I was fuzzing with trinity inside a KVM tools guest, running the latest > > -next > > k

Re: bluetooth: Add hci_h4p driver

2014-12-15 Thread Marcel Holtmann
Hi Pavel, > diff --git a/drivers/bluetooth/Kconfig b/drivers/bluetooth/Kconfig > index 4547dc2..0fc7d3a 100644 > --- a/drivers/bluetooth/Kconfig > +++ b/drivers/bluetooth/Kconfig > @@ -243,4 +243,14 @@ config BT_WILINK > Say Y here to compile support for Texas Instrument's WiLink7 driver >

Re: frequent lockups in 3.18rc4

2014-12-15 Thread Martin van Es
On Fri, Dec 12, 2014 at 1:58 PM, Martin van Es wrote: > On Sat, Dec 6, 2014 at 9:09 PM, Linus Torvalds > I will give 3.18 a try on production J1900. Knowing I can go back to > safety in 3.16.7 won't hurt too much of my reputation I hope. 3.18 froze twice (just to be sure) as well. Will commence t

Re: [Xen-devel] [PATCH 4/4] xen: use generated hypercall symbols in arch/x86/xen/xen-head.S

2014-12-15 Thread David Vrabel
On 11/12/14 18:04, Juergen Gross wrote: > Instead of manually list each hypercall in arch/x86/xen/xen-head.S > use the auto generated symbol list. > > This also corrects the wrong address of xen_hypercall_mca which was > located 32 bytes higher than it should. > > Symbol addresses have been verif

Re: [PATCH 5/6] dt-bindings: Add documentation for Rockchip hdmi-audio

2014-12-15 Thread Mark Brown
On Mon, Dec 15, 2014 at 10:40:29AM +, Russell King - ARM Linux wrote: > Including details like this (because ASoC needs a separate DT node) is > the wrong approach. And indeed there should be no Linux-internal reason for that - we should be able to use whatever DT node makes sense, if there's

[PATCH v3 02/13] mtd: st_spi_fsm: Obtain and use EMI clock

2014-12-15 Thread Lee Jones
ST's Common Clk Framework is now available. This patch ensures the FSM makes use of it by obtaining and enabling the EMI clock. If system fails to provide the EMI clock, we bomb out. Signed-off-by: Lee Jones --- drivers/mtd/devices/st_spi_fsm.c | 40 ++-- 1 fi

[PATCH v3 03/13] mtd: st_spi_fsm: dt-bindings: Deprecate generic compatible string

2014-12-15 Thread Lee Jones
This driver now obtains platform information via DT matching, which requires a compatible string per platform. This change introduces the new specific strings and deprecates the old generic one. We also take out all of the old, unused properties which are no longer required. Signed-off-by: Lee J

[PATCH v3 08/13] mtd: st_spi_fsm: Update the JEDEC probe to handle extended READIDs

2014-12-15 Thread Lee Jones
The previous code was based on 3-byte JEDEC IDs, with a possible 2-byte extension. However, devices are now emerging that return 6 or more bytes of READID data and the additional bytes are required to differentiate between variants or generations of similar devices. This patch refactors the devic

[PATCH v3 10/13] mtd: st_spi_fsm: Improve busy wait handling

2014-12-15 Thread Lee Jones
From: Angus Clark In this patch, the fsm_wait_busy() function is updated to a take a timeout parameter. This allows us to specify different timeout delays depending on the operation being performed. Previously, a fixed, worst-case delay (corresponding to the Chip Erase operation, ~300s!) was us

[PATCH v3 07/13] mtd: st_spi_fsm: Add support for N25Q512 and N25Q00A devices

2014-12-15 Thread Lee Jones
From: Angus Clark This patch adds support for the Micron N25Q512 and N25Q00A Serial Flash devices. Unlike previous Micron devices, it is now mandatory to check the Flags Status Register following a Write or Erase operation. The N25Q512A device presents a further complication in that different va

[PATCH v3 05/13] mtd: st_spi_fsm: Fix [-Wsign-compare] build warning

2014-12-15 Thread Lee Jones
drivers/mtd/devices/st_spi_fsm.c:1647:17: warning: comparison between signed and unsigned integer expressions Signed-off-by: Lee Jones --- drivers/mtd/devices/st_spi_fsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/devices/st_spi_fsm.c b/drivers/mtd/devices

[PATCH v3 11/13] mtd: st_spi_fsm: General tidy-up

2014-12-15 Thread Lee Jones
Due to the nature of the port (lots of copy/paste) much of the white-space is taken up by spaces instead of tab separators. This patch aims to change that. Signed-off-by: Lee Jones --- drivers/mtd/devices/st_spi_fsm.c | 280 +++ 1 file changed, 140 insertions(

Re: [PATCH] checkpatch giving bogus advice (was staging: goldfish: Fix minor coding style)

2014-12-15 Thread Dan Carpenter
I haven't seen any bugs caused by lack of type safety with "!foo"... I prefer !foo because it is more common in the kernel and I think it's easier to read but I don't feel strongly about this. I kind of hate "if (foo != NULL) though, because it's a double negative. But I really hate when people st

Re: [RFC PATCH 0/6] Those patches is used for dw_hdmi audio.

2014-12-15 Thread Russell King - ARM Linux
On Mon, Dec 15, 2014 at 07:52:06PM +0800, Kuankuan.Yang wrote: > Hi Russell: > > thks for your replay, actually you also have send me those > dw-hdmi-audio.c patches, and I also agree it's an beautiful way to make > hdmi-audio works. Beside, > I try to reuse it into our platform, and actual

[PATCH v3 09/13] mtd: st_spi_fsm: Update Spansion device entries

2014-12-15 Thread Lee Jones
From: Angus Clark This patch updates various Spansion device entries in the flash_types[] table: - Define full 6-byte READIDs for S25FL128Sx devices (and fix the 4th byte). This allows us to differentiate between S25FL129P and S25FL128S devices. - Add S25FL128Px device entries. Signe

[PATCH v3 12/13] ARM: STi: stih416: Use new platform specific compatible string

2014-12-15 Thread Lee Jones
The FSM SPI NOR driver now obtains syscfg particulars using DT match. In order for this to happen each platform is required to supply their own specific compatible string. We're also remove the old, now unused vendor properties from the node. Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih4

[PATCH v3 13/13] ARM: STi: stih416: Supply EMI clock reference to FSM SPI NOR

2014-12-15 Thread Lee Jones
While we're at it we're also adding a new human readable define for the aforementioned clock. Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih416.dtsi | 2 +- include/dt-bindings/clock/stih416-clks.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/

[PATCH v3 06/13] mtd: st_spi_fsm: Add support for Micron N25Q512A

2014-12-15 Thread Lee Jones
From: Nunzio Raciti This patch adds support for the Micron N25Q512A device as required by the B2147 (STiD127) board. Signed-off-by: Nunzio Raciti Signed-off-by: Lee Jones --- drivers/mtd/devices/st_spi_fsm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/devices/st_spi_fsm.

[PATCH v3 01/13] mtd: st_spi_fsm: Extend fsm_clear_fifo to handle unwanted bytes

2014-12-15 Thread Lee Jones
Under certain conditions, the SPI-FSM Controller can be left in a state where the data FIFO is not entirely empty. This can lead to problems where subsequent data transfers appear to have been shifted by a number of unidentified bytes. One simple example would be an errant FSM sequence which load

[PATCH v3 04/13] mtd: st_spi_fsm: Fetch boot device locations from DT match tables

2014-12-15 Thread Lee Jones
To trim down on the amount of properties used by this driver and to conform to the newly agreed method of acquiring syscfg registers/offsets, we now obtain this information using match tables. In the process we are deprecating the old generic compatible string and providing 3 shiny new ones for ea

[PATCH v3 00/13] mtd: st_spi_fsm: Align with ST's internal development

2014-12-15 Thread Lee Jones
Hi Brian, all, [x] Bulid test [x] Bisectable [x] Smatch [x] Sparse v3: Further aligned with upstream changes as suggested by Peter Griffin. The clk_ignore_unused kernel command line parameter is due to be turned off on STiH4* platforms, so we no longer give the driver the chance to o

Re: [Xen-devel] [PATCH v2 2/2] x86, arm, platform, xen, kconfig: add xen defconfig helper

2014-12-15 Thread Julien Grall
Hello Luis, On 09/12/14 23:35, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > This lets you build a kernel which can support xen dom0 > or xen guests by just using: > >make xenconfig > > on both x86 and arm64 kernels. This also splits out the > options which are available current

[PATCH] sched/fair: Fix sched_entity::avg::decay_count initialization

2014-12-15 Thread Kirill Tkhai
Child has the same decay_count as parent. If it's not zero, we add it to parent's cfs_rq->removed_load: wake_up_new_task()->set_task_cpu()->migrate_task_rq_fair(). Child's load is a just garbade after copying of parent, it hasn't been on cfs_rq yet, and it must not be added to cfs_rq::removed_lo

Re: [RFC PATCH 0/6] Those patches is used for dw_hdmi audio.

2014-12-15 Thread Kuankuan.Yang
Hi Russell: thks for your replay, actually you also have send me those dw-hdmi-audio.c patches, and I also agree it's an beautiful way to make hdmi-audio works. Beside, I try to reuse it into our platform, and actually the system have created the DW_HDMI sound card successfully, but i c

Re: [3.18+] Can't boot with commit bd809af1 ("x86: Enable PAT to use cache mode translation tables")

2014-12-15 Thread Juergen Gross
On 12/15/2014 08:52 AM, Jongman Heo wrote: >> --- Original Message --- >> Sender : Juergen Gross >> Date : 2014-12-15 14:04 (GMT+09:00) >> Title : Re: [3.18+] Can't boot with commit bd809af1 ("x86: Enable PAT to use >> cache mode translation tables") >> >> On 12/14/2014 06:07 AM, 허종만 wrote

Re: staging: goldfish: Fix minor coding style

2014-12-15 Thread One Thousand Gnomes
On Sat, 13 Dec 2014 22:20:52 +0100 Loic Pefferkorn wrote: > On Sat, Dec 13, 2014 at 07:07:05PM +, One Thousand Gnomes wrote: > > > > Pointless churn. It makes it less readable if anything, and it removes > > the type safety as you are now checking against 0 not (void *)0 > > > > NAK > > >

Re: [Xen-devel] [PATCH 1/4] xen: build infrastructure for generating hypercall depending symbols

2014-12-15 Thread Jan Beulich
>>> On 15.12.14 at 12:38, wrote: > On 11/12/14 18:04, Juergen Gross wrote: >> --- a/arch/x86/syscalls/Makefile >> +++ b/arch/x86/syscalls/Makefile > > Why are these changes here and not in arch/x86/xen/Makefile? Because this needs to be done in a step that (afaict) has no hook in the Xen-specifi

Re: [Xen-devel] [PATCH 3/4] xen: use generated hypervisor symbols in arch/x86/xen/trace.c

2014-12-15 Thread David Vrabel
On 11/12/14 18:04, Juergen Gross wrote: > Instead of manually list all hypervisor calls in arch/x86/xen/trace.c > use the auto generated list. Reviewed-by: David Vrabel David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.ker

Re: [Regression] 83f45fc turns machine's screen off

2014-12-15 Thread Emmanuel Benisty
On Mon, Dec 15, 2014 at 8:31 AM, Daniel Vetter wrote: [---snip---] > Sorry for the delay. Absolutely no difference in the relevant parts of the > log. There could be the chance that something is hidden somewhere, so can > please grab a new set of logs but this time with drm.debug=0xe? Thanks fo

Re: [Xen-devel] [PATCH 2/4] xen: synchronize include/xen/interface/xen.h with xen

2014-12-15 Thread David Vrabel
On 11/12/14 18:04, Juergen Gross wrote: > The header include/xen/interface/xen.h doesn't contain all definitions > from Xen's version of that header. Update it accordingly. Reviewed-by: David Vrabel David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH] checkpatch giving bogus advice (was staging: goldfish: Fix minor coding style)

2014-12-15 Thread One Thousand Gnomes
On Sat, 13 Dec 2014 11:46:47 -0800 Jeremiah Mahler wrote: > Loïc, > > On Sat, Dec 13, 2014 at 07:22:38PM +0100, Loic Pefferkorn wrote: > > > Whose convention is this? I can't find any mention in > > > Documention/CodingStyle. checkpatch.pl doesn't complain about them. > > > And there are almost

Kerst lening bieden nu van toepassing

2014-12-15 Thread Springleaf Financial Services®
hallo Groet van Springleaf Financial Services, zijn wij goed ingeburgerd en goedgekeurd UK lening bedrijven, door de jaren heen, hebben we een goed begrip van uw wensen en individuele behoeften ontwikkeld. we zijn ons toegewijd aan onze klanten eerlijk te behandelen en bieden een dienst

Re: [PATCH 3/3] mfd: dln2: add suspend/resume functionality

2014-12-15 Thread Johan Hovold
On Thu, Dec 11, 2014 at 03:02:31PM +0200, Octavian Purdila wrote: > Without suspend/resume functionality in the USB driver the USB core > will disconnect and reconnect the DLN2 port and because the GPIO > framework does not yet support removal of an in-use controller a > suspend/resume operation wi

Kerst lening bieden nu van toepassing

2014-12-15 Thread Springleaf Financial Services®
hallo Groet van Springleaf Financial Services, zijn wij goed ingeburgerd en goedgekeurd UK lening bedrijven, door de jaren heen, hebben we een goed begrip van uw wensen en individuele behoeften ontwikkeld. we zijn ons toegewijd aan onze klanten eerlijk te behandelen en bieden een dienst

Re: [PATCH 3/3] TTY/slave: add driver for w2sg0004 GPS

2014-12-15 Thread One Thousand Gnomes
> > Am I missing some w2sg004 specific bits here ? > > There is particular behaviour that the device is both turned on and turned > off by toggling a GPIO, and the only way to detect which state it is in is > to watch the RX uart line (by reconfiguring it as a GPIO). Ok so it is somewhat differen

Re: Bluetooth: Add framework for device found filtering based on UUID

2014-12-15 Thread Geert Uytterhoeven
On Thu, Dec 11, 2014 at 11:48 PM, Linux Kernel Mailing List wrote: > Gitweb: > http://git.kernel.org/linus/;a=commit;h=b487b9ce9340a6e98d7f8277399304b23b7be456 > Commit: b487b9ce9340a6e98d7f8277399304b23b7be456 > Parent: bda157a40077447b25a1172a17b8ef81a2905cb7 > Refname:refs/head

Re: [RFC 02/15] drivers/base: add restrack framework

2014-12-15 Thread Mark Brown
On Mon, Dec 15, 2014 at 09:28:41AM +0100, Andrzej Hajda wrote: > On 12/12/2014 05:52 PM, Mark Brown wrote: > > On Wed, Dec 10, 2014 at 04:48:20PM +0100, Andrzej Hajda wrote: > > I don't know about anyone else but I'm having a hard time reading the > > restrack name, it looks like a misspelling of

[PATCH v3 2/2] iio: add driver for the TI DAC8554

2014-12-15 Thread Nikolaus Schulz
The TI DAC8554 is a quad-channel Digital-to-Analog Converter with an SPI interface. Changes in v3: * Small fixes in the documentation of struct dac8554_state * Replace some magic constants with macros * Replace memset on powerdown state arrays with explicit loop * If probing fails due to invalid D

Re: [Xen-devel] [PATCH 1/4] xen: build infrastructure for generating hypercall depending symbols

2014-12-15 Thread David Vrabel
On 11/12/14 18:04, Juergen Gross wrote: > Today there are several places in the kernel which build tables > containing one entry for each possible Xen hypercall. Create an > infrastructure to be able to generate these tables at build time. Does arm and arm64 need something similar? If so are the

[PATCH v3 1/2] iio: document ti-dac8554 devicetree bindings

2014-12-15 Thread Nikolaus Schulz
Signed-off-by: Nikolaus Schulz --- .../devicetree/bindings/iio/dac/ti-dac8554.txt | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/dac/ti-dac8554.txt diff --git a/Documentation/devicetree/bindings/iio/dac/ti-dac8554.txt

[PATCH] doubletalk: probe failure causes OOPS

2014-12-15 Thread Alan Cox
The code bothers to probe for the device, but on failing to find it proceeds to try and release a NULL resource, thereby ruining it's prior good behaviour Resolves-Bug: https://bugzilla.kernel.org/show_bug.cgi?id=88581 Signed-off-by: Alan Cox --- drivers/staging/speakup/speakup_dtlk.c |7 +++

Re: [GIT PULL] USB driver patches for 3.19-rc1

2014-12-15 Thread Hans de Goede
Hi Linus, On 15-12-14 00:06, Linus Torvalds wrote: On Sun, Dec 14, 2014 at 2:35 PM, Greg KH wrote: Hans de Goede (1): uas: Make uas work with blk-mq So I got some fairly trivial conflicts on this one (conflicting with the scsi cleanups mainly by Christoph Hellwig. I resolved the con

Re: [PATCH 03/18] arm64/uaccess: fix sparse errors

2014-12-15 Thread Michael S. Tsirkin
On Mon, Dec 15, 2014 at 11:23:11AM +, Russell King - ARM Linux wrote: > On Mon, Dec 15, 2014 at 11:17:16AM +, Will Deacon wrote: > > On Sun, Dec 14, 2014 at 04:52:09PM +, Michael S. Tsirkin wrote: > > > virtio wants to read bitwise types from userspace using get_user. At the > > > mome

Re: Kernel boot panic 3.12-34 > 3.12.35

2014-12-15 Thread Jiri Slaby
On 12/15/2014, 11:06 AM, Richard Farthing wrote: > I installed the kernel via YAST2 which makes and installs the initrd > too, and have done this many times before on this test machine, so it > seems unlikely to be my mistake, but it's always possible! I will have > a look at it again Oh, yast...

Re: [PATCH 3/4] arm64: dts: Add mediatek MT8173 SoC and evaluation board dts and Makefile

2014-12-15 Thread Mark Rutland
On Fri, Dec 12, 2014 at 06:52:35AM +, Sascha Hauer wrote: > On Thu, Dec 11, 2014 at 06:02:46PM +, Mark Rutland wrote: > > Hi, > > > > On Wed, Dec 10, 2014 at 10:50:01AM +, Eddie Huang wrote: > > > Add device tree support for MT8173 SoC and evalutaion board based on it. > > > > > > Sig

[PATCH 1/8] ARM: multi_v7_defconfig: Enable support for ST's LPC Watchdog

2014-12-15 Thread Lee Jones
Signed-off-by: Lee Jones --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 99a8a4a..e34d5c6 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_d

[PATCH 4/8] mfd: dt-bindings: Provide human readable defines for LPC mode choosing

2014-12-15 Thread Lee Jones
ST's Low Power Controller can currently operate in two supported modes; Watchdog and Real Time Clock. These defines will aid engineers to easily identify the selected mode. Signed-off-by: Lee Jones --- include/dt-bindings/mfd/st-lpc.h | 15 +++ 1 file changed, 15 insertions(+) crea

[PATCH] net: stmmac: sti: Fix uninitialized pointer dereference if !OF

2014-12-15 Thread Geert Uytterhoeven
If CONFIG_OF is not set: drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c: In function ‘sti_dwmac_parse_data’: drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c:318: warning: ‘rs’ is used uninitialized in this function of_property_read_string() will return -ENOSYS in this case, and rs will be an u

[PATCH 3/8] mfd: bindings: Provide ST bindings for ST's LPC device

2014-12-15 Thread Lee Jones
On current ST platforms the LPC controls a number of functions including Watchdog and Real Time Clock. This patch provides the bindings used to choose and configure the devices. Signed-off-by: Lee Jones --- Documentation/devicetree/bindings/mfd/st-lpc.txt | 36 1 file c

[PATCH 6/8] watchdog: st_wdt: Add new driver for ST's LPC Watchdog

2014-12-15 Thread Lee Jones
Signed-off-by: David Paris Signed-off-by: Lee Jones --- drivers/watchdog/Kconfig | 13 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/st_wdt.c | 312 ++ 3 files changed, 326 insertions(+) create mode 100644 drivers/watchdog/st_wdt.c diff --

[PATCH 7/8] rtc: st: add new driver for ST's LPC RTC

2014-12-15 Thread Lee Jones
ST's Low Power Controller (LPC) controls two devices; watchdog and RTC. Only one of the devices can be used at any one time. This is enforced by the correlating MFD driver. This portion of the driver-set controls the Real Time Clock. Signed-off-by: Lee Jones --- drivers/rtc/Kconfig | 13

[PATCH 2/8] ARM: multi_v7_defconfig: Enable support for ST's LPC RTC

2014-12-15 Thread Lee Jones
Signed-off-by: Lee Jones --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index e34d5c6..09b8bce 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_d

[PATCH 5/8] mfd: Add ST's Low Power Controller driver

2014-12-15 Thread Lee Jones
On current ST platforms the LPC controls a number of functions. This patch enables possible support for the LPC Watchdog and LPC RTC devices and ensures only one of them operates at any one time. Signed-off-by: Lee Jones --- drivers/mfd/Kconfig | 8 + drivers/mfd/Makefile | 1 + drivers/

[PATCH 8/8] ARM: STi: DT: STiH407: Add Device Tree node for the LPC

2014-12-15 Thread Lee Jones
On current ST platforms the LPC controls a number of functions. This patch enables support for the LPC Watchdog and LPC RTC devices on LPC1 and LPC2 respectively. Signed-off-by: David Paris Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407.dtsi | 20 1 file changed, 2

[PATCH 0/8] mfd: watchdog: rtc: New driver for ST's LPC IP

2014-12-15 Thread Lee Jones
ST's Low Power Controller (LPC) controls two devices; watchdog and RTC. Only one of the devices can be used at any one time, which is enforced by the correlating MFD driver. This driver set provides everything you need to choose one (and only one) of the LPC devices to run per I/P block, of which

Re: [PATCH 03/18] arm64/uaccess: fix sparse errors

2014-12-15 Thread Russell King - ARM Linux
On Mon, Dec 15, 2014 at 11:17:16AM +, Will Deacon wrote: > On Sun, Dec 14, 2014 at 04:52:09PM +, Michael S. Tsirkin wrote: > > virtio wants to read bitwise types from userspace using get_user. At the > > moment this triggers sparse errors, since the value is passed through an > > integer.

[PATCH 4/4] workqueue: Handle cpu-node affinity change at CPU_ONLINE.

2014-12-15 Thread Kamezawa Hiroyuki
This is a corner case fix. In general, cpu-to-node relationship is fixed when cpu/memory are visible to kernel based on firmware information. But in some case, cpu-to-node relationship is updated at CPU_ONLINE. In arch/x86/mm/numa.c::numa_init_array(), a cpu will be tied to a random numa node if t

[PATCH 3/4] workqueue: Update workqueue's possible cpumask when a new node, coming up.

2014-12-15 Thread Kamezawa Hiroyuki
Workqueue keeps cpu<->node relationship including all possible cpus. The original information was made at boot but it may change when a new node is added. Update information if a new node is ready with using node-hotplug callback. Signed-off-by: KAMEZAWA Hiroyuki --- include/linux/memory_hotplu

Re: [PATCH 03/18] arm64/uaccess: fix sparse errors

2014-12-15 Thread Will Deacon
On Sun, Dec 14, 2014 at 04:52:09PM +, Michael S. Tsirkin wrote: > virtio wants to read bitwise types from userspace using get_user. At the > moment this triggers sparse errors, since the value is passed through an > integer. > > Fix that up using __force. > > Signed-off-by: Michael S. Tsirki

[PATCH 2/4] workqueue: update per-cpu workqueue's node affinity at,online-offline

2014-12-15 Thread Kamezawa Hiroyuki
The percpu workqueue pool are persistend and never be freed. But cpu<->node relationship can be changed by cpu hotplug and pool->node can point to an offlined node. If pool->node points to an offlined node, following allocation failure can happen. == SLUB: Unable to allocate memory on nod

Re: Maintainer abuse

2014-12-15 Thread Thomas Gleixner
On Sat, 13 Dec 2014, One Thousand Gnomes wrote: > Is it the year for a Google summer of code project or similar to turn > patchwork into a proper patch management tool (one that collects the > patches, provides a good maintainer interface, tells people automatically > that their patches are queued,

[PATCH 1/4] workqueue:Fix unbound workqueue's node affinity detection

2014-12-15 Thread Kamezawa Hiroyuki
Unbound wq pool's node attribute is calculated at its allocation. But it's now calculated based on possible cpu<->node information which can be wrong after cpu hotplug/unplug. If wrong pool->node is set, following allocation error will happen. == SLUB: Unable to allocate memory on node 2 (gfp=0x8

Re: usb: gadget: hid: add configfs support

2014-12-15 Thread Geert Uytterhoeven
On Mon, Dec 15, 2014 at 12:06 AM, Linux Kernel Mailing List wrote: > Gitweb: > http://git.kernel.org/linus/;a=commit;h=21a9476a7ba847e413bf1c144d7c614532aed6dd > Commit: 21a9476a7ba847e413bf1c144d7c614532aed6dd > Parent: 5ca8d3ec9970f4798e68bd21a9d44db3d0ff4da7 > Refname:refs/head

[PATCH 0/4] workqueue: fix memory allocation after numa mapping is changed v3

2014-12-15 Thread Kamezawa Hiroyuki
Lai-san, Tejun-san, Thank you for review, this a fix v3. This has been tested on NUMA node hotplug machine and seems work well. The probelm is memory allocation failure because pool->node information can be stale after node hotplug. This patch(1,2) tries to fix pool->node calculation. Patch (3,4

Re: [RFC] ARM: dts: mt8173: Add psci cpuidle support

2014-12-15 Thread Mark Rutland
On Mon, Dec 15, 2014 at 08:59:08AM +, Howard Chen wrote: > add device tree for psci-0.2 on mt8173 platform > add device tree for cupidle-arm64 on mt8173 platform > > Signed-off-by: Howard Chen > --- > arch/arm64/boot/dts/mt8173.dtsi | 51 > + > 1 file

Re: [PATCH v4 2/3] PM / devfreq: tegra: add devfreq driver for Tegra Activity Monitor

2014-12-15 Thread Tomeu Vizoso
On 14 December 2014 at 19:26, Paul Walmsley wrote: > Hi > > I have not reviewed this code closely, but a few items just caught my eye > at a brief glance. > > On Tue, 9 Dec 2014, Tomeu Vizoso wrote: > >> The ACTMON block can monitor several counters, providing averaging and firing >> interrupts ba

Re: [Question] How to print size_t type variable?

2014-12-15 Thread Geert Uytterhoeven
Hi Yamada-san, On Mon, Dec 15, 2014 at 11:51 AM, Masahiro Yamada wrote: > Geert Uytterhoeven wrote: >> On Mon, Dec 15, 2014 at 10:32 AM, Masahiro Yamada >> wrote: >> > I read through Documentation/printk-formats.txt >> > >> > It clearly says to use "%zu" or "%zx" to print size_t variables, >> >

RE: [RFC PATCH net-next 1/1] net: Support for switch port configuration

2014-12-15 Thread Arad, Ronen
The proposed patch introduces a way for supporting device specific switch port attributes. Can we expect user-space tools such as iproute2 to be aware of such attributes from every device? A generic tool like iproute2 can't be aware of all the specific attributes of all the devices that will us

Re: [Question] How to print size_t type variable?

2014-12-15 Thread Masahiro Yamada
Hi Geert, On Mon, 15 Dec 2014 10:38:23 +0100 Geert Uytterhoeven wrote: > Hi Yamada-san, > > > On Mon, Dec 15, 2014 at 10:32 AM, Masahiro Yamada > wrote: > > I read through Documentation/printk-formats.txt > > > > It clearly says to use "%zu" or "%zx" to print size_t variables, > > but I st

Re: [PATCH v4 1/6] iio: imu: Add support for Kionix KMX61 sensor

2014-12-15 Thread Daniel Baluta
On Mon, Dec 15, 2014 at 12:43 AM, Hartmut Knaack wrote: > Daniel Baluta schrieb am 03.12.2014 um 14:31: >> Minimal implementation for KMX61 6-axis accelerometer/magnetometer. It >> exports >> raw accel/magn readings together with scale and sampling frequency. >> >> This driver uses two IIO device

Re: [PATCH v2 0/5] Reenable might_sleep() checks for might_fault()

2014-12-15 Thread Peter Zijlstra
On Wed, Dec 10, 2014 at 03:23:29PM +0100, David Hildenbrand wrote: Did you look at the -rt patches where this comes from? https://git.kernel.org/cgit/linux/kernel/git/clrkwllms/rt-linux.git/commit/?h=v3.14.21-rt9&id=b389ced19ab649438196d132768fe6522d2f052b https://git.kernel.org/cgit/linux/kernel

Re: [PATCH] mfd: cottula: add cottula board

2014-12-15 Thread Arnd Bergmann
On Monday 15 December 2014 00:10:06 Robert Jarzmik wrote: > + > + platform_set_drvdata(pdev, cot); > + cot->gpio0 = gpiod_get(&pdev->dev, "lubbock_irq", 0); > + if (IS_ERR(cot->gpio0)) { > + dev_err(&pdev->dev, "Couldn't request GPIO : ret = %d\n", > ret); > +

Re: [PATCH v4 2/3] PM / devfreq: tegra: add devfreq driver for Tegra Activity Monitor

2014-12-15 Thread Tomeu Vizoso
On 12 December 2014 at 08:44, Alexandre Courbot wrote: > Hi Tomeu, > > On Tue, Dec 9, 2014 at 10:15 PM, Tomeu Vizoso > wrote: >> The ACTMON block can monitor several counters, providing averaging and firing >> interrupts based on watermarking configuration. This implementation monitors >> the MCA

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

2014-12-15 Thread Boris Brezillon
On Mon, 15 Dec 2014 11:29:14 +0100 Alexander Stein wrote: > On Monday 15 December 2014 11:22:30, Boris Brezillon wrote: > > Hi Alexander, > > > > On Tue, 09 Dec 2014 21:53:12 +0100 > > Alexander Stein wrote: > > > > > Hi, > > > > > > On Monday 01 December 2014, 11:27:21 wrote Boris Brezillon:

Re: [PATCH] ARM: omap2plus_defconfig: use CONFIG_CPUFREQ_DT

2014-12-15 Thread Geert Uytterhoeven
On Fri, Dec 12, 2014 at 6:18 PM, Nishanth Menon wrote: > CONFIG_GENERIC_CPUFREQ_CPU0 disappeared with commit bbcf071969b20f > ("cpufreq: cpu0: rename driver and internals to 'cpufreq_dt'") > > Use the renamed CONFIG_CPUFREQ_DT generic driver. It looks like with > v3.18-rc1, commit bbcf071969b20f a

Re: [PATCH 5/6] dt-bindings: Add documentation for Rockchip hdmi-audio

2014-12-15 Thread Russell King - ARM Linux
On Mon, Dec 15, 2014 at 10:55:14AM +0800, Yakir Yang wrote: > Required properties: > - compatible: platform specific > - cpu-of-node: the device node of cpu_dai > - codec-name: the dw-hdmi codec's device name > - codec-dai-name: the dw-hdmi codec's dai name This is not actually a separate physical

Re: [RFC PATCH 0/6] Those patches is used for dw_hdmi audio.

2014-12-15 Thread Russell King - ARM Linux
On Mon, Dec 15, 2014 at 10:11:28AM +0800, Yakir Yang wrote: > > rk3288 use Designware HDMI IP, Designware HDMI supports four interfaces to > config hdmi audio(I2S, S/PDIF, Generic Parallel Audio, AHB Audio DMA), but > rk3288 only support two ways to config hdmi audio(I2S, S/PDIF), So we take > I2S

Re: [PATCH 10/12] sched: use {cpu|node}mask pr_cont and seq output functions

2014-12-15 Thread Peter Zijlstra
On Wed, Dec 10, 2014 at 10:52:52AM -0500, Tejun Heo wrote: > Convert the existing user of cpu{mask|list}_scnprintf() and > node{mask|list}_scnprintf() which use them just to printk or > seq_printf() the resulting buffer to use the following functions > instead respectively. > > * For printk: cpu{m

Re: [uml-devel] [PATCH] um: Skip futex_atomic_cmpxchg_inatomic() test

2014-12-15 Thread Daniel Walter
- Original Message - > From: "Richard Weinberger" > To: user-mode-linux-de...@lists.sourceforge.net > Cc: a...@arndb.de, mik...@szeredi.hu, "Richard Weinberger" , > linux-kernel@vger.kernel.org, > ge...@linux-m68k.org, lf...@altera.com > Sent: Wednesday, December 10, 2014 1:02:15 PM > Sub

Re: [PATCH] staging: rtl8723au: os_dep: usb_intf.c: Fix for possible null pointer dereference

2014-12-15 Thread Dan Carpenter
On Sun, Dec 14, 2014 at 11:39:14PM +0100, Rickard Strandqvist wrote: > There is otherwise a risk of a possible null pointer dereference. > > Was largely found by using a static code analysis program called cppcheck. > > Signed-off-by: Rickard Strandqvist > --- > drivers/staging/rtl8723au/os_dep

Re: [RFC PATCHv2 1/7] devfreq: event: Add new devfreq_event class to provide basic data for devfreq governor

2014-12-15 Thread Krzysztof Kozlowski
On pią, 2014-12-12 at 12:42 +0900, Chanwoo Choi wrote: > Hi Krzysztof, > > I replied again this mail because I'll use the mutex for > set_event()/get_event() > according to your comment. But, of_parse_phandle() seems that this function > don't need the of_node_put() function. > > > On 12/11/201

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

2014-12-15 Thread Alexander Stein
On Monday 15 December 2014 11:22:30, Boris Brezillon wrote: > Hi Alexander, > > On Tue, 09 Dec 2014 21:53:12 +0100 > Alexander Stein wrote: > > > Hi, > > > > On Monday 01 December 2014, 11:27:21 wrote Boris Brezillon: > > > +static int at91_ebi_probe(struct platform_device *pdev) > > > +{ > > >

Re: [PATCH] staging: lustre: lustre: osc: lproc_osc.c: Fix for possible null pointer dereference

2014-12-15 Thread Dan Carpenter
On Sun, Dec 14, 2014 at 11:37:18PM +0100, Rickard Strandqvist wrote: > There is otherwise a risk of a possible null pointer dereference. > > Was largely found by using a static code analysis program called cppcheck. > > Signed-off-by: Rickard Strandqvist > --- > drivers/staging/lustre/lustre/os

Re: [PATCH 0/2] usb: serial: handle -ENODEV and -EPROTO quietly

2014-12-15 Thread Johan Hovold
On Thu, Dec 11, 2014 at 03:29:52PM -0800, Jeremiah Mahler wrote: > If a USB serial device (e.g. /dev/ttyUSB0) with an active program is > unplugged, a bunch of -ENODEV and -EPROTO errors will be produced in the > logs. This patch set quiets these messages without changing the > original behavior.

Re: [PATCH 00/18] uaccess: fix sparse warning on get_user for bitwise types

2014-12-15 Thread Michael S. Tsirkin
On Mon, Dec 15, 2014 at 11:40:52AM +1100, Michael Ellerman wrote: > On Sun, 2014-12-14 at 18:51 +0200, Michael S. Tsirkin wrote: > > At the moment, if p and x are both tagged as bitwise types, > > get_user(x, p) produces a sparse warning on many architectures. > > This is because *p on these archit

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

2014-12-15 Thread Boris Brezillon
Hi Alexander, On Tue, 09 Dec 2014 21:53:12 +0100 Alexander Stein wrote: > Hi, > > On Monday 01 December 2014, 11:27:21 wrote Boris Brezillon: > > +static int at91_ebi_probe(struct platform_device *pdev) > > +{ > > + const struct of_device_id *match; > > + struct device_node *child; > > +

Re: [LKP] [vfs] 75cbe701a42: +40.5% vmstat.system.in

2014-12-15 Thread Jan Kara
Hello, On Mon 15-12-14 16:25:55, Huang Ying wrote: > FYI, we noticed the below changes on > > commit 75cbe701a4251fcd8b846d52ae42f88c9a8e5e93 ("vfs: Remove i_dquot > field from inode") > > testbox/testcase/testparams: lkp-nex05/will-it-scale/performance-pwrite3 So in the first test is there a

Re: [PATCH 2/2] Input: gpio_keys - replace timer and workqueue with delayed workqueue

2014-12-15 Thread Andy Shevchenko
On Sat, 2014-12-13 at 11:09 -0800, Dmitry Torokhov wrote: > Hi Andy, > > On Wed, Dec 10, 2014 at 08:32:56PM +0200, Andy Shevchenko wrote: > > On Sun, 2014-12-07 at 23:21 -0800, Dmitry Torokhov wrote: > > > We do not need to roll our own implementation of delayed work now that we > > > have proper

Re: [PATCH v2 2/2] iio: add driver for the TI DAC8554

2014-12-15 Thread Nikolaus Schulz
On Sat, Dec 13, 2014 at 12:29:57PM +0100, Lars-Peter Clausen wrote: > On 11/24/2014 08:50 PM, Nikolaus Schulz wrote: > [...] > >+const struct iio_chan_spec dac8554_channels[] = { > > static > > [...] > >+ret = of_property_read_u32(spi->dev.of_node, "address", &addr); > > This should probably

Re: [PATCH v15 00/12] input: cyapa: instruction of cyapa patches

2014-12-15 Thread Jeremiah Mahler
Dudley, On Mon, Dec 15, 2014 at 06:31:25AM +, Dudley Du wrote: > Jeremiah, > > Thanks for your review and comments. > I have updated v15 based on your comments and suggestions. > Could you help review again please. > > Thank you very much, > Dudley > Will do. [...] -- - Jeremiah Mahler

Re: [RFC 2/4] Documentation/SubmitChecklist: Remind submitters to check the merge window

2014-12-15 Thread Borislav Petkov
On Sun, Dec 14, 2014 at 10:09:48PM -0800, Kevin Cernekee wrote: > Currently the checklist does not provide an indication of appropriate > times to send patches; add a brief note on the topic. > > Signed-off-by: Kevin Cernekee > --- > Documentation/SubmitChecklist | 5 + > 1 file changed, 5 i

Re: [PATCH 00/18] uaccess: fix sparse warning on get_user for bitwise types

2014-12-15 Thread Michael S. Tsirkin
On Mon, Dec 15, 2014 at 06:03:10PM +0800, LF.Tan wrote: > On Mon, Dec 15, 2014 at 12:51 AM, Michael S. Tsirkin wrote: > > At the moment, if p and x are both tagged as bitwise types, > > get_user(x, p) produces a sparse warning on many architectures. > > This is because *p on these architectures is

Re: [PATCH] sched/fair: change where we report sched stats V2

2014-12-15 Thread Peter Zijlstra
On Thu, Dec 11, 2014 at 10:59:55AM -0500, Josef Bacik wrote: > The schedule stats currently spit out once the entity is being queued, which > means if we have stack traces enabled we will get the stack trace of the > waker, > not of the task being woken. This makes the backtrace completely useles

Re: [RFC 3/4] Documentation: Add cutoff periods for patch acceptance

2014-12-15 Thread Borislav Petkov
On Sun, Dec 14, 2014 at 10:09:49PM -0800, Kevin Cernekee wrote: > This has been a recurring source of confusion for the new submitters who > I've helped; let's see if adding a small illustration improves the > situation. > > Signed-off-by: Kevin Cernekee > --- > Documentation/development-process

Re: [RFC 4/4] Documentation: Provide suggestions on when to repost patches

2014-12-15 Thread Borislav Petkov
On Sun, Dec 14, 2014 at 10:09:50PM -0800, Kevin Cernekee wrote: > Give submitters a rough idea of how long to wait before reposting, to > help avoid situations where a series is reposted before the original > submission is fully reviewed. > > Suggested-by: Thomas Gleixner > Signed-off-by: Kevin C

Re: [PATCH v2 1/5] uaccess: add pagefault_count to thread_info

2014-12-15 Thread LF.Tan
On Wed, Dec 10, 2014 at 10:23 PM, David Hildenbrand wrote: > This patch adds the pagefault_count to the thread_info of all > architectures. It will be used to count the pagefault_disable() levels > on a per-thread basis. > > We are not reusing the preempt_count as this is per cpu on x86 and we wan

Re: [PATCH v5 1/3] mfd: add support for Cypress CYUSBS234 USB Serial Bridge controller

2014-12-15 Thread Johan Hovold
On Sat, Dec 13, 2014 at 05:17:42PM +0530, Muthu Mani wrote: > Adds support for USB-I2C/GPIO interfaces of Cypress Semiconductor > CYUSBS234 USB-Serial Bridge controller. > > Details about the device can be found at: > http://www.cypress.com/?rID=84126 > > Separate cell drivers are available for I

Re: Kernel boot panic 3.12-34 > 3.12.35

2014-12-15 Thread Richard Farthing
I installed the kernel via YAST2 which makes and installs the initrd too, and have done this many times before on this test machine, so it seems unlikely to be my mistake, but it's always possible! I will have a look at it again Richard On 15/12/2014 09:28, Jiri Slaby wrote: On 12/14/2014,

Re: [PATCH] usb: gadget: udc-core: call udc_stop() before gadget unbind

2014-12-15 Thread Robert Baldyga
On 12/15/2014 06:13 AM, Peter Chen wrote: > On Fri, Dec 12, 2014 at 02:17:28PM +0100, Robert Baldyga wrote: >> As usb function drivers assumes that all usb request will be completed >> before function unbind call, we should supply such behavior. In some >> cases ep_disable() won't kill all request

Re: [PATCH 00/18] uaccess: fix sparse warning on get_user for bitwise types

2014-12-15 Thread LF.Tan
On Mon, Dec 15, 2014 at 12:51 AM, Michael S. Tsirkin wrote: > At the moment, if p and x are both tagged as bitwise types, > get_user(x, p) produces a sparse warning on many architectures. > This is because *p on these architectures is loaded into long > (typically using asm), then cast back to typ

<    4   5   6   7   8   9   10   >