[PATCH 1/6] irqdomain: add new IRQ_DOMAIN_FLAGS_IPI

2015-09-23 Thread Qais Yousef
This flag will be used to identify an IPI domain. The idea is to reuse the alloc functions to allocate an IPI if it's set. We could alternatively add a separate new alloc_ipi() function to struct domain_ops. Signed-off-by: Qais Yousef --- include/linux/irqdomain.h | 13

[PATCH 2/6] irqdomain: add a new send_ipi() to irq_domain_ops

2015-09-23 Thread Qais Yousef
For generic ipi core to use. It takes hwirq as its sole argument. Hopefully this is generic enough? Should we pass something more abstract? Signed-off-by: Qais Yousef --- include/linux/irqdomain.h | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH 2/3] usb: gadget: f_midi: free usb request when done

2015-09-23 Thread Felipe Tonello
Hi Alan, On Wed, Sep 23, 2015 at 3:30 PM, Alan Stern wrote: > On Wed, 23 Sep 2015, Felipe Tonello wrote: > >> Hi Peter, >> >> On Wed, Sep 23, 2015 at 4:10 AM, Peter Chen wrote: >> > On Tue, Sep 22, 2015 at 07:59:09PM +0100, Felipe F. Tonello

Re: 4.3-rc2 on radeon: new backtraces during resume

2015-09-23 Thread Alex Deucher
On Wed, Sep 23, 2015 at 7:51 AM, Pavel Machek wrote: > HI! > > > I suspended T40p by mistake, and I got some lovely backtraces as a > result: > > Any ideas? Please see this thread: https://lkml.org/lkml/2015/9/23/361 Alex > >

[PATCH 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2015-09-23 Thread Sascha Hauer
This adds the device tree binding documentation for the mediatek thermal controller found on Mediatek MT8173 and other SoCs. Signed-off-by: Sascha Hauer Reviewed-by: Daniel Kurtz --- .../bindings/thermal/mediatek-thermal.txt | 38

Re: [PATCH v2 0/7] New Atmel PIO4 pinctrl/gpio driver

2015-09-23 Thread Nicolas Ferre
Le 21/09/2015 20:50, Linus Walleij a écrit : > On Wed, Sep 16, 2015 at 8:36 AM, Ludovic Desroches > wrote: > >> The Atmel PIO4 controller has been introduced with SAMA5D2 chip family. This >> drivers manages both pinmux/pinconf and gpio stuff. It is inspired by >>

Re: [PATCH v2] arm/ls1021a: Add Sleep feature for ls1021

2015-09-23 Thread Shawn Guo
On Tue, Sep 15, 2015 at 05:07:10PM +0800, Dongsheng Wang wrote: > From: Wang Dongsheng > > Add system STANDBY implement for ls1021 platform. > > Signed-off-by: Chenhui Zhao > Signed-off-by: Wang Dongsheng

RE: [PATCH v2] dmaengine: vdma: Add 64 bit addressing support to the driver

2015-09-23 Thread Anurag Kumar Vulisha
Hi Vinod, Thanks for reviewing the patch > -Original Message- > From: Vinod Koul [mailto:vinod.k...@intel.com] > Sent: Monday, September 21, 2015 9:27 PM > To: Anurag Kumar Vulisha > Cc: Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Michal > Simek; Soren Brinkmann; Dan

ext4: performance regression introduced by the cgroup writeback support

2015-09-23 Thread Dexuan Cui
Hi all, Since some point between July and Sep, I have been suffered from a strange "very slow write" issue and on Sep 9 I reported it to LKML (but got no reply): https://lkml.org/lkml/2015/9/9/290 The issue is: under high CPU and disk I/O pressure, *some* processes can suffer from a very slow

Re: [PATCH 2/2] ext4: implement cgroup writeback support

2015-09-23 Thread Artem Bityutskiy
On Wed, 2015-09-23 at 15:49 +0300, Artem Bityutskiy wrote: > On Tue, 2015-07-21 at 23:56 -0400, Theodore Ts'o wrote: > > > v2: Updated for MS_CGROUPWB -> SB_I_CGROUPWB. > > > > > > Signed-off-by: Tejun Heo > > > Cc: "Theodore Ts'o" > > > Cc: Andreas Dilger

Re: [PATCH 1/2] kernel/trace: call helper function to check global_trace

2015-09-23 Thread Yaowei Bai
On Tue, Sep 22, 2015 at 09:58:47AM -0400, Steven Rostedt wrote: > On Tue, 22 Sep 2015 21:43:12 +0800 > Yaowei Bai wrote: > > > Use helper function tracing_is_enabled() to check if global_trace > > has been disabled. > > Actually, I prefer not to. > > > > > No functional

[PATCH RESEND 2/4] sound/i2sbus/core: make format more appropriate

2015-09-23 Thread Yaowei Bai
Make 'return' stay in a singe line. No functional change. Signed-off-by: Yaowei Bai --- sound/aoa/soundbus/i2sbus/core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/aoa/soundbus/i2sbus/core.c b/sound/aoa/soundbus/i2sbus/core.c index

[PATCH v2 4/4] sound/core/seq: make prioq_match return bool

2015-09-23 Thread Yaowei Bai
This patch makes prioq_match return bool due to this particular function only using either one or zero as its return value. No functional change. Change from v1: fix indentation to line up properly (Johannes Berg) Signed-off-by: Yaowei Bai ---

[PATCH v6 0/2] Driver for Microchip digital potentiometers

2015-09-23 Thread Peter Rosin
From: Peter Rosin This is the sixth attempt for a driver for these chips. Thanks for review comments from Greg Kroah-Hartman, Crt Mori, Daniel Baluta, Lars-Peter Clauson, Andreas Dannenberg, Peter Meerwald and Jonathan Cameron. I think and hope I got it all sorted. Changes

[PATCH v6 1/2] iio: resistance: Document that resistance can be output

2015-09-23 Thread Peter Rosin
From: Peter Rosin Signed-off-by: Peter Rosin --- Documentation/ABI/testing/sysfs-bus-iio |2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio index

[PATCH v6 2/2] iio: mcp4531: Driver for Microchip digital potentiometers

2015-09-23 Thread Peter Rosin
From: Peter Rosin Add support for Microchip digital potentiometers and rheostats MCP4531, MCP4532, MCP4551, MCP4552 MCP4631, MCP4632, MCP4651, MCP4652 DEVICE Wipers Steps Resistor Opts (kOhm) i2c address MCP4531 1 1295, 10, 50, 100010111x

Re: [PATCH 15/17] ir-hix5hd2: drop the use of IRQF_NO_SUSPEND

2015-09-23 Thread zhangfei
On 09/21/2015 08:47 AM, Sudeep Holla wrote: This driver doesn't claim the IR transmitter to be wakeup source. It even disables the clock and the IR during suspend-resume cycle. This patch removes yet another misuse of IRQF_NO_SUSPEND. Cc: Mauro Carvalho Chehab Cc:

Re: [PATCH 2/4] of: irq: Add support for the new definition of "msi-parent"

2015-09-23 Thread Sergei Shtylyov
Hello. On 9/22/2015 8:52 PM, Marc Zyngier wrote: Since 126b16e2ad98 ("Docs: dt: add generic MSI bindings"), the definition of "msi-parent" has evolved, while maintaining some degree of compatibility. It can now express multiple MSI controllers as parents, as well as some sideband data being

RE: [PATCH v2] storvsc: get rid of bounce buffer

2015-09-23 Thread KY Srinivasan
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Wednesday, September 23, 2015 5:59 AM > To: linux-s...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; KY > Srinivasan ; Haiyang Zhang >

[PATCH 0/6] Implement generic IPI support mechanism

2015-09-23 Thread Qais Yousef
This RFC series attempts to implement a generic IPI layer for reserving and sending IPI. It is based on the discussion in this link https://lkml.org/lkml/2015/8/26/713 This series deals with points #1 and #2 only. Since I'm not the irq expert, I'm hoping this series will give me early

Re: [PATCH] kernel: Remove unneeded return from void function

2015-09-23 Thread Tejun Heo
On Wed, Sep 23, 2015 at 12:34:30PM +0200, Guillaume Gomez wrote: > Signed-off-by: Guillaume Gomez Applied to percpu/for-4.4. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [alsa-devel] [PATCH] mfd: arizona: Call the runtime PM function if the state is runtime resumed

2015-09-23 Thread Charles Keepax
On Wed, Sep 23, 2015 at 11:04:04AM +0900, Inha Song wrote: > Hi, Charles, > > I saw the log with LOG_DEVICE in regmap. But, I'm not sure the reason that > suspend noirq failed is IRQ occuring. > > Here is my log: > -- > root@localhost:~# aplay test.wav > [ 41.049072]

Re: [PATCH v7 3/6] pci:host: Add Altera PCIe host controller driver

2015-09-23 Thread Marc Zyngier
On Wed, 23 Sep 2015 17:33:09 +0800 Ley Foon Tan wrote: > On Wed, Sep 23, 2015 at 2:33 AM, Marc Zyngier wrote: > > On Mon, 21 Sep 2015 10:13:04 +0800 > > Ley Foon Tan wrote: > > > >> This patch adds the Altera PCIe host controller

Re: [PATCH v3 0/1] USB DWC2 parity fix in isochronous mode

2015-09-23 Thread Scott Branden
On 15-09-23 01:18 AM, John Youn wrote: On 9/23/2015 1:11 AM, John Youn wrote: On 9/23/2015 12:36 AM, Scott Branden wrote: Hi John, Could you please review the v3 Patch. I believe we have address all of your comments? Yes I've been meaning to test it on our platforms. I should be able to

Re: [PATCH 2/3] usb: gadget: f_midi: free usb request when done

2015-09-23 Thread Alan Stern
On Wed, 23 Sep 2015, Felipe Tonello wrote: > Hi Peter, > > On Wed, Sep 23, 2015 at 4:10 AM, Peter Chen wrote: > > On Tue, Sep 22, 2015 at 07:59:09PM +0100, Felipe F. Tonello wrote: > >> req->actual == req->length means that there is no data left to enqueue, > >> so

Re: [Patch v3 2/2] tracing: gpio: add Kconfig option for enabling/disabling trace events

2015-09-23 Thread Tal Shorer
Merge window for 4.3 is over, so I figured I might bring this back up On Tue, Aug 11, 2015 at 10:45 PM, Tal Shorer wrote: > ping? > > On Sat, Aug 1, 2015 at 3:27 PM, Tal Shorer wrote: >> Add a new options to trace Kconfig, CONFIG_TRACING_EVENTS_GPIO,

Re: [PATCH v3] coccinelle: tests: unsigned value cannot be lesser than zero

2015-09-23 Thread SF Markus Elfring
> In the example above spatch finds ull, ulli, but not ul and uli. > If you add int to unsigned long long, it won't find anything. I suggest to take another look at the use of type modifiers in the semantic patch language. It seems that it matters occasionally to specify them explicitly. How do

Re: [PATCH 08/17] hwmon: abx500: drop the use of IRQF_NO_SUSPEND

2015-09-23 Thread Guenter Roeck
On 09/21/2015 08:47 AM, Sudeep Holla wrote: The description in the driver states: "ABX500 does not provide auto ADC, so to monitor the required temperatures, a periodic work is used. It is more important to not wake up the CPU... If the chip gets too hot during a sleep state it's most likely due

Re: [PATCH 13/13] Staging: rtl8712: Coding style warning fix for block comment

2015-09-23 Thread Sudip Mukherjee
On Wed, Sep 23, 2015 at 07:32:52PM +0530, punit vara wrote: > On Wed, Sep 23, 2015 at 12:55 PM, Jaime Arrocha wrote: > > > > On 09/23/2015 12:31 AM, Sudip Mukherjee wrote: > >> > >> On Wed, Sep 23, 2015 at 02:03:56AM +0530, Punit Vara wrote: > > > It would be better if

Re: [PATCH] Documentation: Update kselftest.txt

2015-09-23 Thread Shuah Khan
On 09/23/2015 03:35 AM, Wang Long wrote: > Add document for how to install selftests. > > Signed-off-by: Wang Long Thanks for doing this. Here is my Ack for Jon to take this though the Documentation tree: Acked-by: Shuah Khan -- Shuah > ---

Re: [PATCH] watchdog: iTCO: Fix dependencies on I2C

2015-09-23 Thread Guenter Roeck
On 09/23/2015 03:32 AM, Matt Fleming wrote: On Fri, 11 Sep, at 06:28:08AM, Guenter Roeck wrote: If I2C is built as module, the iTCO watchdog driver must be built as module as well. I2C_I801 must only be selected if I2C is configured. This fixes the following build errors, seen if I2C=m and

Re: [PATCH 13/13] Staging: rtl8712: Coding style warning fix for block comment

2015-09-23 Thread punit vara
On Wed, Sep 23, 2015 at 12:55 PM, Jaime Arrocha wrote: > > On 09/23/2015 12:31 AM, Sudip Mukherjee wrote: >> >> On Wed, Sep 23, 2015 at 02:03:56AM +0530, Punit Vara wrote: >>> >>> This patch is to rtl8712_gp_bitdef.h file that fixes up following >>> warning reported by

Re: [RFC v7 24/41] richacl: Set the other permissions to the other mask

2015-09-23 Thread J. Bruce Fields
On Sat, Sep 05, 2015 at 12:27:19PM +0200, Andreas Gruenbacher wrote: > Change the acl so that everyone@ is granted the permissions set in the > other mask. > > Signed-off-by: Andreas Gruenbacher > --- > fs/richacl_compat.c | 35 +++ > 1 file

Re: [RFC v7 24/41] richacl: Set the other permissions to the other mask

2015-09-23 Thread Andreas Grünbacher
2015-09-23 16:03 GMT+02:00 J. Bruce Fields : > On Sat, Sep 05, 2015 at 12:27:19PM +0200, Andreas Gruenbacher wrote: >> +static int >> +richacl_set_other_permissions(struct richacl_alloc *alloc) >> +{ >> + struct richacl *acl = alloc->acl; >> + unsigned int x =

Re: [PATCH 15/17] ir-hix5hd2: drop the use of IRQF_NO_SUSPEND

2015-09-23 Thread Sudeep Holla
On 23/09/15 15:26, zhangfei wrote: On 09/21/2015 08:47 AM, Sudeep Holla wrote: This driver doesn't claim the IR transmitter to be wakeup source. It even disables the clock and the IR during suspend-resume cycle. This patch removes yet another misuse of IRQF_NO_SUSPEND. Cc: Mauro Carvalho

Re: [RFT v3] eata: Convert eata driver as normal PCI and platform device drivers

2015-09-23 Thread James Bottomley
On Wed, 2015-09-23 at 20:14 +0930, Arthur Marsh wrote: > > Jiang Liu wrote on 23/09/15 14:54: > > > Hi Arthur, > > I have found the cause of the warning messages, it's caused > > by a flaw in the conversion. But according to my understanding, > > it isn't related to the kexec/kdump failure.

Re: [PATCH] MAINTAINERS: Update website and git repo for Wolfson Microelectronics

2015-09-23 Thread Charles Keepax
On Tue, Sep 22, 2015 at 03:30:33PM +0100, Richard Fitzgerald wrote: > Support for Wolfson Microelectronics devices is now part of Cirrus Logic > and the relevant parts of the old opensource.wolfsonmicro.com site have > moved to the Cirrus Logic GitHub area. > > This patch updates the website and

[PATCH] vf610_adc: Fix internal temperature calculation

2015-09-23 Thread Bhuvanchandra DV
There is an observed temperature difference of ~20°C with the internal temperature reading and the temperature measured on SoC package. Existing calculations consider the typical values provided in datasheet. Those typical values are valid for VREFH_ADC at 3.0V. Voltage at 25°C is different for

[PATCH 3/3] ARM64: dts: mt8173: Add thermal/auxadc device nodes

2015-09-23 Thread Sascha Hauer
Signed-off-by: Sascha Hauer Reviewed-by: Daniel Kurtz --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi

[PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-09-23 Thread Sascha Hauer
This adds support for the Mediatek thermal controller found on MT8173 and likely other SoCs. The controller is a bit special. It does not have its own ADC, instead it controls the on-SoC AUXADC via AHB bus accesses. For this reason we need the physical address of the AUXADC. Also it controls a mux

[PATCH v9] Add Mediatek thermal support

2015-09-23 Thread Sascha Hauer
This series adds support for the thermal sensors included in the MT8173 SoC. Currently only basic temperature reading is supported without any interrupt support. The cpufreq driver for MT8173 is currently under review, so there's no real cooling device available in mainline. Until this is

Re: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and findfs objects

2015-09-23 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 23, 2015 at 03:50:12PM +0200, Jiri Olsa escreveu: > On Wed, Sep 23, 2015 at 10:44:56AM -0300, Arnaldo Carvalho de Melo wrote: > > SNIP > > > New stuff normally comes with new 'perf test' entries, Intel PT borrowed > > the kernel x86 instruction decoder: added a 'perf test' entry,

Re: [RFC v7 15/41] richacl: Automatic Inheritance

2015-09-23 Thread J. Bruce Fields
On Mon, Sep 21, 2015 at 09:51:46PM -0400, J. Bruce Fields wrote: > On Mon, Sep 21, 2015 at 11:19:59PM +0200, Andreas Gruenbacher wrote: > > 2015-09-18 20:40 GMT+02:00 J. Bruce Fields : > > > On Sat, Sep 05, 2015 at 12:27:10PM +0200, Andreas Gruenbacher wrote: > > >> Automatic

Re: [PATCH] net: Remove unneeded return from void function

2015-09-23 Thread Sergei Shtylyov
On 9/23/2015 1:31 PM, Guillaume Gomez wrote: Signed-off-by: Guillaume Gomez --- include/linux/netdevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 88a0069..4a444a1 100644 ---

Re: [PATCH v2] mfd: lpc_ich: Separate device cells for clarity

2015-09-23 Thread Aaron Sierra
- Original Message - > From: "Lee Jones" > Sent: Tuesday, September 22, 2015 7:31:19 PM > > On Tue, 22 Sep 2015, Aaron Sierra wrote: > > > The lpc_ich_cells array gives the wrong impression about the > > relationship between the watchdog and GPIO devices. They are

Re: [PATCH] kernel: Remove unneeded return from void function

2015-09-23 Thread Christoph Lameter
Acked-by: Christoph Lameter -- 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.html Please read the FAQ at http://www.tux.org/lkml/

Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90()

2015-09-23 Thread Daniel Vetter
On Wed, Sep 23, 2015 at 10:59:51AM +0200, Borislav Petkov wrote: > On Wed, Sep 23, 2015 at 09:25:23AM +0200, Daniel Vetter wrote: > > Strange thing is that I've tested this on a radeon over here and I don't > > see this backtrace ... wut. Below diff should appease the backtraces at > > least. > >

[PATCH] Fix AF_PACKET ABI breakage in 4.2

2015-09-23 Thread David Woodhouse
Commit 7d82410950aa ("virtio: add explicit big-endian support to memory accessors") accidentally changed the virtio_net header used by AF_PACKET with PACKET_VNET_HDR from host-endian to big-endian. Since virtio_legacy_is_little_endian() is a very long identifier, define a VIO_LE macro and use

Re: [PATCH v2 5/7] ARM: at91/defconfig: sama5: add PIO4 controller support

2015-09-23 Thread Nicolas Ferre
Le 21/09/2015 20:25, Linus Walleij a écrit : > On Wed, Sep 16, 2015 at 8:37 AM, Ludovic Desroches > wrote: > >> SAMA5D2 chip family has a new PIO controller. >> >> Signed-off-by: Ludovic Desroches > > Acked-by: Linus Walleij

[PATCH 6/6] irqchip: mips-gic: use the new generic IPI API

2015-09-23 Thread Qais Yousef
Use the new IPI generic functions to implement smp IPIs. For simplicity for now, I'm reserving the IPIs from the end of the available hwirqs. But this could easily be changed to get a list of hwirqs to use as IPIs from platform code or DT. The implementation is meant as a demonstration of using

[PATCH 5/6] irqchip: mips-gic: add a IPI hierarchy domain

2015-09-23 Thread Qais Yousef
Add a new ipi domain on top of the normal domain. The only reason this domain needs to be hierarchal is because we need to use the alloc function to allocate the IPI. Should we make the gic IPI a completely different irqchip? Signed-off-by: Qais Yousef ---

Re: [PATCH 15/17] ir-hix5hd2: drop the use of IRQF_NO_SUSPEND

2015-09-23 Thread zhangfei
On 09/23/2015 07:37 AM, Sudeep Holla wrote: On 23/09/15 15:26, zhangfei wrote: On 09/21/2015 08:47 AM, Sudeep Holla wrote: This driver doesn't claim the IR transmitter to be wakeup source. It even disables the clock and the IR during suspend-resume cycle. This patch removes yet another

Re: [PATCH V2 1/2] clk: imx6: Add SPDIF_GCLK clock in clock tree

2015-09-23 Thread Shawn Guo
On Tue, Sep 15, 2015 at 06:01:01PM +0800, Shengjiu Wang wrote: > As spdif driver will register SPDIF clock to regmap, regmap will do > clk_prepare in init function, so SPDIF clock is prepared in probe, then its > root clock (pll clock) is prepared also, which cause the arm can't enter > low power

[PATCH] staging: comedi: comedi_fops.c: Tweak kernel-doc for consistency

2015-09-23 Thread Ian Abbott
Adjust the kernel-doc in this file for consistency of capitalization and punctuation. Make more use of the special kernel-doc markers for parameter names, constant names, etc. Use the correct kernel-doc tag for the return values sections. Signed-off-by: Ian Abbott ---

Re: [PATCH v3 4/6] PCI: generic: Correct, and avoid overflow, in bus_max calculation.

2015-09-23 Thread David Daney
On 09/23/2015 01:01 AM, Arnd Bergmann wrote: On Tuesday 22 September 2015 16:49:15 David Daney wrote: From: David Daney There are two problems with the bus_max calculation: 1) The u8 data type can overflow for large config space windows. 2) The calculation is

Re: [PATCH] kbuild: document recursive dependency limitation / resolution

2015-09-23 Thread Luis R. Rodriguez
On Thu, Sep 03, 2015 at 01:56:49PM +0200, Paul Bolle wrote: > Hi Luis, > > (This landed in my Inbox when I was away from keyboard for a few weeks. > And then I dragged my feet a bit in answering this. Sorry about that.) No worries I will note that I try to be as thorough so sadly this can go on

Re: [PATCH 11/15] mm, dax, pmem: introduce __pfn_t

2015-09-23 Thread Dave Hansen
On 09/22/2015 09:42 PM, Dan Williams wrote: > /* > + * __pfn_t: encapsulates a page-frame number that is optionally backed > + * by memmap (struct page). Whether a __pfn_t has a 'struct page' > + * backing is indicated by flags in the low bits of the value; > + */ > +typedef struct { > +

Re: [PATCH v3 3/6] PCI: generic: Quit clobbering our pci_ops.

2015-09-23 Thread David Daney
On 09/23/2015 01:21 AM, Arnd Bergmann wrote: On Tuesday 22 September 2015 16:49:14 David Daney wrote: From: David Daney The pci-host-generic driver keeps a global struct pci_ops which it then patches with the .map_bus method appropriate for the bus device. A problem

Re: [PATCH 00/22] arm64: Consolidate CPU feature handling

2015-09-23 Thread Dave Martin
On Wed, Sep 16, 2015 at 03:20:58PM +0100, Suzuki K. Poulose wrote: > From: "Suzuki K. Poulose" > > This is an updated reincarnation of my "arm64: Expose CPU feature registers" > series [1], which does much more. [...] Do you get whitespace errors for some patches in

[PATCH v4 1/2] ARM: irqchip: mxs: prepare driver for HW with different offsets

2015-09-23 Thread Oleksij Rempel
Some HW has similar functionality but different register offsets. Make sure we can change offsets dynamically. Signed-off-by: Oleksij Rempel --- drivers/irqchip/irq-mxs.c | 83 ++- 1 file changed, 67 insertions(+), 16

[PATCH v4 0/2] Add support for ASM9260 interrupt controller

2015-09-23 Thread Oleksij Rempel
v2: - move icoll_init_iobasea and icoll_add_domain to preparation patch - add enum icoll_type - make separate irq_chip for ICOLL and ASM9260 v3: - fix typo in subject: Alp_h_ascale - remove "intr_per_reg", it is not used any more. It will also save some CPU cycles - remove spin locks. It

[PATCH v4 2/2] ARM: irqchip: mxs: add Alphascale ASM9260 support

2015-09-23 Thread Oleksij Rempel
Freescale iMX23/iMX28 and Alphascale ASM9260 have similar interrupt collectors. It makes easy to reuse irq-mxs code for ASM9260. Differences between this devices are fallowing: - different register offsets - different count of intterupt lines per register - ASM9260 don't provide reset bit -

Re: [PATCH 13/13] Staging: rtl8712: Coding style warning fix for block comment

2015-09-23 Thread punit vara
On Wed, Sep 23, 2015 at 9:04 PM, Sudip Mukherjee wrote: > On Wed, Sep 23, 2015 at 07:32:52PM +0530, punit vara wrote: >> On Wed, Sep 23, 2015 at 12:55 PM, Jaime Arrocha wrote: >> > >> > On 09/23/2015 12:31 AM, Sudip Mukherjee wrote: >> >> >> >> On

Re: [PATCH] ASoC: mediatek: Increase periods_min in capture

2015-09-23 Thread Mark Brown
On Wed, Sep 23, 2015 at 06:03:19PM +0800, Koro Chen wrote: > Any suggestion for this patch? > > On Mon, 2015-09-14 at 14:51 +0800, Koro Chen wrote: > > In capture, there is chance that hw_ptr reported at IRQ is > > a little smaller than period_size due to internal AFE buffer. > > In the case of

Re: [PATCH 2/2] Documentation: DT bindings: rockchip-i2s: add capture and lrck-mode

2015-09-23 Thread Mark Brown
On Wed, Sep 23, 2015 at 11:41:23AM +0800, Sugar Zhang wrote: > rockchip,lrck-mode: 0: rxtx separate, 1: tx share, 2: rx share. > default use 'rxtx separate' mode. I'm slightly confused about this property - is this covering differences in the IP deployed on different SoCs or is it covering how

Re: [PATCH v2 2/3] of/irq: Add new function of_msi_map_rid()

2015-09-23 Thread David Daney
On 09/23/2015 10:07 AM, Rob Herring wrote: On Tue, Sep 22, 2015 at 7:00 PM, David Daney wrote: From: David Daney The device tree property "msi-map" specifies how to create the PCI requester id used in some MSI controllers. Add a new function

[PATCH 6/7] net: netcp: allocate buffers to desc before re-enable interrupt

2015-09-23 Thread Murali Karicheri
Currently netcp_rxpool_refill() that refill descriptors and attached buffers to fdq while interrupt is enabled as part of NAPI poll. Doing it while interrupt is disabled could be beneficial as hardware will not be starved when CPU is busy with processing interrupt. Signed-off-by: Murali Karicheri

[PATCH 3/7] net: netcp: move netcp_register_interface() to after attach module

2015-09-23 Thread Murali Karicheri
The netcp interface is not fully initialized before attach the module to the interface. For example, the tx pipe/rx pipe is initialized in ethss module as part of attach(). So until this is complete, the interface can't be registered. So move registration of interface to net device outside the

[PATCH 5/7] net: netcp: check for interface handle in netcp_module_probe()

2015-09-23 Thread Murali Karicheri
Currently netcp_module_probe() doesn't check the return value of of_parse_phandle() that points to the interface data for the module and then pass the node ptr to the module which is incorrect. Check for return value and free the intf_modpriv if there is error. Signed-off-by: Murali Karicheri

[PATCH 2/7] net: netcp: remove dead code from the driver

2015-09-23 Thread Murali Karicheri
netcp_core is the first driver that will get initialized and the modules (ethss, pa etc) will then get initialized. So the code at the end of netcp_probe() that iterate over the modules is a dead code as the module list will be always be empty. So remove this code. Signed-off-by: Murali Karicheri

Re: AMD-IOMMU and problem with __init(data)?

2015-09-23 Thread Alexander Holler
Am 23.09.2015 um 13:43 schrieb Joerg Roedel: Hey Alexander, On Wed, Sep 23, 2015 at 12:22:24PM +0200, Alexander Holler wrote: [1.539496] AMD-Vi: Lazy IO/TLB flushing enabled [1.545741] AHO: count_annotated 25 [1.549259] AHO: build inventory [1.552517] AHO: ac 81d400d8

Re: [PATCH 2/3] usb: gadget: at91_udc: mention proper dependency

2015-09-23 Thread Sudip Mukherjee
On Mon, Sep 21, 2015 at 04:40:57PM +0530, Sudip Mukherjee wrote: > On Sun, Sep 20, 2015 at 11:15:28AM -0500, Felipe Balbi wrote: > > On Sat, Sep 19, 2015 at 10:42:58PM +0530, Sudip Mukherjee wrote: > > > While building allmodconfig on avr32 the build failed with the error: > > > "at91_pmc_base"

Re: ext4: performance regression introduced by the cgroup writeback support

2015-09-23 Thread Chris Mason
On Wed, Sep 23, 2015 at 01:49:31PM +, Dexuan Cui wrote: > Hi all, > Since some point between July and Sep, I have been suffered from a strange > "very slow write" issue and on Sep 9 I reported it to LKML (but got no > reply): https://lkml.org/lkml/2015/9/9/290 > > The issue is: under high

Re: Kernel 4.1 hang, apparently in __inet_lookup_established

2015-09-23 Thread Eric Dumazet
On Wed, 2015-09-23 at 10:25 +0200, Patrick Schaaf wrote: > Dear kernel developers, > > I recently started to upgrade my production hosts and VMs from the 3.14 > series > to 4.1 kernels, starting with 4.1.6. Yesterday, for the second time after I > started these upgrades, I experienced one of

Re: [PATCH 3/3] mm/compaction: add an is_via_compact_memory helper function

2015-09-23 Thread Vlastimil Babka
On 09/16/2015 02:00 PM, Yaowei Bai wrote: Introduce is_via_compact_memory helper function indicating compacting via /proc/sys/vm/compact_memory to improve readability. Note that it can also be through single node, i.e. /sys/devices/system/node/node0/compact is_manual_compaction() would

[PATCH v3] kbuild: document recursive dependency limitation / resolution

2015-09-23 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" Recursive dependency issues with kconfig are unavoidable due to some limitations with kconfig, since these issues are recurring provide a hint to the user how they can resolve these dependency issues and also document why such limitation exists. While

Re: [PATCH 2/6] irqdomain: add a new send_ipi() to irq_domain_ops

2015-09-23 Thread Jiang Liu
On 2015/9/23 22:49, Qais Yousef wrote: > For generic ipi core to use. It takes hwirq as its sole argument. > Hopefully this is generic enough? Should we pass something more abstract? > > Signed-off-by: Qais Yousef > --- > include/linux/irqdomain.h | 1 + > 1 file

Re: [PATCH 5/6] sched/fair: Get rid of scaling utilization by capacity_orig

2015-09-23 Thread bsegall
Yuyang Du writes: > On Tue, Sep 22, 2015 at 10:18:30AM -0700, bseg...@google.com wrote: >> Yuyang Du writes: >> >> > On Mon, Sep 21, 2015 at 10:30:04AM -0700, bseg...@google.com wrote: >> >> > But first, I think as load_sum and load_avg can afford

Re: [PATCH 0/6] Implement generic IPI support mechanism

2015-09-23 Thread Jiang Liu
On 2015/9/23 22:49, Qais Yousef wrote: > This RFC series attempts to implement a generic IPI layer for reserving and > sending IPI. > > It is based on the discussion in this link > > https://lkml.org/lkml/2015/8/26/713 > > This series deals with points #1 and #2 only. Since I'm not the

Re: [PATCH 12/15] mm, dax, gpu: convert vm_insert_mixed to __pfn_t, introduce _PAGE_DEVMAP

2015-09-23 Thread Dan Williams
On Wed, Sep 23, 2015 at 6:47 AM, Geert Uytterhoeven wrote: > Hi Dan, > > On Wed, Sep 23, 2015 at 6:42 AM, Dan Williams > wrote: >> Convert the raw unsigned long 'pfn' argument to __pfn_t for the purpose of >> evaluating the PFN_MAP and PFN_DEV

Re: [PATCH v2 2/3] of/irq: Add new function of_msi_map_rid()

2015-09-23 Thread David Daney
On 09/23/2015 09:52 AM, Marc Zyngier wrote: On Tue, 22 Sep 2015 17:00:05 -0700 David Daney wrote: From: David Daney The device tree property "msi-map" specifies how to create the PCI requester id used in some MSI controllers. Add a new

Re: [Patch v2 02/10] soc: qcom: smd-rpm: Add existing platform support

2015-09-23 Thread Bjorn Andersson
On Wed 23 Sep 09:53 PDT 2015, Andy Gross wrote: > This patch adds support for all current Qualcomm platforms which utilize > RPM over SMD. This includes both MSM8916 and APQ8084. > > Signed-off-by: Andy Gross > --- > .../devicetree/bindings/soc/qcom/qcom,smd-rpm.txt |

Re: [Patch v2 06/10] regulators: qcom-smd: Add PM8916 support

2015-09-23 Thread Bjorn Andersson
On Wed 23 Sep 09:53 PDT 2015, Andy Gross wrote: > This patch adds support and documentation for the PM8916 regulators > found on MSM8916 platforms. > > Signed-off-by: Andy Gross > --- > .../bindings/soc/qcom/qcom,smd-rpm-regulator.txt | 18 ++ >

[PATCH 7/7] net: netcp: fix deadlock reported by lockup detector

2015-09-23 Thread Murali Karicheri
A deadlock trace is seen in netcp driver with lockup detector enabled. The trace log is provided below for reference. This patch fixes the bug by removing the usage of netcp_modules_lock within ndo_ops functions. ndo_{open/close/ioctl)() is already called with rtnl_lock held. So there is no need

Re: [PATCH] ARM: dts: fix usb pin control for imx-rex dts

2015-09-23 Thread Felipe Tonello
On Mon, Sep 21, 2015 at 9:17 AM, Felipe Tonello wrote: > On Wed, Sep 16, 2015 at 6:40 PM, wrote: >> From: "Felipe F. Tonello" >> >> This fixes a duplicated pin control causing this error: >> >> imx6q-pinctrl

Re: [PATCH] kbuild: document recursive dependency limitation / resolution

2015-09-23 Thread Luis R. Rodriguez
On Tue, Aug 04, 2015 at 01:57:21PM +0200, Michal Marek wrote: > Dne 29.7.2015 v 22:34 Randy Dunlap napsal(a): > > On 07/29/15 13:09, Luis R. Rodriguez wrote: > >> From: "Luis R. Rodriguez" > >> > >> Recursive dependency issues with kconfig are unavoidable due to > >> some

Re: [PATCH v2] netlink: Replace rhash_portid with bound

2015-09-23 Thread Tejun Heo
Hello, Herbert. On Wed, Sep 23, 2015 at 02:13:42PM +0800, Herbert Xu wrote: > It doesn't matter on x86 but the semantics of smp_load_acquire > and smp_store_release explicitly includes a full barrier which > is something that we don't need. Yeah, I was confused there. I was thinking smp_rmb()

[GIT PULL] (xen) stable/for-jens-4.3

2015-09-23 Thread Konrad Rzeszutek Wilk
Hey Jens, Please git pull git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-jens-4.3 which is based on your 'for-4.3/drivers' branch. It has one fix that should go in and also be put in stable tree (I've added the CC already). It is a fix for a memory leak that can

Re: [PATCH 4/6] irq: add a new generic IPI handling code to irq core

2015-09-23 Thread Jiang Liu
On 2015/9/23 22:49, Qais Yousef wrote: > Add a generic mechanism to dynamically allocate an IPI. > > With this change the user can call irq_reserve_ipi() to dynamically allocate > an > IPI and use the associate virq to send one to 1 or more cpus. > > No irq_get_irq_hwcfg() as I hope we can

[Patch v2 05/10] arm64: dts: Add PM8916 support on MSM8916

2015-09-23 Thread Andy Gross
This patch adds the PM8916 regulator nodes found on MSM8916 platforms. Signed-off-by: Andy Gross --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi

[Patch v2 04/10] arm64: dts: qcom: Add RPM/SMD support on MSM8916

2015-09-23 Thread Andy Gross
Add support for the SMD and RPM devices found on MSM8916 platforms. Signed-off-by: Andy Gross --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi

[Patch v2 01/10] soc: qcom: documentation: Update SMD/RPM Docs

2015-09-23 Thread Andy Gross
This patch moves the qcom,smd-rpm.txt to the correct location and splits out the smd and rpm documentation. In addition, a smd-rpm-regulator document is added. Signed-off-by: Andy Gross --- .../devicetree/bindings/soc/qcom,smd-rpm.txt | 117

[Patch v2 00/10] Add RPM/SMD Support for QCOM platforms

2015-09-23 Thread Andy Gross
This patch set cleans up the documentation that is currently in place for the SMD, SMD-RPM, and SMD-RPM regulators. In addition, this patch set adds support for the PM8916 found on MSM8916 platforms and the PMA8084 found on APQ8084 platforms.

[Patch v2 02/10] soc: qcom: smd-rpm: Add existing platform support

2015-09-23 Thread Andy Gross
This patch adds support for all current Qualcomm platforms which utilize RPM over SMD. This includes both MSM8916 and APQ8084. Signed-off-by: Andy Gross --- .../devicetree/bindings/soc/qcom/qcom,smd-rpm.txt |2 ++ drivers/soc/qcom/smd-rpm.c |

[Patch v2 09/10] arm: dts: Add support for PMA8084 on APQ8084

2015-09-23 Thread Andy Gross
This patch adds support for the PMA8084 regulators found on APQ8084 platforms. Signed-off-by: Andy Gross --- arch/arm/boot/dts/qcom-apq8084.dtsi | 52 +++ 1 file changed, 52 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi

Re: [PATCH 3/3] ARM: dts: omap5-uevm: enable iio gpadc for Palmas

2015-09-23 Thread H. Nikolaus Schaller
Hi, Am 23.09.2015 um 18:56 schrieb Tony Lindgren : > * H. Nikolaus Schaller [150923 05:53]: > > Missing description? well, description is “ARM: dts: omap5-uevm: enable iio gpadc for Palmas" and I didn’t catch that the commit is otherwise empty. Sorry. >

Re: [PATCH 2/2] ext4: implement cgroup writeback support

2015-09-23 Thread Theodore Ts'o
On Wed, Sep 23, 2015 at 04:50:53PM +0300, Artem Bityutskiy wrote: > On Wed, 2015-09-23 at 15:49 +0300, Artem Bityutskiy wrote: > > On Tue, 2015-07-21 at 23:56 -0400, Theodore Ts'o wrote: > > > > v2: Updated for MS_CGROUPWB -> SB_I_CGROUPWB. > > > > > > > > Signed-off-by: Tejun Heo

Re: [PATCH 00/22] arm64: Consolidate CPU feature handling

2015-09-23 Thread Dave P Martin
On Wed, Sep 23, 2015 at 05:37:19PM +0100, Suzuki K. Poulose wrote: > On 23/09/15 16:58, Suzuki K. Poulose wrote: > > On 23/09/15 16:56, Dave P Martin wrote: > >> On Wed, Sep 16, 2015 at 03:20:58PM +0100, Suzuki K. Poulose wrote: > >>> From: "Suzuki K. Poulose" > >>> > >>>

Re: [PATCH v2 3/3] irqchip/gicv3-its: Handle OF device tree "msi-map" properties.

2015-09-23 Thread David Daney
On 09/23/2015 10:01 AM, Marc Zyngier wrote: On Tue, 22 Sep 2015 17:00:06 -0700 David Daney wrote: From: David Daney Call of_msi_map_rid() to handle mapping of the requester id. Signed-off-by: David Daney ---

Re: [PATCH v11 3/4] add FPGA manager core

2015-09-23 Thread atull
Hi Josh, Thanks for the review. This is all at the tail end of a long (>2 years) discussion on this. I hope that the way this has shaped out still meets the needs of the people who have been in this discussion the most and have had the strongest feelings (due to being current users of FPGAs

<    5   6   7   8   9   10   11   12   13   14   >