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: [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

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 >

[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

[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 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

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()

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: [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

[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 +---

[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

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

[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

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): >>

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: 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 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] 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 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

[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

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

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

[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

[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 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

[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 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

[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 |

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

[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 ---

[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 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!

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 > >

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

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

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] 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 10:04:21PM +0800, pi3orama escreveu: > 发自我的 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

Re: [PATCH 2/4] drivers/misc/sgi-gru: make functions static

2015-09-02 Thread Dimitri Sivanich
Acked-by: Dimitri Sivanich On Wed, Sep 02, 2015 at 04:54:56PM +0530, Sudip Mukherjee wrote: > The functions gru_get_cb_exception_detail_str() and gru_abort() were > only called locally from that file. We can make them static. > > Signed-off-by: Sudip Mukherjee

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

2015-09-02 Thread Felipe Balbi
On Wed, Sep 02, 2015 at 05:24:21PM +0300, Roger Quadros wrote: > 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 + >

<    3   4   5   6   7   8