Re: [PATCH v4 5/9] usb: dwc3: core: make dual-role work with OTG irq

2015-09-02 Thread Felipe Balbi
Hi, On Wed, Sep 02, 2015 at 05:24:20PM +0300, Roger Quadros wrote: > If the ID pin event is not available over extcon > then we rely on the OTG controller to provide us ID and VBUS > information. > > We still don't support any OTG features but just > dual-role operation. > > Signed-off-by:

Re: [PATCH 1/4] drivers/misc/sgi-gru: remove unused variable

2015-09-02 Thread Dimitri Sivanich
On Wed, Sep 02, 2015 at 04:54:55PM +0530, Sudip Mukherjee wrote: > These variables were only assigned some value and were never used. > > Signed-off-by: Sudip Mukherjee > --- > > I have removed the variables in the functions gru_dump_tfm() and > gru_dump_tgh() but it appeared that the intended

Re: [PATCH] tty: fix data race in flush_to_ldisc

2015-09-02 Thread Dmitry Vyukov
On Wed, Sep 2, 2015 at 4:18 PM, Peter Hurley wrote: > On 09/01/2015 04:11 PM, Dmitry Vyukov wrote: >> The data race is found with KernelThreadSanitizer (on rev 21bdb584af8c): >> >> ThreadSanitizer: data-race in release_tty >> Write of size 8 by thread T325 (K2579): >> release_tty+0xf3/0x1c0

Re: [PATCH v2 2/2] arm64: don't load 32-bit binaries if platform has no aarch32_el0

2015-09-02 Thread Yury Norov
On Wed, Sep 02, 2015 at 04:15:52PM +0200, Ard Biesheuvel wrote: > On 2 September 2015 at 16:00, Yury Norov wrote: > > Kernel option COMPAT defines the ability of executing aarch32 binaries. > > Some platforms does not support aarch32 mode, and so cannot execute that > > binaries. But we cannot

Re: [PATCH] serial: core: prevent softlockups on slow consoles

2015-09-02 Thread Peter Hurley
Hi Vitaly, On 08/31/2015 10:34 AM, Vitaly Kuznetsov wrote: > Hyper-V serial port is very slow on multi-vCPU guest How slow and why? > this causes > soflockups on intensive console writes. Touch nmi watchdog after putting > every char on port to avoid the issue for all serial drivers, the

[PATCH v6 4/8] add ufshcd_get_variant ufshcd_set_variant

2015-09-02 Thread Yaniv Gardi
Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufs-qcom.c | 34 +- drivers/scsi/ufs/ufshcd.h | 21 + 2 files changed, 38 insertions(+), 17 deletions(-) diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs-qcom.c index

Re: [PATCH v4 4/9] usb: dwc3: core: Adapt to named interrupts

2015-09-02 Thread Felipe Balbi
On Wed, Sep 02, 2015 at 05:24:19PM +0300, Roger Quadros wrote: > From: Felipe Balbi > > Add support to use interrupt names, > > Following are the interrupt names > > Peripheral Interrupt - peripheral > HOST Interrupt - host > OTG Interrupt - otg > > [Roger Q] > - If any of these are missing

[PATCH v6 5/8] scsi: ufs: creates wrapper functions for vops

2015-09-02 Thread Yaniv Gardi
In order to simplify the code a set of wrapper functions is created to test and call each of the variant operations. Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufs-qcom.c | 1 - drivers/scsi/ufs/ufshcd.c | 104 +--- drivers/scsi/ufs/ufshcd.h |

[PATCH v6 3/8] scsi: ufs-qcom: update configuration option of SCSI_UFS_QCOM component

2015-09-02 Thread Yaniv Gardi
This change is required in order to be able to build the component as a module. Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/Kconfig b/drivers/scsi/ufs/Kconfig index e945383..5f45307 100644 ---

[PATCH v6 1/8] phy: qcom-ufs: fix build error when the component is built as a module

2015-09-02 Thread Yaniv Gardi
Export the following functions in order to avoid build errors when the component PHY_QCOM_UFS is compiled as a module: ERROR: "ufs_qcom_phy_disable_ref_clk" [drivers/scsi/ufs/ufs-qcom.ko] undefined! ERROR: "ufs_qcom_phy_enable_ref_clk" [drivers/scsi/ufs/ufs-qcom.ko] undefined!

[PATCH v6 0/8] Fix error message and present UFS variant

2015-09-02 Thread Yaniv Gardi
V6: removed dead code from ufs-qcom.c and added calling to ufshcd_dealloc_host() in ufshcd-pltfrm.c in case of an error after a successfull ufshcd_alloc_host() V5: removed a redundant null check V4: add file Documentation/devicetree/bindings/ufs/ufs-qcom.txt and modify the compatible strings in

[PATCH v6 2/8] scsi: ufs-qcom: fix compilation warning if compiled as a module

2015-09-02 Thread Yaniv Gardi
This change fixes a compilation warning that happens if SCSI_UFS_QCOM is compiled as a module. Also this patch fixes an error happens when insmod the module: "ufs_qcom: module license 'unspecified' taints kernel." Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufs-qcom.c | 7 ++- 1 file

Re: [PATCH v4 3/9] usb: dwc3: dwc3-omap: Make the wrapper interrupt shared

2015-09-02 Thread Felipe Balbi
On Wed, Sep 02, 2015 at 05:24:18PM +0300, Roger Quadros wrote: > The wrapper interrupt is shared with OTG core so mark it IRQF_SHARED. > > Signed-off-by: Roger Quadros > --- > drivers/usb/dwc3/dwc3-omap.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: [PATCH RFC] xen: if on Xen, "flatten" the scheduling domain hierarchy

2015-09-02 Thread Juergen Gross
On 09/02/2015 04:08 PM, Boris Ostrovsky wrote: On 09/02/2015 07:58 AM, Juergen Gross wrote: On 08/31/2015 06:12 PM, Boris Ostrovsky wrote: On 08/20/2015 02:16 PM, Juergen Groß wrote: On 08/18/2015 05:55 PM, Dario Faggioli wrote: Hey everyone, So, as a followup of what we were discussing

Re: [PATCH v4 1/9] usb: dwc3: add dual-role support

2015-09-02 Thread Felipe Balbi
Hi, On Wed, Sep 02, 2015 at 05:24:16PM +0300, Roger Quadros wrote: > Register with the USB OTG core. Since we don't support > OTG yet we just work as a dual-role device even > if device tree says "otg". > > Use extcon framework to get VBUS/ID cable events and > kick the OTG state machine. > >

Re: [RFC 3/3] mmc: sdhci-pxav3: Add ->voltage_switch callback support

2015-09-02 Thread Vaibhav Hiremath
On Wednesday 02 September 2015 07:21 PM, Shawn Lin wrote: On 2015/9/2 3:32, Vaibhav Hiremath wrote: In case PXA1928 family of devices, there is device/controller specific configuration to control voltage/power on the IO pins. This patch implements and enables the sdhci_ops->voltage_switch()

[PATCH v4 1/9] usb: dwc3: add dual-role support

2015-09-02 Thread Roger Quadros
Register with the USB OTG core. Since we don't support OTG yet we just work as a dual-role device even if device tree says "otg". Use extcon framework to get VBUS/ID cable events and kick the OTG state machine. Signed-off-by: Roger Quadros --- drivers/usb/dwc3/core.c | 174

[PATCH v4 5/9] usb: dwc3: core: make dual-role work with OTG irq

2015-09-02 Thread Roger Quadros
If the ID pin event is not available over extcon then we rely on the OTG controller to provide us ID and VBUS information. We still don't support any OTG features but just dual-role operation. Signed-off-by: Roger Quadros --- drivers/usb/dwc3/core.c | 217

[PATCH v4 2/9] usb: dwc3: core.h: add some register definitions

2015-09-02 Thread Roger Quadros
Add OTG and GHWPARAMS6 register definitions Signed-off-by: Roger Quadros --- drivers/usb/dwc3/core.h | 82 + 1 file changed, 82 insertions(+) diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index 5ca2b25..4b85330 100644 ---

[PATCH v4 8/9] usb: dwc3: core: Prevent otg events from disabling themselves

2015-09-02 Thread Roger Quadros
There is a race happening during dwc3_drd_init() that causes otg events to get disabled. This is what happens. dwc3_otg_irq() happens immediately when PRTCAP is set to OTG, even though OEVTEN is 0. This is because BIT 31 IRQ of OEVT can't be disabled by OEVTEN. We configure OEVTEN in

[PATCH v4 9/9] usb: dwc3: core: don't break during suspend/resume while we're dual-role

2015-09-02 Thread Roger Quadros
We can't rely just on dr_mode to decide if we're in host or gadget mode when we're configured as otg/dual-role. So while dr_mode is OTG, we find out from the otg state machine if we're in host or gadget mode and take the necessary actions during suspend/resume. Also make sure that we disable OTG

[PATCH v4 7/9] usb: dwc3: gadget: Fix suspend/resume during dual-role mode

2015-09-02 Thread Roger Quadros
Gdget controller might not be always active during suspend/ resume when we are operating in dual-role/otg mode. Check if we're active and only if we are then perform necessary actions during suspend/resume. Signed-off-by: Roger Quadros --- drivers/usb/dwc3/gadget.c | 6 ++ 1 file changed, 6

[PATCH v4 6/9] usb: dwc3: save/restore OTG registers during suspend/resume

2015-09-02 Thread Roger Quadros
Without this we loose OTG controller register context and malfunction after a system suspend-resume. Signed-off-by: Roger Quadros --- drivers/usb/dwc3/core.c | 17 + drivers/usb/dwc3/core.h | 6 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git

[PATCH v4 4/9] usb: dwc3: core: Adapt to named interrupts

2015-09-02 Thread Roger Quadros
From: Felipe Balbi Add support to use interrupt names, Following are the interrupt names Peripheral Interrupt - peripheral HOST Interrupt - host OTG Interrupt - otg [Roger Q] - If any of these are missing we use the first available IRQ resource so that we don't break with older DTBs. - Use

[PATCH v4 0/9] usb: dwc3: add dual-role support

2015-09-02 Thread Roger Quadros
Hi, This series adds dual role support to dwc3 controller driver. Series depends on [1] for core OTG/dual-role support. Patches are based on greg/usb-next. Tested on am437x-gp-evm and dra7-evm after platform related patches are applied. Those are available at [2]. [1] core OTG/DRD support -

[PATCH v4 3/9] usb: dwc3: dwc3-omap: Make the wrapper interrupt shared

2015-09-02 Thread Roger Quadros
The wrapper interrupt is shared with OTG core so mark it IRQF_SHARED. Signed-off-by: Roger Quadros --- drivers/usb/dwc3/dwc3-omap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c index a5a1b7c..b18f2a3 100644

Re: [PATCH v2 1/2] arm64: cpufeature.h: resolve hidden header dependencies

2015-09-02 Thread Mark Rutland
On Wed, Sep 02, 2015 at 03:00:37PM +0100, Yury Norov wrote: > Functions implemented in cpufeature.h depend on some headers, but > cpufeature.h does not include them. This may cause build failure if > cpufeature.h user does not include that headers by itself. (Like it > happens in next patch of

Re: [PATCH] dax, pmem: add support for msync

2015-09-02 Thread Dave Hansen
On 09/02/2015 03:27 AM, Boaz Harrosh wrote: >> > Yet you're ignoring the fact that flushing the entire range of the >> > relevant VMAs may not be very efficient. It may be a very >> > large mapping with only a few pages that need flushing from the >> > cache, but you still iterate the mappings

[RFC PATCH] mmc: block: Add new ioctl to send combo commands

2015-09-02 Thread Jon Hunter
From: Seshagiri Holi Certain eMMC devices allow vendor specific device information to be read via a sequence of vendor commands. These vendor commands must be issued in sequence and an atomic fashion. One way to support this would be to add an ioctl function for sending a sequence of commands to

Re: [PATCH v2 2/2] arm64: don't load 32-bit binaries if platform has no aarch32_el0

2015-09-02 Thread Ard Biesheuvel
On 2 September 2015 at 16:00, Yury Norov wrote: > Kernel option COMPAT defines the ability of executing aarch32 binaries. > Some platforms does not support aarch32 mode, and so cannot execute that > binaries. But we cannot just disable COMPAT for them because the same > kernel binary may be used

Re: [regression] x86/signal/64: Fix SS handling for signals delivered to 64-bit programs breaks dosemu

2015-09-02 Thread Andy Lutomirski
On Wed, Sep 2, 2015 at 2:17 AM, Stas Sergeev wrote: > 02.09.2015 08:12, Andy Lutomirski пишет: > >> On Wed, Aug 19, 2015 at 9:30 AM, Stas Sergeev wrote: >>> >>> 19.08.2015 18:46, Andy Lutomirski пишет: On Wed, Aug 19, 2015 at 2:35 AM, Stas Sergeev wrote: >> >> Incidentally, I

Re: Strange reports of perf events on powerpc 83xx

2015-09-02 Thread Joakim Tjernlund
On Thu, 2015-08-27 at 15:58 +0200, leroy christophe wrote: > Hi, > > Has anybody already used 'perf' tool on powerpc MPC83xx ? > > I have been succesfully using perf on MPC8xx, but on MPC83xx I get > something strange. > > perf record/report reports addresses on user stack, as if it was mixing

Re: [GIT PULL] workqueue changes for 4.3

2015-09-02 Thread Tejun Heo
Hello, On Wed, Sep 02, 2015 at 09:19:23AM -0400, Josh Boyer wrote: > > Tim Gardner (1): > > workqueue: Make flush_workqueue() available again to non GPL modules > > This one claims to fix an error introduced by 37b1ef31a568fc02, which > is in 4.2. We had a user report this issue in Fedora

Re: [PATCH 12/15] tools lib api: Add configured support for fs

2015-09-02 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 02, 2015 at 03:46:25PM +0200, Jiri Olsa escreveu: > On Wed, Sep 02, 2015 at 10:39:31AM -0300, Arnaldo Carvalho de Melo wrote: > > Em Wed, Sep 02, 2015 at 09:56:42AM +0200, Jiri Olsa escreveu: > > > Adding name__mount (where name is in sysfs,procfs,debugfs,tracefs) The cut'n'paste

Re: [PATCH] tty: fix data race in flush_to_ldisc

2015-09-02 Thread Peter Hurley
On 09/01/2015 04:11 PM, Dmitry Vyukov wrote: > The data race is found with KernelThreadSanitizer (on rev 21bdb584af8c): > > ThreadSanitizer: data-race in release_tty > Write of size 8 by thread T325 (K2579): > release_tty+0xf3/0x1c0 drivers/tty/tty_io.c:1688 > tty_release+0x698/0x7c0

Re: [PATCH 06/15] tools lib api: Make tracing_path_strerror_open message generic

2015-09-02 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 02, 2015 at 03:44:50PM +0200, Jiri Olsa escreveu: > On Wed, Sep 02, 2015 at 10:18:44AM -0300, Arnaldo Carvalho de Melo wrote: > > Em Wed, Sep 02, 2015 at 09:56:36AM +0200, Jiri Olsa escreveu: > > > Making tracing_path__strerror_open_tp message generic by mentioning > > > > What means

Re: [PATCH] scripts/kernel-doc: Improve Markdown results

2015-09-02 Thread Jonathan Corbet
On Tue, 1 Sep 2015 14:57:33 -0300 Danilo Cesar Lemes de Paula wrote: > Did you find time to check this patch? As you mentioned that you applied > the Markdown support for the linux-next tree, this patch might be needed > (maybe "wanted" is a better word). Not quite what I said...I said I'd

Re: [PATCH 01/10] irqchip: irq-mips-gic: export gic_send_ipi

2015-09-02 Thread Marc Zyngier
On 02/09/15 14:25, Qais Yousef wrote: > On 09/02/2015 12:53 PM, Marc Zyngier wrote: >> On 02/09/15 11:48, Qais Yousef wrote: >>> It's worth noting in the light of this that INT_SPEC should be optional >>> since for hardware similar to mine there's not much to tell the >>> controller if it's all

Re: [PATCHv2 2/2] ARM: exynos_defconfig: Enable CONFIG_LEDS_PWM for Odroid-XU3

2015-09-02 Thread Krzysztof Kozlowski
W dniu 08.06.2015 o 02:03, Anand Moon pisze: > Enable CONFIG_LEDS_PWM amd CONFIG_LEDS_TRIGGER_HEARTBEAT for > Odroid-XU3 board. > > Signed-off-by: Anand Moon Dear Anand, There was some confusion for this patch (mixed v3 and v2) so overall it slipped through fingers. Can you please: 1. Rebase

Re: Unexpected slow block device write IO performance compared to uncached, unsynced direct IO using stock kernels

2015-09-02 Thread Dick Streefland
On Tuesday 2015-09-01 11:15, Dick Streefland wrote: | I'm seeing this as well here on a number of new Dell Optiplex 7020 | machines and one older Optiplex 780, all with 8GB RAM and running | Ubuntu 14.04 in 32-bit mode. It turned out that the dirty thresholds in /proc/vmstat became zero:

Re: [PATCH 22/31] perf tools: Add BPF_PROLOGUE config options for further patches

2015-09-02 Thread Namhyung Kim
On Tue, Sep 01, 2015 at 06:59:48AM +, Wang Nan wrote: > If both LIBBPF and DWARF are detected, it is possible to create prologue > for eBPF programs to help them accessing kernel data. HAVE_BPF_PROLOGUE > and CONFIG_BPF_PROLOGUE is added as flags for this feature. > >

Re: [PATCH RFC] xen: if on Xen, "flatten" the scheduling domain hierarchy

2015-09-02 Thread Boris Ostrovsky
On 09/02/2015 07:58 AM, Juergen Gross wrote: On 08/31/2015 06:12 PM, Boris Ostrovsky wrote: On 08/20/2015 02:16 PM, Juergen Groß wrote: On 08/18/2015 05:55 PM, Dario Faggioli wrote: Hey everyone, So, as a followup of what we were discussing in this thread: [Xen-devel] PV-vNUMA issue:

Re: stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-02 Thread Andy Lutomirski
On Sep 2, 2015 2:51 AM, "Stas Sergeev" wrote: > > https://lkml.org/lkml/2015/7/21/208 > > Guys, you gonna be kidding. > Is this a new trend of breaking dosemu, or what? > >> VM86 is entirely broken if ptrace, syscall auditing, or >> NOHZ_FULL is in use. The code is a big undocumented mess, it's

Re: [PATCH v2] x86: fix small LDT allocation for Xen

2015-09-02 Thread Andy Lutomirski
On Sep 2, 2015 5:46 AM, "Jan Beulich" wrote: > > While commit 37868fe113 ("x86/ldt: Make modify_ldt synchronous") added > a nice comment explaining that Xen needs page-aligned whole page chunks > for guest descriptor tables, it then nevertheless used kzalloc() on the > small size path. As I'm

Re: RFC: adding Linux vsyscall-disable and similar backwards-incompatibility flags to ELF headers?

2015-09-02 Thread Andy Lutomirski
On Sep 2, 2015 6:57 AM, "Brian Gerst" wrote: > > On Tue, Sep 1, 2015 at 10:21 PM, Andy Lutomirski wrote: > > On Sep 1, 2015 6:53 PM, "Brian Gerst" wrote: > >> > >> On Tue, Sep 1, 2015 at 8:51 PM, Andy Lutomirski > >> wrote: > >> > Hi all- > >> > > >> > Linux has a handful of weird features

Re: [PATCH] perf tools: Don't write to evsel if parser doesn't collect evsel

2015-09-02 Thread pi3orama
发自我的 iPhone > 在 2015年9月2日,下午9:55,Arnaldo Carvalho de Melo 写道: > > Em Wed, Sep 02, 2015 at 08:05:54PM +0800, pi3orama escreveu: >> 发自我的 iPhone >>> 在 2015年9月2日,下午7:54,Jiri Olsa 写道: > On Wed, Sep 02, 2015 at 02:53:58PM +0800, Wangnan (F) wrote: > @@ -1252,7 +1262,13 @@

Re: [PATCHv2] ARM64: Add AT_ARM64_MIDR to the aux vector

2015-09-02 Thread Siarhei Siamashka
On Wed, 2 Sep 2015 00:28:28 + "Pinski, Andrew" wrote: > > On Sep 2, 2015, at 3:13 AM, Siarhei Siamashka > > wrote: > > > > On Wed, 2 Sep 2015 01:58:56 +0800 > > pins...@gmail.com wrote: > > > >>> On Sep 2, 2015, at 1:30 AM, Mark Rutland wrote: > >>> > >>> [...] > >>> > >>> On Sat,

[PATCH v2 1/2] arm64: cpufeature.h: resolve hidden header dependencies

2015-09-02 Thread Yury Norov
Functions implemented in cpufeature.h depend on some headers, but cpufeature.h does not include them. This may cause build failure if cpufeature.h user does not include that headers by itself. (Like it happens in next patch of this series.) Signed-off-by: Yury Norov ---

[PATCH v2 0/2] arm64: introduce run-time detection of aarch32 support

2015-09-02 Thread Yury Norov
This is needed to avoid loading aarch32 binaries if COMPAT is enabled, but aarch32 is not supported by specific platform. First patch fixes hidden header dependencies in arch/arm64/include/asm/cpufeature.h. It's not related to the issue, but helps to avoid build failure that happens if one

[PATCH v2 2/2] arm64: don't load 32-bit binaries if platform has no aarch32_el0

2015-09-02 Thread Yury Norov
Kernel option COMPAT defines the ability of executing aarch32 binaries. Some platforms does not support aarch32 mode, and so cannot execute that binaries. But we cannot just disable COMPAT for them because the same kernel binary may be used by multiple platforms. In this patch,

Re: RFC: adding Linux vsyscall-disable and similar backwards-incompatibility flags to ELF headers?

2015-09-02 Thread Brian Gerst
On Tue, Sep 1, 2015 at 10:21 PM, Andy Lutomirski wrote: > On Sep 1, 2015 6:53 PM, "Brian Gerst" wrote: >> >> On Tue, Sep 1, 2015 at 8:51 PM, Andy Lutomirski wrote: >> > Hi all- >> > >> > Linux has a handful of weird features that are only supported for >> > backwards compatibility. The big one

Re: [PATCH] perf tools: Don't write to evsel if parser doesn't collect evsel

2015-09-02 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 02, 2015 at 08:05:54PM +0800, pi3orama escreveu: > 发自我的 iPhone > > 在 2015年9月2日,下午7:54,Jiri Olsa 写道: > >> On Wed, Sep 02, 2015 at 02:53:58PM +0800, Wangnan (F) wrote: > >>> @@ -1252,7 +1262,13 @@ foreach_evsel_in_last_glob(struct perf_evlist > >>> *evlist, > >>>struct perf_evsel

Re: [RFC 3/3] mmc: sdhci-pxav3: Add ->voltage_switch callback support

2015-09-02 Thread Shawn Lin
On 2015/9/2 3:32, Vaibhav Hiremath wrote: In case PXA1928 family of devices, there is device/controller specific configuration to control voltage/power on the IO pins. This patch implements and enables the sdhci_ops->voltage_switch() callback api. Note that IO pad register addresses are fetched

Re: [PATCH 12/15] tools lib api: Add configured support for fs

2015-09-02 Thread Jiri Olsa
On Wed, Sep 02, 2015 at 10:39:31AM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Sep 02, 2015 at 09:56:42AM +0200, Jiri Olsa escreveu: > > Adding name__mount (where name is in sysfs,procfs,debugfs,tracefs) > > interface that returns bool state of the filesystem mount: > > true - mounted,

RE: 4.1-rc7: Xorg broken after resume on thinkpad T40p, radeon problem?

2015-09-02 Thread Deucher, Alexander
> -Original Message- > From: Pavel Machek [mailto:pa...@ucw.cz] > Sent: Wednesday, September 02, 2015 6:03 AM > To: Andreas Mohr; maarten.lankho...@canonical.com; Deucher, Alexander > Cc: linux-kernel@vger.kernel.org > Subject: Re: 4.1-rc7: Xorg broken after resume on thinkpad T40p, radeon

Re: [PATCH 06/15] tools lib api: Make tracing_path_strerror_open message generic

2015-09-02 Thread Jiri Olsa
On Wed, Sep 02, 2015 at 10:18:44AM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Sep 02, 2015 at 09:56:36AM +0200, Jiri Olsa escreveu: > > Making tracing_path__strerror_open_tp message generic by mentioning > > What means "making message generic"? What is the current behaviour you > think is

Re: [PATCH 12/15] tools lib api: Add configured support for fs

2015-09-02 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 02, 2015 at 10:39:31AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Sep 02, 2015 at 09:56:42AM +0200, Jiri Olsa escreveu: > > Adding name__mount (where name is in sysfs,procfs,debugfs,tracefs) > > interface that returns bool state of the filesystem mount: > > true - mounted,

Re: [PATCH 12/15] tools lib api: Add configured support for fs

2015-09-02 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 02, 2015 at 09:56:42AM +0200, Jiri Olsa escreveu: > Adding name__mount (where name is in sysfs,procfs,debugfs,tracefs) > interface that returns bool state of the filesystem mount: > true - mounted, false - not mounted Well, why not take the opportunity and call it...

[PATCH V5 1/1] perf,test: test cpu topology

2015-09-02 Thread Kan Liang
From: Kan Liang This patch test cpu core_id and socket_id which are stored in perf_env. Based-on-a-patch-by: Jiri Olsa Signed-off-by: Kan Liang --- Changes since jirka's original version - Use pr_debug to replace fprintf - Add date_size to avoid warning - Introduce cpu_map, and compare

[PATCH] kobject: explain what kobject's sd field is

2015-09-02 Thread ulfalizer . lkml
From: Ulf Magnusson (More) unclear, especially name-wise, after sysfs_dirent became kernfs_node. Signed-off-by: Ulf Magnusson --- include/linux/kobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/kobject.h b/include/linux/kobject.h index

Re: linux-next: manual merge of the block tree with the xfs tree

2015-09-02 Thread Stephen Rothwell
Hi Roger, On Wed, 02 Sep 2015 14:34:51 +0100 Roger Willcocks wrote: > > Huh, now I've had my coffee, that extra check doesn't add anything. > (There's no harm done in assigning zero to io_error if it's already > zero.) Apologies for the noise. That's OK, my excuse is being to far at the other

Re: linux-next: manual merge of the block tree with the xfs tree

2015-09-02 Thread Roger Willcocks
On Wed, 2015-09-02 at 23:03 +1000, Stephen Rothwell wrote: > Hi Roger, > > On Wed, 2 Sep 2015 10:45:29 +0100 Roger Willcocks > wrote: > > > > On 2 Sep 2015, at 03:16, Stephen Rothwell wrote: > > > > > ++if (!ioend->io_error) > > > ++ioend->io_error = bio->bi_error;

Re: [GIT PULL] Ext3 removal, quota & udf fixes

2015-09-02 Thread Austin S Hemmelgarn
On 2015-09-02 07:58, Chuck Ebbert wrote: On Tue, 1 Sep 2015 15:39:45 -0400 Austin S Hemmelgarn wrote: On 2015-09-01 06:29, Albino B Neto wrote: 2015-08-31 19:31 GMT-03:00 Raymond Jennings : I think also that we should remove the ext2 driver before we remove the ext3 driver. Yes. It is

Re: [PATCH 01/15] perf tools: Fix parse_events_add_pmu caller

2015-09-02 Thread Jiri Olsa
On Wed, Sep 02, 2015 at 10:00:53AM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Sep 02, 2015 at 09:56:31AM +0200, Jiri Olsa escreveu: > > Following commit changed parse_events_add_pmu interface: > > 36adec85a86f perf tools: Change parse_events_add_pmu interface > > > > but forgot to change

Re: [GIT PULL] Ext3 removal, quota & udf fixes

2015-09-02 Thread Austin S Hemmelgarn
On 2015-09-02 01:46, Raymond Jennings wrote: On 09/01/15 20:30, Albino B Neto wrote: 2015-08-31 23:53 GMT-03:00 Theodore Ts'o : Yes, you can go back to ext3-only. In fact, we do *not* automatically upgrade the file system to use ext4-specific features. So it's not just a "you can use ext4

Re: [PATCH v4 10/16] phy: Add driver for rockchip Display Port PHY

2015-09-02 Thread Rob Herring
On Tue, Sep 1, 2015 at 1:04 AM, Yakir Yang wrote: > This phy driver would control the Rockchip DisplayPort module > phy clock and phy power, it is relate to analogix_dp-rockchip > dp driver. If you want DP works rightly on rockchip platform, > then you should select both of them. > >

Re: [PATCH 01/10] irqchip: irq-mips-gic: export gic_send_ipi

2015-09-02 Thread Qais Yousef
On 09/02/2015 12:53 PM, Marc Zyngier wrote: On 02/09/15 11:48, Qais Yousef wrote: It's worth noting in the light of this that INT_SPEC should be optional since for hardware similar to mine there's not much to tell the controller if it's all dynamic except where we want the IPI to be routed to -

Re: [GIT PULL] workqueue changes for 4.3

2015-09-02 Thread Josh Boyer
On Wed, Sep 2, 2015 at 8:27 AM, Tejun Heo wrote: > Hello, Linus. > > Only three trivial changes for workqueue this time - doc, MAINTAINERS > and EXPORT_SYMBOL updates. > > Thanks. > > The following changes since commit d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754: > > Linux 4.2-rc1 (2015-07-05

[PATCH] perf stat: fix per-pkg event reporting bug

2015-09-02 Thread Stephane Eranian
Per-pkg events need to be captured once per processor socket. The code in check_per_pkg() ensures only one value per processor package is used. However there is a problem with this function in case the first CPU of the package does not measure anything for the per-pkg event, but other CPUs do.

Re: [PATCH 06/15] tools lib api: Make tracing_path_strerror_open message generic

2015-09-02 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 02, 2015 at 09:56:36AM +0200, Jiri Olsa escreveu: > Making tracing_path__strerror_open_tp message generic by mentioning What means "making message generic"? What is the current behaviour you think is problematic. what is the new behaviour ad why do you think it is better? The test

Re: [PATCH v5 6/8] scsi: ufs: make the UFS variant a platform device

2015-09-02 Thread Rob Herring
On Wed, Sep 2, 2015 at 3:32 AM, Yaniv Gardi wrote: > This change turns the UFS variant (SCSI_UFS_QCOM) into a UFS > a platform device. > In order to do so a few additional changes are required: > 1. The ufshcd-pltfrm is no longer serves as a platform device. >Now it only serves as a group of

Re: [PATCH 2/2] perf tools: Add support for PERF_RECORD_SWITCH to Intel PT

2015-09-02 Thread Adrian Hunter
On 13/08/15 12:40, Adrian Hunter wrote: > Add support for selecting and processing PERF_RECORD_SWITCH > events for use by Intel PT. If they are available, they will be > used in preference to sched_switch events. > > This enables an unprivileged user to trace multi-threaded or > multi-process

[PATCH v2] security: device_cgroup: fix RCU lockdep splat

2015-09-02 Thread Felipe Balbi
while booting AM437x device, the following splat triggered: [ 12.005238] === [ 12.009749] [ INFO: suspicious RCU usage. ] [ 12.014116] 4.2.0-next-20150831 #1154 Not tainted [ 12.019050] --- [ 12.023408] security/device_cgroup.c:405

Re: [PATCH 05/15] tools lib api: Move debugfs__strerror_open into tracing_path.c object

2015-09-02 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 02, 2015 at 09:56:35AM +0200, Jiri Olsa escreveu: > Moving debugfs__strerror_open out of api/fs/debugfs.c, > because it's not debugfs specific. It'll be changed to > consider tracefs mount as well in following patches. > > Renaming it into tracing_path__strerror_open_tp to fit > into

[PATCH] Makefile: .PHONY is not a variable, but PHONY is

2015-09-02 Thread ulfalizer . lkml
From: Ulf Magnusson .PHONY is a target, not a variable. Signed-off-by: Ulf Magnusson --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 24c9e3d..4835d24 100644 --- a/Makefile +++ b/Makefile @@ -1609,6 +1609,6 @@ endif # skip-makefile

Re: [PATCH 2/2] mmc: sdhci-pxav3: Print ret value on error from sdhci_add_host() fn

2015-09-02 Thread Vaibhav Hiremath
On Wednesday 02 September 2015 02:07 AM, Joe Perches wrote: On Wed, 2015-09-02 at 00:54 +0530, Vaibhav Hiremath wrote: Return value would give clear information about the actual root-cause of the failure. diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c @@ -455,7

Re: [PATCH 03/13] twl4030_charger: correctly handle -EPROBE_DEFER from devm_usb_get_phy_by_node

2015-09-02 Thread Tony Lindgren
* Neil Brown [150901 23:23]: > Kevin Hilman writes: > > > ping... this boot failure has now landed in mainline > > sorry, I'm on leave at the moment and travelling so I'm unlikely to be > able to look at this properly. I should be able to examine this issue > before the end of the month but

Re: linux-next: manual merge of the block tree with the xfs tree

2015-09-02 Thread Stephen Rothwell
Hi Roger, On Wed, 2 Sep 2015 10:45:29 +0100 Roger Willcocks wrote: > > On 2 Sep 2015, at 03:16, Stephen Rothwell wrote: > > > Today's linux-next merge of the block tree got a conflict in: > > > > fs/xfs/xfs_aops.c > > > > between commit: > > > > c9eb256eda44 ("xfs: return errors from

Re: [PATCH] perf tools: Fix use of wrong event when processing exit events

2015-09-02 Thread Adrian Hunter
On 18/08/15 12:07, Adrian Hunter wrote: > In a couple of cases the 'comm' member of 'union event' has > been used instead of the correct member ('fork') when processing > exit events. > > In the cases where it has been used incorrectly, only the 'pid' > and 'tid' are affected. The 'pid' value

Re: [PATCH 01/15] perf tools: Fix parse_events_add_pmu caller

2015-09-02 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 02, 2015 at 09:56:31AM +0200, Jiri Olsa escreveu: > Following commit changed parse_events_add_pmu interface: > 36adec85a86f perf tools: Change parse_events_add_pmu interface > > but forgot to change one caller. Because of lessen compilation > rules for the bison parser, the compiler

Re: futex atomic vs ordering constraints

2015-09-02 Thread Peter Zijlstra
So here goes.. Chris, I'm awfully sorry, but I seem to be Tile challenged. TileGX seems to define: #define smp_mb__before_atomic() smp_mb() #define smp_mb__after_atomic() smp_mb() However, its atomic_add_return() implementation looks like: static inline int atomic_add_return(int i, atomic_t

Re: [PATCH] security: device_cgroup: fix RCU lockdep splat

2015-09-02 Thread Felipe Balbi
On Wed, Sep 02, 2015 at 08:29:14AM -0400, Josh Boyer wrote: > On Tue, Sep 1, 2015 at 9:08 AM, Felipe Balbi wrote: > > On Tue, Sep 01, 2015 at 11:12:18AM +0200, Sebastian Ott wrote: > >> On Mon, 31 Aug 2015, Felipe Balbi wrote: > >> > while booting AM437x device, the following splat > >> >

Re: [PATCH] staging: rtl8723au: remove unnecessary le32_to_cpu

2015-09-02 Thread Jes Sorensen
Michał Bartoszkiewicz writes: > The values passed to le32_to_cpu are already in the correct byte order. > This fixes four "cast to restricted __le32" sparse warnings. > > Signed-off-by: Michał Bartoszkiewicz > --- > drivers/staging/rtl8723au/core/rtw_security.c | 8 > 1 file changed, 4

Re: [PATCH] perf, tools, stat: Quieten failed to read counter message

2015-09-02 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 02, 2015 at 08:07:20AM +0200, Jiri Olsa escreveu: > On Tue, Sep 01, 2015 at 03:52:46PM -0700, Andi Kleen wrote: > > From: Andi Kleen > > > > Since 3b3eb0445 running perf stat on a system without > > backend-stalled-cycles spits out ugly warnings by default. Since that is > > quite >

Re: [musl] RFC: adding Linux vsyscall-disable and similar backwards-incompatibility flags to ELF headers?

2015-09-02 Thread Austin S Hemmelgarn
On 2015-09-02 00:32, Andy Lutomirski wrote: On Tue, Sep 1, 2015 at 9:18 PM, Rich Felker wrote: On Tue, Sep 01, 2015 at 08:39:27PM -0700, Andy Lutomirski wrote: On Tue, Sep 1, 2015 at 7:54 PM, Rich Felker wrote: If this is not the case, I have what sounds like an elegant solution, if it

Re: [PATCH v2 1/3] staging: sm7xxfb: move sm712fb out of staging

2015-09-02 Thread Sudip Mukherjee
On Wed, Sep 02, 2015 at 02:58:19PM +0300, Tomi Valkeinen wrote: > On 01/09/15 16:55, Sudip Mukherjee wrote: > > On Tue, Sep 01, 2015 at 04:27:24PM +0300, Tomi Valkeinen wrote: > >> On 18/07/15 07:08, Sudip Mukherjee wrote: > >>> Now since all cleanups are done and the code is ready to be merged

Re: [PATCH 18/31] perf test: Add 'perf test BPF'

2015-09-02 Thread Namhyung Kim
On Sat, Aug 29, 2015 at 04:21:52AM +, Wang Nan wrote: > This patch adds BPF testcase for testing BPF event filtering. > > By utilizing the result of 'perf test LLVM', this patch compiles the > eBPF sample program then test it ability. The BPF script in 'perf test > LLVM' collects half of

[PATCH v2] x86: fix small LDT allocation for Xen

2015-09-02 Thread Jan Beulich
While commit 37868fe113 ("x86/ldt: Make modify_ldt synchronous") added a nice comment explaining that Xen needs page-aligned whole page chunks for guest descriptor tables, it then nevertheless used kzalloc() on the small size path. As I'm unaware of guarantees for kmalloc(PAGE_SIZE, ) to return

Re: [PATCH] perf tools: Don't write to evsel if parser doesn't collect evsel

2015-09-02 Thread Jiri Olsa
On Wed, Sep 02, 2015 at 08:05:54PM +0800, pi3orama wrote: SNIP > >>>perf_evlist__splice_list_tail(evlist, , entries); > >>>evlist->nr_groups += data.nr_groups; > >>> -last = perf_evlist__last(evlist); > >>> -last->cmdline_group_boundary = true; > >>>return

Re: [PATCH] gpio:Fix error checking in the function device_pca957x_init

2015-09-02 Thread Alexandre Courbot
Nit: please don't forget a space after "gpio:" in your subject line. On Thu, Aug 27, 2015 at 6:52 AM, Nicholas Krause wrote: > This fixes error checking in the function device_pca957x_init > to properly check and return error code values from the calls > to the function pca953x_write_regs if

[GIT PULL] cgroup changes for 4.3

2015-09-02 Thread Tejun Heo
Hello, cgroup changes for 4.3. * A new PIDs controller is added. It turns out that PIDs are actually an independent resource from kmem due to the limited PID space. * More core preparations for the v2 interface. Once cpu side interface is settled, it should be ready for lifting the devel

Re: [PATCH 2/6] sched/fair: Convert arch_scale_cpu_capacity() from weak function to #define

2015-09-02 Thread Vincent Guittot
On 2 September 2015 at 11:31, Vincent Guittot wrote: > Hi Morten, > > On 14 August 2015 at 18:23, Morten Rasmussen wrote: >> Bring arch_scale_cpu_capacity() in line with the recent change of its >> arch_scale_freq_capacity() sibling in commit dfbca41f3479 ("sched: >> Optimize freq invariant

Re: [GIT PULL] Power management and ACPI updates for v4.3-rc1

2015-09-02 Thread Rafael J. Wysocki
Hi, On Wed, Sep 2, 2015 at 8:39 AM, Stephen Rothwell wrote: > Hi Linus, > > On Wed, 2 Sep 2015 01:41:11 +0200 "Rafael J. Wysocki" > wrote: >> >> Hi Linus, >> >> Please pull from >> >> git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ >> pm+acpi-4.3-rc1 >> >> to receive

[PATCH 1/3] sysfs.txt: fix pre-kernfs sysfs_dirent reference

2015-09-02 Thread ulfalizer . lkml
From: Ulf Magnusson sysfs_dirent went away when kernfs was extracted from sysfs. The reference to the kobject now lives in a kernfs_node (in the 'priv' member). See commit 324a56e16e44 ("kernfs: s/sysfs_dirent/kernfs_node/ and rename its friends accordingly"). Signed-off-by: Ulf Magnusson ---

Re: [PATCH] gpio: Propagate errors from chip->get()

2015-09-02 Thread Alexandre Courbot
On Tue, Sep 1, 2015 at 2:16 PM, Bjorn Andersson wrote: > On Fri 28 Aug 09:44 PDT 2015, Bjorn Andersson wrote: > >> It's possible to have gpio chips hanging off unreliable remote buses >> where the get() operation will fail to acquire a readout of the current >> gpio state. Propagate these errors

[PATCH 3/3] configfs: fix pre-kernfs sysfs_dirent reference

2015-09-02 Thread ulfalizer . lkml
From: Ulf Magnusson sysfs_dirent was renamed in 324a56e16e44 ("kernfs: s/sysfs_dirent/kernfs_node/ and rename its friends accordingly"). Do s/sysfs_dirent/configfs_dirent/ - possibly a copy-paste error to begin with. Clean up the language a bit too. Signed-off-by: Ulf Magnusson ---

[PATCH 0/3] Fix some outdated pre-kernfs doc references

2015-09-02 Thread ulfalizer . lkml
From: Ulf Magnusson sysfs-tagging.txt contains more outdated references (e.g., to various kobj_ns_*() functions that no longer exist), but hopefully it should be in a better shape than before. I'm new to sysfs internals in general. The configfs change is a guess that seemed reasonable. Ulf

[PATCH 2/3] sysfs-tagging.txt: fix pre-kernfs references

2015-09-02 Thread ulfalizer . lkml
From: Ulf Magnusson - sysfs_dirent is now kernfs_node - see commit 324a56e16e44 ("kernfs: s/sysfs_dirent/kernfs_node/ and rename its friends accordingly") - sysfs_super_info is now kernfs_super_info - see commit c525aaddc366 ("kernfs: s/sysfs/kernfs/ in various data structures") - the

[GIT PULL] percpu changes for 4.3

2015-09-02 Thread Tejun Heo
Hello, Minor cleanups. Thanks. The following changes since commit d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754: Linux 4.2-rc1 (2015-07-05 11:01:52 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu.git for-4.3 for you to fetch changes up

Re: [PATCH 1/2] nohz: Affine unpinned timers to housekeepers

2015-09-02 Thread Mike Galbraith
On Wed, 2015-09-02 at 11:38 +0200, Mike Galbraith wrote: > On Tue, 2015-09-01 at 22:47 +0200, Frederic Weisbecker wrote: > > On Tue, Sep 01, 2015 at 07:14:13PM +, Jiang, Yunhong wrote: > > > > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > > > > index 8b864ec..0902e4d 100644 > > > >

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