Re: [PATCH v3 1/2] memory-hotplug: introduce CONFIG_HAVE_BOOTMEM_INFO_NODE and revert register_page_bootmem_info_node() when platform not support

2013-01-17 Thread Lin Feng
Hi Michal, On 01/17/2013 09:05 PM, Michal Hocko wrote: > On Thu 17-01-13 18:37:10, Lin Feng wrote: > [...] >>> > > I am still not sure I understand the relation to MEMORY_HOTREMOVE. >>> > > Is register_page_bootmem_info_node required/helpful even if >>> > > !CONFIG_MEMORY_HOTREMOVE? >> > From old

[PATCH v9 10/11] PCI: Add match_driver in struct pci_dev

2013-01-17 Thread Yinghai Lu
with that we could move out attaching driver for pci device, out of device_add for pci hot add path. pci_bus_attach_device() will attach driver to pci device. Signed-off-by: Yinghai Lu --- drivers/pci/bus.c| 10 ++ drivers/pci/pci-driver.c |6 +- include/linux/pci.h

Re: [PATCH] bluetooth: btmrvl_sdio: look for sd8688 firmware in proper location

2013-01-17 Thread Marcel Holtmann
Hi Lubumir, proper commit message with explanation here please. > Signed-off-by: Lubomir Rintel > --- > drivers/bluetooth/btmrvl_sdio.c |8 > drivers/bluetooth/btmrvl_sdio.h |6 -- > 2 files changed, 8 insertions(+), 6 deletions(-) > > diff --git

[PATCH v2] gpio: devm_gpio_* support should not depend on GPIOLIB

2013-01-17 Thread Shawn Guo
Some architectures (e.g. blackfin) provide gpio API without requiring GPIOLIB support (ARCH_WANT_OPTIONAL_GPIOLIB). devm_gpio_* functions should also work for these architectures, since they do not really depend on GPIOLIB. Add a new option GPIO_DEVRES (enabled by default) to control the build

[PATCH] ipack/devices/ipoctal: add missing rx_enable = 1

2013-01-17 Thread Samuel Iglesias Gonsalvez
There was a bug in the code when managing a GE IP-OCTAL-485 board. The RX would be enabled but we have a wrong state in the rx_enable flag. Then, if the user changes the terminal settings, RX would not be enabled again. Signed-off-by: Samuel Iglesias Gonsalvez ---

[PATCH v9 01/11] PCI, acpiphp: Add is_hotplug_bridge detection

2013-01-17 Thread Yinghai Lu
When system support hotplug bridge with children hotplug slots, we need to make sure that parent bridge get preallocated resource so later when device is plugged into children slot, those children devices will get resource allocated. We do not meet this problem, because for pcie hotplug card,

[PATCH v9 04/11] PCI: Fix a device reference count leakage issue in pci_dev_present()

2013-01-17 Thread Yinghai Lu
From: Jiang Liu Function pci_get_dev_by_id() will hold a reference count on the pci device returned, so pci_dev_present() should release the corresponding reference count to avoid memory leakage. Signed-off-by: Jiang Liu Acked-by: Rafael J. Wysocki Signed-off-by: Yinghai Lu ---

[PATCH v9 02/11] PCI: Add root bus children dev's res to fail list

2013-01-17 Thread Yinghai Lu
We can stop trying according to try_number now and do not need to use root_bus checking as stop sign. In extreme case we could need to reallocate resource for device just under root bus. For pci root bus hot-add, we need to retry to assign resources to pci devices just under pci root bus.

[PATCH] memory-hotplug: mm/Kconfig: move auto selects from MEMORY_HOTPLUG to MEMORY_HOTREMOVE as needed

2013-01-17 Thread Lin Feng
Since we have 2 config options called MEMORY_HOTPLUG and MEMORY_HOTREMOVE used for memory hot-add and hot-remove separately, and codes in function register_page_bootmem_info_node() are only used for collecting infomation for hot-remove(commit 04753278), so move it to MEMORY_HOTREMOVE. Besides

[PATCH v9 06/11] PCI, ACPI, acpiphp: Rename alloc_acpiphp_hp_work() to alloc_acpi_hp_work

2013-01-17 Thread Yinghai Lu
Will need to use it for pci root bridge hotplug support, rename *acpiphp* to *acpi* and move to osc.c. Also make kacpi_hotplug_wq static after that. Signed-off-by: Yinghai Lu Cc: Len Brown Cc: linux-a...@vger.kernel.org --- drivers/acpi/osl.c | 24 +++--

[PATCH v9 03/11] PCI: Set dev_node early for pci_dev

2013-01-17 Thread Yinghai Lu
Otherwise irq_desc for pci bridge with hot-added ioapic can not be on local node. Signed-off-by: Yinghai Lu Acked-by: Rafael J. Wysocki --- drivers/pci/probe.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index bbe4be7..dcef3b9 100644 ---

[PATCH v9 05/11] PCI: make PCI device create/destroy logic symmetric

2013-01-17 Thread Yinghai Lu
From: Jiang Liu According to device model documentation, the way to create/destroy PCI devices should be symmetric. /** * device_del - delete device from system. * @dev: device. * * This is the first part of the device unregistration * sequence. This removes the device from the lists we

[PATCH v9 09/11] PCI, acpiphp: Don't bailout even no slots found yet.

2013-01-17 Thread Yinghai Lu
Could have root bus hot added later and there may be slots that need acpiphp. Signed-off-by: Yinghai Lu --- drivers/pci/hotplug/acpiphp.h |1 - drivers/pci/hotplug/acpiphp_core.c | 23 ++- drivers/pci/hotplug/acpiphp_glue.c | 22 -- 3 files

[PATCH v9 11/11] PCI: Put pci dev to device tree as early as possible

2013-01-17 Thread Yinghai Lu
We want to put created pci device in the device tree as soon as possible. - just after we find it and create pci_dev struct for it. so for_pci_dev iteration will not miss them. But at that time, we can not load driver for them yet. Need to be after pci_assign_unsigned_resources() etc to make sure

[PATCH v9 08/11] PCI, ACPI: debug print for installation of acpi root bridge's notifier

2013-01-17 Thread Yinghai Lu
From: Tang Chen acpi_install_notify_handler() could fail. So check the exit status and give a better debug info. Signed-off-by: Tang Chen Signed-off-by: Yinghai Lu --- drivers/acpi/pci_root.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git

[PATCH v9 07/11] PCI, acpiphp: Move and enhance hotplug support of pci host bridge

2013-01-17 Thread Yinghai Lu
We have partial hot-add support in acpiphp driver, and it is confusing. Move host bridge hot-add support to pci_root.c, and keep acpiphp simple, also add hot-remove support in pci_root.c. How to test it: if sci_emu patch is applied, Find out root bus number to acpi root name mapping from dmesg

[PATCH v9 00/11] PCI, ACPI: pci root bus hotplug support / pci match_driver

2013-01-17 Thread Yinghai Lu
It includes 1. preparing patches for pci root bus hotadd/hotremove support 2. move root bus hotadd from acpiphp to pci_root.c 3. add hot-remove support 4. add acpi_hp_work to be shared with acpiphp and root-bus hotplug 5. add match_driver to add pci device to device tree early but not attach

[PATCH 2/3] dma: mv_xor: fix DMA-API error handling sanity check

2013-01-17 Thread Lubomir Rintel
Add error checking. --- drivers/dma/mv_xor.c | 27 ++- 1 files changed, 26 insertions(+), 1 deletions(-) diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index 8b81a04..d00a834 100644 --- a/drivers/dma/mv_xor.c +++ b/drivers/dma/mv_xor.c @@ -939,9 +939,21 @@

[PATCH 1/3] dma: mv_xor: do not sync the DMA buffer after being deallocated

2013-01-17 Thread Lubomir Rintel
DMA_CHECK was unhappy: mv_xor mv_xor.0: DMA-API: device driver tries to sync DMA memory it has not allocated [device address=0x1f3a1a40] [size=2000 bytes] Deallocation, which involves a sync, happens automatically by mv_xor_slot_cleanup() once the transfer is finished. Signed-off-by:

[PATCH 3/3] dma: mv_xor: get rid of a DMA-API sanity check warning

2013-01-17 Thread Lubomir Rintel
mv_xor mv_xor.0: DMA-API: device driver frees DMA memory with different direction [device address=0x1dea4000] [size=4096 bytes] [mapped with DMA_FROM_DEVICE] [unmapped with DMA_BIDIRECTIONAL] Change xor self test destination buffer allocation direction to bidirectional, as it's what

Re: [PATCH 2/2] dma: mv_xor: do not sync the DMA buffer after being deallocated

2013-01-17 Thread Lubomir Rintel
On Sun, 2013-01-13 at 14:18 +0100, Lubomir Rintel wrote: > On Fri, 2013-01-04 at 17:10 +0100, Thomas Petazzoni wrote: > > Dear Lubomir Rintel, > > > > On Thu, 27 Dec 2012 20:23:48 +0100, Lubomir Rintel wrote: > > > > > dma_sync_single_for_cpu(dma_chan->device->dev, dest_dma, > > >

[patch] module: potential deadlock in error path

2013-01-17 Thread Dan Carpenter
We take the lock twice if we hit this goto. Signed-off-by: Dan Carpenter diff --git a/kernel/module.c b/kernel/module.c index d25e359..2eefa7d 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -3239,8 +3239,10 @@ again: mutex_lock(_mutex); /* Find duplicate symbols (must be

[PATCH] libertas sdio: look for 8688 firmware in common location

2013-01-17 Thread Lubomir Rintel
sd8688 is not only used by libertas WiFi, but shared with btmrvl bluetooth as well. Signed-off-by: Lubomir Rintel --- drivers/net/wireless/libertas/if_sdio.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/libertas/if_sdio.c

Re: [PATCH v5 0/5] Add movablecore_map boot option

2013-01-17 Thread Yasuaki Ishimatsu
2013/01/18 15:25, H. Peter Anvin wrote: We already do DMI parsing in the kernel... Thank you for giving the infomation. Is your mention /sys/firmware/dmi/entries? If so, my box does not have memory information. My box has only type 0, 1, 2, 3, 4, 7, 8, 9, 38, 127 in DMI. At least, my box

[PATCH] bluetooth: btmrvl_sdio: look for sd8688 firmware in proper location

2013-01-17 Thread Lubomir Rintel
Signed-off-by: Lubomir Rintel --- drivers/bluetooth/btmrvl_sdio.c |8 drivers/bluetooth/btmrvl_sdio.h |6 -- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c index 3f4bfc8..bc27d01 100644 ---

Re: [PATCH] Bluetooth: btmrvl_sdio: look for sd8688 firmware in alternate place

2013-01-17 Thread Lubomir Rintel
On Tue, 2013-01-08 at 22:35 -0800, Marcel Holtmann wrote: > Hi Lubomir, > > > > > > linux-firmware ships the sd8688* firmware images that are shared with > > > > > libertas_sdio WiFi driver under libertas/. libertas_sdio looks in > > > > > both places > > > > > and so should we. > > > > > > > >

Re: [PATCH 3/4] Enable ecc-mode selection in the driver

2013-01-17 Thread Artem Bityutskiy
On Wed, 2013-01-16 at 12:43 +0100, Stefan Peter wrote: > Hi Andrew For some reasons I do not see your patches in the mailing lists which are in CC. -- Best Regards, Artem Bityutskiy signature.asc Description: This is a digitally signed message part

[PATCH] serial: lpc32xx: Fix fallout from tty_port conversion

2013-01-17 Thread Thierry Reding
A duplicate definition of the port variable was introduced in the interrupt handler, which causes the build to break. The fix is to rename the variable to tport, which is already properly used in subsequent code. Signed-off-by: Thierry Reding --- drivers/tty/serial/lpc32xx_hs.c | 2 +- 1 file

[PATCH] libertas sdio: remove CMD_FUNC_INIT call

2013-01-17 Thread Lubomir Rintel
It actually times out on a 8688 present in GuruPlug with sd8688.bin (md5=7233401e9687f8c880da547beed4324e) firmware (that's present in linux-firmware tree), but the adapter works fine. For that firmware times out with libertas_uap [1] as well, though it succeeds with sd8688_ap.bin

Re: [patch v1 2/5] regulator: da9055 change irq state to default

2013-01-17 Thread Mark Brown
On Fri, Jan 18, 2013 at 10:52:45AM +0530, Ashish Jangam wrote: > This patch changes the irq state from high to the now default low > state. > > This patch is dependent on the DA9055 MFD. Why is this change required and why is there a dependency here? -- To unsubscribe from this list: send the

[PATCH v2 1/2] ARM: shmobile: sh73a0: Use generic irqchip_init()

2013-01-17 Thread Thierry Reding
The asm/hardware/gic.h header does no longer exist and the corresponding functionality was moved to linux/irqchip.h and linux/irqchip/arm-gic.h respectively. gic_handle_irq() and of_irq_init() are no longer available either and have been replaced by irqchip_init(). Signed-off-by: Thierry Reding

[PATCH v2 2/2] ARM: shmobile: kzm9g: Don't use gic_handle_irq()

2013-01-17 Thread Thierry Reding
This function is no longer publicly available. However, the sh73a0 setup code now uses the generic irqchip infrastructure which will implicitly set the IRQ handler, so it's fine to drop its initialization from the machine definition. Signed-off-by: Thierry Reding --- Changes in v2: - new patch

Re: [PATCH V5 1/2] virtio-net: fix the set affinity bug when CPU IDs are not consecutive

2013-01-17 Thread Jason Wang
On 01/18/2013 02:25 PM, Wanlong Gao wrote: > On 01/18/2013 02:18 PM, Jason Wang wrote: >> On 01/18/2013 01:32 PM, Wanlong Gao wrote: >>> As Michael mentioned, set affinity and select queue will not work very >>> well when CPU IDs are not consecutive, this can happen with hot unplug. >>> Fix this

RE: [dm-devel] Announcement: STEC EnhanceIO SSD caching software for Linux kernel

2013-01-17 Thread Amit Kale
> > > The mq policy uses a multiqueue (effectively a partially > sorted > > > lru list) to keep track of candidate block hit counts. When > > > candidates get enough hits they're promoted. The promotion > > > threshold his periodically recalculated by looking at the hit > > >

Re: [PATCH] regulator: lp872x: Remove _rdev_to_offset() function

2013-01-17 Thread Mark Brown
On Fri, Jan 18, 2013 at 03:04:59PM +0800, Axel Lin wrote: > 2013/1/18 Mark Brown > > On Fri, Jan 18, 2013 at 10:29:59AM +0800, Axel Lin wrote: > > > There is only one caller calling _rdev_to_offset(), and the code > > > looks simper if we remove _rdev_to_offset(). Thus remove it. > > This

Re: [PATCH] ARM: shmobile: sh73a0: Use generic irqchip_init()

2013-01-17 Thread Thierry Reding
On Fri, Jan 18, 2013 at 09:05:17AM +0900, Simon Horman wrote: > On Thu, Jan 17, 2013 at 01:00:13PM +0100, Thierry Reding wrote: > > The asm/hardware/gic.h header does no longer exist and the corresponding > > functionality was moved to linux/irqchip.h and linux/irqchip/arm-gic.h > > respectively.

Re: [PATCH] Staging: comedi: addi_acpi_035: Fixed Camel Case Coding Style Issue

2013-01-17 Thread Dan Carpenter
On Thu, Jan 17, 2013 at 10:49:36PM -0500, Jake Champlin wrote: > Fixed camel case style issue. > No. That doesn't work at all. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH v2] pwm: pwm-tiehrpwm: Update the clock handling of pwm-tiehrpwm driver

2013-01-17 Thread Thierry Reding
On Fri, Jan 18, 2013 at 04:18:27AM +, Philip, Avinash wrote: > On Thu, Jan 17, 2013 at 21:22:18, Thierry Reding wrote: > > On Thu, Jan 10, 2013 at 06:35:26PM +0530, Philip Avinash wrote: > > > From: "Philip, Avinash" > > > > > > The clock framework has changed and it's now better to invoke >

[PATCHv4] tty: Added a CONFIG_TTY option to allow removal of TTY

2013-01-17 Thread Joe Millenbach
The option allows you to remove TTY and compile without errors. This saves space on systems that won't support TTY interfaces anyway. bloat-o-meter output is below. The bulk of this patch consists of Kconfig changes adding "depends on TTY" to various serial devices and similar drivers that

[PATCH 3/3] ARM: dts: AM33XX: Add NAND flash device tree data to am335x-evm

2013-01-17 Thread Philip Avinash
NAND flash connected in am335x-evm on GPMC controller. This patch adds device tree node in am335x-evm with GPMC controller timing for NAND flash interface, NAND partition table, ECC scheme, elm handle id, pin-mux setup. Signed-off-by: Philip Avinash --- arch/arm/boot/dts/am335x-evm.dts | 98

[PATCH 2/3] ARM: dts: AM33XX: Add GPMC node

2013-01-17 Thread Philip Avinash
From: "Philip, Avinash" Add GPMC data node to AM33XX device tree file. Signed-off-by: Philip Avinash --- arch/arm/boot/dts/am33xx.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index eaef5e7..f4209d8

[PATCH 1/3] ARM: dts: AM33XX: Add ELM node

2013-01-17 Thread Philip Avinash
From: "Philip, Avinash" Add ELM data node to AM33XX device tree file. Signed-off-by: Philip Avinash --- arch/arm/boot/dts/am33xx.dtsi |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index c2f14e8..eaef5e7 100644 ---

[PATCH 0/3] Add device tree support for NAND flash in am335x-evm

2013-01-17 Thread Philip Avinash
This patch series adds device tree support for NAND flash in am335x-evm. Also ELM node is populated in device tree and been used for BCH error correction in NAND flash part. Also this patch series ensures RBL ecc layout maintained in Linux kernel with BCH8 ecc scheme. This patch series based on

Re: [PATCH v7] usb: phy: samsung: Add support to set pmu isolation

2013-01-17 Thread Vivek Gautam
HI Kukjin, On Fri, Jan 18, 2013 at 6:46 AM, Kukjin Kim wrote: > Vivek Gautam wrote: >> >> Adding support to parse device node data in order to get >> required properties to set pmu isolation for usb-phy. >> >> Signed-off-by: Vivek Gautam >> Reviewed-by: Sylwester Nawrocki >> Reviewed-by: Doug

Re: [PATCH v2 0/8] Add O_DENY* support for VFS and CIFS/NFS

2013-01-17 Thread Pavel Shilovsky
2013/1/18 Stephen Rothwell : > Hi Pavel, > > On Thu, 17 Jan 2013 20:52:09 +0400 Pavel Shilovsky > wrote: >> >> This patchset adds support of O_DENY* flags for Linux fs layer. These flags >> can be used by any application that needs share reservations to organize a >> file access. VFS already

Re: [PATCH] ARM: shmobile: armadillo800eva: set clock rates before timer init

2013-01-17 Thread Kuninori Morimoto
> Previously clock rates were set after initialization of timer. > Therefore the timer used the default extal1 clock rate (25MHz) > instead of the correct rate for this board (24MHz). > > Signed-off-by: Hideki EIRAKU > --- > arch/arm/mach-shmobile/board-armadillo800eva.c | 5 +++-- > 1 file

Re: [PATCH v5 0/5] Add movablecore_map boot option

2013-01-17 Thread H. Peter Anvin
We already do DMI parsing in the kernel... Yasuaki Ishimatsu wrote: >2013/01/18 5:28, KOSAKI Motohiro wrote: >> On 1/17/2013 11:30 AM, Luck, Tony wrote: 2. If the user *does* care which nodes are movable, then the user >needs to be able to specify that *in a way that makes sense to

Re: [PATCH V5 1/2] virtio-net: fix the set affinity bug when CPU IDs are not consecutive

2013-01-17 Thread Wanlong Gao
On 01/18/2013 02:18 PM, Jason Wang wrote: > On 01/18/2013 01:32 PM, Wanlong Gao wrote: >> As Michael mentioned, set affinity and select queue will not work very >> well when CPU IDs are not consecutive, this can happen with hot unplug. >> Fix this bug by traversal the online CPUs, and create a per

Re: [PATCH] regulator: lp872x: Remove _rdev_to_offset() function

2013-01-17 Thread Mark Brown
On Fri, Jan 18, 2013 at 10:29:59AM +0800, Axel Lin wrote: > There is only one caller calling _rdev_to_offset(), and the code > looks simper if we remove _rdev_to_offset(). Thus remove it. This doesn't seem to apply to topic/lp872x? -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH V5 2/2] virtio-net: reset virtqueue affinity when doing cpu hotplug

2013-01-17 Thread Jason Wang
On 01/18/2013 01:32 PM, Wanlong Gao wrote: > Add a cpu notifier to virtio-net, so that we can reset the > virtqueue affinity if the cpu hotplug happens. It improve > the performance through enabling or disabling the virtqueue > affinity after doing cpu hotplug. > > Cc: Rusty Russell > Cc:

Re: [PATCH V5 1/2] virtio-net: fix the set affinity bug when CPU IDs are not consecutive

2013-01-17 Thread Jason Wang
On 01/18/2013 01:32 PM, Wanlong Gao wrote: > As Michael mentioned, set affinity and select queue will not work very > well when CPU IDs are not consecutive, this can happen with hot unplug. > Fix this bug by traversal the online CPUs, and create a per cpu variable > to find the mapping from CPU to

[PATCH v3 4/4] usb: Add APIs to access host registers from Tegra PHY

2013-01-17 Thread Venu Byravarasu
As Tegra PHY driver needs to access one of the Host registers, added few APIs. Signed-off-by: Venu Byravarasu --- delta from v2: Renamed USB_PORTSC1 to TEGRA_USB_PORTSC1. Removed tegra_ehci_set_wakeon_events() and its references. Used standard defines for accessing PORTSC fields defined in

Re: [PATCH 1/2] regulator: wm8994: Convert wm8994_ldo2_ops to use regulator_list_voltage_linear

2013-01-17 Thread Mark Brown
On Fri, Jan 18, 2013 at 11:58:33AM +0800, Axel Lin wrote: > + /* LDO2, id starts from 0 */ > + if (id == 1) { > + switch (wm8994->type) { > + case WM8994: > + wm8994_ldo_desc[id].min_uV = 90; > +

Re: [patch v1 4/5] rtc: da9055 change irq state to default

2013-01-17 Thread devendra.aaru
On Fri, Jan 18, 2013 at 12:26 AM, Ashish Jangam wrote: > This patch changes the irq state from high to the now default low > state. > will you please provide more info on why do we need to set it to low state? > This patch is dependent on the DA9055 MFD. > > This patch is tested on smdk6410

Re: [PATCH v5 0/5] Add movablecore_map boot option

2013-01-17 Thread Yasuaki Ishimatsu
2013/01/18 5:28, KOSAKI Motohiro wrote: On 1/17/2013 11:30 AM, Luck, Tony wrote: 2. If the user *does* care which nodes are movable, then the user needs to be able to specify that *in a way that makes sense to the user*. This may mean involving the DMI information as well as SRAT in order to

[PATCH] ARM: tegra: DTS: whistler: enable keyboard

2013-01-17 Thread Laxman Dewangan
Enable tegra based keyboard controller and populate the key mapping for whistler. With this patch, HOME, BACK, POWER and MENU keys will work. Still other keys which are in ROW3 and ROW4 will not work as it conflicts with KBC pins on SDIO2 pinmux. Signed-off-by: Laxman Dewangan --- Stephen, Not

RE: [PATCH v2 4/4] usb: Add APIs to access host registers from Tegra PHY

2013-01-17 Thread Venu Byravarasu
> -Original Message- > From: Venu Byravarasu > Sent: Friday, January 18, 2013 10:26 AM > To: 'Alan Stern' > Cc: gre...@linuxfoundation.org; ba...@ti.com; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; swar...@wwwdotorg.org; linux- > te...@vger.kernel.org > Subject: RE: [PATCH

RE: [PATCH v2 4/4] usb: Add APIs to access host registers from Tegra PHY

2013-01-17 Thread Venu Byravarasu
> -Original Message- > From: Alan Stern [mailto:st...@rowland.harvard.edu] > Sent: Thursday, January 17, 2013 9:34 PM > To: Felipe Balbi > Cc: Venu Byravarasu; gre...@linuxfoundation.org; linux- > u...@vger.kernel.org; linux-kernel@vger.kernel.org; > swar...@wwwdotorg.org;

Re: BUG at net/sunrpc/svc_xprt.c:921

2013-01-17 Thread Stanislav Kinsbursky
18.01.2013 03:41, Mark Lord пишет: On 13-01-17 08:24 AM, Stanislav Kinsbursky wrote: .. This looks like the old issue I was trying to fix with "SUNRPC: protect service sockets lists during per-net shutdown". So, here is the problem as I see it: there is a transport, which is processed by

[PATCH RESEND] pci-sysfs: replace mutex_lock with mutex_trylock to avoid potential deadlock situation

2013-01-17 Thread Gu Zheng
There is a potential deadlock situation when we manipulate the pci-sysfs user interfaces from different bus hierarchy simultaneously, described as following: path1: sysfs remove device: | path2: sysfs rescan device: sysfs_schedule_callback_work() | sysfs_write_file()

[PATCH V5 1/2] virtio-net: fix the set affinity bug when CPU IDs are not consecutive

2013-01-17 Thread Wanlong Gao
As Michael mentioned, set affinity and select queue will not work very well when CPU IDs are not consecutive, this can happen with hot unplug. Fix this bug by traversal the online CPUs, and create a per cpu variable to find the mapping from CPU to the preferable virtual-queue. Cc: Rusty Russell

[PATCH V5 2/2] virtio-net: reset virtqueue affinity when doing cpu hotplug

2013-01-17 Thread Wanlong Gao
Add a cpu notifier to virtio-net, so that we can reset the virtqueue affinity if the cpu hotplug happens. It improve the performance through enabling or disabling the virtqueue affinity after doing cpu hotplug. Cc: Rusty Russell Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Eric Dumazet Cc:

[Patch v1 5/5] onkey: da9055 change irq state to default

2013-01-17 Thread Ashish Jangam
This patch changes the irq state from high to the now default low state. This patch is dependent on the DA9055 MFD. This patch is tested on smdk6410 board. Signed-off-by: Ashish Jangam --- drivers/input/misc/da9055_onkey.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

Re: [RFC 1/8] Introduce new system call mvolatile

2013-01-17 Thread Minchan Kim
On Wed, Jan 16, 2013 at 05:48:37PM -0800, John Stultz wrote: > On 01/02/2013 08:27 PM, Minchan Kim wrote: > >This patch adds new system call m[no]volatile. > >If someone asks is_volatile system call, it could be added, too. > > So some nits below from my initial playing around with this patchset.

Re: [RFC PATCH 3/6] usb: otg: utils: change the phy lib to support multiple PHYs of same type

2013-01-17 Thread kishon
Hi, On Thursday 17 January 2013 09:37 PM, Roger Quadros wrote: On 01/16/2013 05:00 PM, Kishon Vijay Abraham I wrote: In order to add support for multipe PHY's of the same type, the API's for adding PHY and getting PHY has been changed. Now the binding information of the PHY and controller

[patch v1 4/5] rtc: da9055 change irq state to default

2013-01-17 Thread Ashish Jangam
This patch changes the irq state from high to the now default low state. This patch is dependent on the DA9055 MFD. This patch is tested on smdk6410 board. Signed-off-by: Ashish Jangam --- drivers/rtc/rtc-da9055.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[patch v1 3/5] hwmon: da9055 change irq state to default

2013-01-17 Thread Ashish Jangam
This patch changes the irq state from high to the now default low state. This patch is dependent on the DA9055 MFD. This patch is tested on smdk6410 board. Signed-off-by: Ashish Jangam --- drivers/hwmon/da9055-hwmon.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[Announce] sg3_utils-1.35 available

2013-01-17 Thread Douglas Gilbert
for sg3_utils-1.35 [20130117] [svn: r476] - sg_compare_and_write: new utility - sg_inq+sg_vpd: block device characteristics VPD page: add product_type, WABEREQ, WACEREQ and VBULS fields - sg_inq: more --export option changes for udev - sg_vpd: add more rdac vendor specific vpd pages

[patch v1 2/5] regulator: da9055 change irq state to default

2013-01-17 Thread Ashish Jangam
This patch changes the irq state from high to the now default low state. This patch is dependent on the DA9055 MFD. This patch is tested on smdk6410 board. Signed-off-by: Ashish Jangam --- drivers/regulator/da9055-regulator.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

Re: Redefinition of struct in6_addr in and

2013-01-17 Thread Mike Frysinger
On Thursday 17 January 2013 23:55:24 David Miller wrote: > From: Mike Frysinger > > the kernel already exports many types with a __kernel_ prefix. i changed > > the kernel headers in Gentoo for a few releases (2.6.28 - 2.6.34) to do > > the same thing to pretty much all the networking headers.

[patch v1 1/5] mfd: da9055 change irq state to default

2013-01-17 Thread Ashish Jangam
This patch changes the irq state from high to the now default low state. This patch is tested on smdk6410 board. Signed-off-by: Ashish Jangam --- drivers/mfd/da9055-core.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mfd/da9055-core.c

Re: [PATCH 24/86] arch/blackfin: remove depends on CONFIG_EXPERIMENTAL

2013-01-17 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part.

[PATCH] ARM: shmobile: armadillo800eva: set clock rates before timer init

2013-01-17 Thread Hideki EIRAKU
Previously clock rates were set after initialization of timer. Therefore the timer used the default extal1 clock rate (25MHz) instead of the correct rate for this board (24MHz). Signed-off-by: Hideki EIRAKU --- arch/arm/mach-shmobile/board-armadillo800eva.c | 5 +++-- 1 file changed, 3

[PATCH v3] gpio: vt8500: memory cleanup missing

2013-01-17 Thread Tony Prisk
This driver is missing a .remove callback, and the fail path on probe is incomplete. If an error occurs in vt8500_add_chips, gpio_base is not unmapped. The driver is also ignoring the return value from this function so if a chip fails to register it completes as successful. Replaced pr_err with

[PATCH] ARM: OMAP: gpmc: Add device tree documentation for elm handle

2013-01-17 Thread Philip Avinash
In case ELM module available, omap2 NAND driver can opt for hardware correction method for bit flip errors in NAND flash with BCH. Hence the detection of ELM module is done through devicetree population of elm_id. This patch update device tree documentation for gpmc-nand for elm-id data

RE: [PATCH v2 4/4] usb: Add APIs to access host registers from Tegra PHY

2013-01-17 Thread Venu Byravarasu
> -Original Message- > From: Alan Stern [mailto:st...@rowland.harvard.edu] > Sent: Thursday, January 17, 2013 8:45 PM > To: Venu Byravarasu > Cc: gre...@linuxfoundation.org; ba...@ti.com; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; swar...@wwwdotorg.org; linux- >

Re: Redefinition of struct in6_addr in and

2013-01-17 Thread David Miller
From: Mike Frysinger Date: Thu, 17 Jan 2013 23:14:31 -0500 > the kernel already exports many types with a __kernel_ prefix. i changed the > kernel headers in Gentoo for a few releases (2.6.28 - 2.6.34) to do the same > thing to pretty much all the networking headers. a few packages broke,

Re: [RFC][PATCH v2] slub: Keep page and object in sync in slab_alloc_node()

2013-01-17 Thread Joonsoo Kim
Hello, Steven. On Thu, Jan 17, 2013 at 07:28:44PM -0500, Steven Rostedt wrote: > In slab_alloc_node(), after the cpu_slab is assigned, if the task is > preempted and moves to another CPU, there's nothing keeping the page and > object in sync. The -rt kernel crashed because page was NULL and

linux-next: Tree for Jan 18

2013-01-17 Thread Stephen Rothwell
Hi all, Changes since 20130117: Undropped tree: samung The powerpc tree still had a build failure. The driver-core tree gained a build failure for which I applied a merge fix patch. The gpio-lw tree gained a build failure so I used the version from next-20130117. The samsung tree lost

RE: [linux-pm] [PATCH] cpufreq: exynos: Show list of available frequencies

2013-01-17 Thread Kukjin Kim
amit kachhap wrote: > > On Tue, Jan 8, 2013 at 2:50 AM, Inderpal Singh > wrote: > > Add freq_attr attribute to show list of available frequencies. > > > > Signed-off-by: Donggeun Kim > > Signed-off-by: MyungJoo Ham > > Signed-off-by: KyungMin Park > > Signed-off-by: Inderpal Singh > > --- >

[PATCH 1/1] Drivers: hv: Bind all vmbbus interrupts to the boot CPU

2013-01-17 Thread K. Y. Srinivasan
The default interrupt delivery model in Linux does not support the Hyper-V vmbus delivery model when the guest is configured with multiple VCPUs. I have sent a patch to address this - delivering the vmbus interrupt on a separate IDT vector. Until this patch is applied, bind all vmbus interrupts to

Re: Redefinition of struct in6_addr in and

2013-01-17 Thread Mike Frysinger
On Thursday 17 January 2013 23:22:26 Carlos O'Donell wrote: > On Thu, Jan 17, 2013 at 11:20 PM, Mike Frysinger wrote: > > On Wednesday 16 January 2013 22:15:38 David Miller wrote: > >> From: Carlos O'Donell > >> Date: Wed, 16 Jan 2013 21:15:03 -0500 > >> > >> > +/* If a glibc-based userspace

Re: Redefinition of struct in6_addr in and

2013-01-17 Thread Carlos O'Donell
On Thu, Jan 17, 2013 at 11:20 PM, Mike Frysinger wrote: > On Wednesday 16 January 2013 22:15:38 David Miller wrote: >> From: Carlos O'Donell >> Date: Wed, 16 Jan 2013 21:15:03 -0500 >> >> > +/* If a glibc-based userspace has already included in.h, then we will >> > not + * define in6_addr (nor

RE: [PATCH v2 2/2] pwm: pwm-tiecap: Low power sleep support

2013-01-17 Thread Philip, Avinash
On Thu, Jan 17, 2013 at 21:29:14, Thierry Reding wrote: > On Thu, Jan 17, 2013 at 02:50:03PM +0530, Philip Avinash wrote: > > In low power modes of AM33XX platforms, peripherals power is cut off. > > This patch supports low power sleep transition support for ECAP driver. > > > > Signed-off-by:

RE: [PATCH v2 1/2] pwm: pwm-tiehrpwm: Low power sleep support

2013-01-17 Thread Philip, Avinash
On Thu, Jan 17, 2013 at 21:29:04, Thierry Reding wrote: > On Thu, Jan 17, 2013 at 02:50:02PM +0530, Philip Avinash wrote: > > In low power modes of AM33XX platforms, peripherals power is cut off. > > This patch supports low power sleep transition support for EHRPWM > > driver. > > > >

RE: [PATCH v2] pwm: pwm-tiehrpwm: Update the clock handling of pwm-tiehrpwm driver

2013-01-17 Thread Philip, Avinash
On Thu, Jan 17, 2013 at 21:22:18, Thierry Reding wrote: > On Thu, Jan 10, 2013 at 06:35:26PM +0530, Philip Avinash wrote: > > From: "Philip, Avinash" > > > > The clock framework has changed and it's now better to invoke > > clock_prepare_enable() and clk_disable_unprepare() rather than the > >

Re: Redefinition of struct in6_addr in and

2013-01-17 Thread Mike Frysinger
On Wednesday 16 January 2013 22:15:38 David Miller wrote: > From: Carlos O'Donell > Date: Wed, 16 Jan 2013 21:15:03 -0500 > > > +/* If a glibc-based userspace has already included in.h, then we will > > not + * define in6_addr (nor the defines), sockaddr_in6, or ipv6_mreq. > > The + * ABI used

Re: Redefinition of struct in6_addr in and

2013-01-17 Thread Carlos O'Donell
On 01/16/2013 10:22 PM, YOSHIFUJI Hideaki wrote: > Carlos O'Donell wrote: >> diff --git a/include/uapi/linux/in6.h b/include/uapi/linux/in6.h >> index f79c372..a2b16a5 100644 >> --- a/include/uapi/linux/in6.h >> +++ b/include/uapi/linux/in6.h >> @@ -23,6 +23,13 @@ >> >> #include >> >> +/* If a

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

2013-01-17 Thread Greg KH
On Fri, Jan 18, 2013 at 01:29:04PM +1100, Stephen Rothwell wrote: > Hi Greg, > > After merging the driver-core tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > In file included from drivers/net/wireless/ath/wil6210/wil6210.h:24:0, > from

Re: Redefinition of struct in6_addr in and

2013-01-17 Thread Mike Frysinger
On Wednesday 16 January 2013 16:45:11 David Miller wrote: > What would be really nice is if GCC treated multiple identical > definitions of structures the same way it handles multiple identical > definitions of CPP defines. Which is to silently accept them. > > But that's not the case, so we

Re: [RFC] ktap: Another dynamic tracing tool for Linux

2013-01-17 Thread Jovi Zhang
On Fri, Jan 18, 2013 at 11:35 AM, Frank Ch. Eigler wrote: > Hi - > > On Fri, Jan 18, 2013 at 09:24:55AM +0800, Jovi Zhang wrote: >> Let us continue this ktap topic in this thread :). >> ktap code is public available at github, please clone from: >> https://github.com/ktap/ktap.git >> [...] > >

[PATCH 2/2] regulator: wm8994: Merge wm8994_ldo1_ops and wm8994_ldo2_ops

2013-01-17 Thread Axel Lin
wm8994_ldo1_ops and wm8994_ldo2_ops are the same after converting wm8994_ldo2_ops to use regulator_list_voltage_linear, merge them. Signed-off-by: Axel Lin --- drivers/regulator/wm8994-regulator.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git

[PATCH 1/2] regulator: wm8994: Convert wm8994_ldo2_ops to use regulator_list_voltage_linear

2013-01-17 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/wm8994-regulator.c | 57 -- 1 file changed, 26 insertions(+), 31 deletions(-) diff --git a/drivers/regulator/wm8994-regulator.c b/drivers/regulator/wm8994-regulator.c index 6ff8723..fef2692 100644 ---

RE: [PATCH] arm: mach-s3c24xx/common.c: fix uninitialized variable warning

2013-01-17 Thread Kukjin Kim
Cong Ding wrote: > > the use of variable tmp is uninitialized, so we fix it. > > Signed-off-by: Cong Ding > --- > arch/arm/mach-s3c24xx/common.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/mach-s3c24xx/common.c b/arch/arm/mach- > s3c24xx/common.c >

Re: [ 36/71] ext4: lock i_mutex when truncating orphan inodes

2013-01-17 Thread Theodore Ts'o
On Fri, Jan 18, 2013 at 01:47:48AM -0200, Herton Ronaldo Krzesinski wrote: > > > By the description and looking at commit c278531d39, this change isn't > > > needed for 3.0 or 3.4 kernels (anything <= 3.6), they don't contain > > > commit c278531d39. > > > > Ah, good catch. Should this be

RE: [PATCH v4 0/3] mtd: nand: OMAP: ELM error correction support for BCH ecc

2013-01-17 Thread Philip, Avinash
On Thu, Jan 17, 2013 at 17:36:15, Artem Bityutskiy wrote: > On Wed, 2013-01-16 at 12:22 +, Philip, Avinash wrote: > > > This series is based on linux 3.8-rc2 and tested with [1]. > > > Also this patch series depend on [1] for NAND flash device > > > tree data and gpmc nand device tree binding

Linux 3.8-rc4

2013-01-17 Thread Linus Torvalds
Hey, it's been another week already! In fact, it took me so much by surprise that it's been an extra day. The whole "release in the middle of the week" thing feels odd to me. [ That actually got me to wonder what the most common day was, and statistically I definitely do most releases on Sunday.

[GIT PULL] (xen) stable/for-linus-3.8-rc3-tag

2013-01-17 Thread Konrad Rzeszutek Wilk
Hello Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-linus-3.8-rc3-tag which has fixes that have been accumulating since rc0 Fixes: - CVE-2013-0190/XSA-40 (or stack corruption for 32-bit PV kernels) - Fix racy vma access

Re: [PATCH 1/4] x86/wakeup/sleep: Check whether the TSS GDT descriptor is empty before using it.

2013-01-17 Thread Konrad Rzeszutek Wilk
On Wed, Oct 17, 2012 at 05:03:09PM -0700, H. Peter Anvin wrote: > On 10/17/2012 06:49 AM, Konrad Rzeszutek Wilk wrote: > >We check the TSS descriptor before we try to dereference it. > >Also fix up the value to use the #defines. > > > >Signed-off-by: Konrad Rzeszutek Wilk > >--- > >

Re: [PATCH 2/4] xen/lowlevel: Implement pvop call for load_idt (sidt).

2013-01-17 Thread Konrad Rzeszutek Wilk
On Wed, Oct 17, 2012 at 04:51:17PM -0700, H. Peter Anvin wrote: > On 10/17/2012 06:49 AM, Konrad Rzeszutek Wilk wrote: > >In the past it used to point to 'sidt' (native_store_idt) operation > >which is a non-privileged operation. This resulted in the > >'struct desc_ptr' value containing the

  1   2   3   4   5   6   7   8   9   10   >