Re: no sound on Meegopad T02 with 4.3 kernel

2015-11-16 Thread Alexey Mednyy
I'm also interesting in baytrail sound solution. I've heard that Asus T100A sound is working. However I still can't stable kernel. Even with patches from [3] link my Asus m80ta just hangs without any dmesg. _ Best regards, Mednyy Alexey. On Fri, Nov 13, 2015 at 3:3

Re: [PATCH v2] hid: enable hid device to suspend/resume asynchronously

2015-11-16 Thread Fu, Zhonghui
Hi Jiri, Any comments about this patch? After enabling the HID devices suspend/resume asynchronously on ASUS T100TA(Baytrail-T platform), the system suspend-to-idle/resume time is reduced about 20ms. Although this improvement is not very significant. But, if the suspend/resume operation of HI

RE: [PATCH][v5] x86, suspend: Save/restore extra MSR registers for suspend

2015-11-16 Thread Chen, Yu C
Hi, Boris, > -Original Message- > From: Borislav Petkov [mailto:b...@suse.de] > Sent: Tuesday, October 13, 2015 12:38 AM > To: Chen, Yu C > Cc: mi...@redhat.com; r...@rjwysocki.net; pa...@ucw.cz; > t...@linutronix.de; h...@zytor.com; Zhang, Rui; l...@kernel.org; > li...@horizon.com; dsmyth

Re: [PATCH v2 net-next] net: hisilicon: fix binding document of mdio

2015-11-16 Thread Rob Herring
On Mon, Nov 16, 2015 at 05:38:24PM +0800, huangdaode wrote: > This patch explains the occasion of "hisilcon,mdio" and > "hisilicon,hns-mdio" according to Arnd's comments. > and reformat it according to comments from Rob. > > chang log: > > v2: > 1) reformat the style. > 2) make it more cleari

[PATCH] usb: dwc2: hcd: fix periodic transfer schedule sequence

2015-11-16 Thread Yunzhi Li
When checking dwc2 host channel interrupts, handle qh in periodic_sched_queued list at first, then we could make sure CSPLIT packets scheduled in the same order as SSPLIT packets. Signed-off-by: Yunzhi Li --- drivers/usb/dwc2/hcd_intr.c | 22 ++ 1 file changed, 22 insertions(

Re: [PATCH v2] hid: enable hid device to suspend/resume asynchronously

2015-11-16 Thread Jiri Kosina
On Mon, 16 Nov 2015, Fu, Zhonghui wrote: > > Hi Jiri, > > Any comments about this patch? > > After enabling the HID devices suspend/resume asynchronously on ASUS > T100TA(Baytrail-T platform), the system suspend-to-idle/resume time is > reduced about 20ms. Although this improvement is not ver

Re: [Patch v4 2/2] media: v4l: ti-vpe: Document CAL driver

2015-11-16 Thread Rob Herring
On Sun, Nov 15, 2015 at 05:53:48PM -0600, Benoit Parrot wrote: > Device Tree bindings for the Camera Adaptation Layer (CAL) driver Bindings are for h/w blocks, not drivers... > > Signed-off-by: Benoit Parrot > --- > Documentation/devicetree/bindings/media/ti-cal.txt | 70 > +++

Re: [PATCH v2] i2c: enable i2c device to suspend/resume asynchronously

2015-11-16 Thread Fu, Zhonghui
Hi, Any comments are welcome. Thanks, Zhonghui On 9/24/2015 2:26 PM, Fu, Zhonghui wrote: > Now, PM core supports asynchronous suspend/resume mode for devices > during system suspend/resume, and the power state transition of one > device may be completed in separate kernel thread. PM core ens

Re: Matching crc32 checksums from kernel and user space

2015-11-16 Thread Kalle Valo
Kalle Valo writes: > Hi, > > I want ath10k to print a checksum for the firmware image and include > that to the firmware crash dump file as well. Then I want to print the > same checksum from user space scripts and verify it with the crash dump > file. > > I thought that crc32 would be good enoug

Re: [PATCH v3 3/3] cpufreq: arm_big_little: Add support to register a cpufreq cooling device

2015-11-16 Thread Punit Agrawal
Viresh Kumar writes: > On 09-11-15, 17:29, Punit Agrawal wrote: >> Register passive cooling devices when initialising cpufreq on >> big.LITTLE systems. If the device tree provides a dynamic power >> coefficient for the CPUs then the bound cooling device will support >> the extensions that allow i

Re: [PATCH] s390: Delete unnecessary checks before the function call "debug_unregister"

2015-11-16 Thread Heiko Carstens
On Mon, Nov 16, 2015 at 03:15:17PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 16 Nov 2015 14:45:40 +0100 > > The debug_unregister() function performs also input parameter validation. > Thus the test around the calls is not needed. > > This issue was detected by using the

[PATCH] elevator: use list_{first,prev,next}_entry

2015-11-16 Thread Geliang Tang
To make the intention clearer, use list_{first,prev,next}_entry instead of list_entry. Signed-off-by: Geliang Tang --- block/noop-iosched.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/block/noop-iosched.c b/block/noop-iosched.c index 3de89d4..a163c48 100644 ---

Re: [PATCH v2 8/8] DT:omap3+ads7846: use new common touchscreen bindings

2015-11-16 Thread H. Nikolaus Schaller
HI, Am 16.11.2015 um 15:37 schrieb Grazvydas Ignotas : > Hi, > > On Fri, Nov 13, 2015 at 10:35 PM, H. Nikolaus Schaller > wrote: >> The standard touch screen bindings [1] replace the private ti,swap-xy >> with touchscreen-swaped-x-y. And for the Openpandora we use >> touchscreen-size etc. to ma

Re: [PATCH v2] libata: add support for NCQ commands for SG interface

2015-11-16 Thread Tejun Heo
On Mon, Nov 16, 2015 at 08:47:19AM -0500, Mark Lord wrote: > On 15-10-27 01:49 AM, vinayak.k...@gmail.com wrote: > >From: Vinayak Kale > > > >This patch is needed to make NCQ commands with FPDMA protocol value > >(eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. > .. > >+/* For NCQ

Re: [PATCH v7 0/4] KASAN for arm64

2015-11-16 Thread Andrey Ryabinin
On 11/16/2015 02:16 PM, Suzuki K. Poulose wrote: > On 13/10/15 09:34, Catalin Marinas wrote: >> On Mon, Oct 12, 2015 at 06:52:56PM +0300, Andrey Ryabinin wrote: >>> Andrey Ryabinin (3): >>>arm64: move PGD_SIZE definition to pgalloc.h >>>arm64: add KASAN support >>>Documentation/features

Re: [PATCH 1/2] MIPS: bmips: Add bcm63168-l1 interrupt controller

2015-11-16 Thread Rob Herring
On Sun, Nov 15, 2015 at 04:51:16PM +, Simon Arlott wrote: > Add device tree binding for the BCM63168 interrupt controller. > > This controller is similar to the SMP-capable BCM7038 and > the BCM3380 but with packed interrupt registers. > > Signed-off-by: Simon Arlott Acked-by: Rob Herring

Re: [PATCH RFC] ioctl based CAT interface

2015-11-16 Thread Peter Zijlstra
On Mon, Nov 16, 2015 at 12:37:08PM -0200, Marcelo Tosatti wrote: > - position in bitmask represents nothing other than identification of > reservation and size, so: > > group-A = 0x3F, group-B = 0xFF > is the same as > group-A = 0xFC, group-B = 0xFF No, the positio

Re: [PATCH v2] i2c: enable i2c adapter to suspend/resume asynchronously

2015-11-16 Thread Fu, Zhonghui
Any comments are welcome. Thanks, Zhonghui On 9/24/2015 2:50 PM, Fu, Zhonghui wrote: > Now, PM core supports asynchronous suspend/resume mode for devices > during system suspend/resume, and the power state transition of one > device may be completed in separate kernel thread. PM core ensures

Re: [PATCH v2] i2c/designware: enable i2c controller to suspend/resume asynchronously

2015-11-16 Thread Fu, Zhonghui
Any comments are welcome. Thanks, Zhonghui On 9/24/2015 3:10 PM, Fu, Zhonghui wrote: > Now, PM core supports asynchronous suspend/resume mode for devices > during system suspend/resume, and the power state transition of one > device may be completed in separate kernel thread. PM core ensures

Re: [PATCH v2] usb: host: ohci-pxa27x: use of_property_read_bool()

2015-11-16 Thread Alan Stern
On Mon, 16 Nov 2015, Saurabh Sengar wrote: > for checking if a property is present or not, > of_property_read_bool is more appropriate than of_get_property() > > Signed-off-by: Saurabh Sengar > --- > v2 : replaced then to than in description Acked-by: Alan Stern -- To unsubscribe from this li

[PATCH] ovl: check dentry positiveness in ovl_cleanup_whiteouts()

2015-11-16 Thread Konstantin Khlebnikov
This patch fixes kernel crash at removing directory which contains whiteouts from lower layers. Cache of directory content passed as "list" contains entries from all layers, including whiteouts from lower layers. So, lookup in upper dir (moved into work at this stage) will return negative entry. P

[PATCH 5/6] serial: of: CONFIG_SERIAL_8250 is always set

2015-11-16 Thread Arnd Bergmann
The only other user of this code was the nwp-serial driver, but that is now gone, so we can remove a couple of #ifdef statments in this driver. Signed-off-by: Arnd Bergmann --- drivers/tty/serial/of_serial.c | 18 -- 1 file changed, 18 deletions(-) diff --git a/drivers/tty/seria

[PATCH 4/6] serial: remove NWP serial support

2015-11-16 Thread Arnd Bergmann
The NWP serial driver is no longer needed, as the two users of this hardware have migrated to a much faster generation hardware, see https://en.wikipedia.org/wiki/QPACE2 for the replacement. Signed-off-by: Arnd Bergmann Cc: Benjamin Krill Cc: linuxppc-...@lists.ozlabs.org --- drivers/tty/serial

[PATCH 1/6] serial: export fsl8250_handle_irq

2015-11-16 Thread Arnd Bergmann
fsl8250_handle_irq is now used by the of_serial driver, and that fails if it is a loadable module: ERROR: "fsl8250_handle_irq" [drivers/tty/serial/of_serial.ko] undefined! This exports the symbol to avoid randconfig errors. Signed-off-by: Arnd Bergmann Fixes: d43b54d269d2 ("serial: Enable Frees

[PATCH 0/6] serial: fixes and cleanups

2015-11-16 Thread Arnd Bergmann
I've had these patches sitting in my randconfig branch for a while, but have now gotten around to sending them. The first three are bug fixes for harmless problems that have shown up recently, so they should go into 4.4. The other three are part of a cleanup that we've been meaning to do for a whi

[PATCH 2/6] serial: fsl-lpuart: move SERIAL_EARLYCON dependency to console

2015-11-16 Thread Arnd Bergmann
The newly added earlycon support for lpuart adds a 'select SERIAL_EARLYCON' statement for the tty driver, but that only uses earlycon when console support is present, and otherwise results in a pointless build error: drivers/built-in.o: In function `setup_earlycon': :(.init.text+0x2c4c): undefined

[PATCH 3/6] serial: mid8250: select CONFIG_RATIONAL

2015-11-16 Thread Arnd Bergmann
The Intel MID support got split out from the PCI 8250 driver, and that now causes a build error when no other driver selects CONFIG_RATIONAL: drivers/built-in.o: In function `mid8250_set_termios': (.text+0x77418): undefined reference to `rational_best_approximation' This adds an explicit 'select'

[PATCH 6/6] serial: 8250: move of_serial code to 8250 directory

2015-11-16 Thread Arnd Bergmann
As the of-serial driver is now 8250 specific, we can move the file to a more appropriate place in teh 8250 subdirectory and adapt the Kconfig help text and file name. I'm leaving the CONFIG_SERIAL_OF_PLATFORM symbol unchanged to avoid breaking user configuration files unnecessarily. Signed-off-by

Re: [PATCH 1/4] Drivers: hv: utils: fix memory leak on on_msg() failure

2015-11-16 Thread Dan Carpenter
On Thu, Nov 12, 2015 at 12:32:13PM +0100, Vitaly Kuznetsov wrote: > @@ -85,10 +86,10 @@ static ssize_t hvt_op_write(struct file *file, const char > __user *buf, > return PTR_ERR(inmsg); > > if (hvt->on_msg(inmsg, count)) > - return -EFAULT; > + ret = -

Re: [PATCH v2] percpu: remove PERCPU_ENOUGH_ROOM which is stale definition

2015-11-16 Thread Tejun Heo
On Wed, Nov 04, 2015 at 01:26:07PM +, Jungseok Lee wrote: > As pure cleanup, this patch removes PERCPU_ENOUGH_ROOM which is not > used any more. That is, no code refers to the definition. > > Acked-by: Christoph Lameter > Signed-off-by: Jungseok Lee Applied to percpu/for-4.5. Thanks. --

Re: [PATCH] ftrace/x86: Fix missing ops arg on static function tracing

2015-11-16 Thread Steven Rostedt
On Sat, 14 Nov 2015 18:32:28 +0900 Namhyung Kim wrote: > The commit f1ab00af816e ("ftrace/x86: Get rid of ftrace_caller_setup") > moved code that loads ftrace_ops into 3rd parameter but it missed to do > for static tracing. > > Signed-off-by: Namhyung Kim > --- > arch/x86/kernel/mcount_64.S |

Re: [PATCH v4 05/24] misc: max77693-haptic: use pwm_get_xxx() helpers where appropriate

2015-11-16 Thread Guenter Roeck
On 11/16/2015 05:55 AM, Boris Brezillon wrote: Hi Krzysztof, On Mon, 16 Nov 2015 22:10:40 +0900 Krzysztof Kozlowski wrote: W dniu 16.11.2015 o 17:56, Boris Brezillon pisze: Use pwm_get_xxx() helpers instead of directly accessing the pwm->xxx field. Doing that will ease adaptation of the PWM

Re: [PATCH 05/13] perf tools: Introduce strtobool() to string.c

2015-11-16 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 16, 2015 at 11:49:36AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Nov 16, 2015 at 11:17:18AM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Mon, Nov 16, 2015 at 12:10:07PM +, Wang Nan escreveu: > > > This patch clones strtobool() from kernel's string.c to perf's string.c,

Re: [PATCH v2 1/5] x86/mm/pageattr: Ensure cpa->pfn only contains page frame numbers

2015-11-16 Thread Dave Hansen
I'm glad you're looking at this. It obviously needed some love. :) On 11/14/2015 02:00 PM, Matt Fleming wrote: > + npages = (_end - _text) >> PAGE_SHIFT; > + text = __pa(_text); > + pfn = text >> PAGE_SHIFT; > + > + if (kernel_map_pages_in_pgd(pgd, pfn, text, npages, 0)) { > +

Re: [PATCH 4/4] locking: Introduce smp_cond_acquire()

2015-11-16 Thread Peter Zijlstra
On Thu, Nov 12, 2015 at 10:21:39AM -0800, Linus Torvalds wrote: > Now, the point of spin_unlock_wait() (and "spin_is_locked()") should > generally be that you have some external ordering guarantee that > guarantees that the lock has been taken. For example, for the IPC > semaphores, we do either on

Re: [PATCH] ftrace/x86: Fix missing ops arg on static function tracing

2015-11-16 Thread Steven Rostedt
On Mon, 16 Nov 2015 10:54:53 -0500 Steven Rostedt wrote: > /* > * When DYNAMIC_FTRACE is not defined, ARCH_SUPPORTS_FTRACE_OPS is not > * set (see include/asm/ftrace.h). Only the ip and parent ip are used > * and the list function is called when function tracing is enabled. > */ > Namhyung

Re: [PATCH cgroup/for-4.4-fixes] cgroup: fix cftype->file_offset handling

2015-11-16 Thread Tejun Heo
On Thu, Nov 05, 2015 at 12:12:24AM -0500, Tejun Heo wrote: > 6f60eade2433 ("cgroup: generalize obtaining the handles of and > notifying cgroup files") introduced cftype->file_offset so that the > handles for per-css file instances can be recorded. These handles > then can be used, for example, to

Re: [PATCH V5 2/3] dma: add Qualcomm Technologies HIDMA management driver

2015-11-16 Thread Arnd Bergmann
On Sunday 15 November 2015 15:54:13 Sinan Kaya wrote: > The Qualcomm Technologies HIDMA device has been designed > to support virtualization technology. The driver has been > divided into two to follow the hardware design. > > 1. HIDMA Management driver > 2. HIDMA Channel driver > > Each HIDMA HW

Re: [PATCH 13/14] mm: memcontrol: account socket memory in unified hierarchy memory controller

2015-11-16 Thread Michal Hocko
On Thu 12-11-15 18:41:32, Johannes Weiner wrote: > Socket memory can be a significant share of overall memory consumed by > common workloads. In order to provide reasonable resource isolation in > the unified hierarchy, this type of memory needs to be included in the > tracking/accounting of a cgro

Re: [PATCH v4 04/24] hwmon: pwm-fan: use pwm_get_xxx() helpers where appropriate

2015-11-16 Thread Guenter Roeck
On 11/16/2015 12:56 AM, Boris Brezillon wrote: Use pwm_get_xxx() helpers instead of directly accessing the pwm->xxx field. Doing that will ease adaptation of the PWM framework to support atomic update. Signed-off-by: Boris Brezillon --- Patch generated with the following coccinelle script: ---

Re: [PATCH 2/2] drm/imx: Remove the primary plane created by create_primary_plane()

2015-11-16 Thread Daniel Vetter
On Wed, Nov 04, 2015 at 06:15:58PM +0800, Liu Ying wrote: > Since we are using ipu_plane_init() to add one primary plane for each > IPU CRTC, it's unnecessary to create the safe one by using the helper > create_primary_plane(). > > Furthermore, the safe one is attached to crtc->primary, which actu

Re: [PATCH v4 05/24] misc: max77693-haptic: use pwm_get_xxx() helpers where appropriate

2015-11-16 Thread Boris Brezillon
On Mon, 16 Nov 2015 07:55:33 -0800 Guenter Roeck wrote: > On 11/16/2015 05:55 AM, Boris Brezillon wrote: > > Hi Krzysztof, > > > > On Mon, 16 Nov 2015 22:10:40 +0900 > > Krzysztof Kozlowski wrote: > > > >> W dniu 16.11.2015 o 17:56, Boris Brezillon pisze: > >>> Use pwm_get_xxx() helpers instead

Re: [PATCH v4 13/24] hwmon: pwm-fan: use pwm_get/set_default_xxx() helpers where appropriate

2015-11-16 Thread Guenter Roeck
On 11/16/2015 12:56 AM, Boris Brezillon wrote: pwm_set/get_default_xxx() helpers have been introduced to differentiate the default PWM states (those retrieved through DT, PWM lookup table or statically assigned by the driver) and the current ones. Make use of those helpers where appropriate. Sig

[PATCH] SPI: s3c64xx: pass DMA arguments in platform data

2015-11-16 Thread Arnd Bergmann
The s3c64xx platform data already contains a pointer to the DMA filter function, but not to the associated data. This simplifies the code and makes it more generic by passing the data along with the filter function like we do for other drivers. Signed-off-by: Arnd Bergmann --- arch/arm/plat-sam

Re: [PATCH 4/4] locking: Introduce smp_cond_acquire()

2015-11-16 Thread Peter Zijlstra
On Mon, Nov 16, 2015 at 04:56:58PM +0100, Peter Zijlstra wrote: > On Thu, Nov 12, 2015 at 10:21:39AM -0800, Linus Torvalds wrote: > > Now, the point of spin_unlock_wait() (and "spin_is_locked()") should > > generally be that you have some external ordering guarantee that > > guarantees that the loc

[PATCH] gpio-tegra: Do not create the debugfs entry by default

2015-11-16 Thread Suzuki K. Poulose
The tegra gpio driver creates the debugfs entry irrespective of whether the device exists or not. This is enabled on an arm64_defconfig and leaves an entry in debugfs on all platforms where it is not useful. This patch fixes the issue by creating the entry only when a device exists. Signed-off-by:

Re: [PATCH 0/2] Improve drm_of_component_probe() and move rockchip to use it

2015-11-16 Thread Heiko Stübner
Hi Liviu, Am Montag, 16. November 2015, 14:44:51 schrieb Liviu Dudau: > When I have introduced the drm_of_component_probe() function I have managed > to break rockchip's DRM driver as the compare_of() function had to match > both local crtc ports and remote encoder ones. As suggested by Russell >

[PATCH] mmc: sh_mmcif: rework dma channel handling

2015-11-16 Thread Arnd Bergmann
When compiling the sh_mmcif driver for ARM64, we currently get a harmless build warning: ../drivers/mmc/host/sh_mmcif.c: In function 'sh_mmcif_request_dma_one': ../drivers/mmc/host/sh_mmcif.c:417:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *)pdata-

Re: [RFC PATCH] usb: gadget: Introduce Cadence USB2 UDC Driver

2015-11-16 Thread Felipe Balbi
Hi, Neil Armstrong writes: > Introduces UDC support for the Device-Mode only version of the > Cadence USB2 Controller IP Core. > > Host mode and OTG mode are not implemented by lack of hardware. > Support for Isochronous endpoints is not implemented by lack of time. > > Internal DMA is supported

Re: CFQ timer precision

2015-11-16 Thread Jens Axboe
On 11/16/2015 08:11 AM, Jan Kara wrote: Hello, lately I was looking into a big performance hit we take when blkio controller is enabled and jbd2 thread ends up in a different cgroup than user process. E.g. dbench4 throughput drops from ~140 MB/s to ~20 MB/s. However artificial dbench4 is, this k

Re: [PATCH v2 cgroup/for-4.4 3/3] cgroup: replace unified-hierarchy.txt with a proper cgroup v2 documentation

2015-11-16 Thread Tejun Heo
On Mon, Oct 26, 2015 at 10:54:26AM +0800, Zefan Li wrote: > On 2015/10/23 9:19, Tejun Heo wrote: > >>From 10d158783de74ad28454ff54556abf89bd85c756 Mon Sep 17 00:00:00 2001 > >From: Tejun Heo > >Date: Fri, 23 Oct 2015 10:13:35 +0900 > > > >Now that cgroup v2 is almost out of the door, replace the d

Re: [PATCH RFC] ioctl based CAT interface

2015-11-16 Thread Luiz Capitulino
On Mon, 16 Nov 2015 10:07:56 +0100 Peter Zijlstra wrote: > I'm still not seeing what the problem with CAT-cgroup is. > > /cgroups/cpuset/ > socket-1/cpus = $socket-1 >tasks = $thread-A > > socket-2/cpus = $socket-2 >tasks = $thread-B > > /cgroups/cat/ > group-A/bi

Re: [PATCH] drm: modes: replace simple_strtoul by kstrtouint

2015-11-16 Thread Daniel Vetter
On Thu, Nov 05, 2015 at 10:33:54AM +0100, LABBE Corentin wrote: > The simple_strtoul function is marked as obsolete. > This patch replace it by kstrtouint. > > Signed-off-by: LABBE Corentin Applied to drm-misc, thanks. -Daniel > --- > drivers/gpu/drm/drm_modes.c | 16 +++- > 1 file

Re: [PATCH 1/2] drm: Improve drm_of_component_probe() to correctly handle ports and remote ports.

2015-11-16 Thread Russell King - ARM Linux
On Mon, Nov 16, 2015 at 02:44:52PM +, Liviu Dudau wrote: > Rockchip DRM driver cannot use the same compare_of() function to match > ports and remote ports (aka encoders) as their OF sub-trees look different. > Add a second compare function to be used when encoders are added to the > component f

Re: [PATCH 4/4] locking: Introduce smp_cond_acquire()

2015-11-16 Thread Will Deacon
On Mon, Nov 16, 2015 at 05:04:45PM +0100, Peter Zijlstra wrote: > On Mon, Nov 16, 2015 at 04:56:58PM +0100, Peter Zijlstra wrote: > > On Thu, Nov 12, 2015 at 10:21:39AM -0800, Linus Torvalds wrote: > > > Now, the point of spin_unlock_wait() (and "spin_is_locked()") should > > > generally be that yo

Re: [PATCH v6 4/4] power: wm831x_power: Support USB charger current limit management

2015-11-16 Thread kbuild test robot
Hi Baolin, [auto build test ERROR on balbi-usb/next] [also build test ERROR on v4.4-rc1 next-20151116] url: https://github.com/0day-ci/linux/commits/Baolin-Wang/Introduce-usb-charger-framework-to-deal-with-the-usb-gadget-power-negotation/20151116-143734 base: https://git.kernel.org/pub/scm

Re: [PATCH] xen/x86: Adjust stack pointer in xen_sysexit

2015-11-16 Thread Boris Ostrovsky
On 11/15/2015 01:02 PM, Andy Lutomirski wrote: On Nov 13, 2015 5:23 PM, "Boris Ostrovsky" wrote: On 11/13/2015 06:26 PM, Andy Lutomirski wrote: On Fri, Nov 13, 2015 at 3:18 PM, Boris Ostrovsky wrote: After 32-bit syscall rewrite, and specifically after commit 5f310f739b4c ("x86/entry/32: R

Re: [PATCH] ftrace/x86: Fix missing ops arg on static function tracing

2015-11-16 Thread Steven Rostedt
On Mon, 16 Nov 2015 10:54:53 -0500 Steven Rostedt wrote: > This isn't needed, nor will the parameter be used if added. A comment > should probably be added here instead. > > /* > * When DYNAMIC_FTRACE is not defined, ARCH_SUPPORTS_FTRACE_OPS is not > * set (see include/asm/ftrace.h). Only the

[RFC] ARM64: simplify dma_get_ops

2015-11-16 Thread Arnd Bergmann
Including linux/acpi.h from asm/dma-mapping.h causes tons of compile-time warnings, e.g. drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined drivers/net

Re: [RESEND PATCH] drm/rockchip: import dma_buf to gem

2015-11-16 Thread Daniel Vetter
On Tue, Nov 10, 2015 at 05:11:57PM +0800, Mark Yao wrote: > We want to display a buffer allocated by other driver, need import > the buffer to gem. Does this work with some open-source driver/userspace or is this for the proprietary stack only? A bit a grey area I guess, but if it's only for the p

Re: [PATCH V5 2/3] dma: add Qualcomm Technologies HIDMA management driver

2015-11-16 Thread Sinan Kaya
On 11/16/2015 10:58 AM, Arnd Bergmann wrote: >> The management driver is executed in hypervisor context and >> > is the main management entity for all channels provided by >> > the device. > Sorry for asking this question so late, but can you explain what the > point is behind this? It seems counte

Re: [PATCH] ovl: check dentry positiveness in ovl_cleanup_whiteouts()

2015-11-16 Thread Konstantin Khlebnikov
Note: kernels starting from 4.0 prints this [ 72.925147] overlayfs: cleanup of '#88022da16280/a' failed (-2) instead of crashing, because of this part --- a/fs/overlayfs/dir.c +++ b/fs/overlayfs/dir.c @@ -19,7 +19,7 @@ void ovl_cleanup(struct inode *wdir, struct dentry *wdentry) int

Re: [PATCH RFC] ioctl based CAT interface

2015-11-16 Thread Peter Zijlstra
On Mon, Nov 16, 2015 at 11:18:42AM -0500, Luiz Capitulino wrote: > Peter, I'm giving a serious try on the cgroups patches and would be > glad to be enlightened if I'm missing something. But I don't see how > what you're proposing would solve the problem. > > My understanding of CAT is that if I wa

Re: [PATCH] [media] hdmi: added functions for MPEG InfoFrames

2015-11-16 Thread Enric Balletbo Serra
Hello Thierry, Many thanks for your comments. 2015-11-16 12:50 GMT+01:00 Thierry Reding : > On Sat, Nov 14, 2015 at 07:38:19PM +0100, Enric Balletbo i Serra wrote: >> The MPEG Source (MS) InfoFrame is in EIA/CEA-861B. It describes aspects of >> the compressed video stream that were used to produc

Re: [PATCH v2 2/2] usb: dwc2: host: Clear interrupts before handling them

2015-11-16 Thread Felipe Balbi
Hi, Douglas Anderson writes: > In general it is wise to clear interrupts before processing them. If > you don't do that, you can get: > 1. Interrupt happens > 2. You look at system state and process interrupt > 3. A new interrupt happens > 4. You clear interrupt without processing it. > > T

Re: drm: Bogus WARN() in drm_atomic_helper_update_legacy_modeset_state() ?

2015-11-16 Thread Daniel Vetter
On Thu, Nov 12, 2015 at 05:28:01PM +0100, Thierry Reding wrote: > On Thu, Nov 12, 2015 at 01:57:11PM +, Liviu Dudau wrote: > > On Thu, Nov 12, 2015 at 01:16:55PM +0100, Thierry Reding wrote: > > > On Wed, Nov 11, 2015 at 04:09:42PM +, Liviu Dudau wrote: > > > > On Tue, Nov 10, 2015 at 05:56

Re: [PATCH 2/2] drm/rockchip: Convert the probe function to the generic drm_of_component_probe()

2015-11-16 Thread Russell King - ARM Linux
I've tweaked your patch to make the above (buggy) change a little clearer. On Mon, Nov 16, 2015 at 02:44:53PM +, Liviu Dudau wrote: > - for (i = 0;; i++) { > - port = of_parse_phandle(np, "ports", i); > - if (!port) > - break; > - > -

[PATCH] ARM64: do not include ptrace.h from compat.h

2015-11-16 Thread Arnd Bergmann
including ptrace.h brings a definition of BITS_PER_PAGE into device drivers and cause a build warning in allmodconfig builds: drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined #define BITS_PER_PAGE (1UL << (PAGE_SHIFT + 3)) This uses a slightly different way to express

Re: [PATCH] Doc: gpio: Fix typos in Documentation/gpio

2015-11-16 Thread Randy Dunlap
On 11/16/15 03:00, Masanari Iida wrote: > This patch fix some spelling typos found in Documentation/gpio. > > Signed-off-by: Masanari Iida > --- > Documentation/gpio/consumer.txt| 4 ++-- > Documentation/gpio/driver.txt | 6 +++--- > Documentation/gpio/drivers-on-gpio.txt | 6 ++

Re: [PATCH] Doc: ioctl: Fix typos in Documentation/ioctl

2015-11-16 Thread Randy Dunlap
On 11/16/15 03:07, Masanari Iida wrote: > This patch fix some spelling typos in Documentation/ioctl. > > Signed-off-by: Masanari Iida > --- > Documentation/ioctl/botching-up-ioctls.txt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > Acked-by: Randy Dunlap Thanks. -- ~Randy

Re: [PATCH] Doc: f2fs: Fix typos in Documentation/filesystems/f2fs.txt

2015-11-16 Thread Randy Dunlap
On 11/16/15 03:46, Masanari Iida wrote: > This patch fix some typos in Documentation/filesystems/f2fs.txt > > Signed-off-by: Masanari Iida > --- > Documentation/filesystems/f2fs.txt | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > Acked-by: Randy Dunlap Thanks. -- ~Randy

[PATCH] clocksource: fsl: avoid harmless 64-bit warnings

2015-11-16 Thread Arnd Bergmann
The ftm_clockevent_init passes the value of "~0UL" into a function that takes a 32-bit argument, which drops the upper 32 bits, as gcc warns about on ARM64: clocksource/fsl_ftm_timer.c: In function 'ftm_clockevent_init': clocksource/fsl_ftm_timer.c:206:13: warning: large integer implicitly truncat

Re: [PATCH 3/9] IB: add a helper to safely drain a QP

2015-11-16 Thread Steve Wise
On 11/15/2015 3:34 AM, Sagi Grimberg wrote: + +struct ib_stop_cqe { +struct ib_cqecqe; +struct completion done; +}; + +static void ib_stop_done(struct ib_cq *cq, struct ib_wc *wc) +{ +struct ib_stop_cqe *stop = +container_of(wc->wr_cqe, struct ib_stop_cqe, cqe); + +c

Re: [PATCH 00/39] ARM: dts: Convert OMAP boards to use IOPAD pinmux macros

2015-11-16 Thread Andrew F. Davis
On 11/13/2015 08:47 AM, Tony Lindgren wrote: * Javier Martinez Canillas [151112 20:55]: Hello Tony, This series converts all the remaining OMAP boards that didn't use the IOPAD macros to specify the padconf register addresses. The only board that I left was arch/arm/boot/dts/am335x-boneblack.d

Re: [PATCH RFC] ioctl based CAT interface

2015-11-16 Thread Marcelo Tosatti
On Mon, Nov 16, 2015 at 10:07:56AM +0100, Peter Zijlstra wrote: > On Fri, Nov 13, 2015 at 03:33:04PM -0200, Marcelo Tosatti wrote: > > On Fri, Nov 13, 2015 at 05:51:00PM +0100, Peter Zijlstra wrote: > > > On Fri, Nov 13, 2015 at 02:39:33PM -0200, Marcelo Tosatti wrote: > > > > + * * one tcrid e

[PATCH v3 5/9] ARM: dts: sun8i: sinlinx-sina33: Add AXP223 PMIC device and regulator nodes

2015-11-16 Thread Chen-Yu Tsai
This board has a X-Powers AXP223 PMIC connected via RSB. Its regulators provide power to various parts of the SoC and the board. Also update the regulator supply phandles. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 79 +- 1 file chan

[PATCH v3 4/9] regulator: axp20x: Support new AXP223 PMIC

2015-11-16 Thread Chen-Yu Tsai
The AXP223 is a new PMIC commonly paired with Allwinner A23/A33 SoCs. It is functionally identical to AXP221; only the regulator default voltage/status and the external host interface are different. Signed-off-by: Chen-Yu Tsai Reviewed-by: Mark Brown --- drivers/regulator/axp20x-regulator.c | 3

[PATCH v3 9/9] ARM: multi_v7_defconfig: Enable RSB and AXP20X related drivers as modules

2015-11-16 Thread Chen-Yu Tsai
axp20x support has been split into 2 parts, I2C and RSB interface variants. Update the MFD_AXP20X symbol for I2C support. Also enable SUNXI_RSB MFD_AXP20X_RSB to support RSB variants. Build these drivers as modules. Keep MFD_AXP20X enabled for now, to ease migration for automated boot farms while

[PATCH v3 1/9] mfd: axp20x: Add AXP223 to list of supported PMICs in DT bindings

2015-11-16 Thread Chen-Yu Tsai
The AXP223 is a new PMIC commonly paired with Allwinner A23/A33 SoCs. It is functionally identical to AXP221; only the regulator default voltage/status and the external host interface are different. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard Acked-by: Rob Herring --- Documentation/dev

[PATCH v3 8/9] ARM: sunxi_defconfig: Update MFD_AXP20X symbol and enable MFD_AXP20X_RSB

2015-11-16 Thread Chen-Yu Tsai
axp20x support has been split into 2 parts, I2C and RSB interface variants. Update the MFD_AXP20X symbol for I2C support, and also enable MFD_AXP20X_RSB to support RSB variants. Keep MFD_AXP20X enabled for now, to ease migration for automated boot farms while the patches are being merged. This sh

[PATCH v3 3/9] mfd: axp20x: Add support for RSB based AXP223 PMIC

2015-11-16 Thread Chen-Yu Tsai
The AXP223 is a new PMIC commonly paired with Allwinner A23/A33 SoCs. It is functionally identical to AXP221; only the regulator default voltage/status and the external host interface are different. Signed-off-by: Chen-Yu Tsai --- drivers/mfd/Kconfig| 11 ++ drivers/mfd/Makefile

[PATCH] pinctrl: fix qcom ssbi drivers for 64-bit compilation

2015-11-16 Thread Arnd Bergmann
When building pinctrl-ssbi-gpio and pinctrl-ssbi-mpp for ARM64, we get a compile warning about invalid types: drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c: In function 'pm8xxx_gpio_probe': drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c:675:17: warning: cast from pointer to integer of different size [-Wpoin

[PATCH v3 7/9] ARM: dts: sun8i: q8-common: Add AXP223 PMIC device and regulator nodes

2015-11-16 Thread Chen-Yu Tsai
A23/A33 Q8 tablets have an X-Powers AXP223 PMIC connected via RSB. Its regulators provide power to various parts of the SoC and the board. Also add lcd regulator supply for simplefb and update the existing vmmc-supply for mmc0. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-q8-common.d

[PATCH v3 6/9] ARM: dts: sun8i: Add simplefb node labels to reference at board level

2015-11-16 Thread Chen-Yu Tsai
Some boards, such as tablets, have regulators providing power to parts of the display pipeline, like signal converters and LCD panels. Add labels to the simplefb device nodes so that we can reference them in the board dts files to add regulator supply properties. Signed-off-by: Chen-Yu Tsai ---

[PATCH v3 2/9] mfd: axp20x: Split the driver into core and i2c bits

2015-11-16 Thread Chen-Yu Tsai
The axp20x driver assumes the device is i2c based. This is not the case with later chips, which use a proprietary 2 wire serial bus by Allwinner called "Reduced Serial Bus". This patch follows the example of mfd/wm831x and splits it into an interface independent core, and an i2c specific glue laye

[PATCH v3 0/9] mfd: axp20x: Add support for RSB based AXP223

2015-11-16 Thread Chen-Yu Tsai
Hi everyone, This is v3 of the AXP223 PMIC series. Changes since v2: - s/It's/Its/ for the commit messages of patches 5 and 7 - Add Rob's Acked-by for patch 1 Changes since v1: - Dropped NMI interrupt controller dts patch (Merged) - Change MFD_AXP20X to represent the axp20x core, and

Re: [PATCH 03/23] usb: gadget: f_sourcesink: free requests in sourcesink_disable()

2015-11-16 Thread Krzysztof Opasiak
Hi, On 11/10/2015 03:02 AM, Peter Chen wrote: On Fri, Nov 06, 2015 at 10:58:39AM +0100, Krzysztof Opasiak wrote: On 11/06/2015 10:48 AM, Peter Chen wrote: On Fri, Nov 06, 2015 at 09:50:11AM +0100, Robert Baldyga wrote: On 11/06/2015 09:15 AM, Peter Chen wrote: On Tue, Nov 03, 2015 at 01:53

Re: [PATCH 4/4] locking: Introduce smp_cond_acquire()

2015-11-16 Thread Paul E. McKenney
On Mon, Nov 16, 2015 at 04:24:53PM +, Will Deacon wrote: > On Mon, Nov 16, 2015 at 05:04:45PM +0100, Peter Zijlstra wrote: > > On Mon, Nov 16, 2015 at 04:56:58PM +0100, Peter Zijlstra wrote: > > > On Thu, Nov 12, 2015 at 10:21:39AM -0800, Linus Torvalds wrote: > > > > Now, the point of spin_unl

Re: [PATCH 2/2] drm/i915: Limit the busy wait on requests to 2us not 10ms!

2015-11-16 Thread Jens Axboe
On 11/15/2015 06:32 AM, Chris Wilson wrote: When waiting for high frequency requests, the finite amount of time required to set up the irq and wait upon it limits the response rate. By busywaiting on the request completion for a short while we can service the high frequency waits as quick as poss

Re: [PATCH v7 0/4] KASAN for arm64

2015-11-16 Thread Catalin Marinas
On Mon, Nov 16, 2015 at 06:34:27PM +0300, Andrey Ryabinin wrote: > On 11/16/2015 02:16 PM, Suzuki K. Poulose wrote: > > On 13/10/15 09:34, Catalin Marinas wrote: > >> On Mon, Oct 12, 2015 at 06:52:56PM +0300, Andrey Ryabinin wrote: > >>> Andrey Ryabinin (3): > >>>arm64: move PGD_SIZE definition

Re: [PATCH] gpio-tegra: Do not create the debugfs entry by default

2015-11-16 Thread Thierry Reding
On Mon, Nov 16, 2015 at 04:07:10PM +, Suzuki K. Poulose wrote: > The tegra gpio driver creates the debugfs entry irrespective of > whether the device exists or not. This is enabled on an arm64_defconfig > and leaves an entry in debugfs on all platforms where it is not > useful. This patch fixes

Re: [PATCH RFC] ioctl based CAT interface

2015-11-16 Thread Luiz Capitulino
On Mon, 16 Nov 2015 17:26:57 +0100 Peter Zijlstra wrote: > On Mon, Nov 16, 2015 at 11:18:42AM -0500, Luiz Capitulino wrote: > > Peter, I'm giving a serious try on the cgroups patches and would be > > glad to be enlightened if I'm missing something. But I don't see how > > what you're proposing wo

Re: [PATCH 1/2] drm: Improve drm_of_component_probe() to correctly handle ports and remote ports.

2015-11-16 Thread Liviu Dudau
On Mon, Nov 16, 2015 at 04:22:41PM +, Russell King - ARM Linux wrote: > On Mon, Nov 16, 2015 at 02:44:52PM +, Liviu Dudau wrote: > > Rockchip DRM driver cannot use the same compare_of() function to match > > ports and remote ports (aka encoders) as their OF sub-trees look different. > > Add

Re: [PATCH 4/4] locking: Introduce smp_cond_acquire()

2015-11-16 Thread Will Deacon
On Mon, Nov 16, 2015 at 08:44:43AM -0800, Paul E. McKenney wrote: > On Mon, Nov 16, 2015 at 04:24:53PM +, Will Deacon wrote: > > On Mon, Nov 16, 2015 at 05:04:45PM +0100, Peter Zijlstra wrote: > > > On Mon, Nov 16, 2015 at 04:56:58PM +0100, Peter Zijlstra wrote: > > > > On Thu, Nov 12, 2015 at

[PATCH, resend] scsi: advansys: fix big-endian builds

2015-11-16 Thread Arnd Bergmann
Building the advansys driver in a big-endian configuration such as ARM allmodconfig shows a warning: drivers/scsi/advansys.c: In function 'adv_build_req': include/uapi/linux/byteorder/big_endian.h:32:26: warning: large integer implicitly truncated to unsigned type [-Woverflow] #define __cpu_t

[PATCH] comedi: ni_6527: Fix coding style - use BIT macro

2015-11-16 Thread Ranjith Thangavel
BIT macro is used for defining BIT location instead of shifting operator - coding style issue Signed-off-by: Ranjith Thangavel --- drivers/staging/comedi/drivers/ni_6527.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/staging/comedi/driv

Re: [PATCH 2/2] drm/rockchip: Convert the probe function to the generic drm_of_component_probe()

2015-11-16 Thread Liviu Dudau
On Mon, Nov 16, 2015 at 04:30:16PM +, Russell King - ARM Linux wrote: > I've tweaked your patch to make the above (buggy) change a little clearer. > > On Mon, Nov 16, 2015 at 02:44:53PM +, Liviu Dudau wrote: > > - for (i = 0;; i++) { > > - port = of_parse_phandle(np, "ports", i

[PATCH] clocksource: disallow drivers for ARCH_USES_GETTIMEOFFSET

2015-11-16 Thread Arnd Bergmann
We can now select clocksource drivers like ti-32k and CONFIG_OF on ancient machines that still use gettimeoffset, and the combination results in a link error. arch/arm/kernel/built-in.o: In function `time_init': (.init.text+0xc28): undefined reference to `clocksource_probe' The reason for this is

Re: [PATCH 0/2] Improve drm_of_component_probe() and move rockchip to use it

2015-11-16 Thread Liviu Dudau
On Mon, Nov 16, 2015 at 05:07:17PM +0100, Heiko Stübner wrote: > Hi Liviu, > > Am Montag, 16. November 2015, 14:44:51 schrieb Liviu Dudau: > > When I have introduced the drm_of_component_probe() function I have managed > > to break rockchip's DRM driver as the compare_of() function had to match >

Re: [PATCH v4 04/24] hwmon: pwm-fan: use pwm_get_xxx() helpers where appropriate

2015-11-16 Thread Boris Brezillon
On Mon, 16 Nov 2015 07:59:23 -0800 Guenter Roeck wrote: > On 11/16/2015 12:56 AM, Boris Brezillon wrote: > > Use pwm_get_xxx() helpers instead of directly accessing the pwm->xxx field. > > Doing that will ease adaptation of the PWM framework to support atomic > > update. > > > > Signed-off-by: Bo

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