Re: [PATCH 1/1 net-next] dccp: kerneldoc warning fixes

2014-11-18 Thread David Miller
From: Fabian Frederick Date: Mon, 17 Nov 2014 21:51:21 +0100 > Signed-off-by: Fabian Frederick Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.

Re: [PATCH 1/1 net-next] dccp: spelling s/reseting/resetting

2014-11-18 Thread David Miller
From: Fabian Frederick Date: Mon, 17 Nov 2014 22:00:22 +0100 > Signed-off-by: Fabian Frederick Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.

Re: [PATCH v4 0/4] Add lightweight memory barriers for coherent memory access

2014-11-18 Thread Linus Torvalds
On Tue, Nov 18, 2014 at 9:28 AM, Alexander Duyck wrote: > These patches introduce two new primitives for synchronizing cache coherent > memory writes and reads. These two new primitives are: > > coherent_rmb() > coherent_wmb() So I'm still not convinced about the name. I don't ha

Re: [RFC] situation with csum_and_copy_... API

2014-11-18 Thread Linus Torvalds
On Tue, Nov 18, 2014 at 12:47 AM, Al Viro wrote: > The minimal implementations would be > > __wsum csum_and_copy_from_user(const void __user *src, void *dst, int len, >__wsum sum, int *err_ptr) > { > if (unlikely(copy_from_user(dst, src, len) < 0)) { No. Th

Re: [PATCH] usb: gadget: USB3 support to the legacy printer driver

2014-11-18 Thread Felipe Balbi
Hi, On Tue, Nov 18, 2014 at 03:41:43PM -0500, Jorge Ramirez-Ortiz wrote: > >>> you have no clue what these mean, do you ? How about reading the USB > >>> specification of even http://www.beyondlogic.org/usbnutshell/usb1.shtml > >> > >> Unfortunately I do. > >> It was easier to temporarily hack the

Re: [PATCH vfs 1/2] lib: implement ptrset

2014-11-18 Thread Andrew Morton
On Fri, 14 Nov 2014 08:12:02 -0500 Tejun Heo wrote: > Hello, Andrew. > > On Thu, Nov 13, 2014 at 02:40:41PM -0800, Andrew Morton wrote: > > In that case tjpointer_add() would need to do a kmalloc() for each inode > > which is added to the bdev/cdev, just as ptrset_add() is doing. > > > > That m

[PATCH 1/1] net: xfrm: Deletion of an unnecessary check before the function call "ipcomp_free_tfms"

2014-11-18 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 18 Nov 2014 21:41:26 +0100 The ipcomp_free_tfms() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

Re: [PATCH] usb: gadget: USB3 support to the legacy printer driver

2014-11-18 Thread Jorge Ramirez-Ortiz
On 11/18/2014 01:00 PM, Felipe Balbi wrote: > Hi, > > (fix your mailer, lines should be broken at 80-characters. > Documentation/email-clients.txt has tips) > > On Tue, Nov 18, 2014 at 12:52:11PM -0500, Jorge Ramirez-Ortiz wrote: >> On 11/18/2014 10:17 AM, Felipe Balbi wrote: >>> Hi, >>> >>> On Tue

Re: [PATCH 1/2] net: can: remove unused variable

2014-11-18 Thread Marc Kleine-Budde
On 11/18/2014 02:47 PM, Sudip Mukherjee wrote: > these variable were only assigned some values, but then never > reused again. > so they are safe to be removed. Thanks, I've applied both patches. Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solution

Re: [PATCH v2 net-next 0/7] implementation of eBPF maps

2014-11-18 Thread David Miller
From: Alexei Starovoitov Date: Thu, 13 Nov 2014 17:36:43 -0800 > v1->v2: > renamed flags for MAP_UPDATE_ELEM command to be more concise, > clarified commit logs and improved comments in patches 1,3,7 > per discussions with Daniel > > Old v1 cover: > > this set of patches adds implementation of

Re: [PATCH v3 3/3] ARM: dts: meson: add I2C controller nodes

2014-11-18 Thread Beniamino Galvani
On Tue, Nov 18, 2014 at 04:29:13PM +0100, Carlo Caione wrote: > On Tue, Nov 18, 2014 at 4:19 PM, Wolfram Sang wrote: > > On Thu, Nov 13, 2014 at 08:32:03PM +0100, Beniamino Galvani wrote: > >> Add nodes for I2C controllers A,B,AO, which are available in both > >> Meson6 and Meson8. > >> > >> Signe

[PATCH][RESEND] Revert "AUDIT: Allow login in non-init namespaces"

2014-11-18 Thread Calvin Owens
This reverts 543bc6a1a987 "AUDIT: Allow login in non-init namespaces". This commit incorrectly assumes that libpam treats -ECONNREFUSED as an indicator that audit is disabled, and -EPERM or any other error as a fatal error that prevents the login from continuing. The opposite is in fact true: -EP

Re: [PATCH net-next 1/4] net: allow large number of rx queues

2014-11-18 Thread Cong Wang
On Tue, Nov 18, 2014 at 8:22 AM, Pankaj Gupta wrote: > > As vmalloc() adds overhead on a critical network path, > __GFP_REPEAT flag is used with kzalloc() to do this fallback > only when really needed. > Are you sure we need __GFP_REPEAT? We have vmalloc() as fallback of kmalloc() in many places

[PATCH 1/1] net: sched: Deletion of an unnecessary check before the function call "kfree"

2014-11-18 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 18 Nov 2014 21:21:16 +0100 The kfree() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- net/sched/c

[PATCH v3 1/3] media: rc: meson: document device tree bindings

2014-11-18 Thread Beniamino Galvani
This adds binding documentation for the infrared remote control receiver available in Amlogic Meson SoCs. Signed-off-by: Beniamino Galvani --- Documentation/devicetree/bindings/media/meson-ir.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/b

[PATCH v3 2/3] media: rc: add driver for Amlogic Meson IR remote receiver

2014-11-18 Thread Beniamino Galvani
Amlogic Meson SoCs include a infrared remote control receiver that can operate in two modes: "NEC" mode in which the hardware decodes frames using the NEC IR protocol, and "general" mode in which the receiver simply reports the duration of pulses and spaces for software decoding. This is a driver

[PATCH v3 3/3] ARM: dts: meson: add IR receiver node

2014-11-18 Thread Beniamino Galvani
This adds a node for the IR remote control receiver to the Amlogic Meson DTS. Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/meson.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi index e6539ea..6a37f15 100644 ---

[PATCH v3 0/3] media: rc: add support for Amlogic Meson IR receiver

2014-11-18 Thread Beniamino Galvani
Hi, this is a driver for the infrared receiver available in Amlogic Meson6 and Meson8 SoCs. The device can operate in two modes: "NEC" mode in which the hardware decodes frames using the NEC IR protocol, and "general" mode in which the receiver simply reports the duration of pulses and spaces for

Re: [PATCH] Repeated fork() causes SLAB to grow without bound

2014-11-18 Thread Andrew Morton
On Mon, 17 Nov 2014 21:41:57 -0500 Rik van Riel wrote: > > Because of the serial forking there does indeed end up being an > > infinite number of vmas. The initial vma can never be deleted > > (even though the initial parent process has long since terminated) > > because the initial vma is refer

Re: [PATCH] PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected (was: Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled)

2014-11-18 Thread Rafael J. Wysocki
On Tuesday, November 18, 2014 09:34:11 AM Pavel Machek wrote: > On Tue 2014-11-18 01:39:06, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > The number of and dependencies between high-level power management > > Kconfig options make life much harder than necessary. Several > > conbin

Re: [PATCH 2/3] intel_pstate: allow driver to be built as a module

2014-11-18 Thread Rafael J. Wysocki
On Tuesday, November 18, 2014 05:37:01 PM Ethan Zhao wrote: > From: Brian Maly > > To provide the flexibility of module, allow this driver to > be configured and built as a module. > > Signed-off-by: Brian Maly > Signed-off-by: Ethan Zhao > --- > drivers/cpufreq/Kconfig.x86| 2 +- > drive

Re: pull request: bluetooth-next 2014-11-18

2014-11-18 Thread John W. Linville
On Tue, Nov 18, 2014 at 11:19:52AM +0200, Johan Hedberg wrote: > Hi John, > > Here's another bluetooth-next pull request for 3.19. We've got: > > - Various fixes, cleanups and improvements to ieee802154/mac802154 > - Support for a Broadcom BCM20702A1 variant > - Lots of lockdep fixes > - Fixe

[PATCH] usb: gadget: add USB3 support to the printer driver

2014-11-18 Thread Jorge Ramirez-Ortiz
Add SS descriptors to support the capabilities provided by USB3 controller drivers; unit tests run using a PLX 3380 [max transfer speed measured of 1Gbps] This driver shall fallback to lower operating modes when the higher ones are not available. Signed-off-by: Jorge Ramirez-Ortiz --- drivers/u

[PATCH] usb: gadget: add USB3 support to the printer driver

2014-11-18 Thread Jorge Ramirez-Ortiz
This patch adds USB3 support to the printer driver. Tests used two binaries (host/device) to handle the file transfer [gadget] $ dmesg net2280 :02:00.0: usb_reset_338x: Defect 7374 FsmValue 0xf000 net2280 :02:00.0: usb_reinit_338x: Defect 7374 FsmValue f000 net2280 :02:00.0

[PATCH 1/1] netlink: Deletion of an unnecessary check before the function call "__module_get"

2014-11-18 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 18 Nov 2014 21:03:13 +0100 The __module_get() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- net/

Re: [v4,17/21] powerpc/8xx: set PTE bit 22 off TLBmiss

2014-11-18 Thread christophe leroy
Le 08/11/2014 01:08, Scott Wood a écrit : OK, so the _PAGE_KERNEL_RO(X) stuff is because initially setting the PTE doesn't go through pte_update(). I'll apply this, though it'd be cleaner to just have 8xx versions of the relevant PTE accessor functions to maintain the PTE the way the hardware

Re: [PATCH v5 03/18] ACPI / table: Count matched and successfully parsed entries without specifying max entries

2014-11-18 Thread Rafael J. Wysocki
On Tuesday, November 18, 2014 09:51:25 PM Hanjun Guo wrote: > Hi Rafael, > > On 2014年10月17日 21:36, Hanjun Guo wrote: > > From: Tomasz Nowicki > > > > It is very useful to traverse all available table entries without max > > number of expected entries type. Current acpi_parse_entries() > > impleme

Re: [PATCH net-next] tun: return NET_XMIT_DROP for dropped packets

2014-11-18 Thread Cong Wang
On Mon, Nov 17, 2014 at 9:20 PM, Jason Wang wrote: > After commit 5d097109257c03a71845729f8db6b5770c4bbedc > ("tun: only queue packets on device"), NETDEV_TX_OK was returned for > dropped packets. This will confuse pktgen since dropped packets were > counted as sent ones. > > Fixing this by return

[PATCH 1/1] netfilter: Deletion of unnecessary checks before two function calls

2014-11-18 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 18 Nov 2014 20:37:05 +0100 The functions free_percpu() and module_put() test whether their argument is NULL and then return immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus E

[RPC PATCH 1/5] block: expose init_request_from_bio

2014-11-18 Thread Matias Bjørling
When doing internal commands within LightNVM, we may form it as a bio. It can then use the existing infrastructure for handling bio's. Expose init_request_from_bio as blk_init_request_from_bio and allow requests to initialized from bio's. Signed-off-by: Matias Bjørling --- block/blk-core.c

[RPC PATCH 2/5] block: extend rq_flag_bits

2014-11-18 Thread Matias Bjørling
From: Jesper Madsen The rq_flag_bits is extended by REQ_NVM and REQ_NVM_MAPPED REQ_NVM is used to detect request have through LightNVM on submission, and can be detected on completion. REQ_NVM_MAPPED is used to detect if request have mapped appropriately through LightNVM. The latter is added t

[RFC PATCH 3/5] lightnvm: Support for Open-Channel SSDs

2014-11-18 Thread Matias Bjørling
Open-channel SSDs are devices exposes direct access to its physical flash storage, while keeping a subset of the internal features of SSDs. A common SSD consists of a flash translation layer (FTL), bad block management, and hardware units such as flash controller and host interface controller and

[PATCH 5/5] fold verify_iovec() into copy_msghdr_from_user()

2014-11-18 Thread Al Viro
... and do the same on the compat side of things. Signed-off-by: Al Viro --- include/linux/socket.h |1 - include/net/compat.h |5 ++- net/compat.c | 52 --- net/core/iovec.c | 38 net/socket.c | 93 ++

[PATCH 4/5] bury skb_copy_to_page()

2014-11-18 Thread Al Viro
no callers since 3.0 Signed-off-by: Al Viro --- include/net/sock.h | 23 --- 1 file changed, 23 deletions(-) diff --git a/include/net/sock.h b/include/net/sock.h index 94e0ead..d7d43e9 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -1883,29 +1883,6 @@ static i

[PATCH 3/5] remove a bunch of now-pointless access_ok() in net

2014-11-18 Thread Al Viro
The following set of functions skb_add_data_nocache skb_copy_to_page_nocache skb_do_copy_data_nocache skb_copy_to_page skb_add_data csum_and_copy_from_user skb_copy_and_csum_datagram csum_and_copy_to_user memcpy_fromiovec

Re: linux-next: build warning after merge of the arm tree

2014-11-18 Thread Stephen Boyd
On 11/18/2014 11:21 AM, Russell King - ARM Linux wrote: > On Tue, Nov 18, 2014 at 10:57:26AM -0800, Stephen Boyd wrote: >> Urgh, I thought I fixed that but I guess I only took care of not >> assigning it unless we actually need it. Well we can do the #ifdef >> thing, or move to IS_ENABLED. Here's b

[RPC PATCH 0/5] Support for Open-Channel SSDs

2014-11-18 Thread Matias Bjørling
Hi, Here is an updated patchset of LightNVM. It is now integrated directly into the block layer when using blk-mq. I'll like to get some feedback on how it is plugged in. The block layer integration is as follows: block/blk-lightnvm.c holds the setup/teardown functions and calls in to the li

[RFC PATCH 4/5] nvme: LightNVM integration

2014-11-18 Thread Matias Bjørling
NVMe devices are identified by the vendor specific bits: Bit 3 in OACS (device-wide). Currently made per device, as the nvme namespace is missing in the completion path. This is _not_ to be kept and only added temponarily. Only added to hint blk-mq that it should reserve space in the per-request p

[RFC PATCH 5/5] null_blk: LightNVM integration

2014-11-18 Thread Matias Bjørling
Allows the null_blk driver to hook into LightNVM for performance evaluation. It is activated by passing lightnvm_enable parameter at module load. The number of channels exposed to LightNVM can be configured through the lightnvm_num_channels module parameter. Contributions in this patch from:

[PATCH 2/5] {compat_,}verify_iovec(): switch to generic copying of iovecs

2014-11-18 Thread Al Viro
use {compat_,}rw_copy_check_uvector(). As the result, we are guaranteed that all iovecs seen in ->msg_iov by ->sendmsg() and ->recvmsg() will pass access_ok(). The next commit removes now redundant checks in callees... Signed-off-by: Al Viro --- net/compat.c | 51 +++-

RE: [PATCH V3 3/3] perf tools: Construct LBR call chain

2014-11-18 Thread Liang, Kan
> > whole > > > >> stack. > > > >> > + */ > > > >> > > > >> Andi is using some sanity checks: > > > >> http://marc.info/?l=linux-kernel&m=141584447819894&w=2 > > > >> I guess this could be applied in here, once his patch gets in. > > > >> > > > > > > > > Are you suggesting me

[PATCH 1/5] separate kernel- and userland-side msghdr

2014-11-18 Thread Al Viro
Kernel-side struct msghdr is (currently) using the same layout as userland one, but it's not a one-to-one copy - even without considering 32bit compat issues, we have msg_iov, msg_name and msg_control copied to kernel[1]. It's fairly localized, so we get away with a few functions where that knowle

[patches][RFC] situation with csum_and_copy_... API

2014-11-18 Thread Al Viro
On Tue, Nov 18, 2014 at 08:47:45AM +, Al Viro wrote: > I do have a patch doing just that; the question is what to do with > csum-and-copy > primitives. Originally I planned to simply strip those access_ok() from those > (both the explicit calls and use of copy_from_user() where we ought to u

Re: [PATCH v8 00/13] ARM: berlin: USB support

2014-11-18 Thread Sebastian Hesselbarth
On 17.11.2014 14:35, Antoine Tenart wrote: This series adds the support for ChipIdea USB2 (ci13xxx) controllers, the USB PHYs of the Marvell Berlin SoCs and also adds a reset controller for these SoCs. The reset controller is used by the PHY driver and shares the existing chip controller node wi

Re: [PATCH 1/2] phy: berlin_usb: depends on RESET_CONTROLLER

2014-11-18 Thread Sebastian Hesselbarth
On 17.11.2014 14:33, Antoine Tenart wrote: The Berlin USB PHY driver uses the Berlin reset controller unconditionally. Make it depending on RESET_CONTROLLER. Signed-off-by: Antoine Tenart Acked-by: Sebastian Hesselbarth --- drivers/phy/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 d

Re: [PATCH v8 12/13] ARM: dts: berlin: add BG2CD nodes for USB support

2014-11-18 Thread Sebastian Hesselbarth
On 17.11.2014 14:35, Antoine Tenart wrote: From: Sebastian Hesselbarth Adds nodes describing the Marvell Berlin BG2CD USB PHY and USB. The BG2CD SoC has 2 USB ChipIdea controllers, with usb0 host-only and usb1 dual-role capable. Signed-off-by: Sebastian Hesselbarth Signed-off-by: Antoine Tena

Re: [PATCH v8 11/13] ARM: dts: Berlin: enable USB on the BG2Q DMP

2014-11-18 Thread Sebastian Hesselbarth
On 17.11.2014 14:35, Antoine Tenart wrote: Enable the 2 available USB PHY and USB nodes on the Marvell Berlin BG2Q DMP. Signed-off-by: Antoine Tenart Applied to berlin/dt. Thanks! --- arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 53 ++ 1 file changed, 53 inse

Re: [PATCH 08/16] rcupdate: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-18 Thread Pranith Kumar
On 11/18/2014 12:16 PM, Paul E. McKenney wrote: > On Thu, Nov 13, 2014 at 02:24:14PM -0500, Pranith Kumar wrote: >> Recently lockless_dereference() was added which can be used in place of >> hard-coding smp_read_barrier_depends(). The following PATCH makes the change. >> >> Signed-off-by: Pranith

Re: [PATCH v8 13/13] ARM: dts: berlin: enable USB on the Google Chromecast

2014-11-18 Thread Sebastian Hesselbarth
On 17.11.2014 14:35, Antoine Tenart wrote: From: Sebastian Hesselbarth Enable usb1 on Google Chromecast which is connected to micro-USB plug used for external power supply, too. Signed-off-by: Sebastian Hesselbarth Signed-off-by: Antoine Tenart Applied to berlin/dt. Thanks! --- arch/a

Re: [PATCH v8 10/13] ARM: dts: berlin: add BG2Q nodes for USB support

2014-11-18 Thread Sebastian Hesselbarth
On 17.11.2014 14:35, Antoine Tenart wrote: Adds nodes describing the Marvell Berlin BG2Q USB PHY and USB. The BG2Q SoC has 3 USB host controller, compatible with ChipIdea. Signed-off-by: Antoine Tenart Applied to berlin/dt with the whitespace removed that Sergei pointed out. Thanks! ---

loan test

2014-11-18 Thread Frank . Laurent
NEED LOAN? We offer our Loans in the following categories. Auto Loans Mortgage loans Business Loans Personal Loans Real Estate Loan. For more information and Application,Contact our representative with the information below, Loan Agent: Donald Gotze Email: gotzedon...@yahoo.com Than

Re: [PATCH 08/16] rcupdate: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-18 Thread Paul E. McKenney
On Thu, Nov 13, 2014 at 02:24:14PM -0500, Pranith Kumar wrote: > Recently lockless_dereference() was added which can be used in place of > hard-coding smp_read_barrier_depends(). The following PATCH makes the change. > > Signed-off-by: Pranith Kumar Queued for 3.20, thank you! I was wondering a

Re: [PATCH v4 1/2] ARM: keystone: pm: switch to use generic pm domains

2014-11-18 Thread Arnd Bergmann
On Tuesday 18 November 2014 20:54:36 Grygorii Strashko wrote: > Hi All, > > Thank you for your comments. > > On 11/17/2014 11:50 PM, Kevin Hilman wrote: > > Arnd Bergmann writes: > > > >> On Monday 17 November 2014 11:14:16 Kevin Hilman wrote: > > > > So, The Keystone 2 Generic PM Contr

Re: [PATCH 2/2] ARM: berlin: do not select RESET_CONTROLLER

2014-11-18 Thread Sebastian Hesselbarth
On 17.11.2014 14:33, Antoine Tenart wrote: RESET_CONTROLLER is meant to be user-selectable. To respect that, do not select it automatically when using ARCH_BERLIN. Signed-off-by: Antoine Tenart Applied to berlin/soc. Thanks! --- arch/arm/mach-berlin/Kconfig | 1 - 1 file changed, 1 dele

Re: frequent lockups in 3.18rc4

2014-11-18 Thread Thomas Gleixner
On Tue, 18 Nov 2014, Linus Torvalds wrote: > On Tue, Nov 18, 2014 at 6:52 AM, Dave Jones wrote: > > > > Here's the first hit. Curiously, one cpu is missing. > > That might be the CPU3 that isn't responding to IPIs due to some bug.. > > > NMI watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [tri

[PATCH RESEND] regulator: Ensure unique regulator debugfs directory names

2014-11-18 Thread Guenter Roeck
If multiple regulator devices of the same type exist in a system, the regulator driver assigns generic names for the regulators it provides, and debugfs is enabled, the regulator subsystem attempts to create multiple entries with the same name in the regulator debugfs directory. This fails for all

Re: linux-next: build warning after merge of the arm tree

2014-11-18 Thread Russell King - ARM Linux
On Tue, Nov 18, 2014 at 10:57:26AM -0800, Stephen Boyd wrote: > Urgh, I thought I fixed that but I guess I only took care of not > assigning it unless we actually need it. Well we can do the #ifdef > thing, or move to IS_ENABLED. Here's both options. I'd prefer the first as it increases compiler c

[PATCH 1/1] net: pktgen: Deletion of an unnecessary check before the function call "proc_remove"

2014-11-18 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 18 Nov 2014 20:10:34 +0100 The proc_remove() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- net/c

Re: [PATCH RFC 3/3] ARM: reduce size of page table directory for short mode

2014-11-18 Thread Russell King - ARM Linux
On Tue, Nov 18, 2014 at 06:14:12PM +, Catalin Marinas wrote: > Actually, with LPAE you can save a pmd and pte allocated for the vectors > page at 0x. So you can save 8K per task here. Similarly with the > classic MMU, you can save another 4K for the vectors page pte. No. For any CPU w

Re: [BUG] oops in cpufreq driver with AMD Kaveri CPU

2014-11-18 Thread Oleksandr Natalenko
Hmmm, weird, acpi=off as well as disabling ASPM and NMI watchdog didn't help : (. Now trying to update BIOS. P.S. Still affected while using 3.17.2 kernel. On Tuesday 11 November 2014 12:41:18 Oleksandr Natalenko wrote: > It seems that this bug has nothing to do with acpi-cpufreq code but with >

[PATCH v2 00/13] arm64: PCI/MSI: GICv3 ITS support (stacked domain edition)

2014-11-18 Thread Marc Zyngier
The GICv3 architecture provides a way to implement support for MSI/MSI-X using a specific block called the ITS (Interrupt Translation Service). The ITS can be accurately described as "page tables for interrupts". If you think this sounds scary, you're spot on. It uses a set of opaque memory tables

Re: [PATCH 0/2] Kernel Live Patching

2014-11-18 Thread Josh Poimboeuf
On Tue, Nov 18, 2014 at 01:47:46PM +0100, Petr Mladek wrote: > On Thu 2014-11-13 17:38:04, Vojtech Pavlik wrote: > > On Fri, Nov 14, 2014 at 12:56:38AM +0900, Masami Hiramatsu wrote: > > > > It'd be mostly based on your refcounting code, including stack > > > > checking (when a process sleeps, coun

Re: [RFC PATCH 1/2] clk: add property for force to update clock setting

2014-11-18 Thread Heiko Stübner
Am Dienstag, 18. November 2014, 09:59:56 schrieb Doug Anderson: > Hi, > > On Mon, Nov 17, 2014 at 1:14 PM, Mike Turquette wrote: > > Quoting Heiko Stübner (2014-11-14 10:06:47) > > > >> Hi Mike, > >> > >> Am Donnerstag, 13. November 2014, 17:41:02 schrieb Mike Turquette: > >> > Quoting Doug An

[PATCH v2 01/13] arm64: PCI/MSI: Use asm-generic/msi.h

2014-11-18 Thread Marc Zyngier
In order to support CONFIG_GENERIC_MSI_IRQ_DOMAIN, we need to define msi_alloc_info_t. As the generic version exposed in asm-generic/msi.h is perfectly convenient, import this file as asm/msi.h. Signed-off-by: Marc Zyngier --- arch/arm64/include/asm/Kbuild | 1 + 1 file changed, 1 insertion(+)

Re: linux-next: build warning after merge of the arm tree

2014-11-18 Thread Stephen Boyd
On 11/18/2014 12:25 AM, Stephen Rothwell wrote: > Hi Russell, > > After merging the arm tree, today's linux-next build (arm defconfig) > produced this warning: > > arch/arm/vfp/vfpmodule.c: In function 'vfp_init': > arch/arm/vfp/vfpmodule.c:725:6: warning: unused variable 'mvfr0' > [-Wunused-varia

[PATCH v2 06/13] irqchip: GICv3: ITS: LPI allocator

2014-11-18 Thread Marc Zyngier
LPIs are the type of interrupts that are used by the ITS. Given the size of the namespace (anywhere between 16 and 32bit), interrupt IDs are allocated in chunks of 32. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-gic-v3-its.c | 103 +++ 1 file changed,

[PATCH v2 04/13] irqchip: GICv3: ITS command queue

2014-11-18 Thread Marc Zyngier
The ITS is configured through a number commands that the driver issues to the HW using a memory-based circular buffer. This patch implements the subset of commands that are required for Linux. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-gic-v3-its.c | 511 +

[PATCH v2 07/13] irqchip: GICv3: ITS: tables allocators

2014-11-18 Thread Marc Zyngier
The interrupt translation is driven by a set of tables (device, ITT, and collection) to be in the end delivered to a CPU. Also, the redistributors rely on a couple of tables (configuration, and pending) to deliver the interrupts to the CPUs. This patch adds the required allocators for these tables

[PATCH v2 13/13] irqchip: GICv3: Binding updates for ITS

2014-11-18 Thread Marc Zyngier
Add the documentation for the bindings describing the GICv3 ITS. Signed-off-by: Marc Zyngier --- Documentation/devicetree/bindings/arm/gic-v3.txt | 39 1 file changed, 39 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/gic-v3.txt b/Documentation/device

[PATCH v2 05/13] irqchip: GICv3: ITS: irqchip implementation

2014-11-18 Thread Marc Zyngier
The usual methods that are used to present an irqchip to the rest of the kernel Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-gic-v3-its.c | 77 1 file changed, 77 insertions(+) diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gi

Re: [PATCH v4 1/2] ARM: keystone: pm: switch to use generic pm domains

2014-11-18 Thread Grygorii Strashko
Hi All, Thank you for your comments. On 11/17/2014 11:50 PM, Kevin Hilman wrote: > Arnd Bergmann writes: > >> On Monday 17 November 2014 11:14:16 Kevin Hilman wrote: > > So, The Keystone 2 Generic PM Controller is just a proxy PM layer here > between > device and Generic clock

[PATCH net] openvswitch: Fix mask generation for IPv6 labels.

2014-11-18 Thread Joe Stringer
When userspace doesn't provide a mask, OVS datapath generates a fully unwildcarded mask for the flow. This is done by taking a copy of the flow key, then iterating across its attributes, setting all values to 0xff. This works for most attributes, as the length of the netlink attribute typically mat

[PATCH v2 12/13] irqchip: GICv3: ITS: enable compilation of the ITS driver

2014-11-18 Thread Marc Zyngier
Get the show on the road... Signed-off-by: Marc Zyngier --- arch/arm64/Kconfig | 1 + drivers/irqchip/Kconfig | 4 drivers/irqchip/Makefile | 1 + 3 files changed, 6 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 9532f8d..242948d 100644 --- a/arch/arm64/Kco

Re: frequent lockups in 3.18rc4

2014-11-18 Thread Thomas Gleixner
On Tue, 18 Nov 2014, Dave Jones wrote: > Here's the first hit. Curiously, one cpu is missing. I don't think so > NMI watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [trinity-c180:17837] > irq event stamp: 2258092 > hardirqs last enabled at (2258091): [] > get_page_from_freelist+0x555/0xaa0 >

[PATCH v2 11/13] irqchip: GICv3: ITS: plug ITS init into main GICv3 code

2014-11-18 Thread Marc Zyngier
As the ITS is always a subsystem if GICv3, its probing/init is driven by the main GICv3 code. Plug that code in (guarded by a config option). Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-gic-v3.c | 41 -- include/linux/irqchip/arm-gic-v3.h | 5 +

[PATCH v2 10/13] irqchip: GICv3: ITS: DT probing and initialization

2014-11-18 Thread Marc Zyngier
Add the code that probes the ITS from the device tree, and initialize it. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-gic-v3-its.c | 170 +++ 1 file changed, 170 insertions(+) diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-

[PATCH v2 08/13] irqchip: GICv3: ITS: device allocation and configuration

2014-11-18 Thread Marc Zyngier
The ITS has a notion of "device" that can write to it in order to generate an interrupt. Conversly, the driver maintains a per-ITS list of devices, together with their configuration information, and uses this to configure the HW. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-gic-v3-its.c

[PATCH v2 09/13] irqchip: GICv3: ITS: MSI support

2014-11-18 Thread Marc Zyngier
Now, the bit of code that allow us to use the ITS as a MSI controller. Both MSI and MSI-X are supported. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-gic-v3-its.c | 179 + include/linux/irqchip/arm-gic-v3.h | 6 ++ 2 files changed, 185 insertions(+)

[PATCH v2 02/13] irqchip: GICv3: Convert to domain hierarchy

2014-11-18 Thread Marc Zyngier
In order to start supporting stacked domains, convert the GICv3 code base to the new domain hierarchy framework, which mostly amounts to supporting the new alloc/free callbacks. Signed-off-by: Marc Zyngier --- drivers/irqchip/Kconfig | 1 + drivers/irqchip/irq-gic-v3.c | 42 +++

[PATCH v2 03/13] irqchip: GICv3: rework redistributor structure

2014-11-18 Thread Marc Zyngier
The basic GICv3 driver has almost no use for the redistributor (other than the basic per-CPU interrupts), but the ITS needs a lot more from them. As such, rework the set of data structures. The behaviour of the GICv3 driver is otherwise unaffected. Signed-off-by: Marc Zyngier --- drivers/irqchi

[PATCH 3/4] ASoC: ad1980: Convert to regmap

2014-11-18 Thread Lars-Peter Clausen
This patch converts the ad1980 driver to use regmap for its IO. Signed-off-by: Lars-Peter Clausen --- sound/soc/codecs/Kconfig | 1 + sound/soc/codecs/ad1980.c | 141 -- 2 files changed, 88 insertions(+), 54 deletions(-) diff --git a/sound/soc/code

[PATCH 2/4] ASoC: Add helper functions for deferred regmap setup

2014-11-18 Thread Lars-Peter Clausen
Some drivers (most notably the AC'97 drivers) do not have access to their regmap struct when the component/codec is registered. For those drivers the automatic regmap setup will not work and needs to be done manually, typically from the component/CODEC drivers probe callback. This patch adds a set

[PATCH 0/4] ASoC: AC'97 regmap support and conversion

2014-11-18 Thread Lars-Peter Clausen
This series contains the final pieces for the AC'97 conversion to regmap. The first patch adds a regmap backend for AC'97 devices that will use the AC'97 bus of the device to perform reads and writes. The second patch adds a bit of plumbing to the ASoC framework that it makes it possible to assign

[PATCH] tracing: Fix race of function probes counting

2014-11-18 Thread Steven Rostedt
The function probe counting for traceon and traceoff suffered a race condition where if the probe was executing on two or more CPUs at the same time, it could decrement the counter by more than one when disabling (or enabling) the tracer only once. The way the traceon and traceoff probes are supp

[PATCH 1/4] regmap: ac97: Add generic AC'97 callbacks

2014-11-18 Thread Lars-Peter Clausen
From: Mark Brown Use the recently added support for bus operations to provide a standard mapping for AC'97 register I/O. Signed-off-by: Mark Brown --- Changes from the original version: * Add ac97_regmap_bus and made regmap_ac97_reg_{write,read} static * Use ac97->bus->ops inste

[PATCH 4/4] ASoC: ad1980: Remove ac97_read/ac97_write wrappers

2014-11-18 Thread Lars-Peter Clausen
Since the regmap conversion ac97_read/ac97_write are just simple wrappers around snd_soc_read/snd_soc_write. Use those instead directly and remove the wrappers. Signed-off-by: Lars-Peter Clausen --- sound/soc/codecs/ad1980.c | 36 1 file changed, 12 insertion

Re: [RFC] adp1653: Add device tree bindings for LED controller

2014-11-18 Thread Pavel Machek
On Mon 2014-11-17 07:06:17, Tony Lindgren wrote: > * Pali Rohár [141117 07:03]: > > On Monday 17 November 2014 15:55:46 Tony Lindgren wrote: > > > > > > There's nothing stopping us from initializing the camera code > > > from pdata-quirks.c for now to keep it working. Certainly the > > > binding

RE: [RFC PATCH] x86, entry: Switch stacks on a paranoid entry from userspace

2014-11-18 Thread Luck, Tony
>> The lost cpu is *really* lost. Warm reset doesn't fix the machine, I usually >> have to do a full power cycle. > How is it even possible that I did that with a few lines of asm? Probably not your directly your fault - some cascade of errors may have occurred. > Could this be a hardware bug?

[PATCH 1/3] x86 mpx: change return type of get_reg_offset()

2014-11-18 Thread Dave Hansen
From: Dave Hansen get_reg_offset() used to return the register contents themselves instead of the register offset. When it did that, it was an unsigned long. I changed it to return an integer _offset_ instead of the register. But, I neglected to change the return type of the function or the v

[PATCH 2/3] x86: cleanly separate use of asm-generic/mm_hooks.h

2014-11-18 Thread Dave Hansen
From: Dave Hansen asm-generic/mm_hooks.h provides some generic fillers for the 90% of architectures that do not need to hook some mmap-mainipulation functions. A comment inside says: > Define generic no-op hooks for arch_dup_mmap and > arch_exit_mmap, to be included in asm-FOO/mmu_context.h >

[PATCH 0/3] x86: MPX fixes for tip

2014-11-18 Thread Dave Hansen
This fixes up an issue turned up by smatch as well as some build issues on non-x86 architectures with the new hooks we added for MPX. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger

[PATCH 3/3] make arch_unmap()/etc... available to all architectures.

2014-11-18 Thread Dave Hansen
From: Dave Hansen The x86 MPX patch set calls arch_unmap() and arch_bprm_mm_init() from fs/exec.c, so we need at least a stub for them in all architectures. They are only called under an #ifdef for CONFIG_MMU=y, so we can at least restict this to architectures with MMU support. blackfin/c6x ha

[ANN] Kernel integration now merged on backports

2014-11-18 Thread Luis R. Rodriguez
Full kernel integration is now merged as part of Linux backports-20141114. I've written a bit about it [0] [1], what we need now are users and developer to give this a good spin as we wind down for the v3.19 release, which will be the first release that will support kernel integration down to any k

[PATCH v2] PCI: Don't reject 64bit mmio on 32bit/PAE mode

2014-11-18 Thread Yinghai Lu
Aaron reported 32bit/PAE mode, has problem with 64bit resource. [6.610012] pci :03:00.0: reg 0x10: [mem 0x383fffc0-0x383fffdf 64bit pref] [6.622195] pci :03:00.0: reg 0x20: [mem 0x383fffe04000-0x383fffe07fff 64bit pref] [6.656112] pci :03:00.1: reg 0x10: [mem 0x38

Re: [PATCH RFC 3/3] ARM: reduce size of page table directory for short mode

2014-11-18 Thread Catalin Marinas
On Tue, Nov 18, 2014 at 03:53:25PM +, Konstantin Khlebnikov wrote: > Virtual memory above PAGE_OFFSET is covered by TTBR1 which always points > to swapper_pg_dir, thus size of the rest pgd tables might be reduced. > Of course idmap_pgd must be full 16k because it's used without split. > It seem

Re: [PATCH RFC] ARM: option for loading modules into vmalloc area

2014-11-18 Thread Konstantin Khlebnikov
On 2014-11-18 20:34, Russell King - ARM Linux wrote: On Tue, Nov 18, 2014 at 08:21:46PM +0400, Konstantin Khlebnikov wrote: Usually modules are loaded into small area prior to the kernel text because they are linked with the kernel using short calls. Compile-time instrumentation like GCOV or KA

[PATCH net-net 0/4] Increase the limit of tuntap queues

2014-11-18 Thread Pankaj Gupta
This patch series is followup to the RFC posted as: https://lkml.org/lkml/2014/8/18/392 Changes from RFC are: PATCH 1: Sergei Shtylyov - Add an empty line after declarations. PATCH 2: Jiri Pirko - Do not introduce new module paramaters. Michael.S.Tsirkin - We can use sysctl for limiting m

Re: [PATCH v2] hwmon: (lm75) Add support for the NXP LM75B

2014-11-18 Thread Guenter Roeck
On Tue, Nov 18, 2014 at 05:08:04PM +0100, Michael Thalmeier wrote: > It is basically a faster lm75 with improved (11 bit) resolution. > > Signed-off-by: Michael Thalmeier Applied to -next. Thanks, Guenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

[PATCH net-next 1/4] net: allow large number of rx queues

2014-11-18 Thread Pankaj Gupta
netif_alloc_rx_queues() uses kcalloc() to allocate memory for "struct netdev_queue *_rx" array. If we are doing large rx queue allocation kcalloc() might fail, so this patch does a fallback to vzalloc(). Similar implementation is done for tx queue allocation in netif_alloc_netdev_queues(). We avoi

Re: pull request: bluetooth-next 2014-11-07

2014-11-18 Thread Johan Hedberg
Hi Kirill, On Tue, Nov 18, 2014, Kirill A. Shutemov wrote: > On Fri, Nov 07, 2014 at 11:27:54AM +0200, Johan Hedberg wrote: > > Chan-yeol Park (1): > > Bluetooth: Fix hci_sync missing wakeup interrupt > > Look like this commit causes problem for me: > > [2.018671] [ cut her

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