Re: [PATCH 1/2 v3 resend] video: fbdev: imxfb: support AUS mode

2017-04-21 Thread Bartlomiej Zolnierkiewicz
Hi, On Friday, April 21, 2017 09:45:52 AM Martin Kaiser wrote: > Some displays require setting AUS mode in the LDCD AUS Mode Control > Register to work with the imxfb driver. Like the value of the Panel > Configuration Register, the AUS mode setting depends on the display > mode. > > Allow setti

Re: [RFC][PATCH] selftests: ftrace: Allow some tests to be run in a tracing instance

2017-04-21 Thread Masami Hiramatsu
On Thu, 20 Apr 2017 13:30:34 -0400 Steven Rostedt wrote: > > An tracing instance has several of the same capabilities as the top level > instance, but may be implemented slightly different. Instead of just writing > tests that duplicat the same test cases of the top level instance, allow a > test

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Gerd Hoffmann
Hi, > > Leaving the yuv formats as-is. I have no idea if and how those are used > > on bigendian machines. > just an idea - since we are not sure how the remaining formats are being > used, should those be marked somehow uncertain whether they are little > or native endian? ATM the yuv don't

Re: [PATCH] xen/pvh: Do not fill kernel's e820 map in init_pvh_bootparams()

2017-04-21 Thread Juergen Gross
On 20/04/17 19:32, Boris Ostrovsky wrote: > e820 map is updated with information from the zeropage (i.e. > pvh_bootparams) by default_machine_specific_memory_setup(). > With the way things are done now, we end up with a duplicated > e820 map. > > Signed-off-by: Boris Ostrovsky > --- > This patch

Re: [PATCH] sched/deadline: fix switching to -deadline

2017-04-21 Thread Juri Lelli
Hi Luca, On 20/04/17 21:30, Luca Abeni wrote: > From: Luca Abeni > > When switching to -deadline, if the scheduling deadline of a task is > in the past then switched_to_dl() calls setup_new_entity() to properly > initialize the scheduling deadline and runtime. > > The problem is that the task i

Re: [PATCH RFC] KVM: VMX: drop vmm_exclusive module parameter

2017-04-21 Thread Paolo Bonzini
On 10/03/2017 12:47, David Hildenbrand wrote: > vmm_exclusive=0 leads to KVM setting X86_CR4_VMXE always and calling > VMXON only when the vcpu is loaded. X86_CR4_VMXE is used as an > indication in cpu_emergency_vmxoff() (called on kdump) if VMXOFF has to be > called. This is obviously not the ca

Re: [PATCH] sched/deadline: fix switching to -deadline

2017-04-21 Thread luca abeni
On Fri, 21 Apr 2017 10:39:26 +0100 Juri Lelli wrote: > Hi Luca, > > On 20/04/17 21:30, Luca Abeni wrote: > > From: Luca Abeni > > > > When switching to -deadline, if the scheduling deadline of a task is > > in the past then switched_to_dl() calls setup_new_entity() to > > properly initialize t

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Ville Syrjälä
On Fri, Apr 21, 2017 at 11:38:28AM +0200, Gerd Hoffmann wrote: > Hi, > > > > Leaving the yuv formats as-is. I have no idea if and how those are used > > > on bigendian machines. > > > just an idea - since we are not sure how the remaining formats are being > > used, should those be marked some

Re: [PATCH] sched/deadline: fix switching to -deadline

2017-04-21 Thread Juri Lelli
On 21/04/17 11:42, Luca Abeni wrote: > On Fri, 21 Apr 2017 10:39:26 +0100 > Juri Lelli wrote: > > > Hi Luca, > > > > On 20/04/17 21:30, Luca Abeni wrote: > > > From: Luca Abeni > > > > > > When switching to -deadline, if the scheduling deadline of a task is > > > in the past then switched_to_d

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Gerd Hoffmann
On Fr, 2017-04-21 at 12:25 +0300, Ville Syrjälä wrote: > On Fri, Apr 21, 2017 at 09:58:24AM +0200, Gerd Hoffmann wrote: > > While working on graphics support for virtual machines on ppc64 (which > > exists in both little and big endian variants) I've figured the comments > > for various drm fourcc

Re: [PATCH] sched/deadline: fix switching to -deadline

2017-04-21 Thread luca abeni
On Fri, 21 Apr 2017 11:42:40 +0200 luca abeni wrote: [...] > > > diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c > > > index a2ce590..ec53d24 100644 > > > --- a/kernel/sched/deadline.c > > > +++ b/kernel/sched/deadline.c > > > @@ -950,6 +950,10 @@ enqueue_dl_entity(struct sched_dl_e

[RFC 2/2] [media] platform: Add Synopsys Designware HDMI RX Controller Driver

2017-04-21 Thread Jose Abreu
This is an initial submission for the Synopsys Designware HDMI RX Controller Driver. This driver interacts with a phy driver so that a communication between them is created and a video pipeline is configured. The controller + phy pipeline can then be integrated into a fully featured system that ca

[RFC 0/2] Synopsys Designware HDMI Video Capture Controller + PHY

2017-04-21 Thread Jose Abreu
Hi All, This is a RFC series that is intended to collect comments regarding the Synopsys Designware HDMI RX controller and Synopsys Designware HDMI RX e405 PHY drivers. The Synopsys Designware HDMI RX controller is an HDMI receiver controller that is responsible to process digital data that comes

[RFC 1/2] [media] platform: Add Synopsys Designware HDMI RX PHY e405 Driver

2017-04-21 Thread Jose Abreu
This adds support for the Synopsys Designware HDMI RX PHY e405. This phy receives and decodes HDMI video that is delivered to a controller. Main features included in this driver are: - Equalizer algorithm that chooses the phy best settings according to the detected HDMI cable chara

Re: [PATCH v2 3/5] MAINTAINERS: add Atmel PTC entries

2017-04-21 Thread Ludovic Desroches
On Fri, Apr 21, 2017 at 10:39:22AM +0200, Ludovic Desroches wrote: > Add entries for the Atmel PTC Subsystem. > > Signed-off-by: Ludovic Desroches > --- > MAINTAINERS | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 860dacb..e1b8b0e 100644 > ---

Re: [PATCH v16 10/10] KVM: x86: virtualize cpuid faulting

2017-04-21 Thread Paolo Bonzini
On 20/03/2017 09:16, Kyle Huey wrote: > Hardware support for faulting on the cpuid instruction is not required to > emulate it, because cpuid triggers a VM exit anyways. KVM handles the relevant > MSRs (MSR_PLATFORM_INFO and MSR_MISC_FEATURES_ENABLE) and upon a > cpuid-induced VM exit checks the

Re: [PATCH] sched/deadline: fix switching to -deadline

2017-04-21 Thread luca abeni
On Fri, 21 Apr 2017 10:47:29 +0100 Juri Lelli wrote: [...] > > > > *dl_se, update_dl_entity(dl_se, pi_se); > > > > else if (flags & ENQUEUE_REPLENISH) > > > > replenish_dl_entity(dl_se, pi_se); > > > > + else if ((flags & ENQUEUE_RESTORE) && > > > > > > Not sure

Re: [RFC][PATCH] selftests: ftrace: Allow some tests to be run in a tracing instance

2017-04-21 Thread Masami Hiramatsu
On Fri, 21 Apr 2017 18:36:17 +0900 Masami Hiramatsu wrote: > On Thu, 20 Apr 2017 13:30:34 -0400 > Steven Rostedt wrote: > > > > An tracing instance has several of the same capabilities as the top level > > instance, but may be implemented slightly different. Instead of just writing > > tests th

Re: [PATCH v6] kvm: better MWAIT emulation for guests

2017-04-21 Thread Paolo Bonzini
On 12/04/2017 18:29, Michael S. Tsirkin wrote: > I don't really agree we do not need the PV flag. mwait on kvm is > different from mwait on bare metal in that you are heavily penalized by > scheduler for polling unless you configure the host just so. > HLT lets you give up the host CPU if you kno

Re: [PATCH 4/5] Hot-remove implementation for arm64

2017-04-21 Thread Andrea Reale
Hi all, Thanks Mark, Ard and Laura for your comments. Replies in-line. On Tue, Apr 18, 2017 at 07:21:26PM +0100, Mark Rutland wrote: [...] > > > > The name direct is inherited directly from the x86_64 hot remove code. > > It serves to distinguish if we are removing either a pagetable page that

Re: [PATCH v6] kvm: better MWAIT emulation for guests

2017-04-21 Thread Alexander Graf
On 21.04.17 12:02, Paolo Bonzini wrote: On 12/04/2017 18:29, Michael S. Tsirkin wrote: I don't really agree we do not need the PV flag. mwait on kvm is different from mwait on bare metal in that you are heavily penalized by scheduler for polling unless you configure the host just so. HLT let

Re: [PATCH 4/5] Hot-remove implementation for arm64

2017-04-21 Thread Andrea Reale
Hi all, thanks for taking the time to comment. Replies in-line. On Wed, Apr 19, 2017 at 08:53:13AM -0700, Laura Abbott wrote: > On 04/18/2017 11:48 AM, Ard Biesheuvel wrote: > >On 18 April 2017 at 19:21, Mark Rutland wrote: > >>On Fri, Apr 14, 2017 at 03:01:58PM +0100, Andrea Reale wrote: [...]

Re: [PATCH v6] kvm: better MWAIT emulation for guests

2017-04-21 Thread Paolo Bonzini
On 21/04/2017 12:05, Alexander Graf wrote: > > > On 21.04.17 12:02, Paolo Bonzini wrote: >> >> >> On 12/04/2017 18:29, Michael S. Tsirkin wrote: >>> I don't really agree we do not need the PV flag. mwait on kvm is >>> different from mwait on bare metal in that you are heavily penalized by >>> s

Re: Doubt on first access for PCIe device

2017-04-21 Thread abhijit
Hi Lorenzo, Thank you very much for reply. As you mentioned I noted that, "If a Function must generate a Completion prior to the initial device Configuration Write Request, 0’s must be entered into the Bus Number and Device Number fields" By above statement this means that completion ID will

Re: fsl_ifc_nand: are blank pages protected by ECC?

2017-04-21 Thread Pavel Machek
Hi! (Added driver author to the cc list, maybe he can help). > > Hi! > > > > We have some problems with fsl_ifc_nand ... in the old kernels, but > > this one does not seem to be fixed in v4.11, either. > > > > UBIFS complains: > > > > UBIFS error (pid 931): ubifs_scan: corrupt empty space at L

[PATCH] usb: chipidea: Fix missing resume call after suspend

2017-04-21 Thread Bernhard Walle
We have a i.MX53-based hardware (quite similar to the i.MX53 QSB from Freescale/NXP). I'm reading the /ci_hdrc.0/gadget/suspended sysfs file to find out whether a PC is connected to the USB gadget. With old kernel versions, this worked. However, with kernel 4.9 this didn't work. When the host

Re: fsl_ifc_nand: are blank pages protected by ECC?

2017-04-21 Thread Richard Weinberger
Pavel, Am 21.04.2017 um 12:08 schrieb Pavel Machek: > (BTW, switching to ecc.mode = ECC_SOFT will cause compatibility > problems but should make the problem go away, right?) Yes and it is slow. So, fixing the driver is the way to go. :-) Thanks, //richard

[RESEND PATCH 2/2] arc: axs10x: Fix ARC PGU default clock frequency

2017-04-21 Thread Jose Abreu
Default clock frequency for ARC PGU does not match any existing HDMI mode, instead the default value matches a DVI mode. Change the clock frequency to 74.25MHz so that it matches HDMI mode 1280x720@60Hz Signed-off-by: Jose Abreu Acked-by: Alexey Brodkin Cc: Carlos Palminha Cc: Alexey Brodkin C

[RESEND PATCH 1/2] arc: axs10x: Add DT bindings for I2S audio playback

2017-04-21 Thread Jose Abreu
This patch adds the necessary DT bindings to get HDMI audio output in ARC AXS10x SDP. The bindings for I2S controller were added as well as the bindings for simple audio card. Signed-off-by: Jose Abreu Acked-by: Alexey Brodkin Cc: Carlos Palminha Cc: Alexey Brodkin Cc: Rob Herring Cc: Vineet

Re: [PATCH] sched/deadline: fix switching to -deadline

2017-04-21 Thread Peter Zijlstra
On Fri, Apr 21, 2017 at 10:47:29AM +0100, Juri Lelli wrote: > Oh, I think it works "by coincidence", as ENQUEUE_RESTORE == DEQUEUE_SAVE > == 0x02 ? :) That's very much on purpose, also see: #define DEQUEUE_SAVE0x02 /* matches ENQUEUE_RESTORE */

Re: [PATCH 3.18 000/124] 3.18.50-stable review

2017-04-21 Thread Mark Brown
On Fri, Apr 21, 2017 at 09:17:51AM +0200, Greg Kroah-Hartman wrote: > On Thu, Apr 20, 2017 at 01:37:56PM -0700, kernelci.org bot wrote: > > stable-rc/linux-3.18.y boot: 283 boots: 3 failed, 262 passed with 18 > > offline (v3.18.49-125-g7379419992fb) > Yeah, thanks for adding 3.18 back to the buil

Re: [PATCH] sched/deadline: fix switching to -deadline

2017-04-21 Thread Peter Zijlstra
On Fri, Apr 21, 2017 at 11:59:07AM +0200, luca abeni wrote: > Not sure if this is a conincidence... By looking at the comments in > sched/sched.h I got the impression the two values match by design (and > __sched_setscheduler() is using this property to simplify the code :) Exactly. Makes things

Re: [PATCH] sched/deadline: fix switching to -deadline

2017-04-21 Thread Juri Lelli
On 21/04/17 11:59, Luca Abeni wrote: > On Fri, 21 Apr 2017 10:47:29 +0100 > Juri Lelli wrote: > [...] > > > > > *dl_se, update_dl_entity(dl_se, pi_se); > > > > > else if (flags & ENQUEUE_REPLENISH) > > > > > replenish_dl_entity(dl_se, pi_se); > > > > > + else if ((flags & E

[PATCH 1/2 v4] video: fbdev: imxfb: support AUS mode

2017-04-21 Thread Martin Kaiser
Some displays require setting AUS mode in the LDCD AUS Mode Control Register to work with the imxfb driver. Like the value of the Panel Configuration Register, the AUS mode setting depends on the display mode. Allow setting AUS mode from the device tree by adding a boolean property. Make this prop

[PATCH 2/2] dt-bindings: display: imx: entry for AUS mode

2017-04-21 Thread Martin Kaiser
Allow setting AUS mode for a display from the device tree. Use an optional boolean property. AUS mode can be set only on imx21 and compatible chipsets. Signed-off-by: Martin Kaiser Acked-by: Rob Herring --- v4: rename the DT property to fsl,aus-mode v3: use a boolean DT property instead o

Re: [PATCH v3] Staging: most: use __func__ instead of the function name

2017-04-21 Thread Joe Perches
On Fri, 2017-04-21 at 00:40 -0700, Chandra Annamaneni wrote: > Third Reminder. Please review. Patience. > On Sun, 9 Apr 2017, chandrasekhar annamaneni wrote: > > Second reminder, please review. [] > > On Fri, Mar 17, 2017 at 12:49 PM, Chandra Annamaneni > > wrote: > > > > Change video.c t

Re: [PATCH 1/2 v3 resend] video: fbdev: imxfb: support AUS mode

2017-04-21 Thread Martin Kaiser
Thus wrote Bartlomiej Zolnierkiewicz (b.zolnier...@samsung.com): > It hadn't been lost, I've been waiting on v4, please see: > https://lkml.org/lkml/2017/3/15/709 > [ Rob has requested rename of the property to "fsl,aus-mode". ] Sorry, I didn't notice that Rob wanted me to rename the property.

Re: [alsa-devel] [PATCH] ASoC: dwc: disallow building designware_pcm as a module

2017-04-21 Thread Jose Abreu
Hi, On 20-04-2017 21:24, Takashi Iwai wrote: > So, I think Lubomir's change is right. But the patch subject and > description should be rephrased. > > One thing I don't like is the rename of the file. But in this > particular case, it's unavoidable unless we rename the module name. > Maybe ren

[PATCH] HSI: ssi_protocol: double free in ssip_pn_xmit()

2017-04-21 Thread Dan Carpenter
If skb_pad() fails then it frees skb and we don't need to free it again at the end of the function. Fixes: dc7bf5d7 ("HSI: Introduce driver for SSI Protocol") Signed-off-by: Dan Carpenter diff --git a/drivers/hsi/clients/ssi_protocol.c b/drivers/hsi/clients/ssi_protocol.c index 7ef819680acd..26

Re: [alsa-devel] [PATCH] ASoC: dwc: disallow building designware_pcm as a module

2017-04-21 Thread Takashi Iwai
On Fri, 21 Apr 2017 12:34:00 +0200, Jose Abreu wrote: > > Hi, > > > On 20-04-2017 21:24, Takashi Iwai wrote: > > So, I think Lubomir's change is right. But the patch subject and > > description should be rephrased. > > > > One thing I don't like is the rename of the file. But in this > > parti

Re: [PATCH v3 7/8] arm64: exception: handle asynchronous SError interrupt

2017-04-21 Thread Xiongfeng Wang
Hi XiuQi, On 2017/3/30 18:31, Xie XiuQi wrote: > Error Synchronization Barrier (ESB; part of the ARMv8.2 Extensions) > is used to synchronize Unrecoverable errors. That is, containable errors > architecturally consumed by the PE and not silently propagated. > > With ESB it is generally possible t

[PATCH 1/2] staging: atomisp: satm include directory is gone

2017-04-21 Thread Arnd Bergmann
After the satm kernel was removed, we should no longer add the directory to the search path. This was found with a 'make W=1' warning: cc1: error: drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/satm/: No such file or directory [-Werror=missing-include-dirs] Fixes: 184f8e0981ef (

Re: [alsa-devel] [PATCH] ASoC: dwc: disallow building designware_pcm as a module

2017-04-21 Thread Mark Brown
On Fri, Apr 21, 2017 at 12:39:30PM +0200, Takashi Iwai wrote: > Jose Abreu wrote: > > Maybe rename to "dwc-i2s.c" and "dwc-pcm.c" (as the folder is > > called "dwc") and let the module still be called "designware-i2s"? > Lubomir's patch keeps the module name intact. My point is that rename > of

[PATCH 2/2] staging: atomisp: remove #ifdef for runtime PM functions

2017-04-21 Thread Arnd Bergmann
The runtime power management functions are called from the reset handler even if CONFIG_PM is disabled, leading to a link error: drivers/staging/built-in.o: In function `atomisp_reset': (.text+0x4cd1c): undefined reference to `atomisp_runtime_suspend' drivers/staging/built-in.o: In function `atomi

Re: [PATCH 3/4] nfs: remove the objlayout driver

2017-04-21 Thread Christoph Hellwig
On Fri, Apr 21, 2017 at 09:27:11AM +0200, Valentin Rothberg wrote: > Hi Christoph, > > I just came across this patch in linux-next commit 6d22323b2e9f. > scripts/checkkconfigsymbols.py reports that there is a leftover > reference on PNFS_OBJLAYOUT in fs/exofs/Kconfig.ore line 10 (depends > on EXOF

Re: [PATCH 3/4] nfs: remove the objlayout driver

2017-04-21 Thread Christoph Hellwig
On Thu, Apr 20, 2017 at 08:18:28PM +, Trond Myklebust wrote: > OK. I'm applying this patch for the 4.12 merge window. If, as Boaz > suggests, there is still an interest in exofs, then I suggest we put > that to the test by moving it into the STAGING area, to see if someone > will step up to mai

[PATCH] nand_base: optimize checking of erased buffers

2017-04-21 Thread Pavel Machek
If we see ~0UL in flash, there's no need for hweight, and no need to check number of bitflips. So this should be net win. Signed-off-by: Pavel Machek diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index b0524f8..96c27ec 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/d

[PATCH] [media] rainshadow-cec: avoid -Wmaybe-uninitialized warning

2017-04-21 Thread Arnd Bergmann
The barrier implied by spin_unlock() in rain_irq_work_handler makes it hard for gcc to figure out the state of the variables, leading to a false-positive warning: drivers/media/usb/rainshadow-cec/rainshadow-cec.c: In function 'rain_irq_work_handler': drivers/media/usb/rainshadow-cec/rainshadow-ce

[PATCH] [media] cec: improve MEDIA_CEC_RC dependencies

2017-04-21 Thread Arnd Bergmann
Changing the IS_REACHABLE() into a plain #ifdef broke the case of CONFIG_MEDIA_RC=m && CONFIG_MEDIA_CEC=y: drivers/media/cec/cec-core.o: In function `cec_unregister_adapter': cec-core.c:(.text.cec_unregister_adapter+0x18): undefined reference to `rc_unregister_device' drivers/media/cec/cec-core.o

[PATCH] fsnotify: remove a stray unlock

2017-04-21 Thread Dan Carpenter
We recently shifted this code around, so we're no longer holding the lock on this path. Fixes: 755b5bc681eb ("fsnotify: Remove indirection from mark list addition") Signed-off-by: Dan Carpenter diff --git a/fs/notify/mark.c b/fs/notify/mark.c index 55955ded338d..9991f8826734 100644 --- a/fs/noti

RE: [PATCH 0/5] v2: block subsystem refcounter conversions

2017-04-21 Thread Reshetova, Elena
> Hi Elena, > > On Thu, Apr 20, 2017 at 04:10:16PM +, Reshetova, Elena wrote: > > > > > All the objections from DaveM on the amount of cycles spent on the > > > new refcount_t apply to the block layer fast path operations as well. > > > > Ok, could you please indicate the correct way to measur

Re: [PATCH 0/5] v2: block subsystem refcounter conversions

2017-04-21 Thread Christoph Hellwig
On Thu, Apr 20, 2017 at 11:33:19AM -0700, Eric Biggers wrote: > Like I suggested months ago, how about doing an efficient implementation of > refcount_t which doesn't use the bloated cmpxchg loop? Then there would be no > need for endless performance arguments. In fact, in PaX there are already >

Re: [v6 PATCH 10/21] x86/insn-eval: Do not use R/EBP as base if mod in ModRM is zero

2017-04-21 Thread Borislav Petkov
On Tue, Mar 07, 2017 at 04:32:43PM -0800, Ricardo Neri wrote: > Section 2.2.1.3 of the Intel 64 and IA-32 Architectures Software > Developer's Manual volume 2A states that when the mod part of the ModRM > byte is zero and R/EBP is specified in the R/M part of such bit, the value > of the aforementi

[PATCH] exofs: ORE: remove dead dependence

2017-04-21 Thread Valentin Rothberg
Remove last reference on PNFS_OBJLAYOUT. Signed-off-by: Valentin Rothberg --- fs/exofs/Kconfig.ore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/exofs/Kconfig.ore b/fs/exofs/Kconfig.ore index 2daf2329c28d..73cab8d92dfd 100644 --- a/fs/exofs/Kconfig.ore +++ b/fs/exofs/Kco

[GIT PULL] ACPI fix for final v4.11

2017-04-21 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ acpi-4.11-final with top-most commit fe8c470ab87d90e4b5115902dd94eced7e3305c3 ACPI / power: Avoid maybe-uninitialized warning on top of commit 4f7d029b9bf009fbee76bb10c0c4351a1870d2f3 Li

Re: [PATCH v6 2/3] v4l: Add 10/16-bits per channel YUV pixel formats

2017-04-21 Thread ayaka
On 04/18/2017 03:33 AM, Mauro Carvalho Chehab wrote: Em Sun, 5 Mar 2017 18:00:32 +0800 Randy Li escreveu: The formats added by this patch are: V4L2_PIX_FMT_P010 V4L2_PIX_FMT_P010M V4L2_PIX_FMT_P016 V4L2_PIX_FMT_P016M Currently, none of driver uses those forma

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Ville Syrjälä
On Fri, Apr 21, 2017 at 11:50:18AM +0200, Gerd Hoffmann wrote: > On Fr, 2017-04-21 at 12:25 +0300, Ville Syrjälä wrote: > > On Fri, Apr 21, 2017 at 09:58:24AM +0200, Gerd Hoffmann wrote: > > > While working on graphics support for virtual machines on ppc64 (which > > > exists in both little and big

Re: Review request: draft userfaultfd(2) manual page

2017-04-21 Thread Mike Rapoport
On Fri, Apr 21, 2017 at 08:30:55AM +0200, Michael Kerrisk (man-pages) wrote: > Hello Mike, > > On 03/21/2017 03:01 PM, Mike Rapoport wrote: > > Hello Michael, > > > > On Mon, Mar 20, 2017 at 09:08:05PM +0100, Michael Kerrisk (man-pages) wrote: > >> Hello Andrea, Mike, and all, > >> > >> Mike: tha

Re: Review request: draft ioctl_userfaultfd(2) manual page

2017-04-21 Thread Mike Rapoport
Hello Michael, On Fri, Apr 21, 2017 at 11:11:18AM +0200, Michael Kerrisk (man-pages) wrote: > Hello Mike, > Hello Andrea (we need your help!), > > On 03/22/2017 02:54 PM, Mike Rapoport wrote: > > Hello Michael, > > > > On Mon, Mar 20, 2017 at 09:11:07PM +0100, Michael Kerrisk (man-pages) wrote:

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Ville Syrjälä
On Fri, Apr 21, 2017 at 11:50:18AM +0200, Gerd Hoffmann wrote: > On Fr, 2017-04-21 at 12:25 +0300, Ville Syrjälä wrote: > > On Fri, Apr 21, 2017 at 09:58:24AM +0200, Gerd Hoffmann wrote: > > > While working on graphics support for virtual machines on ppc64 (which > > > exists in both little and big

[PATCH] power: supply: generic-adc-battery: use SIMPLE_DEV_PM_OPS helper macro

2017-04-21 Thread Rahul Bedarkar
Replace ifdefs with SIMPLE_DEV_PM_OPS helper macro. Signed-off-by: Rahul Bedarkar --- drivers/power/supply/generic-adc-battery.c | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/drivers/power/supply/generic-adc-battery.c b/drivers/power/supply/generic-adc-b

Re: [PATCH v8 6/6] i2c: designware: enable SLAVE in platform module

2017-04-21 Thread kbuild test robot
Hi Luis, [auto build test ERROR on wsa/i2c/for-next] [also build test ERROR on next-20170421] [cannot apply to v4.11-rc7] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Luis-Oliveira/i2c

[PATCH] crypto: crypto4xx: rename ce_ring_contol to ce_ring_control

2017-04-21 Thread Colin King
From: Colin Ian King trivial spelling mistake, missing r, rename to ce_ring_control Signed-off-by: Colin Ian King --- drivers/crypto/amcc/crypto4xx_core.c| 2 +- drivers/crypto/amcc/crypto4xx_reg_def.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/am

Re: [PATCH] exofs: ORE: remove dead dependence

2017-04-21 Thread Christoph Hellwig
On Fri, Apr 21, 2017 at 01:00:53PM +0200, Valentin Rothberg wrote: > Remove last reference on PNFS_OBJLAYOUT. > > Signed-off-by: Valentin Rothberg Looks good, Reviewed-by: Christoph Hellwig

[PATCH 1/4] powerpc: Discard ffs()/__ffs() function and use builtin functions instead

2017-04-21 Thread Christophe Leroy
With the ffs() function as defined in arch/powerpc/include/asm/bitops.h GCC will not optimise the code in case of constant parameter, as shown by the small exemple below. int ffs_test(void) { return 4 << ffs(31); } c0012334 : c0012334: 39 20 00 01 li r9,1 c0012338: 38

[PATCH 0/4] powerpc: Replace some bitops functions by builtin/generic ones

2017-04-21 Thread Christophe Leroy
This patchset replaces the following bitops by builtin/generic ones: - ffs() / __ffs() - fls() / __fls() / fls64() - ffz() - __ilog2() / __ilog2_u32() / __ilog2_u64() The current functions are written as inline assembly which prevents GCC to optimise them in case of constant parameters and obliges

[PATCH 4/4] powerpc: remove __ilog2()s and use generic ones

2017-04-21 Thread Christophe Leroy
With the __ilog2() function as defined in arch/powerpc/include/asm/bitops.h, GCC will not optimise the code in case of constant parameter. The generic ilog2() function in include/linux/log2.h is written to handle the case of the constant parameter. This patch discards the three __ilog2() function

[PATCH 2/4] powerpc: Use builtin functions for fls()/__fls()/fls64()

2017-04-21 Thread Christophe Leroy
With the fls() functions as defined in arch/powerpc/include/asm/bitops.h GCC will not optimise the code in case of constant parameter. This patch replaces __fls() by the builtin function, and modifies fls() and fls64() to use builtins instead of inline assembly For non constant calls, the generat

[PATCH 3/4] powerpc: Replace ffz() by equivalent generic function

2017-04-21 Thread Christophe Leroy
With the ffz() function as defined in arch/powerpc/include/asm/bitops.h GCC will not optimise the code in case of constant parameter. This patch replaces ffz() by the generic function. The generic ffz(x) expects to never be called with ~x == 0 as written in the comment in include/asm-generic/bito

Re: [PATCH v2 0/5] Re-order scsi_remove_host and sas_remove_host in SAS HBA LLDDs

2017-04-21 Thread Christoph Hellwig
On Fri, Apr 21, 2017 at 10:04:45AM +0200, Johannes Thumshirn wrote: > This series re-orders the calls to scsi_remove_host() and sas_remove_host() in > all SAS HBA drivers (apart from mpt3sas which is doing it correctly). This is > for two reasons: > 1) After the change to recursive removal of

Re: [PATCH v2 0/5] Re-order scsi_remove_host and sas_remove_host in SAS HBA LLDDs

2017-04-21 Thread Christoph Hellwig
On Fri, Apr 21, 2017 at 09:57:37AM +0100, John Garry wrote: > On 21/04/2017 09:39, Johannes Thumshirn wrote: >>> wangyijing already sent an RFC for fixing this issue (mentioned above), >>> > which was a signifiagnt rewrite of some of libsas. >>> > I am hoping that he would retry, and that community

Re: [PATCH 01/11] blk: remove bio_set arg from blk_queue_split()

2017-04-21 Thread Christoph Hellwig
Looks good: Reviewed-by: Christoph Hellwig

Re: [PATCH v2 0/5] Re-order scsi_remove_host and sas_remove_host in SAS HBA LLDDs

2017-04-21 Thread Johannes Thumshirn
On Fri, Apr 21, 2017 at 01:19:41PM +0200, Christoph Hellwig wrote: > > Any reason to not just make sas_remove_host call scsi_remove_host > to ensure we get the ordering right? No other than "haven't thought of it". But let me double check the LLDDs fist. -- Johannes Thumshirn

[PATCH v3 1/2] mfd: intel_soc_pmic: Select designware i2c-bus driver

2017-04-21 Thread Hans de Goede
The Crystal Cove PMIC provides an ACPI OPRegion handler, which must be available before other drivers using it are loaded, which is why INTEL_SOC_PMIC is a bool. Just having the driver is not enough, the driver for the i2c-bus must also be built in, to ensure this, this patch adds a select for it.

[PATCH v3 2/2] mfd: axp20x-i2c: Document that this must be builtin on x86

2017-04-21 Thread Hans de Goede
On x86 the axp288 PMIC provides an ACPI OpRegion handler, which must be available before other drivers using it are loaded, which can only be ensured if the mfd, OpRegionr and i2c-bus drivers are built in. Since the axp20x mfd code is used on non X86 too we cannot simply change this into a bool, I

Re: [PATCH 03/11] blk: use non-rescuing bioset for q->bio_split.

2017-04-21 Thread Christoph Hellwig
Looks fine: Reviewed-by: Christoph Hellwig

Re: [PATCH 02/11] blk: make the bioset rescue_workqueue optional.

2017-04-21 Thread Christoph Hellwig
On Thu, Apr 20, 2017 at 03:38:48PM +1000, NeilBrown wrote: > This patch converts bioset_create() and > bioset_create_nobvec() to not create a workqueue so > alloctions will never trigger punt_bios_to_rescuer(). It > also introduces bioset_create_rescued() and > bioset_create_nobvec_rescued() which

Re: linux-next: build failure after merge of the arm tree

2017-04-21 Thread Mason
On 21/04/2017 09:58, Mason wrote: > Weird that I didn't catch this when I ran make allyesconfig. Doh! make allyesconfig builds for BE systems. CONFIG_CPU_BIG_ENDIAN=y CONFIG_CPU_ENDIAN_BE8=y But the patch I originally tested with only updated the LE bitops. With the complete patch, I didn't se

Re: [PATCH 04/11] block: Improvements to bounce-buffer handling

2017-04-21 Thread Christoph Hellwig
Do we want to doctor around the bio bouncing or leave it to the dma_ops like other subsystems do? These days dma_map_* is supposed to handle any memory we throw at it, even if that means using bounce buffers at that level.

Re: [PATCH 07/11] pktcdvd: use bio_clone_fast() instead of bio_clone()

2017-04-21 Thread Christoph Hellwig
On Thu, Apr 20, 2017 at 03:38:49PM +1000, NeilBrown wrote: > pktcdvd doesn't change the bi_io_vec of the clone bio, > so it is more efficient to use bio_clone_fast(), and not clone > the bi_io_vec. > This requires providing a bio_set, and it is safest to > provide a dedicated bio_set rather than sh

Re: [PATCH 06/11] drbd: use bio_clone_fast() instead of bio_clone()

2017-04-21 Thread Christoph Hellwig
On Thu, Apr 20, 2017 at 03:38:49PM +1000, NeilBrown wrote: > drbd does not modify the bi_io_vec of the cloned bio, > so there is no need to clone that part. So bio_clone_fast() > is the better choice. > For bio_clone_fast() we need to specify a bio_set. > We could use fs_bio_set, which bio_clone()

Re: [PATCH 05/11] rbd: use bio_clone_fast() instead of bio_clone()

2017-04-21 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

Re: [PATCH 09/11] bcache: use kmalloc to allocate bio in bch_data_verify()

2017-04-21 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

Re: Review request: draft userfaultfd(2) manual page

2017-04-21 Thread Michael Kerrisk (man-pages)
Hello Mike, On 04/21/2017 01:06 PM, Mike Rapoport wrote: > On Fri, Apr 21, 2017 at 08:30:55AM +0200, Michael Kerrisk (man-pages) wrote: >> Hello Mike, >> >> On 03/21/2017 03:01 PM, Mike Rapoport wrote: >>> Hello Michael, >>> >>> On Mon, Mar 20, 2017 at 09:08:05PM +0100, Michael Kerrisk (man-pages)

Re: [PATCH 10/11] block: remove bio_clone() and all references.

2017-04-21 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

Re: [PATCH 09/11] bcache: use kmalloc to allocate bio in bch_data_verify()

2017-04-21 Thread Kent Overstreet
On Thu, Apr 20, 2017 at 03:38:50PM +1000, NeilBrown wrote: > This function allocates a bio, then a collection > of pages. It copes with failure. > > It currently uses a mempool() to allocate the bio, > but alloc_page() to allocate the pages. These fail > in different ways, so the usage is incons

Re: [PATCH 11/11] block: don't check for BIO_MAX_PAGES in blk_bio_segment_split()

2017-04-21 Thread Christoph Hellwig
On Thu, Apr 20, 2017 at 03:38:50PM +1000, NeilBrown wrote: > blk_bio_segment_split() makes sure bios have no more than > BIO_MAX_PAGES entries in the bi_io_vec. > This was done because bio_clone_bioset() (when given a > mempool bioset) could not handle larger io_vecs. > > No driver uses bio_clone_

Re: [PATCH v3 7/8] arm64: exception: handle asynchronous SError interrupt

2017-04-21 Thread Xiongfeng Wang
Hi James, Thanks for your reply. On 2017/4/20 16:52, James Morse wrote: > Hi Wang Xiongfeng, > > On 19/04/17 03:37, Xiongfeng Wang wrote: >> On 2017/4/18 18:51, James Morse wrote: >>> The host expects to receive physical SError Interrupts. The ARM-ARM doesn't >>> describe a way to inject these a

Re: [PATCH 08/11] xen-blkfront: remove bio splitting.

2017-04-21 Thread Christoph Hellwig
Btw, I really don't understand why this code even looks at bios over just requeueing the request. Can someone explain that bit to me?

Re: [PATCH 2/2] n2rng: Combine substrings for two messages in n2rng_probe()

2017-04-21 Thread Herbert Xu
On Wed, Apr 19, 2017 at 11:11:35AM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 19 Apr 2017 10:50:04 +0200 > > The script "checkpatch.pl" pointed information out like the following. > > WARNING: quoted string split across lines > > Thus fix the affected source code places

Re: [regression v4.11] 617f01211baf ("8139too: use napi_complete_done()")

2017-04-21 Thread Ville Syrjälä
BTW I've also been getting some lockdep grief from r8169 netpoll stuff recently. Not sure if it might be related to these changes or not, but I don't remember seeing this sort of stuff until quite recently. [ 251.911044] == [ 251.911044] [ INFO

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Pekka Paalanen
On Fri, 21 Apr 2017 14:08:04 +0300 Ville Syrjälä wrote: > On Fri, Apr 21, 2017 at 11:50:18AM +0200, Gerd Hoffmann wrote: > > On Fr, 2017-04-21 at 12:25 +0300, Ville Syrjälä wrote: > > > On Fri, Apr 21, 2017 at 09:58:24AM +0200, Gerd Hoffmann wrote: > > > > While working on graphics support fo

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Gerd Hoffmann
Hi, > > I personally find "native" more intuitive, but at the end of the day I > > don't mind much. If people prefer "host" over "native" I'll change it. > > "native" to me feels more like "native to the GPU" since these things > really are tied to the GPU not the CPU. Ok, then maybe "host" i

Re: Review request: draft ioctl_userfaultfd(2) manual page

2017-04-21 Thread Michael Kerrisk (man-pages)
Hi Mike, On 04/21/2017 01:07 PM, Mike Rapoport wrote: > Hello Michael, > > On Fri, Apr 21, 2017 at 11:11:18AM +0200, Michael Kerrisk (man-pages) wrote: >> Hello Mike, >> Hello Andrea (we need your help!), >> >> On 03/22/2017 02:54 PM, Mike Rapoport wrote: >>> Hello Michael, >>> >>> On Mon, Mar 20

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Christian König
Am 21.04.2017 um 13:08 schrieb Ville Syrjälä: On Fri, Apr 21, 2017 at 11:50:18AM +0200, Gerd Hoffmann wrote: On Fr, 2017-04-21 at 12:25 +0300, Ville Syrjälä wrote: On Fri, Apr 21, 2017 at 09:58:24AM +0200, Gerd Hoffmann wrote: While working on graphics support for virtual machines on ppc64 (wh

Re: [PATCH 08/11] xen-blkfront: remove bio splitting.

2017-04-21 Thread Roger Pau Monne
On Fri, Apr 21, 2017 at 04:36:20AM -0700, Christoph Hellwig wrote: > Btw, I really don't understand why this code even looks at bios over > just requeueing the request. Can someone explain that bit to me? This was done because Linux could migrate from a host supporting indirect descriptors to a h

[PATCH v3] clk/axs10x: introduce AXS10X pll driver

2017-04-21 Thread Vlad Zakharov
AXS10X boards manages it's clocks using various PLLs. These PLL has same dividers and corresponding control registers mapped to different addresses. So we add one common driver for such PLLs. Each PLL on AXS10X board consist of three dividers: IDIV, FBDIV and ODIV. Output clock value is managed us

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Ville Syrjälä
On Fri, Apr 21, 2017 at 02:40:18PM +0300, Pekka Paalanen wrote: > On Fri, 21 Apr 2017 14:08:04 +0300 > Ville Syrjälä wrote: > > > On Fri, Apr 21, 2017 at 11:50:18AM +0200, Gerd Hoffmann wrote: > > > On Fr, 2017-04-21 at 12:25 +0300, Ville Syrjälä wrote: > > > > On Fri, Apr 21, 2017 at 09:58:24A

Re: [PATCH v2 0/5] Re-order scsi_remove_host and sas_remove_host in SAS HBA LLDDs

2017-04-21 Thread John Garry
On 21/04/2017 12:20, Christoph Hellwig wrote: On Fri, Apr 21, 2017 at 09:57:37AM +0100, John Garry wrote: On 21/04/2017 09:39, Johannes Thumshirn wrote: wangyijing already sent an RFC for fixing this issue (mentioned above), which was a signifiagnt rewrite of some of libsas. I am hoping that h

[PATCH] bus: fsl-mc: dpio: fix alter FQ state command

2017-04-21 Thread Horia Geantă
When checking the response verb, the valid bit should be masked out, since its value flips depending on what Response Register (RR0 /RR1) it's been read from. Fixes: 321eecb06bfb ("bus: fsl-mc: dpio: add QBMan portal APIs for DPAA2") Signed-off-by: Horia Geantă --- drivers/staging/fsl-mc/bus/dpi

<    1   2   3   4   5   6   7   8   9   >