Re: [PATCH WIP] parport: add device model

2015-04-10 Thread Sudip Mukherjee
On Fri, Apr 10, 2015 at 05:49:55PM +0300, Dan Carpenter wrote: > On Fri, Apr 10, 2015 at 08:00:38PM +0530, Sudip Mukherjee wrote: > > + > > parport_default_sysctl_table.sysctl_header = > > register_sysctl_table(parport_default_sysctl_table.dev_dir); > > Should we return an error

Re: [PATCH WIP] parport: add device model

2015-04-10 Thread Sudip Mukherjee
On Fri, Apr 10, 2015 at 08:24:23PM +0200, Ondrej Zary wrote: > On Friday 10 April 2015 16:30:38 Sudip Mukherjee wrote: > > Many newer parallel port devices support plug (IEEE1284 device ID) but > Linux never supported it properly. The ID is probed and even the class is > printed in the kernel

Re: [PATCH 2/2] soc: qcom: Add Shared Memory Manager driver

2015-04-10 Thread Andy Gross
On Fri, April 10, 2015 6:55 pm, Bjorn Andersson wrote: > On Fri 10 Apr 14:30 PDT 2015, Andy Gross wrote: > >> On Fri, Apr 03, 2015 at 04:03:20PM -0700, Bjorn Andersson wrote: >> >> >> > +static int qcom_smem_alloc_private(struct qcom_smem *smem, >> > + unsigned host,

Re: [PATCH v2 1/2 RESEND] staging: dgnc: remove dead code in dgnc_tty_write()

2015-04-10 Thread Sudip Mukherjee
On Fri, Apr 10, 2015 at 05:48:54PM +0300, Giedrius Statkevičius wrote: > Remove the dead code protected by in_user in dgnc_tty_write() because it is > set > to 0 and never changed to 1 thus the code in ifs never gets executed. dgnc_tty_write() is being called by dgnc_tty_put_char() and it is also

[PATCH] Input: Fix multitouch support for Type Cover 3

2015-04-10 Thread Felipe Otamendi
Make the Type Cover 3 use the hid multitouch driver, which is better suited for the touchpad. Also, since it has multiple reports under the same interface, allow the generic hid driver to handle non-multitouch inputs such as the keyboard's. Signed-off-by: Felipe Otamendi ---

Re: i_uid_read()/i_uid_write() and friends

2015-04-10 Thread Eric W. Biederman
Anton Altaparmakov writes: > Hi, > > Is it intended that non-gpl file systems cannot use functions like > i_uid_read() and i_uid_write() (introduced by Eric Biederman in 3.5 > kernel)? > > They resolve to the below (in include/linux/fs.h): > > static inline uid_t i_uid_read(const struct inode

Re: [PATCH 0/2] Cygnus Audio Driver

2015-04-10 Thread Lori Hikichi
On 15-04-08 11:54 AM, Mark Brown wrote: > On Tue, Apr 07, 2015 at 07:28:40PM -0700, Lori Hikichi wrote: >> On 15-04-06 02:58 AM, Mark Brown wrote: > >>> OK, then it's going to need to be a clock provider at some point - the >>> clock will be going into external devices which are going to need

Re: [PATCH] cpufreq: fix qoriq uniprocessor build

2015-04-10 Thread Viresh Kumar
On 11 April 2015 at 03:47, Arnd Bergmann wrote: > The qoriq-cpufreq driver contains a hack for powerpc to include > asm/smp.h on uniprocessor builds so it can get the hardware CPU > number. On ARM, it does not require this hack, but instead gets > a compile error: > > In file included from

Re: [PATCH v2] mm: show free pages per each migrate type

2015-04-10 Thread David Rientjes
On Thu, 9 Apr 2015, Neil Zhang wrote: > show detailed free pages per each migrate type in show_free_areas. > > After apply this patch, the log printed out will be changed from > > [ 558.212844@0] Normal: 218*4kB (UEMC) 207*8kB (UEMC) 126*16kB (UEMC) > 21*32kB (UC) 5*64kB (C) 3*128kB (C)

i_uid_read()/i_uid_write() and friends

2015-04-10 Thread Anton Altaparmakov
Hi, Is it intended that non-gpl file systems cannot use functions like i_uid_read() and i_uid_write() (introduced by Eric Biederman in 3.5 kernel)? They resolve to the below (in include/linux/fs.h): static inline uid_t i_uid_read(const struct inode *inode) { return from_kuid(_user_ns,

Pull request for the IPMI driver for 4.0

2015-04-10 Thread Corey Minyard
The following changes since commit 3259b12ae1c79c146809829412ddc0d11a1b8e26: Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi (2015-04-10 17:41:47 -0700) are available in the git repository at: git://git.code.sf.net/p/openipmi/linux-ipmi

Re: [PATCH] Add a quirk for the Dell XPS 13 (2015) when in PS/2 mode.

2015-04-10 Thread Ben Gamari
Mario Limonciello writes: > On 04/10/2015 06:14 PM, Pali Rohár wrote: snip >> Can you comment if this is also same problem with invalid packets >> on E6440/E7440 machines? >> > Hi Pali, > snip > > The invalid packets on the Exx40 machines I believe is caused by some > behavior that happens if

Re: [PATCH v6 3/8] clk: tegra: Have EMC clock implement determine_rate()

2015-04-10 Thread Michael Turquette
Quoting Thierry Reding (2015-03-24 03:38:35) > On Tue, Mar 17, 2015 at 10:36:13AM +0100, Tomeu Vizoso wrote: > > instead of round_rate, so we can take rate constraints into account when > > choosing the best rate. > > > > Signed-off-by: Tomeu Vizoso > > --- > > drivers/clk/tegra/clk-emc.c | 19

Re: [B.A.T.M.A.N.] [PATCH 2/2] net: Export IGMP/MLD message validation code

2015-04-10 Thread Linus Lüssing
On Fri, Apr 10, 2015 at 07:46:39PM +0200, Linus Lüssing wrote: > diff --git a/net/ipv6/mcast_snoop.c b/net/ipv6/mcast_snoop.c > new file mode 100644 > index 000..95b34c0 > --- /dev/null > +++ b/net/ipv6/mcast_snoop.c > @@ -0,0 +1,198 @@ > +/* Copyright (C) 2015: Linus Lüssing PS: I'm a

Re: [PATCH 3/4] clk: add CLK_DEFER_ORPHAN flag to prevent orphans from being used

2015-04-10 Thread Heiko Stübner
Am Freitag, 10. April 2015, 17:52:43 schrieb Stephen Boyd: > On 04/02/15 08:34, Heiko Stuebner wrote: > > The usage of clocks derived from an orphan can produce issues when trying > > to set rates etc. So ideally a clk_get to such a clock should defer till > > the clock hierarchy is complete. > >

Re: kernel/timer: avoid spurious ksoftirqd wakeups (v2)

2015-04-10 Thread Luiz Capitulino
On Fri, 10 Apr 2015 15:09:07 -0300 Marcelo Tosatti wrote: > On Wed, Apr 08, 2015 at 12:12:45AM +0200, Frederic Weisbecker wrote: > > On Tue, Apr 07, 2015 at 11:10:49PM +0200, Thomas Gleixner wrote: > > > On Mon, 6 Apr 2015, Marcelo Tosatti wrote: > > > > It is only necessary to raise timer

[next:master 9498/10844] drivers/input/mouse/alps.c:1096:15: sparse: symbol 'alps_get_pkt_id_ss4_v2' was not declared. Should it be static?

2015-04-10 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: ab738b3efaea11cf9f130c7fe9ebb7568e998fe6 commit: 3db5b9f782b50a309fe0fb89fb890f6b4f66d9ae [9498/10844] Input: ALPS - add support for SS4 touchpad devices reproduce: # apt-get install sparse git checkout

[PATCH next] Input: alps_get_pkt_id_ss4_v2() can be static

2015-04-10 Thread kbuild test robot
Signed-off-by: Fengguang Wu --- alps.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c index ad741c0..3ef93ff 100644 --- a/drivers/input/mouse/alps.c +++ b/drivers/input/mouse/alps.c @@ -1093,7 +1093,7 @@

Re: OT: Open letter to the Linux World

2015-04-10 Thread Rob Landley
On Fri, Apr 10, 2015 at 4:20 PM, Aaro Koskinen wrote: > Hi, > > On Wed, Apr 08, 2015 at 07:37:15PM -0500, Rob Landley wrote: >> Heck, the FSF's entire "It's GNU Linux, Dammit! Call it by its proper >> name: GNU/Linux/dammit" campaign is seriously irritating, and part of >> what I was doing with

Re: [GIT PULL] clk/tegra: Changes for v4.1-rc1

2015-04-10 Thread Michael Turquette
Quoting Thierry Reding (2015-04-10 07:15:19) > Mike, Stephen, > > The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539: > > Linux 4.0-rc1 (2015-02-22 18:21:14 -0800) > > are available in the git repository at: > >

Re: [PATCH 1/4] clk: Propagate prepare and enable when reparenting orphans

2015-04-10 Thread Stephen Boyd
On 04/02/15 08:34, Heiko Stuebner wrote: > From: Doug Anderson > > With the existing code, if you find a parent for an orhpan that has > already been prepared / enabled, you won't enable the parent. That > can cause later problems since the clock tree isn't in a consistent > state. Fix by

[PATCH 2/2] drivers/usb/core: devio.c: Removed various warnings and errors generated by checkpatch.pl

2015-04-10 Thread Chase Metzger
Removed warnings and erros from checkpatch.pl that go against the coding style. Lines 29 and 103: removed unwanted spaces. Lines 1040 and 1591: changed dev_printk(KERN_DEBUG, ...) to dev_dbg(>dev). Lines 1942: changed an else switch to else { switch (...) {...} }. (Makes more sense(to me)).

Re: [PATCH 3/4] clk: add CLK_DEFER_ORPHAN flag to prevent orphans from being used

2015-04-10 Thread Stephen Boyd
On 04/02/15 08:34, Heiko Stuebner wrote: > The usage of clocks derived from an orphan can produce issues when trying > to set rates etc. So ideally a clk_get to such a clock should defer till > the clock hierarchy is complete. > But as some arches probably rely on such clocks we can't disable them

Re: [PATCH] clk: clk-gpio-gate: Fix active low

2015-04-10 Thread Michael Turquette
Quoting Jyri Sarha (2015-03-18 07:52:14) > On 03/18/15 15:53, Martin Fuzzey wrote: > > The active low flag in the DT cell is currently ignored. > > > > This occurs because of_get_named_gpio_flags() does not apply the flags > > to the underlying struct gpio_desc so the test in

Re: [PATCH 2/4] clk: add clk_is_orphan() to check if a clocks inherits from an orphan clock

2015-04-10 Thread Stephen Boyd
On 04/02/15 08:34, Heiko Stuebner wrote: > There are cases where it is helpful to know if the full clock path can be > trusted or if there is a parent clock missing somewhere in the parent-path. > > We keep it confined to the ccf area for now, if later users outside the ccf > surface it can be

Re: [PATCH 1/2] soc: qcom: Add device tree binding for Shared Memory Device

2015-04-10 Thread Bjorn Andersson
Corrected spelling of the msm mailing list... On Fri 10 Apr 17:16 PDT 2015, Bjorn Andersson wrote: > Add device tree binding documentation for the Qualcomm Shared Memory > Device, used for communication between the various CPUs in the Qualcomm > SoCs. > > Signed-off-by: Bjorn Andersson > --- >

Re: [PATCH] virtio_ring: Update weak barriers to use dma_wmb/rmb

2015-04-10 Thread Rusty Russell
Alexander Duyck writes: > This change makes it so that instead of using smp_wmb/rmb which varies > depending on the kernel configuration we can can use dma_wmb/rmb which for > most architectures should be equal to or slightly more strict than > smp_wmb/rmb. > > The advantage to this is that these

Re: [PATCH] lguest: explicitly setup /dev/lguest private_data

2015-04-10 Thread Rusty Russell
Greg KH writes: > On Tue, Apr 07, 2015 at 10:18:18AM +0200, Tom Van Braeckel wrote: >> The private_data member of the /dev/lguest device file is used to hold >> the current struct lguest and needs to be set to NULL to signify that >> no initialization has taken place. >> >> We explicitly set it

Re: [PATCH] virtio_config: reorder functions

2015-04-10 Thread Rusty Russell
Cornelia Huck writes: > On Wed, 8 Apr 2015 16:49:46 +0200 > "Michael S. Tsirkin" wrote: > >> On Tue, Mar 31, 2015 at 05:17:25PM +0200, Michael S. Tsirkin wrote: >> > This simply reorders functions in virtio_config >> > so width access wrapper helpers are all together. >> > Drops an extra empty

Re: [PATCH 2/2] soc: qcom: Add Shared Memory Manager driver

2015-04-10 Thread Bjorn Andersson
On Sat 04 Apr 04:16 PDT 2015, Paul Bolle wrote: > On Fri, 2015-04-03 at 16:03 -0700, Bjorn Andersson wrote: > > --- a/drivers/soc/qcom/Kconfig > > +++ b/drivers/soc/qcom/Kconfig > > > +config QCOM_SMEM > > + tristate "Qualcomm Shared Memory Manager (SMEM)" > > + depends on ARCH_QCOM > > +

Re: Re: [RFE] perf probe: Support globbing/regex in -a

2015-04-10 Thread Masami Hiramatsu
(2015/04/09 19:36), Arnaldo Carvalho de Melo wrote: > Em Thu, Apr 09, 2015 at 02:27:52PM +0900, Masami Hiramatsu escreveu: >> Hi Arnaldo, >> >> (2015/04/09 4:48), Arnaldo Carvalho de Melo wrote: >>> Hi Masami, >>> >>> In tools/perf constructors are named __new, and right now I want >>> to know

Re: [PATCH RFC 1/3] vfs: add copy_file_range syscall and vfs helper

2015-04-10 Thread Trond Myklebust
On Fri, Apr 10, 2015 at 8:02 PM, Zach Brown wrote: > On Fri, Apr 10, 2015 at 06:36:41PM -0400, Trond Myklebust wrote: >> On Fri, Apr 10, 2015 at 6:00 PM, Zach Brown wrote: > >> > + >> > +/* >> > + * copy_file_range() differs from regular file read and write in that it >> > + * specifically

Re: [PATCH] ARM: dts: qcom: Add msm8660 PMU node

2015-04-10 Thread Stephen Boyd
On 02/10/15 17:06, Stephen Boyd wrote: > Enable perf events on msm8660 devices by adding the pmu node. > > Signed-off-by: Stephen Boyd > --- Ping? Sorry, trying to clear out patches on a Friday night before going home. > arch/arm/boot/dts/qcom-msm8660.dtsi | 5 + > 1 file changed, 5

[PATCH 0/2] Qualcomm Shared Memory Driver

2015-04-10 Thread Bjorn Andersson
This patch implements the shared memory based communication system found on all Qualcomm platforms. SMD was originally used to communicate with the modem but has grown to be part of power management as well as the various DSPs etc found in Qualcomm platforms. The code depends on the SMEM

[PATCH 1/2] soc: qcom: Add device tree binding for Shared Memory Device

2015-04-10 Thread Bjorn Andersson
Add device tree binding documentation for the Qualcomm Shared Memory Device, used for communication between the various CPUs in the Qualcomm SoCs. Signed-off-by: Bjorn Andersson --- .../devicetree/bindings/soc/qcom/qcom,smd.txt | 78 ++ 1 file changed, 78 insertions(+)

Re: [PATCH v3 1/4] PCI: X-Gene: Add the APM X-Gene v1 PCIe MSI/MSIX termination driver

2015-04-10 Thread Feng Kan
Hi Marc: Is there any plans to support ACPI for GICv2m MSI? Both this driver and the GICv2m seems to support OF model of discovery for msi controller. X-Gene1 uses this driver and X-Gene2 uses GICv2m, there needs to be a way to associate msi controller with the PCIe bus. I haven't found a

[PATCH 2/2] soc: qcom: Add Shared Memory Driver

2015-04-10 Thread Bjorn Andersson
This adds the Qualcomm Shared Memory Driver (SMD) providing communication channels to remote processors, ontop of SMEM. Signed-off-by: Bjorn Andersson --- Note that this code depends on: https://patchwork.kernel.org/patch/6160431/ drivers/soc/qcom/Kconfig |8 +

Re: [PATCH v5 00/11] ARM: vf610m4: Add Vybrid Cortex-M4 support

2015-04-10 Thread Jason Cooper
Stefan, On Thu, Apr 09, 2015 at 10:04:04PM +0200, Stefan Agner wrote: > Stefan Agner (11): > genirq: generic chip: support hierarchy domain > irqchip: nvic: support hierarchy irq domain > irqchip: vf610-mscm: support NVIC parent I've applied patches 1 to 3 onto irqchip/vybrid. And will

Re: [PATCH v6 1/6] clk: iproc: define Broadcom iProc clock binding

2015-04-10 Thread Michael Turquette
Quoting Ray Jui (2015-03-17 22:45:17) > Document the device tree binding for Broadcom iProc architecture based > clock controller > > Signed-off-by: Ray Jui > Reviewed-by: Scott Branden > --- > .../bindings/clock/brcm,iproc-clocks.txt | 171 > > 1 file changed,

Re: [PATCH 3/6] direct-io: add support for write stream IDs

2015-04-10 Thread Ming Lin
On Fri, Apr 10, 2015 at 4:50 PM, Ming Lin wrote: > On Wed, Mar 25, 2015 at 7:26 AM, Jens Axboe wrote: >> On 03/24/2015 08:43 PM, Dave Chinner wrote: >>> >>> On Tue, Mar 24, 2015 at 09:27:00AM -0600, Jens Axboe wrote: Get the streamid from the file, if any, and set it on the bio.

Re: [PATCH RFC 1/3] vfs: add copy_file_range syscall and vfs helper

2015-04-10 Thread Zach Brown
On Fri, Apr 10, 2015 at 06:36:41PM -0400, Trond Myklebust wrote: > On Fri, Apr 10, 2015 at 6:00 PM, Zach Brown wrote: > > + > > +/* > > + * copy_file_range() differs from regular file read and write in that it > > + * specifically allows return partial success. When it does so is up to > > + *

Re: [PATCH v2 01/17] IB/Verbs: Implement new callback query_transport() for each HW

2015-04-10 Thread Tom Talpey
On 4/10/2015 5:06 PM, ira.weiny wrote: On Fri, Apr 10, 2015 at 01:17:23PM -0600, Jason Gunthorpe wrote: ... So trying to sum up. Have we settled on the following "capabilities"? Helper function names aside. /* legacy to communicate to userspace */ RDMA_LINK_LAYER_IB =

Re: [PATCH] cpufreq/intel_pstate: Fix an annoying !CONFIG_SMP warning

2015-04-10 Thread Rafael J. Wysocki
On Friday, April 03, 2015 03:19:53 PM Borislav Petkov wrote: > From: Borislav Petkov > > I keep seeing > > drivers/cpufreq/intel_pstate.c: In function ‘intel_pstate_init’: > drivers/cpufreq/intel_pstate.c:1187:26: warning: initialization from > incompatible pointer type > struct

Re: [PATCH v3 1/4] PCI: X-Gene: Add the APM X-Gene v1 PCIe MSI/MSIX termination driver

2015-04-10 Thread Duc Dang
On Fri, Apr 10, 2015 at 11:13 AM, Paul Bolle wrote: > Just a nit about a license mismatch. > > On Thu, 2015-04-09 at 10:05 -0700, Duc Dang wrote: >> --- a/drivers/pci/host/Kconfig >> +++ b/drivers/pci/host/Kconfig > >> +config PCI_XGENE_MSI >> + bool "X-Gene v1 PCIe MSI feature" >> +

Re: [PATCH 2/2] soc: qcom: Add Shared Memory Manager driver

2015-04-10 Thread Bjorn Andersson
On Fri 10 Apr 14:30 PDT 2015, Andy Gross wrote: > On Fri, Apr 03, 2015 at 04:03:20PM -0700, Bjorn Andersson wrote: > > > > +static int qcom_smem_alloc_private(struct qcom_smem *smem, > > + unsigned host, > > + unsigned item, > > +

Re: [PATCH] PM / Hiberante : optimize swsusp_free()

2015-04-10 Thread Rafael J. Wysocki
On Wednesday, March 25, 2015 01:49:36 AM Yeon, JeHyeon wrote: > From 6cb5fffc41911a29212be52d4ce7e481f5077ccf Mon Sep 17 00:00:00 2001 > From: "Tom(JeHyeon) Yeon" > Date: Thu, 19 Mar 2015 17:10:45 +0900 > Subject: [PATCH] PM / Hiberante : optimize swsusp_free() > > Our team developed the

Re: [PATCH 3/6] direct-io: add support for write stream IDs

2015-04-10 Thread Ming Lin
On Wed, Mar 25, 2015 at 7:26 AM, Jens Axboe wrote: > On 03/24/2015 08:43 PM, Dave Chinner wrote: >> >> On Tue, Mar 24, 2015 at 09:27:00AM -0600, Jens Axboe wrote: >>> >>> Get the streamid from the file, if any, and set it on the bio. >>> >>> Signed-off-by: Jens Axboe >>> --- >>> fs/direct-io.c

[PATCH] goldfish_pipe: Fix unlikely() misuse

2015-04-10 Thread Joe Perches
Move the close parenthesis. Signed-off-by: Joe Perches --- drivers/platform/goldfish/goldfish_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c index d9a09d9..a655840 100644 ---

[GIT PULL] irqchip: Core changes for v4.1 (round 3)

2015-04-10 Thread Jason Cooper
Thomas, This is the big one. With this pull request, we remove the legacy hack gic_arch_extn, and all users of it. Replacing it with proper representations via stacked domains. Due to the potentially disruptive nature of this series, I've taken several precautions to make sure all interested

Re: [PATCH v3 1/4] PCI: X-Gene: Add the APM X-Gene v1 PCIe MSI/MSIX termination driver

2015-04-10 Thread Duc Dang
On Fri, Apr 10, 2015 at 10:20 AM, Marc Zyngier wrote: > On 09/04/15 18:05, Duc Dang wrote: >> X-Gene v1 SoC supports total 2688 MSI/MSIX vectors coalesced into >> 16 HW IRQ lines. >> >> Signed-off-by: Duc Dang >> Signed-off-by: Tanmay Inamdar >> --- >> drivers/pci/host/Kconfig | 6 +

Re: [PATCH] Add a quirk for the Dell XPS 13 (2015) when in PS/2 mode.

2015-04-10 Thread Mario Limonciello
On 04/10/2015 06:14 PM, Pali Rohár wrote: On Saturday 11 April 2015 01:07:03 Mario Limonciello wrote: I could see problem with using older kernels which are in more stable or LTS distribution versions... But it is nice that problems are fixes for future 4.0/4.1 versions. And if you located

Re: libva decoding performance regression with kernel 4.0-rc

2015-04-10 Thread Olivier Crête
Hello, Thanks for the quick reply! With my real use-cases: 1. 9x 720p60 mpeg2 videos - 4.0-rc6: ~12 frames per second are on time - 4.0-rc6 + reverts: a stable 45 frames per second are on time - 044307a9: 40-45 frames per second are on time - 0a24802a: 45-46 frames per second are on time

Re: [PATCH 4/8] x86: Add support for rd/wr fs/gs base

2015-04-10 Thread Andy Lutomirski
On Fri, Apr 10, 2015 at 4:18 PM, Andi Kleen wrote: > On Fri, Apr 10, 2015 at 04:15:39PM -0700, Andy Lutomirski wrote: >> On Fri, Apr 10, 2015 at 4:05 PM, Andi Kleen wrote: >> >> One might argue that this code serves no purpose, but it's there, so >> >> we had better keep our per-invocation usage

Re: [PATCH 4/8] x86: Add support for rd/wr fs/gs base

2015-04-10 Thread Andi Kleen
On Fri, Apr 10, 2015 at 04:15:39PM -0700, Andy Lutomirski wrote: > On Fri, Apr 10, 2015 at 4:05 PM, Andi Kleen wrote: > >> One might argue that this code serves no purpose, but it's there, so > >> we had better keep our per-invocation usage of DEBUG_STACK within 4k. > > > > Only if you run NKLD.

Re: [PATCH] mailbox: add ACPI support for mailbox framework

2015-04-10 Thread Rafael J. Wysocki
On Tuesday, April 07, 2015 03:58:36 PM Feng Kan wrote: > On Tue, Apr 7, 2015 at 4:37 AM, Rafael J. Wysocki wrote: > > On Tuesday, April 07, 2015 11:41:43 AM Mika Westerberg wrote: > >> On Thu, Apr 02, 2015 at 11:04:24AM -0700, Feng Kan wrote: > >> > On Thu, Apr 2, 2015 at 2:07 AM, Mika Westerberg

Re: [PATCH 4/8] x86: Add support for rd/wr fs/gs base

2015-04-10 Thread Andy Lutomirski
On Fri, Apr 10, 2015 at 4:05 PM, Andi Kleen wrote: >> One might argue that this code serves no purpose, but it's there, so >> we had better keep our per-invocation usage of DEBUG_STACK within 4k. > > Only if you run NKLD. I doubt KDB or GDB support nesting. > We can ask Jan if he still uses it.

Re: [PATCH 4/8] x86: Add support for rd/wr fs/gs base

2015-04-10 Thread Andi Kleen
On Sat, Apr 11, 2015 at 01:05:46AM +0200, Andi Kleen wrote: > > One might argue that this code serves no purpose, but it's there, so > > we had better keep our per-invocation usage of DEBUG_STACK within 4k. > > Only if you run NKLD. I doubt KDB or GDB support nesting. > We can ask Jan if he still

[GIT PULL] SCSI fixes for 4.0-rc7

2015-04-10 Thread James Bottomley
This is our remaining set of three fixes for 4.0: two oops fixes(one for cable pulls triggering oopses and the other be2iscsi specific) and one warn on in sysfs on multipath devices using enclosures. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git

Re: [PATCH] Add a quirk for the Dell XPS 13 (2015) when in PS/2 mode.

2015-04-10 Thread Pali Rohár
On Saturday 11 April 2015 01:07:03 Mario Limonciello wrote: > On 04/10/2015 05:39 PM, Pali Rohár wrote: > > On Wednesday 25 February 2015 21:45:22 Pali Rohár wrote: > > Hello Mario, > > have you patched synaptics driver with some resetafter > > parameter? And have some team in dell found reason

[PATCH] drivers/char: Remove msm_smd_pkt driver

2015-04-10 Thread Stephen Boyd
This code is no longer used now that mach-msm has been removed. Delete it. Cc: David Brown Cc: Bryan Huntsman Cc: Daniel Walker Signed-off-by: Stephen Boyd --- drivers/char/Kconfig | 8 - drivers/char/Makefile | 1 - drivers/char/msm_smd_pkt.c | 465

[PATCH] TTY: msm_smd_tty: Remove unused driver

2015-04-10 Thread Stephen Boyd
This code is no longer used now that mach-msm has been removed. Delete it. Cc: David Brown Cc: Bryan Huntsman Cc: Daniel Walker Signed-off-by: Stephen Boyd --- drivers/tty/serial/Kconfig | 8 -- drivers/tty/serial/Makefile | 1 - drivers/tty/serial/msm_smd_tty.c | 232

[PATCH] ufs-qcom: Switch dependency to ARCH_QCOM

2015-04-10 Thread Stephen Boyd
This device only exists on platforms under ARCH_QCOM, not ARCH_MSM. Cc: Yaniv Gardi Cc: Dov Levenglick Cc: Vinayak Holikatti Cc: David Brown Cc: Bryan Huntsman Cc: Daniel Walker Signed-off-by: Stephen Boyd --- drivers/scsi/ufs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] phy: qcom-ufs: Switch dependency to ARCH_QCOM

2015-04-10 Thread Stephen Boyd
This phy only exists on platforms under ARCH_QCOM, not ARCH_MSM. Cc: Yaniv Gardi Cc: Dov Levenglick Cc: Christoph Hellwig Cc: David Brown Cc: Bryan Huntsman Cc: Daniel Walker Signed-off-by: Stephen Boyd --- drivers/phy/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[GIT PULL] irqchip: Core change for v4.1 (round 2)

2015-04-10 Thread Jason Cooper
Thomas, Apologies, I just realized that I tagged my previous PR incorrectly. As irqchip-core-4.0 vice irqchip-core-4.1. No action is necessary on your part, I'm just letting you know in case you rely on that tag name on your side. This request contains the non-controversial stuff. :-) At a

[PATCH] clocksource: qcom: Remove dead code

2015-04-10 Thread Stephen Boyd
This code is no longer used now that mach-msm has been removed. Delete it. Cc: David Brown Cc: Bryan Huntsman Cc: Daniel Walker Signed-off-by: Stephen Boyd --- drivers/clocksource/qcom-timer.c | 59 1 file changed, 59 deletions(-) diff --git

Re: [PATCH 5/8] x86: Make old K8 swapgs workaround conditional

2015-04-10 Thread Andi Kleen
On Sat, Apr 11, 2015 at 12:01:10AM +0200, Borislav Petkov wrote: > > diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c > > index a220239..e7f5667 100644 > > --- a/arch/x86/kernel/cpu/amd.c > > +++ b/arch/x86/kernel/cpu/amd.c > > @@ -551,6 +551,9 @@ static void init_amd_k8(struct

Re: [PATCH 6/8] x86: Enumerate kernel FSGS capability in AT_HWCAP2

2015-04-10 Thread Andi Kleen
> > +extern unsigned kernel_enabled_features; > > + > > +/* HWCAP2 supplies kernel enabled CPU feature, so that the application > > + can know that it can safely use them. The bits are defined in > > + uapi/asm/hwcap.h. */ > > Comments formatting. The formatting matches all the other

Re: [PATCH 6/8] x86: Enumerate kernel FSGS capability in AT_HWCAP2

2015-04-10 Thread Andi Kleen
> > +++ b/arch/x86/include/uapi/asm/hwcap.h > > @@ -0,0 +1,7 @@ > > +#ifndef _ASM_HWCAP_H > > +#define _ASM_HWCAP_H 1 > > + > > +#define HWCAP2_FSGSBASE(1 << 0)/* Kernel enabled RD/WR FS/GS > > BASE */ > > BIT() We cannot use BIT in uapi headers for obvious reasons. > >

Re: [PATCH] Add a quirk for the Dell XPS 13 (2015) when in PS/2 mode.

2015-04-10 Thread Mario Limonciello
On 04/10/2015 05:39 PM, Pali Rohár wrote: On Wednesday 25 February 2015 21:45:22 Pali Rohár wrote: Hello Mario, have you patched synaptics driver with some resetafter parameter? And have some team in dell found reason for invalid packets? Hi Pali, The reason was found for the invalid packets

Re: [PATCH 12/12] msm: msm_fb: Remove dead code

2015-04-10 Thread Stephen Boyd
On 03/13/15 11:51, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 11:09 Fri 13 Mar , Stephen Boyd wrote: >> This code is no longer used now that mach-msm has been removed. >> Delete it. >> >> Cc: Jean-Christophe Plagniol-Villard >> Cc: Tomi Valkeinen >> Cc: David Brown >> Cc: Bryan Huntsman

[PATCH] ACPI / scan: Annotate physical_node_lock in acpi_scan_is_offline()

2015-04-10 Thread Rafael J. Wysocki
From: Rafael J. Wysocki acpi_scan_is_offline() may be called under the physical_node_lock of the given device object's parent, so prevent lockdep from complaining about that by annotating that instance with SINGLE_DEPTH_NESTING. Reported-by: Xie XiuQi Signed-off-by: Rafael J. Wysocki ---

Re: [PATCH 4/8] x86: Add support for rd/wr fs/gs base

2015-04-10 Thread Andi Kleen
> One might argue that this code serves no purpose, but it's there, so > we had better keep our per-invocation usage of DEBUG_STACK within 4k. Only if you run NKLD. I doubt KDB or GDB support nesting. We can ask Jan if he still uses it. -Andi -- a...@linux.intel.com -- Speaking for myself

[PATCH] ACPI / scan: Add a scan handler for PRP0001

2015-04-10 Thread Rafael J. Wysocki
From: Rafael J. Wysocki If the special PRP0001 device ID is present in the given device's list of ACPI/PNP IDs and the device has a valid "compatible" property in the _DSD, it should be enumerated using the default mechanism, unless some scan handlers match the IDs preceding PRP0001 in the

Re: [PATCH v3] ARM: AM43xx: hwmod: add VPFE hwmod entries

2015-04-10 Thread Paul Walmsley
On Fri, 10 Apr 2015, Lad, Prabhakar wrote: > On Fri, Apr 10, 2015 at 11:51 PM, Paul Walmsley wrote: > > Hi Prabhakar > > > > On Fri, 10 Apr 2015, Lad, Prabhakar wrote: > > > >> Hi Paul, > >> > >> On Tue, Feb 10, 2015 at 11:10 PM, Paul Walmsley wrote: > >> > On Wed, 28 Jan 2015, Benoit Parrot

Re: [PATCH] lto: Add __noreorder and mark initcalls __noreorder

2015-04-10 Thread Andi Kleen
On Fri, Apr 10, 2015 at 02:36:29PM -0700, Andrew Morton wrote: > On Thu, 9 Apr 2015 01:50:23 +0200 Andi Kleen wrote: > > > > Head is spinning a bit. As this all appears to be shiny new > > > added-by-andi gcc functionality, it would be useful if we could have a > > > few more words describing

Re: [PATCH RFC 1/3] vfs: add copy_file_range syscall and vfs helper

2015-04-10 Thread Andreas Dilger
On Apr 10, 2015, at 4:00 PM, Zach Brown wrote: > > Add a copy_file_range() system call for offloading copies between > regular files. > > This gives an interface to underlying layers of the storage stack which > can copy without reading and writing all the data. There are a few > candidates

Re: [PATCH 4/8] x86: Add support for rd/wr fs/gs base

2015-04-10 Thread Andy Lutomirski
On Fri, Apr 10, 2015 at 3:52 PM, Andi Kleen wrote: >> I think all of this stems from unfortunate naming. DEBUG_STACK isn't >> one stack -- it's a debug stack *array*. The IST shift mechanism >> means that we can use different entries in that array as our stacks >> depending on how deeply nested

Re: [PATCH v3] ARM: AM43xx: hwmod: add VPFE hwmod entries

2015-04-10 Thread Lad, Prabhakar
Hi Paul, On Fri, Apr 10, 2015 at 11:51 PM, Paul Walmsley wrote: > Hi Prabhakar > > On Fri, 10 Apr 2015, Lad, Prabhakar wrote: > >> Hi Paul, >> >> On Tue, Feb 10, 2015 at 11:10 PM, Paul Walmsley wrote: >> > On Wed, 28 Jan 2015, Benoit Parrot wrote: >> > >> >> Suspend/resume is functional with

Re: [PATCH v3] checkpatch.pl: New instances of ENOSYS are errors

2015-04-10 Thread Andy Lutomirski
On Fri, Apr 10, 2015 at 3:44 PM, Joe Perches wrote: > On Fri, 2015-04-10 at 15:30 -0700, Andy Lutomirski wrote: >> On Fri, Aug 22, 2014 at 11:14 AM, Joe Perches wrote: >> > On Fri, 2014-08-22 at 11:05 -0700, Andy Lutomirski wrote: >> >> ENOSYS means that a nonexistent system call was called. We

[PATCH v2] errno.h: Improve ENOSYS's comment

2015-04-10 Thread Andy Lutomirski
From: Andy Lutomirski ENOSYS is the mechanism used by user code to detect whether the running kernel implements a given system call. It should not be returned by anything except an unimplemented system call. Unfortunately, it is rather frequently used in the kernel to indicate that various new

Re: [PATCH v4 1/3] ixgbe, ixgbevf: Add new mbox API to enable MC promiscuous mode

2015-04-10 Thread Jeff Kirsher
On Fri, 2015-04-10 at 01:04 +, Hiroshi Shimamoto wrote: > From: Hiroshi Shimamoto > > The limitation of the number of multicast address for VF is not enough > for the large scale server with SR-IOV feature. > IPv6 requires the multicast MAC address for each IP address to handle > the

Re: [PATCH 4/8] x86: Add support for rd/wr fs/gs base

2015-04-10 Thread Andi Kleen
> I think all of this stems from unfortunate naming. DEBUG_STACK isn't > one stack -- it's a debug stack *array*. The IST shift mechanism > means that we can use different entries in that array as our stacks > depending on how deeply nested we are. It's not. It was always intended as one stack.

Re: [PATCH v3] ARM: AM43xx: hwmod: add VPFE hwmod entries

2015-04-10 Thread Paul Walmsley
Hi Prabhakar On Fri, 10 Apr 2015, Lad, Prabhakar wrote: > Hi Paul, > > On Tue, Feb 10, 2015 at 11:10 PM, Paul Walmsley wrote: > > On Wed, 28 Jan 2015, Benoit Parrot wrote: > > > >> Suspend/resume is functional with this patch. > >> > >> Tested-by: Benoit Parrot > > > > Thanks folks, queued

Re: [PATCH v3] checkpatch.pl: New instances of ENOSYS are errors

2015-04-10 Thread Joe Perches
On Fri, 2015-04-10 at 15:30 -0700, Andy Lutomirski wrote: > On Fri, Aug 22, 2014 at 11:14 AM, Joe Perches wrote: > > On Fri, 2014-08-22 at 11:05 -0700, Andy Lutomirski wrote: > >> ENOSYS means that a nonexistent system call was called. We have a > >> bad habit of using it for things like invalid

Re: [PATCH] Add a quirk for the Dell XPS 13 (2015) when in PS/2 mode.

2015-04-10 Thread Pali Rohár
On Wednesday 25 February 2015 21:45:22 Pali Rohár wrote: > On Wednesday 25 February 2015 19:48:55 Mario Limonciello wrote: > > On 02/20/2015 02:41 PM, Pali Rohár wrote: > > > On Friday 20 February 2015 20:56:23 Mario Limonciello > > > wrote: > > > > > > resetafter=0 means to never reset (even if

Re: [PATCH RFC 1/3] vfs: add copy_file_range syscall and vfs helper

2015-04-10 Thread Trond Myklebust
Hi Zach, On Fri, Apr 10, 2015 at 6:00 PM, Zach Brown wrote: > Add a copy_file_range() system call for offloading copies between > regular files. > > This gives an interface to underlying layers of the storage stack which > can copy without reading and writing all the data. There are a few >

Re: [PATCH v3] ARM: AM43xx: hwmod: add VPFE hwmod entries

2015-04-10 Thread Lad, Prabhakar
Hi Paul, On Tue, Feb 10, 2015 at 11:10 PM, Paul Walmsley wrote: > On Wed, 28 Jan 2015, Benoit Parrot wrote: > >> Suspend/resume is functional with this patch. >> >> Tested-by: Benoit Parrot > > Thanks folks, queued for v3.21. > > I see that this patch is not into linux-next yet. Cheers,

[PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-04-10 Thread Stephen Boyd
Writes to /sys/.../cpuX/online fail if we determine the platform doesn't support hotplug for that CPU. Furthermore, if the cpu_die op isn't specified the system hangs when we try to offline a CPU and it comes right back online unexpectedly. Let's figure this stuff out before we make the sysfs

Re: [PATCH v3] checkpatch.pl: New instances of ENOSYS are errors

2015-04-10 Thread Andy Lutomirski
On Fri, Aug 22, 2014 at 11:14 AM, Joe Perches wrote: > On Fri, 2014-08-22 at 11:05 -0700, Andy Lutomirski wrote: >> ENOSYS means that a nonexistent system call was called. We have a >> bad habit of using it for things like invalid operations on >> otherwise valid syscalls. We should avoid this

Re: [PATCH 0/2] crypto: add new driver for Marvell CESA

2015-04-10 Thread Jason Cooper
Hey Boris, On Fri, Apr 10, 2015 at 05:11:48PM +0200, Boris Brezillon wrote: > On Fri, 10 Apr 2015 13:50:56 + Jason Cooper wrote: > > On Thu, Apr 09, 2015 at 04:58:41PM +0200, Boris Brezillon wrote: > > > I know we usually try to adapt existing drivers instead of replacing them > > > by new

[PATCH] net/wireless: CFG80211_WEXT_EXPORT requires wireless extensions

2015-04-10 Thread Arnd Bergmann
The CFG80211_WEXT_EXPORT symbol is selected by two drivers that make direct use of compat handlers for the wireless ioctls. However, this has no effect when the wireless extensions themselves are disabled, and results in a link error: ERROR: "cfg80211_wext_giwrts"

[PATCH] dmaengine: pch_dma: fix memory leak on failure path in pch_dma_probe()

2015-04-10 Thread Alexey Khoroshilov
Memory allocated for pch_dma is not deallocated in case of failure in pch_dma_probe(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/dma/pch_dma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/pch_dma.c

[PATCH] dmaengine: shdmac: avoid unused variable warnings

2015-04-10 Thread Arnd Bergmann
This driver uses '#ifdef CONFIG_ARCH_SHMOBILE' and '#ifdef CONFIG_ARM' interchangeably in its sh_dmae_probe function, which causes a build warning when building for ARM without also enabling shmobile: dma/sh/shdmac.c: In function sh_dmae_probe: dma/sh/shdmac.c:696:6: warning: unused variable

Re: [rtc-linux] [PATCH] rtc: OMAP: Add external 32k clock feature

2015-04-10 Thread Alexandre Belloni
On 10/04/2015 at 13:37:30 -0700, Andrew Morton wrote : > Is there any way in which we can get all systems working properly? If > there's no way of auto-detecting an external oscillator then perhaps a > module parameter is needed. If so, it would be better if the driver > were to default to

Re: [PATCH 3/9] Documentation: DT bindings: fix hda2codec_2x clock name for tegra30-hda

2015-04-10 Thread Paul Walmsley
On Fri, 10 Apr 2015, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Fix hda2codec_2x clock name in Tegra30 HDA controller device tree node > documentation. > While at it also fix coma vs. semicolon issue. > > Signed-off-by: Marcel Ziswiler Reviewed-by: Paul Walmsley against the Tegra

Re: [PATCH v3 1/2] x86_64,signal: Fix SS handling for signals delivered to 64-bit programs

2015-04-10 Thread Cyrill Gorcunov
On Fri, Apr 10, 2015 at 03:16:18PM -0700, Andy Lutomirski wrote: > On Fri, Apr 10, 2015 at 3:11 PM, Cyrill Gorcunov wrote: > > On Fri, Apr 10, 2015 at 02:59:19PM -0700, Andy Lutomirski wrote: > >> > >> As long as you're doing that, any chance you could remove CPREG1(gs) > >> and CPREG1(fs) as

[PATCH] ASoC: rnsd: fix build regression without CONFIG_OF

2015-04-10 Thread Arnd Bergmann
The r-car sound driver only works when CONFIG_OF is set, and after a recent change has a compile-time dependency as well: sound/built-in.o: In function `rsnd_dma_request_channel': :(.text+0x9fb84): undefined reference to `of_dma_request_slave_channel' This could be fixed either by adding a

Re: [PATCH 7/9] ARM: tegra: enable HDA in defconfig

2015-04-10 Thread Paul Walmsley
On Fri, 10 Apr 2015, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Signed-off-by: Marcel Ziswiler This one is also missing a commit message; please add one. https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/SubmittingPatches#n109 - Paul -- To

Re: [PATCH 5/9] ARM: tegra: fix hda2codec_2x clock name in Tegra124 device tree

2015-04-10 Thread Paul Walmsley
On Fri, 10 Apr 2015, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Signed-off-by: Marcel Ziswiler This one is also missing a commit message; please add one. https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/SubmittingPatches#n109 - Paul -- To

Re: [PATCH 1/9] ARM: tegra: Cardhu device-tree comment spelling fix

2015-04-10 Thread Paul Walmsley
On Fri, 10 Apr 2015, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > Signed-off-by: Marcel Ziswiler This patch is missing a commit message; please add one. https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/SubmittingPatches#n109 - Paul -- To unsubscribe

  1   2   3   4   5   >