Re: Oops: 17 SMP ARM (v3.16-rc2)

2014-08-27 Thread Iain Paton
On 27/08/14 07:32, Mattis Lorentzon wrote: > Hi Iain, Russell and Fabio, > >> The config is attached. Note that there's a lot of additional stuff enabled >> as >> I'm aiming for a single general purpose kernel that covers i.MX6, AM3359, >> Allwinner A10/A20 along with several versions of boards u

Re: [RESEND PATCH v2 1/4] irqchip: gic: Change irq type check when extension is present

2014-08-27 Thread Marc Zyngier
Hi Jan, On 27/08/14 10:55, Jan Lübbe wrote: > Marc, > > On Fri, 2014-08-22 at 12:09 +0100, Marc Zyngier wrote: >> Here, you're using it to program something that sits between the >> device and the GIC. This is a separate block, with its own hardware >> configuration, that modifies the interrupt s

Re: [PATCH 2/2] arm64: take onlined cpus into account when setting irq affinity in migrate_one_irq

2014-08-27 Thread Sudeep Holla
On 27/08/14 10:30, byungchul.p...@lge.com wrote: From: Byungchul Park This patch ensures that the cpu being offlined is not present in the affinity mask. I agree that this patch fixes the issue reported in [1] without disabling forced set affinity mask. However Thomas responded yesterday

Re: [RFC PATCH 0/9] dt: dependencies (for deterministic driver initialization order based on the DT)

2014-08-27 Thread Grant Likely
On Tue, 26 Aug 2014 11:11:07 +0100, Mark Rutland wrote: > On Tue, Aug 26, 2014 at 10:42:04AM +0100, Alexander Holler wrote: > > Am 26.08.2014 10:49, schrieb Thierry Reding: > > > On Tue, Aug 26, 2014 at 09:42:08AM +0100, Grant Likely wrote: > > >> On Mon, 25 Aug 2014 15:37:16 +0200, Thierry Reding

Re: [PATCH] usb: hub: Prevent hub autosuspend if usbcore.autosuspend is -1

2014-08-27 Thread Roger Quadros
On 08/04/2014 05:07 PM, Alan Stern wrote: > On Mon, 4 Aug 2014, Roger Quadros wrote: > >> If user specifies that USB autosuspend must be disabled by module >> parameter "usbcore.autosuspend=-1" then we must prevent >> autosuspend of USB hub devices as well. >> >> commit 596d789a211d introduced in

[PATCH 4/4] net: stmmac: add MSI support for Intel Quark X1000

2014-08-27 Thread Kweh Hock Leong
From: "Kweh, Hock Leong" In Intel Quark SoC X1000, both of the Ethernet controllers support MSI interrupt handling. This patch enables them to use MSI interrupt servicing in stmmac_pci for Intel Quark X1000. Signed-off-by: Kweh, Hock Leong Reviewed-by: Ong, Boon Leong --- drivers/net/ethernet

[PATCH 0/4] net: stmmac: Enable Intel Quark SoC X1000 Ethernet support

2014-08-27 Thread Kweh Hock Leong
From: "Kweh, Hock Leong" Hi, Intel Quark X1000 SoC has 2 Ethernet controllers integrated on chip and they are PCI devices. We adopted the stmmac_pci driver and added on code to support Intel Quark SoC X1000 by creating the patchset below. The patchset has been built and tested on Galileo board a

Re: [PATCH] of: Fix memory block alignment in early_init_dt_add_memory_arch()

2014-08-27 Thread Grant Likely
On Wed, 20 Aug 2014 17:10:31 +0200, Geert Uytterhoeven wrote: > If a memory block is not aligned to PAGE_SIZE, its base address must be > rounded up, not down, and its size must be reduced. > > Signed-off-by: Geert Uytterhoeven Looks reasonable. What is the situation that exposed this problem?

Re: [PATCH V2] efi_high_alloc: use EFI_ALLOCATE_MAX_ADDRESS

2014-08-27 Thread Matt Fleming
On Mon, 25 Aug, at 04:33:54PM, Harald Hoyer wrote: > > So is that ok, if other callers of efi_high_alloc() get an address > > 4GB? Yeah, the issue at hand is that some x86 EFI firmware cannot perform a file read into a buffer above 4G. The actual allocation works fine. If other callers want a hi

Re: [PATCH v3 2/2] xen/setup: Remap Xen Identity Mapped RAM

2014-08-27 Thread David Vrabel
On 11/08/14 18:34, Matt Rushton wrote: > Instead of ballooning up and down dom0 memory this remaps the existing mfns > that were replaced by the identity map. The reason for this is that the > existing implementation ballooned memory up and and down which caused dom0 > to have discontiguous pages.

[PATCH 2/4] net: stmmac: better code manageability with platform data struct

2014-08-27 Thread Kweh Hock Leong
From: "Kweh, Hock Leong" Introduce additional struct to hold platform info for pci device. It is used to store features that are supported by specific chip vendor. This code change helps to expand further to support more platform vendors and this implementation promotes better code manageability

[PATCH 1/4] net: stmmac: enhance to support multiple device instances

2014-08-27 Thread Kweh Hock Leong
From: "Kweh, Hock Leong" The original stmmac_pci code only supports single ethernet controller instance. This modification allows the driver to support multiple stmicro ethernet controller instances by converting the static global variables plat_dat, mdio_data & dma_cfg to dynamic allocation. Th

[PATCH 3/4] net: stmmac: add support for Intel Quark X1000

2014-08-27 Thread Kweh Hock Leong
From: "Kweh, Hock Leong" The Intel Quark SoC X1000 provides two 10/100 Mbps Ethernet MAC controllers which may or may not be connected to PHY on board. This MAC controller only supports RMII PHY. Besides adding Quark PCI ID to this driver, this patch introduces run-time board detection through D

Re: [PATCH] drivers/xen/grant-table.c: Be sure of unsigned value never comparing with 0

2014-08-27 Thread Chen Gang
On 8/27/14 18:06, David Vrabel wrote: > > Applied to devel/for-linus-3.18 with this description: > > xen/grant-table: refactor error cleanup in grow_gnttab_list() > > The cleanup loop in grow_gnttab_list() is safe from the underflow of > the unsigned 'i' since nr_glist_frames is >= 1

Re: [PATCH 06/15] drm/exynos/ipp: free partially allocated resources on error

2014-08-27 Thread Andrzej Hajda
On 08/26/2014 07:00 AM, Joonyoung Shim wrote: > Hi Andrzej, > > On 08/22/2014 04:52 PM, Andrzej Hajda wrote: >> In case of allocation errors some already allocated buffers >> were not freed. The patch fixes it. >> >> Signed-off-by: Andrzej Hajda >> --- >> drivers/gpu/drm/exynos/exynos_drm_ipp.c |

[PATCH v4 3/6] kvm: Make init_rmode_identity_map() return 0 on success.

2014-08-27 Thread Tang Chen
In init_rmode_identity_map(), there two variables indicating the return value, r and ret, and it return 0 on error, 1 on success. The function is only called by vmx_create_vcpu(), and r is redundant. This patch removes the redundant variable r, and make init_rmode_identity_map() return 0 on succes

[PATCH v4 2/6] kvm: Remove ept_identity_pagetable from struct kvm_arch.

2014-08-27 Thread Tang Chen
kvm_arch->ept_identity_pagetable holds the ept identity pagetable page. But it is never used to refer to the page at all. In vcpu initialization, it indicates two things: 1. indicates if ept page is allocated 2. indicates if a memory slot for identity page is initialized Actually, kvm_arch->ept_i

[PATCH v4 0/6] kvm, mem-hotplug: Do not pin ept identity pagetable and apic access page.

2014-08-27 Thread Tang Chen
ept identity pagetable and apic access page in kvm are pinned in memory. As a result, they cannot be migrated/hot-removed. But actually they don't need to be pinned in memory. [For ept identity page] Just do not pin it. When it is migrated, guest will be able to find the new page in the next ept

Re: [PATCH/RFC 2/2] lib: string: Make all calls to strnicmp into calls to strncasecmp

2014-08-27 Thread Dan Carpenter
On Wed, Aug 27, 2014 at 11:13:16AM +0200, Rasmus Villemoes wrote: > Anyway, I was also planning on sending tree-wide patches doing > s/strnicmp/strncasecmp/, and then removing the hack from string.h, but I > first wanted to get feedback on the first patch and maybe some guidance > on how to properl

[PATCH v4 4/6] kvm, mem-hotplug: Reload L1' apic access page on migration in vcpu_enter_guest().

2014-08-27 Thread Tang Chen
apic access page is pinned in memory. As a result, it cannot be migrated/hot-removed. Actually, it is not necessary to be pinned. The hpa of apic access page is stored in VMCS APIC_ACCESS_ADDR pointer. When the page is migrated, kvm_mmu_notifier_invalidate_page() will invalidate the corresponding

[PATCH v4 5/6] kvm, mem-hotplug: Reload L1's apic access page on migration when L2 is running.

2014-08-27 Thread Tang Chen
This patch only handle "L1 and L2 vm share one apic access page" situation. When L1 vm is running, if the shared apic access page is migrated, mmu_notifier will request all vcpus to exit to L0, and reload apic access page physical address for all the vcpus' vmcs (which is done by patch 5/6). And

[PATCH v4 1/6] kvm: Use APIC_DEFAULT_PHYS_BASE macro as the apic access page address.

2014-08-27 Thread Tang Chen
We have APIC_DEFAULT_PHYS_BASE defined as 0xfee0, which is also the address of apic access page. So use this macro. Signed-off-by: Tang Chen --- arch/x86/kvm/svm.c | 3 ++- arch/x86/kvm/vmx.c | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/x86/kvm/svm.c b/arc

[PATCH v4 6/6] kvm, mem-hotplug: Do not pin apic access page in memory.

2014-08-27 Thread Tang Chen
gfn_to_page() will finally call hva_to_pfn() to get the pfn, and pin the page in memory by calling GUP functions. This function unpins the page. After this patch, acpi access page is able to be migrated. Signed-off-by: Tang Chen --- arch/x86/kvm/vmx.c | 2 +- arch/x86/kvm/x86.c |

Re: [PATCH 11/14] ARM: brcmstb: delete unneeded test before of_node_put

2014-08-27 Thread Dan Carpenter
On Wed, Aug 13, 2014 at 11:53:10PM -0700, Brian Norris wrote: > > > > cleanup: > > > > - if (syscon_np) > > > > - of_node_put(syscon_np); > > > > - > > > > + of_node_put(syscon_np); > > > > +out: > > > > > > Is there a good reason for this new label? I thought part of th

Re: [PATCH] mac80211: Replace rcu_dereference() with rcu_access_pointer()

2014-08-27 Thread Johannes Berg
On Sun, 2014-08-17 at 16:18 +0300, Andreea-Cristina Bernat wrote: > The "rcu_dereference()" calls are used directly in conditions. > Since their return values are never dereferenced it is recommended to > use "rcu_access_pointer()" instead of "rcu_dereference()". > Therefore, this patch makes the r

Re: [PATCH v3 part1 0/4] Fix SG_IO ambiguity between READ SUBCHANNEL and UNMAP (and other similar cases)

2014-08-27 Thread Paolo Bonzini
Il 27/08/2014 11:34, Luis Henriques ha scritto: > > The SG_IO ioctl's command whitelist is designed for MMC devices (roughly, > > "play/burn CDs without requiring root") but some opcodes overlap across SCSI > > device classes and have different meanings for different classes. > > > > To fix this,

[PATCH] power_supply: Add boot and calibration attributes

2014-08-27 Thread Ramakrishna Pallala
Usually PMIC's come with coulomb counting mechanism which can be used to implement a Fuel Gauginig solution in Software itself. One of key input to these SW Fuel Gauge solutioons is the boot up parameters like boot voltage and boot current. This patch adds the VOLTAGE_BOOT and CURRENT_BOOT power s

Re: [PATCH] drivers/xen/grant-table.c: Be sure of unsigned value never comparing with 0

2014-08-27 Thread David Vrabel
On 26/08/14 20:42, Chen Gang wrote: > On 08/27/2014 01:03 AM, David Vrabel wrote: >> On 26/08/14 16:38, Chen Gang wrote: >>> In grow_gnttab_list(), 'i' is 'unsigned int', and 'nr_glist_frames' may >>> be 0 because 'nr_grant_frames' may be 0. So 'i' may never be less than >>> 'nr_glist_frames' in fa

Re: [PATCH 3/4] Drivers: hv: vmbus: Cleanup vmbus_close_internal()

2014-08-27 Thread Dan Carpenter
On Tue, Aug 26, 2014 at 12:05:51PM -0700, K. Y. Srinivasan wrote: > -static void vmbus_close_internal(struct vmbus_channel *channel) > +static int vmbus_close_internal(struct vmbus_channel *channel) > { > struct vmbus_channel_close_channel *msg; > - int ret; > + int ret = 0; GCC has

Re: [PATCH v5 1/4] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-08-27 Thread Andreas Werner
On Wed, Aug 27, 2014 at 08:26:33AM +0100, Lee Jones wrote: > On Tue, 26 Aug 2014, Andreas Werner wrote: > > The MEN 14F021P00 Board Management Controller provides an > > I2C interface to the host to access the feature implemented in the BMC. > > The BMC is a PIC Microntroller assembled on CPCI Card

Re: [PATCH V2] video : remove redundant error check

2014-08-27 Thread DaeSeok Youn
Hi, 2014-08-26 19:34 GMT+09:00 Tomi Valkeinen : > On 16/05/14 12:31, Daeseok Youn wrote: >> It doesn't need to check "err" for printing info. >> And also use pr_info instead of printk. >> >> Signed-off-by: Daeseok Youn >> --- >> V2: removes unneeded lines for sending a patch >> >> drivers/video/

[PATCH] dtb: at91: sam9n12ek: ohci: add port and vbus property

2014-08-27 Thread Bo Shen
Add the port number and vbus property for ohci port, or else if bootloader won't configure the vbus pin, the 5v supply is not power on, so can not work with usb devices. Signed-off-by: Bo Shen --- arch/arm/boot/dts/at91sam9n12ek.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm

Re: [RESEND PATCH v2 1/4] irqchip: gic: Change irq type check when extension is present

2014-08-27 Thread Jan Lübbe
Marc, On Fri, 2014-08-22 at 12:09 +0100, Marc Zyngier wrote: > Here, you're using it to program something that sits between the > device and the GIC. This is a separate block, with its own hardware > configuration, that modifies the interrupt signal. This should be > reflected in the device-tree a

[PATCH 3/3] GPIO: gpio-dwapb: Suspend & Resume PM enabling

2014-08-27 Thread Weike Chen
This patch enables suspend and resume mode for the power management, and it is based on Josef Ahmad's previous work. Reviewed-by: Hock Leong Kweh Reviewed-by: Shevchenko, Andriy Signed-off-by: Weike Chen --- drivers/gpio/gpio-dwapb.c | 67 + 1 file

[PATCH 2/3] GPIO: gpio-dwapb: Support Debounce

2014-08-27 Thread Weike Chen
This patch enables 'debounce' for the designware GPIO, and it is based on Josef Ahmad's previous work. Reviewed-by: Hock Leong Kweh Reviewed-by: Shevchenko, Andriy Signed-off-by: Weike Chen --- drivers/gpio/gpio-dwapb.c | 42 ++ 1 file changed, 42 inse

[PATCH 1/3] GPIO: gpio-dwapb: Enable platform driver binding to MFD driver

2014-08-27 Thread Weike Chen
The Synopsys DesignWare APB GPIO driver only supports open firmware devices. But, like Intel Quark X1000 SOC, which has a single PCI function exporting a GPIO and an I2C controller, it is a Multifunction device. This patch is to enable the current Synopsys DesignWare APB GPIO driver to support the

Re: [PATCH 1/5] perf, x86: Remove incorrect model number from Haswell perf

2014-08-27 Thread Thomas Gleixner
On Wed, 27 Aug 2014, Thomas Gleixner wrote: > On Tue, 26 Aug 2014, Andi Kleen wrote: > > > > So what's the point of making the obvious onliner patch > > > > > > - case 71: > > > > > > into something which reorders the sorted case numbers? > > > > This was a merging mistake. I'll fix it to be

[PATCH 0/3] The Designware GPIO Supporting

2014-08-27 Thread Weike Chen
Hi, These patches are for Intel Quark X1000 designware GPIO supporting. The first patch enables the Synopsys DesignWare APB GPIO driver to support the MFD device. And the Quark designware GPIO controller is registered as MFD device, because Quark exports a single PCI device with both GPIO and I2C f

Re: [PATCH v5 1/4] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-08-27 Thread Andreas Werner
On Wed, Aug 27, 2014 at 08:26:33AM +0100, Lee Jones wrote: > On Tue, 26 Aug 2014, Andreas Werner wrote: > > The MEN 14F021P00 Board Management Controller provides an > > I2C interface to the host to access the feature implemented in the BMC. > > The BMC is a PIC Microntroller assembled on CPCI Card

[PATCH 3/4] pinctrl: msm: Add ps_hold function in pinctrl-apq8064 binding documentation

2014-08-27 Thread Pramod Gurav
This adds a function ps_hold (Power Suppy Hold Signal) in pinctrl-ap8064 documentation which was missing. This function is used to reset the targets with apq8064 soc. CC: Linus Walleij CC: Bjorn Andersson CC: "Ivan T. Ivanov" CC: Stephen Boyd CC: Andy Gross Signed-off-by: Pramod Gurav ---

[PATCH 4/4] ARM: DT: APQ8064: Add node for ps_hold function in pinctrl

2014-08-27 Thread Pramod Gurav
This patch adds DT support to configure GPIO_78 as function ps_hold on apq8064. CC: Rob Herring CC: Pawel Moll CC: Mark Rutland CC: Ian Campbell CC: Kumar Gala CC: devicet...@vger.kernel.org CC: linux-arm-ker...@lists.infradead.org Signed-off-by: Pramod Gurav --- arch/arm/boot/dts/qcom-apq

Re: [PATCH] ARM: dts: make arch-timer always on in rk3288 soc

2014-08-27 Thread Mark Rutland
Hi, On Wed, Aug 27, 2014 at 02:47:40AM +0100, Kever Yang wrote: > We need use the hrtimer, which need the arch-timer to be 'always-on' Just to check: it isn't possible to place CPUs in the rk3288 SoC into low power states where their timers lose state and/or might not fire? Mark. > Signed-off-b

Re: [PATCH v2 00/26] genirq: fix use of irq_find_mapping outside of legal RCU context

2014-08-27 Thread Marc Zyngier
Hi Thomas, On Tue, Aug 26 2014 at 10:34:51 pm BST, Thomas Gleixner wrote: > On Tue, 26 Aug 2014, Marc Zyngier wrote: > >> A number of irqchip drivers are directly calling irq_find_mapping, >> which may use a rcu_read_lock call when walking the radix tree. >> >> Turns out that if you hit that po

Re: [HELP (not patch)] Re: Resume from hibernation fails 40% of time, kernel 3.16.0 (64GB of RAM, 32 Xeon E5-2687W cores)

2014-08-27 Thread Pavel Machek
On Mon 2014-08-04 23:24:47, Janek Kozicki wrote: > I see that this list is extremely busy, I thought this is the > place to go asking for help in debugging hibernation. If that's not > the right place, please tell me where should I go. If that's the > right place, please get me started. First - how

Re: [PATCH v3 part1 0/4] Fix SG_IO ambiguity between READ SUBCHANNEL and UNMAP (and other similar cases)

2014-08-27 Thread Luis Henriques
On Thu, May 23, 2013 at 03:58:19PM +0200, Paolo Bonzini wrote: > The SG_IO ioctl's command whitelist is designed for MMC devices (roughly, > "play/burn CDs without requiring root") but some opcodes overlap across SCSI > device classes and have different meanings for different classes. > > To fix t

Re: [hyperv] BUG at drivers/hv/channel.c:462 while changing MTU

2014-08-27 Thread Sitsofe Wheeler
On Mon, Aug 25, 2014 at 09:48:31PM +, KY Srinivasan wrote: > > > There is also a case of the BUG_ON at line 460 being hit (from > > https://lkml.org/lkml/2014/8/19/708 ): > > > > 457ret = vmbus_post_msg(msg, > > 458 sizeof(struct > > vmbus_channe

[PATCH 2/2] arm64: take onlined cpus into account when setting irq affinity in migrate_one_irq

2014-08-27 Thread byungchul . park
From: Byungchul Park This patch ensures that the cpu being offlined is not present in the affinity mask. Signed-off-by: Byungchul Park --- arch/arm64/kernel/irq.c |9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/kernel/irq.c b/arch/arm64/kernel/irq.c index 473e5db..0

Re: [PATCHv7 3/5] common: dma-mapping: Introduce common remapping functions

2014-08-27 Thread James Hogan
On 26/08/14 17:58, Laura Abbott wrote: > On 8/26/2014 3:05 AM, James Hogan wrote: >> On 12 August 2014 00:40, Laura Abbott wrote: >>> >>> For architectures without coherent DMA, memory for DMA may >>> need to be remapped with coherent attributes. Factor out >>> the the remapping code from arm and

[PATCH 1/2] Revert "arm64: use cpu_online_mask when using forced irq_set_affinity"

2014-08-27 Thread byungchul . park
From: Byungchul Park This reverts commit 601c942176d8ad8334118bddb747e3720bed24f8. This patch is designed to ensure that the cpu being offlined is not present in the affinity mask. But it is a bad idea to overwrite the affinity variable with cpu_online_mask, even in case that the current affinit

Re: [RFC PATCH 0/9] dt: dependencies (for deterministic driver initialization order based on the DT)

2014-08-27 Thread Alexander Holler
Am 27.08.2014 09:16, schrieb Alexander Holler: Why should I? I've posted patches along with a lot of comments and explanations, and e.g. you are just talking that it should be made like my patches already did. And others do talk too like my patches and the accompanying comments from me which exp

Re: tracing: horrible read performance on host with many CPUs

2014-08-27 Thread Steven Rostedt
Use trace-cmd. It reads the per cpu files and sorts later -- Steve On August 27, 2014 4:50:38 AM GMT-04:00, Dmitry Monakhov wrote: > >I have tried to use tracing on host with 32cpus, but it is appeared >that performance is horrible. >dd if=/sys/kernel/debug/tracing/trace_pipe of=tmpfs/t3.log b

[tip:timers/core] timerfd: Remove an always true check

2014-08-27 Thread tip-bot for Dan Carpenter
Commit-ID: 88299c9bdb109e0d95abdca648065631ff91b2cb Gitweb: http://git.kernel.org/tip/88299c9bdb109e0d95abdca648065631ff91b2cb Author: Dan Carpenter AuthorDate: Fri, 1 Aug 2014 11:28:48 +0300 Committer: Thomas Gleixner CommitDate: Wed, 27 Aug 2014 11:17:48 +0200 timerfd: Remove an alwa

Re: [PATCH 0/4] Drivers: hv: vmbus: Eliminate calls to BUG_ON()

2014-08-27 Thread Sitsofe Wheeler
On Tue, Aug 26, 2014 at 12:05:22PM -0700, K. Y. Srinivasan wrote: > Cleanup the channel management code and eliminate calls to BUG_ON() > > K. Y. Srinivasan (4): > Drivers: hv: vmbus: Cleanup vmbus_post_msg() > Drivers: hv: vmbus: Cleanup vmbus_teardown_gpadl() > Drivers: hv: vmbus: Cleanup

[tip:x86/urgent] x86: irq: Fix bug in setting IOAPIC pin attributes

2014-08-27 Thread tip-bot for Jiang Liu
Commit-ID: f395dcae7a68497751869cf0031fd8ce5e115f0a Gitweb: http://git.kernel.org/tip/f395dcae7a68497751869cf0031fd8ce5e115f0a Author: Jiang Liu AuthorDate: Wed, 27 Aug 2014 13:53:11 +0800 Committer: Thomas Gleixner CommitDate: Wed, 27 Aug 2014 11:02:16 +0200 x86: irq: Fix bug in setti

Re: [PATCH/RFC 2/2] lib: string: Make all calls to strnicmp into calls to strncasecmp

2014-08-27 Thread Rasmus Villemoes
On Wed, Aug 27 2014, Dan Carpenter wrote: > On Wed, Aug 27, 2014 at 09:36:02AM +0200, Rasmus Villemoes wrote: >> The previous patch made strnicmp into a wrapper for strncasecmp. This >> patch makes all in-tree users of strnicmp call strncasecmp directly, >> while still making sure that the strnic

Re: [PATCH/RFC 2/2] lib: string: Make all calls to strnicmp into calls to strncasecmp

2014-08-27 Thread Dan Carpenter
On Wed, Aug 27, 2014 at 09:36:02AM +0200, Rasmus Villemoes wrote: > The previous patch made strnicmp into a wrapper for strncasecmp. This > patch makes all in-tree users of strnicmp call strncasecmp directly, > while still making sure that the strnicmp symbol can be used by > out-of-tree modules. I

Re: [PATCH v6 5/5] regulator: RK808: remove redundant code

2014-08-27 Thread Mark Brown
On Tue, Aug 26, 2014 at 10:18:57PM +0800, Chris Zhong wrote: > remove the redundant code, since pdata has been removed from stuct rk808 I've applied this but if there's further changes needed please wait until the MFD changes they depend on have been accepted before resending. This will be less w

Re: [RFC Patch] irqdomain: Introduce new interfaces to support hierarchy irqdomains

2014-08-27 Thread Thomas Gleixner
Jiang, On Wed, 27 Aug 2014, Jiang Liu wrote: > >> Third, a special value IRQDOMAIN_AUTO_ASSIGN_HWIRQ is defined out of > >> irq_hw_number_t, which indicates that irqdomain callbacks should > >> automatically hardware interrupt number for clients. This will be used > >> to support CPU vector alloca

Re: [3.16 stable PATCH v2 1/2] virtio: rng: delay hwrng_register() till driver is ready

2014-08-27 Thread Amit Shah
Hey Greg, Can you add these two patches to the 3.16 queue? Thanks, On (Tue) 12 Aug 2014 [13:23:45], Amit Shah wrote: > Instead of calling hwrng_register() in the probe routing, call it in the > scan routine. This ensures that when hwrng_register() is successful, > and it requests a few random b

tracing: horrible read performance on host with many CPUs

2014-08-27 Thread Dmitry Monakhov
I have tried to use tracing on host with 32cpus, but it is appeared that performance is horrible. dd if=/sys/kernel/debug/tracing/trace_pipe of=tmpfs/t3.log bs=1M 0+21268 records in 0+21267 records out 85701248 bytes (86 MB) copied, 26.1424 s, 3.3 MB/s 0+25706 records in 0+25705 records out 1036

Re: [PATCH][v5] therm_windtunnel does not work properly on PowerMac G4

2014-08-27 Thread Goffredo Baroncelli
Hi Benjamin, do you have any feedback about this ? Do you think that it would be possible to include these patches in a next pull-for-linus ? Let me know, if you want other changes. BR G.Baroncelli On 08/09/2014 08:49 AM, Goffredo Baroncelli wrote: > Hi All, > > On a PowerMac G4 I noticed tha

Re: [PATCH v3] iio: Add Dyna-Image AL3320A ambient light sensor driver

2014-08-27 Thread Hartmut Knaack
Daniel Baluta schrieb: > Minimal implementation. This driver provides raw illuminance readings. > > This is based on drivers/hwmon/al3320.c (*) driver from msm tree written > by Tsechih Lin > > * https://android.googlesource.com/kernel/msm.git > > Signed-off-by: Daniel Baluta Hi, I think you shou

Re: Buffer I/O error after s2ram with usb storage

2014-08-27 Thread Matthieu CASTET
Ping I have got also a problem with a usb sdcard reader (without power cut during suspend) [ 1073.606668] PM: Entering mem sleep [ 1073.606742] Suspending console(s) (use no_console_suspend to debug) [ 1073.607146] sd 1:0:0:0: [sda] Synchronizing SCSI cache [ 1073.639076] sd 1:0:0:0: [sda] Stoppi

Re: [PATCH 1/3] Adding Skyworks SKY81452 MFD driver

2014-08-27 Thread Lee Jones
On Wed, 27 Aug 2014, Gyungoh Yoo wrote: > On Tue, Aug 26, 2014 at 09:22:58AM +0100, Lee Jones wrote: > > On Mon, 25 Aug 2014, Gyungoh Yoo wrote: > > > On Thu, Aug 21, 2014 at 10:45:02AM +0100, Lee Jones wrote: > > > > When you send patch-sets, you should send them connected to one > > > > another A

[PATCH] iio: adc: at91: make the function handle_adc_eoc_trigger() static

2014-08-27 Thread Josh Wu
The handle_adc_eoc_trigger() in only used in at91_adc.c. So make it static. Signed-off-by: Josh Wu --- drivers/iio/adc/at91_adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c index 772e869..7807e0e 100644 --- a/driver

Re: [PATCH] iio: adc: at91: make the function handle_adc_eoc_trigger() static

2014-08-27 Thread Nicolas Ferre
On 27/08/2014 10:31, Josh Wu : > The handle_adc_eoc_trigger() in only used in at91_adc.c. So make it > static. > > Signed-off-by: Josh Wu Absolutely. Acked-by: Nicolas Ferre Thanks, bye. > --- > drivers/iio/adc/at91_adc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --g

Re: [PATCH 2/2] HID: picolcd: sanity check report size in raw_event() callback

2014-08-27 Thread Jiri Kosina
On Wed, 27 Aug 2014, Bruno Prémont wrote: > > The report passed to us from transport driver could potentially be > > arbitrarily large, therefore we better sanity-check it so that raw_data > > that we hold in picolcd_pending structure are always kept within proper > > bounds. > > > > Cc: sta..

Re: [alsa-devel] [PATCH 1/2] regmap: cache: Fix regcache_sync_block for non-autoincrementing devices

2014-08-27 Thread Mark Brown
On Wed, Aug 27, 2014 at 08:52:16AM +0300, Jarkko Nikula wrote: > I don't know. I was thinking that also but was unsure about it since > regcache_sync_block_raw() and regcache_sync_block_single() code paths use > different regmap write functions. regcache_sync_block_raw() ends up calling > _regmap_

Re: [PATCH 2/2] HID: picolcd: sanity check report size in raw_event() callback

2014-08-27 Thread Bruno Prémont
On Wed, 27 Aug 2014 09:13:15 +0200 (CEST) Jiri Kosina wrote: > The report passed to us from transport driver could potentially be > arbitrarily large, therefore we better sanity-check it so that raw_data > that we hold in picolcd_pending structure are always kept within proper > bounds. > > Cc:

[PATCHv5 0/2] parport: parport_pc: Fix false-positives at checking for Intel bug

2014-08-27 Thread matwey
From: "Matwey V. Kornilov" Hi, The following patch series is to deal with the issue on false-positives of Intel EPP bug check [1]. More than a decade ago, the check was introduced in order to prevent EPP operation on the some Intel LPT chipsets. The main issue to defence from was CPU hang at EP

[PATCHv5 2/2] parport: parport_pc: Implement architecture and device check to cut off false-positives

2014-08-27 Thread matwey
From: "Matwey V. Kornilov" We definitely know that only x86 (32-bit) architecture is affected by the issue, so implement a stub instead of the actual check for other architectures. We also know that motherboard LPT chipset is affected, so the port is either come from parport_pc_init (when `i

[PATCHv5 1/2] parport: parport_pc: Introduce intel_bug_present function.

2014-08-27 Thread matwey
From: "Matwey V. Kornilov" Put the code to check present of the Intel bug from parport_EPP_supported into new intel_bug_present function. The later also return ECR register to the state it has before function call. Signed-off-by: Matwey V. Kornilov --- drivers/parport/parport_pc.c | 38 +++

Re: [Bugfix] x86, irq: Fix bug in setting IOAPIC pin attributes

2014-08-27 Thread Mika Westerberg
On Wed, Aug 27, 2014 at 01:53:11PM +0800, Jiang Liu wrote: > Commit 15a3c7cc9154321fc3 "x86, irq: Introduce two helper functions > to support irqdomain map operation" breaks LPSS ACPI enumerated > devices. > > On startup, IOAPIC driver preallocates IRQ descriptors and programs > IOAPIC pins with d

Re: [Xen-devel] Xen PV domain regression with KASLR enabled (kernel 3.16)

2014-08-27 Thread Stefan Bader
On 26.08.2014 18:01, Konrad Rzeszutek Wilk wrote: > On Fri, Aug 22, 2014 at 11:20:50AM +0200, Stefan Bader wrote: >> On 21.08.2014 18:03, Kees Cook wrote: >>> On Tue, Aug 12, 2014 at 2:07 PM, Konrad Rzeszutek Wilk >>> wrote: On Tue, Aug 12, 2014 at 11:53:03AM -0700, Kees Cook wrote: > On

Re: [PATCH v5 4/6] acerhdf: Use bang-bang thermal governor

2014-08-27 Thread Peter Feuerer
Zhang Rui writes: On Tue, 2014-07-22 at 17:37 +0200, Peter Feuerer wrote: acerhdf has been doing an on-off fan control using hysteresis by post-manipulating the outcome of thermal subsystem trip point handling. This patch enables acerhdf to use the bang-bang governor, which is intended for on-o

Cufflinks factory

2014-08-27 Thread Joan
Good day , I am Ms.Joan Wong from Sonier Pins . we are metal gifts factory in China . Any metal item inquiry ,please feel free to ask us . thank you ! Best regards, Joan Wong Sales representative Sonier Pins Co.,Ltd Address : No.2, JiXi ShunCheng Center ,Xiaolan Town ,Zhongshan City 528415,Gua

Re: sync_set_bit() vs set_bit() -- what's the difference?

2014-08-27 Thread Jürgen Groß
On 08/27/2014 09:50 AM, Dexuan Cui wrote: -Original Message- From: Jan Beulich Sent: Wednesday, August 27, 2014 15:39 PM On 27.08.14 at 09:30, wrote: I'm curious about the difference. :-) sync_set_bit() is only used in drivers/hv/ and drivers/xen/ while set_bit() is used in all other

Re: [RFC Patch] irqdomain: Introduce new interfaces to support hierarchy irqdomains

2014-08-27 Thread Jiang Liu
Hi Thomas, Thanks for your great comments! Please refer to inline comments below. Regards! Gerry On 2014/8/27 5:06, Thomas Gleixner wrote: > Jiang, > > On Fri, 1 Aug 2014, Jiang Liu wrote: > >> First, architecture needs to define struct irq_map_info, which will be >> used to pass archite

Re: [PATCH 1/4] mfd: Add Ricoh RN5T618 PMIC core driver

2014-08-27 Thread Lee Jones
On Wed, 27 Aug 2014, Beniamino Galvani wrote: > Ricoh RN5T618 is a power management IC which integrates 3 step-down > DCDC converters, 7 low-dropout regulators, a Li-ion battery charger, > fuel gauge, ADC, GPIOs and a watchdog timer. > > This commit adds a MFD core driver to support the I2C commun

[PATCH] usb: dwc3: exynos: remove usb_phy_generic support

2014-08-27 Thread Bartlomiej Zolnierkiewicz
dwc3 driver is using the new Exynos5 SoC series USB DRD PHY driver (PHY_EXYNOS5_USBDRD which selects GENERIC_PHY) as can be seen by looking at the following commits: 7a4cf0fde054 ("ARM: dts: Update DWC3 usb controller to use new phy driver for exynos5250") f070267b5fc1 ("ARM: dts: Enable su

Re: [PATCH v4 00/11] drm: add support for Atmel HLCDC Display Controller

2014-08-27 Thread Boris BREZILLON
Hi Laurent, On Tue, 26 Aug 2014 01:39:21 +0200 Laurent Pinchart wrote: > Hi Boris, > > On Thursday 21 August 2014 19:26:33 Boris BREZILLON wrote: > > On Thu, 21 Aug 2014 19:08:53 +0200 > > Laurent Pinchart wrote: > > > > [...] > > > > While this could be acceptable when all drivers are

RE: sync_set_bit() vs set_bit() -- what's the difference?

2014-08-27 Thread Dexuan Cui
> -Original Message- > From: Jan Beulich > Sent: Wednesday, August 27, 2014 15:39 PM > >>> On 27.08.14 at 09:30, wrote: > > I'm curious about the difference. :-) > > > > sync_set_bit() is only used in drivers/hv/ and drivers/xen/ while set_bit() > > is used in all other places. What makes

Re: [PATCH v2] genirq: bug on inconstent flags and flow handler

2014-08-27 Thread Thomas Gleixner
On Tue, 26 Aug 2014, Florian Fainelli wrote: > On 07/23/2014 12:14 PM, Florian Fainelli wrote: > > 2014-07-23 11:49 GMT-07:00 Thomas Gleixner : > >> On Wed, 23 Jul 2014, Florian Fainelli wrote: > >> > >>> It is currently possible for a generic irq chip driver to set IRQ_LEVEL > >>> and have its ir

Re: [PATCH v5 4/6] acerhdf: Use bang-bang thermal governor

2014-08-27 Thread Zhang Rui
On Tue, 2014-07-22 at 17:37 +0200, Peter Feuerer wrote: > acerhdf has been doing an on-off fan control using hysteresis by > post-manipulating the outcome of thermal subsystem trip point handling. > This patch enables acerhdf to use the bang-bang governor, which is > intended for on-off controlled

Re: [GIT PULL] thermal soc changes

2014-08-27 Thread Zhang Rui
On Fri, 2014-08-22 at 08:46 -0400, Eduardo Valentin wrote: > Hello Rui, > > Please pull these changes. Here we have three new features: IMX driver has > now support to i.mx6sx, the of-thermal now if aware of disabled thermal zones > in DT, and we shall have tracing support on thermal framework. >

Re: sync_set_bit() vs set_bit() -- what's the difference?

2014-08-27 Thread Jan Beulich
>>> On 27.08.14 at 09:30, wrote: > I'm curious about the difference. :-) > > sync_set_bit() is only used in drivers/hv/ and drivers/xen/ while set_bit() > is used in all other places. What makes hv/xen special? I guess this would really want to be used by anything communicating with a hyperviso

Re: sync_set_bit() vs set_bit() -- what's the difference?

2014-08-27 Thread Jürgen Groß
On 08/27/2014 09:30 AM, Dexuan Cui wrote: I'm curious about the difference. :-) sync_set_bit() is only used in drivers/hv/ and drivers/xen/ while set_bit() is used in all other places. What makes hv/xen special? In set_bit() the "lock" prefix will be dropped if only one processor is present.

Re: [PATCH] Fix faulty logic in the case of recursive printk

2014-08-27 Thread Petr Mládek
On Tue 26-08-14 07:23:22, Patrick Palka wrote: > Thanks for reviewing! I have put back the call to strlen() and adjusted > the commit message accordingly. > > Patrick > > -- >8 -- > > We shouldn't set text_len in the code path that detects printk recursion > because text_len corresponds to the

[PATCH/RFC 1/2] lib: string: Remove duplicated function

2014-08-27 Thread Rasmus Villemoes
lib/string.c contains two functions, strnicmp and strncasecmp, which do roughly the same thing, namely compare two strings case-insensitively up to a given bound. They have slightly different implementations, but the only important difference is that strncasecmp doesn't handle len==0 appropriately;

[PATCH/RFC 0/2] lib: string: Remove duplicated function

2014-08-27 Thread Rasmus Villemoes
lib/string.c contains two functions, strnicmp and strncasecmp, which do roughly the same thing, namely compare two strings case-insensitively up to a given bound. They have slightly different implementations, but the only important difference is that strncasecmp doesn't handle len==0 appropriately;

[PATCH/RFC 2/2] lib: string: Make all calls to strnicmp into calls to strncasecmp

2014-08-27 Thread Rasmus Villemoes
The previous patch made strnicmp into a wrapper for strncasecmp. This patch makes all in-tree users of strnicmp call strncasecmp directly, while still making sure that the strnicmp symbol can be used by out-of-tree modules. It should be considered a temporary hack until all in-tree callers have bee

Re: [PATCH v4 3/3] memory: tegra124-emc: Add EMC driver

2014-08-27 Thread Tomeu Vizoso
On 08/26/2014 07:17 PM, Stephen Warren wrote: On 08/26/2014 07:12 AM, Tomeu Vizoso wrote: Sets the EMC clock rate based on the bandwidth requirements registered by memory clients through the PM_QOS_MEMORY_BANDWIDTH class. Note: this is just an example and not a proper driver for a external memo

sync_set_bit() vs set_bit() -- what's the difference?

2014-08-27 Thread Dexuan Cui
I'm curious about the difference. :-) sync_set_bit() is only used in drivers/hv/ and drivers/xen/ while set_bit() is used in all other places. What makes hv/xen special? Thanks, -- Dexuan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majo

Re: [PATCH v5 3/4] zram: zram memory size limitation

2014-08-27 Thread Minchan Kim
On Wed, Aug 27, 2014 at 02:04:38PM +0900, Joonsoo Kim wrote: > On Wed, Aug 27, 2014 at 11:51:32AM +0900, Minchan Kim wrote: > > Hey Joonsoo, > > > > On Wed, Aug 27, 2014 at 10:26:11AM +0900, Joonsoo Kim wrote: > > > Hello, Minchan and David. > > > > > > On Tue, Aug 26, 2014 at 08:22:29AM -0400, D

Re: [PATCH v5 1/4] drivers/mfd/menf21bmc: introduce MEN 14F021P00 BMC MFD Core driver

2014-08-27 Thread Lee Jones
On Tue, 26 Aug 2014, Andreas Werner wrote: > The MEN 14F021P00 Board Management Controller provides an > I2C interface to the host to access the feature implemented in the BMC. > The BMC is a PIC Microntroller assembled on CPCI Card from MEN Mikroelektronik > and on a few Box/Display Computer. > >

Re: [PATCH 2/4] regulator: add driver for Ricoh RN5T618 regulators

2014-08-27 Thread Mark Brown
On Wed, Aug 27, 2014 at 12:13:55AM +0200, Beniamino Galvani wrote: > This driver supports the 3 DCDC and 7 LDO regulators available on > Ricoh RN5T618 PMIC. > drivers/regulator/rn5t618-regulator.c | 143 > + > include/linux/mfd/rn5t618.h | 14 Th

[GIT PULL] HID

2014-08-27 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus to receive - fixes for potential memory corruption problems in magicmouse and picolcd drivers (the HW would have to be manufactured to be deliberately evil to trigger those) which were found b

Re: [acpi/osl] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-R} usage.

2014-08-27 Thread Lan Tianyu
On 2014年08月27日 10:27, Fengguang Wu wrote: > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is Hi Fengguang: Thanks for report. I reworked the patch and just sent out V3 to umap memory regions in a work to avoid the dead lock. I tested the patch with your sc

Re: [RFC PATCH 0/9] dt: dependencies (for deterministic driver initialization order based on the DT)

2014-08-27 Thread Alexander Holler
Am 26.08.2014 15:58, schrieb Jon Loeliger: I think we need to do the complete topsort *before* we attempt to do any probing. So three steps: 1) Graph Construction Add a new "emit dependencies" function to driver bindings. Iterate over known devices or nodes in the DT in any

[PATCH V3] ACPI / OSL: Make acpi_os_map_cleanup() use call_rcu() to avoid deadlocks

2014-08-27 Thread Lan Tianyu
Deadlock is possible when CPU hotplug and evaluating ACPI method happen at the same time. During CPU hotplug, acpi_cpu_soft_notify() is called under the CPU hotplug lock. Then, acpi_cpu_soft_notify() calls acpi_bus_get_device() to obtain the struct acpi_device attached to the given ACPI handle.

<    3   4   5   6   7   8   9   >