Re: [RFC PATCH 1/1] Move two pinned pages to non-movable node in kvm.

2014-06-17 Thread Tang Chen
Hi Gleb, Thanks for the quick reply. Please see below. On 06/18/2014 02:12 PM, Gleb Natapov wrote: On Wed, Jun 18, 2014 at 01:50:00PM +0800, Tang Chen wrote: [Questions] And by the way, would you guys please answer the following questions for me ? 1. What's the ept identity pagetable for ? O

Re: [PATCH v5] hwmon: Driver for TI TMP103 temperature sensor

2014-06-17 Thread Guenter Roeck
On 06/17/2014 11:18 PM, Varka Bhadram wrote: ti,tmp102Low Power Digital Temperature Sensor with SMBUS/Two Wire Serial Interface +ti,tmp103Low Power Digital Temperature Sensor with SMBUS/Two Wire Serial Interface May i know about this binding compatible property ? At some p

[PATCH 2/2] x86,mem-hotplug: modify PGD entry when removing memory

2014-06-17 Thread Yasuaki Ishimatsu
When hot-adding/removing memory, sync_global_pgds() is called for synchronizing PGD to PGD entries of all processes MM. But when hot-removing memory, sync_global_pgds() does not work correctly. At first, sync_global_pgds() checks whether target PGD is none or not. And if PGD is none, the PGD is sk

[PATCH 1/2] efilinux: Allocate boot_params before parsing initrd

2014-06-17 Thread Yinghai Lu
We need to allocate boot_params early and clear it before copy setup_header to it. So kernel will not call sanitize_boot_params() to overwrite new added parameter like ext_ramdisk_image, ext_ramdisk_size... We should modify boot_params later instead of touch temp buf too early. Signed-off-by: Yi

[PATCH 0/2] fix kernel panic on memory hotplug

2014-06-17 Thread Yasuaki Ishimatsu
When hot-adding memory after hot-removing memory, following call traces are shown: kernel BUG at arch/x86/mm/init_64.c:206! ... [] kernel_physical_mapping_init+0x1b2/0x1d2 [] init_memory_mapping+0x1d4/0x380 [] arch_add_memory+0x3d/0xd0 [] add_memory+0xb9/0x1b0 [] acpi_memory_device_add+0x1af/

[PATCH 2/2] efilinux: set ext_ramdisk_* for huge initrd

2014-06-17 Thread Yinghai Lu
We could load it high if it is more than 2G when kernel support LOAD_ABOVE_4G. Signed-off-by: Yinghai Lu --- loaders/bzimage/bzimage.c |9 - loaders/bzimage/bzimage.h |8 ++-- 2 files changed, 14 insertions(+), 3 deletions(-) Index: efilinux/loaders/bzimage/bzimage.c ==

Re: [PATCH v2 1/8] PCI: designware: add rd[wr]_other_conf API

2014-06-17 Thread Pratyush Anand
On Wed, Jun 11, 2014 at 02:51:20AM +0800, Murali Karicheri wrote: > v3.65 version of the designware h/w, requires application space > registers to be configured to access the remote EP config space. > To support this, add rd[wr]_other_conf API in the pcie_host_opts > > Signed-off-by: Murali Karich

[PATCH 1/2] x86,mem-hotplug: pass sync_global_pgds() a correct argument in remove_pagetable()

2014-06-17 Thread Yasuaki Ishimatsu
remove_pagetable() gets start argument and passes the argument to sync_global_pgds(). In this case, the argument must not be modified. If the argument is modified and passed to sync_global_pgds(), sync_global_pgds() does not correctly synchronize PGD to PGD entries of all processes MM since synchro

[PATCH v4] perf: fix kernel panic when parsing user space CS saved in pt_regs

2014-06-17 Thread Liu ShuoX
From: Zhang Yanmin ChangeLog V4: Explain the patch sceanrio clearly ChangeLog V3: Keep rsp pointing to pt_regs before sysexit. ChangeLog V2: Before sysexit, perf NMI might arrive. There is still a race. Here we change rsp to keep it pointing to pt_regs->ori

Re: [bisected] pre-3.16 regression on open() scalability

2014-06-17 Thread Dave Hansen
On 06/17/2014 05:18 PM, Paul E. McKenney wrote: > So if I understand correctly, a goodly part of the regression is due not > to the overhead added to cond_resched(), but rather because grace periods > are now happening faster, thus incurring more overhead. Is that correct? Yes, that's the theory

Re: [PATCH v2] slab: fix oops when reading /proc/slab_allocators

2014-06-17 Thread Vladimir Davydov
On Wed, Jun 18, 2014 at 09:29:35AM +0900, Joonsoo Kim wrote: > commit 'b1cb098: change the management method of free objects of the slab' > introduces bug on slab leak detector('/proc/slab_allocators'). This > detector works like as following decription. > > 1. traverse all objects on all the slab

[PATCH v1 0/9] Tegra XHCI support

2014-06-17 Thread Andrew Bresticker
This series adds support for XHCI on NVIDIA Tegra SoCs. This includes: - extending the XUSB pad controller driver to support the USB PHY types (UTMI, HSIC, and USB3), - adding a driver for the mailbox used to communicate with the XHCI controller's firmware, and - adding a XHCI host-contro

[PATCH v1 5/9] of: Add NVIDIA Tegra XHCI controller binding

2014-06-17 Thread Andrew Bresticker
Add device-tree binding documentation for the XHCI controller present on Tegra124 and later SoCs. Signed-off-by: Andrew Bresticker --- .../bindings/usb/nvidia,tegra124-xhci.txt | 76 ++ 1 file changed, 76 insertions(+) create mode 100644 Documentation/devicetree/bi

[PATCH v1 1/9] of: Add NVIDIA Tegra XUSB mailbox binding

2014-06-17 Thread Andrew Bresticker
Add device-tree bindings for the Tegra XUSB mailbox which will be used for communication between the Tegra XHCI controller and the host. Signed-off-by: Andrew Bresticker --- .../bindings/mailbox/nvidia,tegra124-xusb-mbox.txt | 25 ++ 1 file changed, 25 insertions(+) create m

Re: [PATCHv4 3/4] iio: devicetree: Add DT binding documentation for Exynos3250 ADC

2014-06-17 Thread Chanwoo Choi
Hi Naveen, On 06/18/2014 03:12 PM, Naveen Krishna Ch wrote: > Hello Chanwoo, > > On 18 June 2014 07:51, Chanwoo Choi wrote: >> This patch add DT binding documentation for Exynos3250 ADC IP. Exynos3250 has >> special clock ('sclk_tsadc') for ADC which provide clock to internal ADC. >> >> Signed-o

Re: [PATCH v5] hwmon: Driver for TI TMP103 temperature sensor

2014-06-17 Thread Varka Bhadram
On 06/18/2014 11:42 AM, Guenter Roeck wrote: On 06/17/2014 10:46 PM, Varka Bhadram wrote: Hi, On 06/18/2014 11:07 AM, Heiko Schocher wrote: Driver for the TI TMP103. The TI TMP103 is similar to the TMP102. It differs from the TMP102 by having only 8 bit registers. Signed-off-by: Heiko Schoc

Re: Linux 3.15: SPARC serial console regression

2014-06-17 Thread David Miller
From: Sam Ravnborg Date: Sun, 15 Jun 2014 20:56:35 +0200 > This is a regression so we should either revert the above commit > or review and fix the remaining drivers. I plan to review and integrate the sparc serial driver fixes soon. -- To unsubscribe from this list: send the line "unsubscribe l

[PATCH v1 4/9] pinctrl: tegra-xusb: Add USB PHY support

2014-06-17 Thread Andrew Bresticker
In addition to the PCIe and SATA PHYs, the XUSB pad controller also supports 3 UTMI, 2 HSIC, and 2 USB3 PHYs. Each USB3 PHY uses a single PCIe or SATA lane and is mapped to one of the three UTMI ports. Signed-off-by: Andrew Bresticker --- drivers/pinctrl/pinctrl-tegra-xusb.c | 1106

[PATCH v1 6/9] usb: xhci: Add NVIDIA Tegra XHCI host-controller driver

2014-06-17 Thread Andrew Bresticker
Add support for the on-chip XHCI host controller present on Tegra SoCs. The driver is currently very basic: it loads the controller with its firmware, starts the controller, and is able to service messages sent by the controller's firmware. The hardware supports device mode as well as runtime pow

[PATCH v1 7/9] ARM: tegra: Add Tegra124 XUSB mailbox and XHCI controller

2014-06-17 Thread Andrew Bresticker
Add nodes for the Tegra XUSB mailbox and Tegra XHCI controller. Update the XUSB pad controller node with a phandle to the XUSB mailbox. Signed-off-by: Andrew Bresticker --- arch/arm/boot/dts/tegra124.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/a

[PATCH v1 8/9] ARM: tegra: jetson-tk1: Add XHCI support

2014-06-17 Thread Andrew Bresticker
Assign USB ports previously owned by the EHCI controllers to the XHCI controller. There is a mini-PCIe USB port (UTMI port 1) and a USB A connector (UTMI port 2, USB3 port 0). PCIe lane 0 is used for USB3 port 0. Signed-off-by: Andrew Bresticker --- arch/arm/boot/dts/tegra124-jetson-tk1.dts |

[PATCH v1 2/9] mailbox: Add NVIDIA Tegra XUSB mailbox driver

2014-06-17 Thread Andrew Bresticker
The Tegra XHCI controller communicates requests to the host through a mailbox interface. Host drivers which can handle these requests, such as the Tegra XUSB pad controller driver and upcoming Tegra XHCI host controller driver, can send messages and register to be notified of incoming messages. S

Re: [PATCH v5] hwmon: Driver for TI TMP103 temperature sensor

2014-06-17 Thread Heiko Schocher
Hello Varka, Am 18.06.2014 07:46, schrieb Varka Bhadram: Hi, On 06/18/2014 11:07 AM, Heiko Schocher wrote: Driver for the TI TMP103. The TI TMP103 is similar to the TMP102. It differs from the TMP102 by having only 8 bit registers. Signed-off-by: Heiko Schocher --- Cc: Jean Delvare Cc: G

[PATCH v1 9/9] ARM: tegra: venice2: Add XHCI support

2014-06-17 Thread Andrew Bresticker
Assign ports previously owned by the EHCI controllers to the XHCI controller. There are two external USB ports (UTMI ports 0/2 and USB3 ports 0/1) and an internal USB port (UTMI port 1). PCIe lanes 0 and 1 are used by the USB3 ports. Signed-off-by: Andrew Bresticker --- arch/arm/boot/dts/tegra

[PATCH v1 3/9] of: Update Tegra XUSB pad controller binding for USB

2014-06-17 Thread Andrew Bresticker
Add new bindings used for USB support by the Tegra XUSB pad controller. This includes additional PHY types, USB-specific pinconfig properties, etc. Signed-off-by: Andrew Bresticker --- .../pinctrl/nvidia,tegra124-xusb-padctl.txt| 53 -- include/dt-bindings/pinctrl/pin

Re: [PATCH v5] hwmon: Driver for TI TMP103 temperature sensor

2014-06-17 Thread Guenter Roeck
On 06/17/2014 10:37 PM, Heiko Schocher wrote: Driver for the TI TMP103. The TI TMP103 is similar to the TMP102. It differs from the TMP102 by having only 8 bit registers. Signed-off-by: Heiko Schocher Looks pretty good now. Applied. Thanks, Guenter -- To unsubscribe from this list: send

Re: [PATCHv4 3/4] iio: devicetree: Add DT binding documentation for Exynos3250 ADC

2014-06-17 Thread Naveen Krishna Ch
Hello Chanwoo, On 18 June 2014 07:51, Chanwoo Choi wrote: > This patch add DT binding documentation for Exynos3250 ADC IP. Exynos3250 has > special clock ('sclk_tsadc') for ADC which provide clock to internal ADC. > > Signed-off-by: Chanwoo Choi > Acked-by: Kyungmin Park Changes look good to m

Re: [RFC PATCH 1/1] Move two pinned pages to non-movable node in kvm.

2014-06-17 Thread Gleb Natapov
On Wed, Jun 18, 2014 at 01:50:00PM +0800, Tang Chen wrote: > [Questions] > And by the way, would you guys please answer the following questions for me ? > > 1. What's the ept identity pagetable for ? Only one page is enough ? > > 2. Is the ept identity pagetable only used in realmode ? >Can

Re: [PATCH v5] hwmon: Driver for TI TMP103 temperature sensor

2014-06-17 Thread Guenter Roeck
On 06/17/2014 10:46 PM, Varka Bhadram wrote: Hi, On 06/18/2014 11:07 AM, Heiko Schocher wrote: Driver for the TI TMP103. The TI TMP103 is similar to the TMP102. It differs from the TMP102 by having only 8 bit registers. Signed-off-by: Heiko Schocher --- Cc: Jean Delvare Cc: Guenter Roeck

Re: [PATCHv4 1/4] iio: adc: exynos_adc: Add exynos_adc_ops structure to improve readability

2014-06-17 Thread Chanwoo Choi
Hi Naveen, On 06/18/2014 02:27 PM, Naveen Krishna Ch wrote: > Hello Chanwoo, > > On 18 June 2014 07:50, Chanwoo Choi wrote: >> This patchset add 'exynos_adc_ops' structure which includes some functions >> to control ADC operation according to ADC version (v1 or v2). >> >> Signed-off-by: Chanwoo

[Patch] PCI/portdrv: Remove warning about invalid IRQ

2014-06-17 Thread Jiang Liu
For hot-added PCIe ports, it always generates a warning message on x86 platforms when binding to portdrv as: "device [8086:0e0b] has invalid IRQ; check vendor BIOS". It's due to that we check pci_dev->irq before actually allocating IRQ for the PCI device: if (!dev->irq && dev->pin)

Re: [PATCH v2] drbd: change one-bit bitfield to be an unsigned int

2014-06-17 Thread Martin Kepplinger
Am 2014-06-17 21:46, schrieb David Rientjes: > On Tue, 17 Jun 2014, Martin Kepplinger wrote: > >> The one-bit bitfields are assigned true (1) or false (0) and checked >> for them respectively. While it should work either way and -1 is true >> as well it is more clear to see what's going on when us

[RFC PATCH 1/1] Move two pinned pages to non-movable node in kvm.

2014-06-17 Thread Tang Chen
Hi, I met a problem when offlining memory with a kvm guest running. [Problem] When qemu creates vpus, it will call the following two functions to allocate two pages: 1. alloc_apic_access_page(): allocate apic access page for FlexPriority in intel cpu. 2. alloc_identity_pagetable(): allocate ept

Re: [PATCH v5] hwmon: Driver for TI TMP103 temperature sensor

2014-06-17 Thread Varka Bhadram
Hi, On 06/18/2014 11:07 AM, Heiko Schocher wrote: Driver for the TI TMP103. The TI TMP103 is similar to the TMP102. It differs from the TMP102 by having only 8 bit registers. Signed-off-by: Heiko Schocher --- Cc: Jean Delvare Cc: Guenter Roeck Cc: linux-kernel@vger.kernel.org Cc: devicet

Re: [PATCH 1/1] scripts/coccinelle/free: add conditional kfree test

2014-06-17 Thread Joe Perches
On Wed, 2014-06-18 at 07:25 +0200, Julia Lawall wrote: > > On Tue, 17 Jun 2014, Joe Perches wrote: > > > (adding Jesper Juhl) > > > > On Tue, 2014-06-17 at 23:33 +0200, Julia Lawall wrote: > > > On Tue, 17 Jun 2014, Joe Perches wrote: > > > > On Tue, 2014-06-17 at 21:43 +0200, Fabian Frederick w

[PATCH v5] hwmon: Driver for TI TMP103 temperature sensor

2014-06-17 Thread Heiko Schocher
Driver for the TI TMP103. The TI TMP103 is similar to the TMP102. It differs from the TMP102 by having only 8 bit registers. Signed-off-by: Heiko Schocher --- Cc: Jean Delvare Cc: Guenter Roeck Cc: linux-kernel@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc:

Re: [PATCH] pinctrl: msm: Add msm8960 definitions

2014-06-17 Thread Bjorn Andersson
On Tue, Jun 17, 2014 at 3:00 PM, Andy Gross wrote: > On Tue, Jun 10, 2014 at 11:25:23AM -0700, Bjorn Andersson wrote: > > In general, it all looks good. I only have 2 areas of concern. The first is > a > nit and it has to do with alternate pins for functions. There really isn't a > need for a

[PATCH] extcon: Remove unnecessary OOM messages

2014-06-17 Thread Jingoo Han
The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message. The following checkpatch warning is also removed. WARNING: Possible unnecessary 'out of memory' message Signed-off-by: Jingoo Han --- drivers/extcon/extcon-arizona.c |4 +--- driv

[PATCH] extcon: palmas: Make of_device_id array const

2014-06-17 Thread Jingoo Han
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han --- drivers/extcon/extcon-palmas.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/extcon/extcon-palmas.c b/drivers/extcon/extcon-palmas.c index 7417ce8..5efa96c 1

Re: [PATCHv4 1/4] iio: adc: exynos_adc: Add exynos_adc_ops structure to improve readability

2014-06-17 Thread Naveen Krishna Ch
Hello Chanwoo, On 18 June 2014 07:50, Chanwoo Choi wrote: > This patchset add 'exynos_adc_ops' structure which includes some functions > to control ADC operation according to ADC version (v1 or v2). > > Signed-off-by: Chanwoo Choi > Acked-by: Kyungmin Park This is a good piece of change, Thank

Re: [PATCH 1/4] ACPI: Support _OSI("Darwin") correctly

2014-06-17 Thread Matthew Garrett
On Tue, Jun 17, 2014 at 03:46:15PM +0100, Matthew Garrett wrote: > On Tue, Jun 17, 2014 at 02:11:36PM +0200, Rafael J. Wysocki wrote: > > Does applying this patch without the rest of the series makes things worse > > or better on the machines in question (or perhaps it doesn't matter at all > > alo

Re: [PATCH 1/1] scripts/coccinelle/free: add conditional kfree test

2014-06-17 Thread Julia Lawall
On Tue, 17 Jun 2014, Joe Perches wrote: > (adding Jesper Juhl) > > On Tue, 2014-06-17 at 23:33 +0200, Julia Lawall wrote: > > On Tue, 17 Jun 2014, Joe Perches wrote: > > > On Tue, 2014-06-17 at 21:43 +0200, Fabian Frederick wrote: > > > > This patch adds a trivial script warning on > > > > > >

Re: [PATCH] pinctrl: qcom: Add BUS_HOLD pin bias

2014-06-17 Thread Bjorn Andersson
On Tue, Jun 17, 2014 at 9:49 PM, Andy Gross wrote: > This patch adds the BUS_HOLD (Keeper) bias option for pins. > > Signed-off-by: Andy Gross Acked-by: Bjorn Andersson -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.o

Re: [PATCH v3 1/3] soc: devicetree: bindings: Add Qualcomm RPM DT binding

2014-06-17 Thread Bjorn Andersson
On Tue, Jun 17, 2014 at 4:59 PM, Stephen Boyd wrote: [...] > > because ipc is actually a register inside the Krait complex's global > clock control/distribution hardware block (it's located at 0x2011000). > From what I can tell, this is the only non-clock/power register inside > there. I plan to s

[PATCH net-next v2 2/3] ieee802154: cc2520: add driver to kernel build system

2014-06-17 Thread Varka Bhadram
Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/Kconfig | 11 +++ drivers/net/ieee802154/Makefile |1 + 2 files changed, 12 insertions(+) diff --git a/drivers/net/ieee802154/Kconfig b/drivers/net/ieee802154/Kconfig index 3e89bea..680422f 100644 --- a/drivers/net/ieee802154

[PATCH net-next v2 3/3] devicetree: add devicetree bindings for cc2520 driver

2014-06-17 Thread Varka Bhadram
devicetree bindings for cc2520 radio driver. Signed-off-by: Varka Bhadram --- .../devicetree/bindings/net/ieee802154/cc2520.txt | 26 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/ieee802154/cc2520.txt diff --git a/Documentati

[PATCH net-next v2 0/3] Driver fir TI CC2520 Radio

2014-06-17 Thread Varka Bhadram
This series adds the driver support for TI cc2520 radio. also devicetree bindings for the driver. changes since v1: - improverment in gpio setup - changed len pointer to len variable - Varka Bhadram (3): ieee802154: cc2520: adds driver for TI CC2520 radio ieee802154: c

[PATCH net-next v2 1/3] ieee802154: cc2520: adds driver for TI CC2520 radio

2014-06-17 Thread Varka Bhadram
Driver support: - Tx and Rx of IEEE-802.15.4 packets. - Energy Detection on channel. - Setting the Channel for the radio. [b/w 11 - 26 channels] - Start and Stop the radio. Signed-off-by: Varka Bhadram --- drivers/net/ieee802154/cc2520.c | 968 +++

[x86_64,vsyscall] 21d4ab4881a: -11.1% will-it-scale.per_process_ops

2014-06-17 Thread Jet Chen
Hi Andy, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/vsyscall commit 21d4ab4881ad9b257bec75d04480105dad4336e1 ("x86_64,vsyscall: Move all of the gate_area code to vsyscall_64.c") test case: lkp-wsx01/will-it-scale/signal1 a7781f1035319a7 2

Re: [PATCH 3/9] mfd: palmas: Add tps65917 specific definitions and enums

2014-06-17 Thread Keerthy
On Tuesday 17 June 2014 09:41 PM, Lee Jones wrote: Add tps65917 specific definitions and enums. Signed-off-by: Keerthy --- include/linux/mfd/palmas.h | 793 1 file changed, 793 insertions(+) Acked-by: Lee Jones Thanks. diff --git a/includ

Re: [PATCH 4/9] mfd: palmas: Add tps65917 support

2014-06-17 Thread Keerthy
On Tuesday 17 June 2014 09:49 PM, Lee Jones wrote: Add tps65917 PMIC support. tps65917 is a subset of palmas PMIC. Some of the register definitions and the interrupt mappings are different. Signed-off-by: Keerthy --- drivers/mfd/palmas.c | 176

[PATCH] arch/score/include/asm/io.h: Add generic io map functions when MMU enabled

2014-06-17 Thread Chen Gang
score did not implement some io map functions when MMU enabled, so need add generic io map functions, just like some other architectures have done (e.g. sparc64, s390, and mn10300), or will cause compiling issue. The related error (allmodconfig under score): CC drivers/clocksource/sh_cmt

Re: [PATCH 5/9] regulator: palmas: Shift the reg_info structure definition to the header file

2014-06-17 Thread Keerthy
On Tuesday 17 June 2014 10:02 PM, Lee Jones wrote: On Wed, 28 May 2014, Keerthy wrote: Shift the reg_info structure definition to the header file. Signed-off-by: Keerthy --- drivers/regulator/palmas-regulator.c |9 - include/linux/mfd/palmas.h |9 + 2 fil

Re: [PATCH 10/10] mfd: cros_ec: ec_dev->cmd_xfer() returns number of bytes received from EC

2014-06-17 Thread Simon Glass
Hi Doug, On 17 June 2014 21:54, Doug Anderson wrote: > Simon, > > On Tue, Jun 17, 2014 at 8:46 PM, Simon Glass wrote: >> Hi, >> >> On 16 June 2014 14:40, Doug Anderson wrote: >>> From: Bill Richardson >>> >>> When communicating with the EC, the cmd_xfer() function should return the >>> number

Re: [PATCH 6/9] mfd: palmas: shift the palmas_sleep_requestor_info structure definition to the header file

2014-06-17 Thread Keerthy
On Tuesday 17 June 2014 10:03 PM, Lee Jones wrote: On Wed, 28 May 2014, Keerthy wrote: shift the palmas_sleep_requestor_info structure definition to the header file. Signed-off-by: Keerthy --- drivers/mfd/palmas.c | 10 -- include/linux/mfd/palmas.h | 10 ++ 2 fi

Re: [PATCH 08/10] mfd: cros_ec: cleanup: Remove EC wrapper functions

2014-06-17 Thread Simon Glass
Hi Doug, On 17 June 2014 21:27, Doug Anderson wrote: > Simon, > > On Tue, Jun 17, 2014 at 8:42 PM, Simon Glass wrote: >>> diff --git a/drivers/input/keyboard/cros_ec_keyb.c >>> b/drivers/input/keyboard/cros_ec_keyb.c >>> index 4083796..dc37b6b 100644 >>> --- a/drivers/input/keyboard/cros_ec_key

[RESEND PATCH] dt-bindings: extcon: Add support for SM5502 MUIC device

2014-06-17 Thread Chanwoo Choi
This patch add documentation for binding of SM5502 MUIC (Micro-USB Interface Controller) device which is using EXTCON subsystem. The SM5502 MUIC device can detect various external accessories when external accessories is attached or detached. Signed-off-by: Chanwoo Choi --- .../devicetree/bindin

Re: [PATCH 7/9] regulator: palmas: Add palmas_pmic_driver_data structure

2014-06-17 Thread Keerthy
On Tuesday 17 June 2014 10:07 PM, Lee Jones wrote: On Wed, 28 May 2014, Keerthy wrote: Add palmas_pmic_driver_data structure. Signed-off-by: Keerthy --- include/linux/mfd/palmas.h | 25 + 1 file changed, 25 insertions(+) diff --git a/include/linux/mfd/palmas.h b/

Re: [PATCH 8/9] regulator: palmas: add driver data and modularize the probe

2014-06-17 Thread Keerthy
On Tuesday 17 June 2014 10:15 PM, Lee Jones wrote: add driver data and modularize the probe. Signed-off-by: Keerthy --- drivers/mfd/palmas.c | 42 +-- drivers/regulator/palmas-regulator.c | 656 -- 2 files changed, 395 insertions(+), 303 de

Re: [PATCH 10/10] mfd: cros_ec: ec_dev->cmd_xfer() returns number of bytes received from EC

2014-06-17 Thread Doug Anderson
Simon, On Tue, Jun 17, 2014 at 8:46 PM, Simon Glass wrote: > Hi, > > On 16 June 2014 14:40, Doug Anderson wrote: >> From: Bill Richardson >> >> When communicating with the EC, the cmd_xfer() function should return the >> number of bytes it received from the EC, or negative on error. > > This is

[PATCH] sched: select 'idle' cfs_rq per task-group to prevent tg-internal imbalance

2014-06-17 Thread Michael wang
By testing we found that after put benchmark (dbench) in to deep cpu-group, tasks (dbench routines) start to gathered on one CPU, which lead to that the benchmark could only get around 100% CPU whatever how big it's task-group's share is, here is the link of the way to reproduce the issue:

[PATCH] pinctrl: qcom: Add BUS_HOLD pin bias

2014-06-17 Thread Andy Gross
This patch adds the BUS_HOLD (Keeper) bias option for pins. Signed-off-by: Andy Gross --- drivers/pinctrl/pinctrl-msm.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/pinctrl/pinctrl-msm.c b/drivers/pinctrl/pinctrl-msm.c index e43fbce..9aa2839 100644 --- a/drivers/pinctrl/pi

Re: [bisected] pre-3.16 regression on open() scalability

2014-06-17 Thread Paul E. McKenney
On Tue, Jun 17, 2014 at 07:27:31PM -0700, Andi Kleen wrote: > > OK. What would you suggest instead? If all we do is to revert the > > Hang checker should have two timer phases: > > Timer fires first time: > - Save context switch counter on that. Force a reschedule to some > work queue. Rearm ti

Re: [PATCH 09/10] mfd: cros_ec: Check result code from EC messages

2014-06-17 Thread Doug Anderson
Simon, On Tue, Jun 17, 2014 at 8:43 PM, Simon Glass wrote: >> diff --git a/drivers/mfd/cros_ec_spi.c b/drivers/mfd/cros_ec_spi.c >> index 09ca789..4d34f1c 100644 >> --- a/drivers/mfd/cros_ec_spi.c >> +++ b/drivers/mfd/cros_ec_spi.c >> @@ -289,21 +289,23 @@ static int cros_ec_cmd_xfer_spi(struct c

Re: Build regressions/improvements in v3.16-rc1

2014-06-17 Thread Guenter Roeck
On 06/17/2014 08:23 AM, Geert Uytterhoeven wrote: On Tue, Jun 17, 2014 at 5:16 PM, Geert Uytterhoeven wrote: [...] + /scratch/kisskb/src/sound/soc/fsl/fsl_dma.c: error: invalid use of undefined type 'struct ccsr_ssi': => 926:34, 927:34 powerpc/mpc85xx_defconfig Being fixed:

Re: [RESEND] shm: shm exit scalability fixes

2014-06-17 Thread Michael Ellerman
On Wed, 2014-06-18 at 12:53 +1000, Anton Blanchard wrote: > > I normally wouldn't mind optimizing synthetic cases like this, but a > > quick look at patch 1/3 shows that we're adding an extra overhead (16 > > bytes) in the task_struct. > > > We have the shmmni limit (and friends) for that. > > If

Re: [PATCH 07/10] mfd: cros_ec: cleanup: remove unused fields from struct cros_ec_device

2014-06-17 Thread Doug Anderson
Simon, On Tue, Jun 17, 2014 at 9:25 PM, Simon Glass wrote: > Hi Doug, > > On 17 June 2014 21:22, Doug Anderson wrote: >> >> Simon, >> >> On Tue, Jun 17, 2014 at 8:39 PM, Simon Glass wrote: >> > Hi Doug, >> > >> > On 16 June 2014 14:39, Doug Anderson wrote: >> >> From: Bill Richardson >> >> >>

Re: [PATCH 08/10] mfd: cros_ec: cleanup: Remove EC wrapper functions

2014-06-17 Thread Doug Anderson
Simon, On Tue, Jun 17, 2014 at 8:42 PM, Simon Glass wrote: >> diff --git a/drivers/input/keyboard/cros_ec_keyb.c >> b/drivers/input/keyboard/cros_ec_keyb.c >> index 4083796..dc37b6b 100644 >> --- a/drivers/input/keyboard/cros_ec_keyb.c >> +++ b/drivers/input/keyboard/cros_ec_keyb.c >> @@ -191,8

Re: [PATCH 07/10] mfd: cros_ec: cleanup: remove unused fields from struct cros_ec_device

2014-06-17 Thread Simon Glass
Hi Doug, On 17 June 2014 21:22, Doug Anderson wrote: > > Simon, > > On Tue, Jun 17, 2014 at 8:39 PM, Simon Glass wrote: > > Hi Doug, > > > > On 16 June 2014 14:39, Doug Anderson wrote: > >> From: Bill Richardson > >> > >> struct cros_ec_device has a superfluous "name" field. We can get all the

Re: vdso_install target broken post-3.15

2014-06-17 Thread Andy Lutomirski
On Tue, Jun 17, 2014 at 8:48 PM, H. Peter Anvin wrote: > On 06/17/2014 08:45 PM, Andy Lutomirski wrote: >> On Tue, Jun 17, 2014 at 3:54 PM, Andy Lutomirski wrote: >>> Just a heads up: gdb can't debug the vdso on 3.16-rc1. I filed a bug: >>> >>> https://sourceware.org/bugzilla/show_bug.cgi?id=170

Re: [PATCH 07/10] mfd: cros_ec: cleanup: remove unused fields from struct cros_ec_device

2014-06-17 Thread Doug Anderson
Simon, On Tue, Jun 17, 2014 at 8:39 PM, Simon Glass wrote: > Hi Doug, > > On 16 June 2014 14:39, Doug Anderson wrote: >> From: Bill Richardson >> >> struct cros_ec_device has a superfluous "name" field. We can get all the >> debugging info we need from the existing ec_name and phys_name fields,

Re: [PATCH 04/10] mfd: cros_ec: Tweak struct cros_ec_device for clarity

2014-06-17 Thread Doug Anderson
Simon, On Tue, Jun 17, 2014 at 8:35 PM, Simon Glass wrote: > Hi Doug, > > On 16 June 2014 14:39, Doug Anderson wrote: >> From: Bill Richardson >> >> The members of struct cros_ec_device were improperly commented, and >> intermixed the private and public sections. This is just cleanup to make it

Re: [RFT v5h printk: allow increasing the ring buffer depending on the number of CPUs

2014-06-17 Thread Luis R. Rodriguez
On Tue, Jun 17, 2014 at 5:18 PM, Luis R. Rodriguez wrote: > @@ -828,29 +829,68 @@ void log_buf_kexec_setup(void) > /* requested log_buf_len from kernel cmdline */ > static unsigned long __initdata new_log_buf_len; > > -/* save requested log_buf_len since it's too early to process it */ > -static

Re: [RFC PATCH 2/2] block: virtio-blk: support multi virt queues per virtio-blk device

2014-06-17 Thread Ming Lei
On Wed, Jun 18, 2014 at 12:34 AM, Paolo Bonzini wrote: > Il 17/06/2014 18:00, Ming Lei ha scritto: > >>> > If you want to do queue steering based on the guest VCPU number, the >>> > number >>> > of queues must be = to the number of VCPUs shouldn't it? >>> > >>> > I tried using a divisor of the num

linux-next: Tree for Jun 18

2014-06-17 Thread Stephen Rothwell
Hi all, The powerpc allyesconfig is again broken more than usual. Changes since 20140617: Non-merge commits (relative to Linus' tree): 868 1021 files changed, 24269 insertions(+), 14775 deletions(-) I have cr

Re: vdso_install target broken post-3.15

2014-06-17 Thread H. Peter Anvin
On 06/17/2014 08:45 PM, Andy Lutomirski wrote: > On Tue, Jun 17, 2014 at 3:54 PM, Andy Lutomirski wrote: >> Just a heads up: gdb can't debug the vdso on 3.16-rc1. I filed a bug: >> >> https://sourceware.org/bugzilla/show_bug.cgi?id=17064 >> >> We may need to extend the fake section header hack to

Re: [PATCH 10/10] mfd: cros_ec: ec_dev->cmd_xfer() returns number of bytes received from EC

2014-06-17 Thread Simon Glass
Hi, On 16 June 2014 14:40, Doug Anderson wrote: > From: Bill Richardson > > When communicating with the EC, the cmd_xfer() function should return the > number of bytes it received from the EC, or negative on error. This is just for the I2C tunnel feature, right? If so, I think this should be me

Re: vdso_install target broken post-3.15

2014-06-17 Thread Andy Lutomirski
On Tue, Jun 17, 2014 at 3:54 PM, Andy Lutomirski wrote: > Just a heads up: gdb can't debug the vdso on 3.16-rc1. I filed a bug: > > https://sourceware.org/bugzilla/show_bug.cgi?id=17064 > > We may need to extend the fake section header hack to all vdso > versions and stick the ELF notes in there.

Re: scsi-mq

2014-06-17 Thread Jens Axboe
On 2014-06-17 07:27, Bart Van Assche wrote: On 06/12/14 15:48, Christoph Hellwig wrote: Bart and Robert have helped with some very detailed measurements that they might be able to send in reply to this, although these usually involve significantly reworked low level drivers to avoid other bottle

Re: [PATCH 09/10] mfd: cros_ec: Check result code from EC messages

2014-06-17 Thread Simon Glass
Hi Doug, On 16 June 2014 14:39, Doug Anderson wrote: > From: Bill Richardson > > Just because the host was able to talk to the EC doesn't mean that the EC > was happy with what it was told. Errors in communincation are not the same > as error messages from the EC itself. > > This change lets the

Re: [PATCH 08/10] mfd: cros_ec: cleanup: Remove EC wrapper functions

2014-06-17 Thread Simon Glass
Hi Doug, On 16 June 2014 14:39, Doug Anderson wrote: > From: Bill Richardson > > Remove the three wrapper functions that talk to the EC without passing all > the desired arguments and just use the underlying communication function > that passes everything in a struct intead. > > This is internal

Re: [PATCH 07/10] mfd: cros_ec: cleanup: remove unused fields from struct cros_ec_device

2014-06-17 Thread Simon Glass
Hi Doug, On 16 June 2014 14:39, Doug Anderson wrote: > From: Bill Richardson > > struct cros_ec_device has a superfluous "name" field. We can get all the > debugging info we need from the existing ec_name and phys_name fields, so > let's take out the extra field. Except that it no longer prints

Re: mm: NULL ptr deref in remove_migration_pte

2014-06-17 Thread Hugh Dickins
On Mon, 16 Jun 2014, Sasha Levin wrote: > On 06/10/2014 12:20 AM, Hugh Dickins wrote: > > Although there's nothing in the backtrace to implicate it, > > I think this crash is caused by THP: please try this patch - thanks. > > > > [PATCH] mm: let mm_find_pmd fix buggy race with THP fault ... > > I

Re: [PATCH 6/6] percpu-refcount: implement percpu_ref_reinit() and percpu_ref_is_zero()

2014-06-17 Thread Lai Jiangshan
On 06/18/2014 09:08 AM, Tejun Heo wrote: > Now that explicit invocation of percpu_ref_exit() is necessary to free > the percpu counter, we can implement percpu_ref_reinit() which > reinitializes a released percpu_ref. This can be used implement > scalable gating switch which can be drained and the

Re: [PATCH 04/10] mfd: cros_ec: Tweak struct cros_ec_device for clarity

2014-06-17 Thread Simon Glass
Hi Doug, On 16 June 2014 14:39, Doug Anderson wrote: > From: Bill Richardson > > The members of struct cros_ec_device were improperly commented, and > intermixed the private and public sections. This is just cleanup to make it > more obvious what goes with what. > > [dianders: left lock in the s

Re: [PATCH] mfd: mc13xxx: Use regmap irq framework for interrupts

2014-06-17 Thread Alexander Shiyan
Tue, 17 Jun 2014 21:04:59 +0100 от Lee Jones : > On Sat, 07 Jun 2014, Alexander Shiyan wrote: > > > This patch convert mc13xxx MFD driver to use regmap irq framework > > for interrupt registration. > > > > Signed-off-by: Alexander Shiyan > > --- > > drivers/mfd/Kconfig | 1 + > > driv

Re: [PATCH 03/10] mfd: cros_ec: Allow static din/dout buffers with cros_ec_register()

2014-06-17 Thread Simon Glass
On 16 June 2014 14:39, Doug Anderson wrote: > From: Bill Richardson > > The lower-level driver may want to provide its own buffers. If so, > there's no need to allocate new ones. This already happens to work > just fine (since we check for size of 0 and use devm allocation), but > it's good to d

Re: [PATCH 02/10] mfd: cros_ec: IRQs for cros_ec should be optional

2014-06-17 Thread Simon Glass
On 16 June 2014 14:39, Doug Anderson wrote: > From: Bill Richardson > > Preparing the way for the LPC device, which is just a plaform_device without > interrupts. > > Signed-off-by: Bill Richardson > Signed-off-by: Doug Anderson Reviewed-by: Simon Glass -- To unsubscribe from this list: send

Re: Guaranteed Top 10 Google Placements for mail-archive.com In 100 Days

2014-06-17 Thread josefina89933
Hello Sir / Mam We would like to have a chance to work on your website and get it positioned top 10 on major search engines around the world ( Google & Bing ). We are presently working with 500+ clients world wide and we have made sure all our clients rank top 10 for their best keywords. None o

[PATCH 2/9] ACPICA: Events: Fix an issue that GPE APIs cannot be invoked in atomic context.

2014-06-17 Thread Lv Zheng
The GPE APIs should be invoked inside of an IRQ context GPE handler or in the task context with a driver provided lock held. This driver provided lock should be safe to be held in the GPE handler by the driver. While currently we cannot do this, thus we can only use the GPE APIs for limitted cases

[PATCH 1/9] ACPICA: Events: Reduce indent divergences of events files.

2014-06-17 Thread Lv Zheng
This patch reduces indent divergences first in order to reduce human intervention work for the follow-up linuxized event patches. This patch reduces indent divergences of the event files. Though the divergences report doesn't care about these differences, they do hurt patches maintanence. Signed-

[PATCH 4/9] ACPICA: Events: Remove acpi_ev_enable_gpe().

2014-06-17 Thread Lv Zheng
The stale GPE indication is not a problem. Drivers should always check the underlying hardware status and be ready to handle invalid status. The GPE clearing implemented in acpi_ev_enable_gpe() on the contrary introduces issues for acpi_enable_gpe() logic. When the usage count of GPE is increased

[tracing] 939c7a4f04f: -46.4% cpuidle.C3-IVT.time

2014-06-17 Thread Jet Chen
Hi Yoshihiro, FYI, we noticed the below changes on commit 939c7a4f04fcd2162109744e8bf88194948a6e65 ("tracing: Introduce saved_cmdlines_size file") test case: brickland3/aim7/3000-brk_test beba4bb096201ce 939c7a4f04fcd2162109744e8 --- - 352643 ~40%

[PATCH 7/9] ACPI/EC: Add detailed command/query debugging information.

2014-06-17 Thread Lv Zheng
Developers really don't need to translate EC commands in mind. This patch adds detailed debugging information for the EC commands. The address can be found in the follow-up sequential EC_DATA(W) accesses, thus this patch also removes some of the redundant address information. Signed-off-by: Lv Zhe

[PATCH 9/9] ACPI/EC: Add unit test support for EC driver hotplug.

2014-06-17 Thread Lv Zheng
This patch adds facility to test future EC modification. All EC commits should enable TEST_HOTPLUG, and try a build/boot test. Since EC is currently a built-in module, this is the only mean for us to test the hotplug code. Signed-off-by: Lv Zheng --- drivers/acpi/ec.c | 19 +++

[PATCH 6/9] ACPI/EC: Introduce STARTED/STOPPED flags to replace BLOCKED flag.

2014-06-17 Thread Lv Zheng
By using the 2 flags, we can indicate an inter-mediate state where the current transactions should be completed while the new transactions should be blocked. Signed-off-by: Lv Zheng --- drivers/acpi/ec.c | 56 +++-- 1 file changed, 42 insertions(

[PATCH 8/9] ACPI/EC: Deploy the new GPE handling model.

2014-06-17 Thread Lv Zheng
This patch deploys the following GPE handling model: 1. acpi_enable_gpe()/acpi_disable_gpe(): This set of APIs are used for EC usage reference counting. 2. acpi_set_gpe(ACPI_GPE_ENABLE)/acpi_set_gpe(ACPI_GPE_DISABLE): This set of APIs are used for preventing GPE storm. For the EC driver,

[PATCH 5/9] ACPICA: Events: Reduce divergences to honor notify handler enabled GPEs.

2014-06-17 Thread Lv Zheng
The back port result of a divergence fix that the origianlly_enabled check is not paired between acpi_install_gpe_handler() and acpi_remove_gpe_handler(). Lv Zheng. Signed-off-by: Lv Zheng --- drivers/acpi/acpica/evxface.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions

[PATCH 0/9] ACPI/EC: Improve GPE handling model.

2014-06-17 Thread Lv Zheng
This patchset is based on the previous ACPI/EC bug fixes series. This patchset has fixed the following issues: 1. Enables the ideal GPE handling model. The ideal GPE handling model should be able to handle the following cases: 1. When upper layers (the users of the driver) submit requests

[PATCH 3/9] ACPICA: Events: Introduce acpi_set_gpe()/acpi_finish_gpe() to reduce divergences.

2014-06-17 Thread Lv Zheng
This can help to reduce source code differences between Linux and ACPICA upstream. Further driver cleanups also require these APIs to eliminate GPE storms. 1. acpi_set_gpe(): An API that driver should invoke in the case it wants to disable/enable IRQ without honoring the referenc

  1   2   3   4   5   6   7   8   9   10   >