Re: [PATCH v3 4/5] iio: srf08: add sensor type srf10

2017-08-18 Thread Jonathan Cameron
On Wed, 16 Aug 2017 21:34:23 +0200 Andreas Klinger wrote: > Ultrasonic sensor srf10 is quite similar to srf08 and now also supported by > the driver as device tree compatible string. > > It was necessary to prepare the source for supplementary sensors. This is > done by enum srf08_sensor_type. >

Re: [PATCH v3 2/5] iio: srf08: add device tree table

2017-08-18 Thread Jonathan Cameron
On Wed, 16 Aug 2017 21:33:47 +0200 Andreas Klinger wrote: > Added MODULE_DEVICE_TABLE for device tree bindings. > > It used to work without it by using the i2c_device_id table, but adding the > table makes everything clear and documented. > > Signed-off-by: Andreas Klinger Applied to the togre

Re: [PATCH v3 3/5] iio: srf08: add triggered buffer support

2017-08-18 Thread Jonathan Cameron
On Fri, 18 Aug 2017 07:56:05 +0100 Jonathan Cameron wrote: > On Wed, 16 Aug 2017 21:34:06 +0200 > Andreas Klinger wrote: > > > Add support for triggered buffers. > > > > Data format is quite simple: > > distance 16 Bit > > alignment48 Bit > > timestamp64 Bit > > > > Signed-o

Re: [PATCH v2 09/22] fpga: intel: pcie: adds fpga_for_each_port callback for fme device

2017-08-18 Thread Wu Hao
On Thu, Aug 17, 2017 at 04:31:56PM -0500, Alan Tull wrote: > On Sun, Jun 25, 2017 at 8:52 PM, Wu Hao wrote: > > Hi Hao, > > > For FPGA Management Engine (FME), it requires fpga_for_each_port callback > > for actions on ports, so export this function from PCIe driver by adding > > the callback to

Re: [PATCH RESEND1 00/12] ALSA: vsnd: Add Xen para-virtualized frontend driver

2017-08-18 Thread Takashi Sakamoto
On Aug 18 2017 14:56, Oleksandr Andrushchenko wrote: Taking into account the fact that the backend we have is a user-space application running on top of ALSA/PulseAudio we cannot get HW pointers from actual hardware by any means (PulseAudio use-case is the most tough thing in equation) You me

[PATCH v1] [media] uvcvideo: mark buffer error where overflow

2017-08-18 Thread Baoyou Xie
Some cameras post inaccurate frame where next frame data overlap it. this results in screen flicker, and it need to be prevented. So this patch marks the buffer error to discard the frame where buffer overflow. Signed-off-by: Baoyou Xie --- drivers/media/usb/uvc/uvc_video.c | 1 + 1 file change

Re: [PATCH v4 0/5] iio: srf08: add support for similar devices and triggered buffers

2017-08-18 Thread Jonathan Cameron
On Fri, 18 Aug 2017 00:08:29 +0200 Andreas Klinger wrote: For some reason my laptop hadn't picked up this posting until just now. Too many random wifi hotspots I guess. Anyhow given the rebase was trivial I'll stick with V3 for everything. Wolfram can pickup patch 1 whenever he likes. Jonathan

Re: [PATCH v7 1/2] sched/deadline: Add support for SD_PREFER_SIBLING on find_later_rq()

2017-08-18 Thread Joel Fernandes (Google)
Hi Byungchul, On Thu, Aug 17, 2017 at 11:05 PM, Byungchul Park wrote: > It would be better to avoid pushing tasks to other cpu within > a SD_PREFER_SIBLING domain, instead, get more chances to check other > siblings. > > Signed-off-by: Byungchul Park > --- > kernel/sched/deadline.c | 55 >

Re: [PATCH RESEND1 00/12] ALSA: vsnd: Add Xen para-virtualized frontend driver

2017-08-18 Thread Oleksandr Andrushchenko
On 08/18/2017 10:17 AM, Takashi Sakamoto wrote: On Aug 18 2017 14:56, Oleksandr Andrushchenko wrote: Taking into account the fact that the backend we have is a user-space application running on top of ALSA/PulseAudio we cannot get HW pointers from actual hardware by any means (PulseAudio use-c

Re: [PATCH] usb: xhci: Renesas uPD720202 needs short TX quirk

2017-08-18 Thread Felipe Balbi
hi, Kai-Heng Feng writes: > When plugging Logitech C920 webcam, warning messages filled up dmesg: > [77117.655018] xhci_hcd :0c:00.0: WARN Successful completion on short TX: > needs XHCI_TRUST_TX_LENGTH quirk? > [77117.659018] xhci_hcd :0c:00.0: WARN Successful completion on short TX:

Re: [RFC PATCH v2 1/3] PCI: rockchip: Add support for pcie wake irq

2017-08-18 Thread Shawn Lin
Hi Jeffy On 2017/8/17 20:04, Jeffy Chen wrote: Add support for PCIE_WAKE pin in rockchip pcie driver. Signed-off-by: Jeffy Chen --- Changes in v2: Use dev_pm_set_dedicated_wake_irq -- Suggested by Brian Norris drivers/pci/host/pcie-rockchip.c | 13 - 1 file changed,

[PATCH v9 0/3] Add support for IPQ8074 PCIe phy and controller

2017-08-18 Thread Varadarajan Narayanan
v9: Incorporate Stanimir's feedback for PCI: dwc: qcom: Add support for IPQ8074 PCIe controller Add Stanimir's Ack for PCI: dwc: qcom: Use block IP version for operations PCI: dwc: qcom: Add support for IPQ8074 PCIe controller Add Rob's Ack for dt-bindings: p

[PATCH v9 1/3] PCI: dwc: qcom: Use block IP version for operations

2017-08-18 Thread Varadarajan Narayanan
Presently, when support for a new SoC is added, the driver ops structures and functions are versioned with plain 1, 2, 3 etc. Instead use the block IP version number. Acked-by: Stanimir Varbanov Signed-off-by: Varadarajan Narayanan --- drivers/pci/dwc/pcie-qcom.c | 138 +++--

[PATCH v9 3/3] PCI: dwc: qcom: Add support for IPQ8074 PCIe controller

2017-08-18 Thread Varadarajan Narayanan
Add support for the IPQ8074 PCIe controller. IPQ8074 supports Gen 1/2, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. The core init is the similar to the existing SoC, however the clocks and reset lines differ. A

[PATCH v9 2/3] dt-bindings: pci: qcom: Add support for IPQ8074

2017-08-18 Thread Varadarajan Narayanan
Add support for the IPQ8074 PCIe controller. IPQ8074 supports Gen 1/2, one lane, two PCIe root complex with support for MSI and legacy interrupts, and it conforms to PCI Express Base 2.1 specification. Acked-by: Rob Herring Signed-off-by: Varadarajan Narayanan --- .../devicetree/bindings/pci/q

[GIT PULL] a dma-mapping for 4.13-rc

2017-08-18 Thread Christoph Hellwig
The following changes since commit ef954844c7ace62f773f4f23e28d2d915adc419f: Linux 4.13-rc5 (2017-08-13 16:01:32 -0700) are available in the git repository at: git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-4.13-3 for you to fetch changes up to ee7b1f31200d9f3cc45e1bd22e

Re: [PATCH v14 3/5] virtio-balloon: VIRTIO_BALLOON_F_SG

2017-08-18 Thread Wei Wang
On 08/18/2017 10:22 AM, Michael S. Tsirkin wrote: +static void send_balloon_page_sg(struct virtio_balloon *vb, +struct virtqueue *vq, +void *addr, +uint32_t size) +{ + unsigned int len; + i

[PATCH 02/13] ALSA: arm: constify snd_pcm_ops structures

2017-08-18 Thread Arvind Yadav
snd_pcm_ops are not supposed to change at runtime. All functions working with snd_pcm_ops provided by work with const snd_pcm_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/arm/aaci.c | 4 ++-- sound/arm/pxa2xx-pcm.c | 2 +- 2 files changed, 3 insertion

[PATCH 00/13] constify alsa snd_pcm_ops structures

2017-08-18 Thread Arvind Yadav
snd_pcm_ops are not supposed to change at runtime. All functions working with snd_pcm_ops provided by work with const snd_pcm_ops. So mark the non-const structs as const. Arvind Yadav (13): [PATCH 01/13] ALSA: aoa: constify snd_pcm_ops structures [PATCH 02/13] ALSA: arm: constify snd_pcm_ops

[PATCH 05/13] ALSA: firewire: constify snd_pcm_ops structures

2017-08-18 Thread Arvind Yadav
snd_pcm_ops are not supposed to change at runtime. All functions working with snd_pcm_ops provided by work with const snd_pcm_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/firewire/isight.c| 2 +- sound/firewire/motu/motu-pcm.c | 4 ++-- 2 files chan

[PATCH 03/13] ALSA: atmel: constify snd_pcm_ops structures

2017-08-18 Thread Arvind Yadav
snd_pcm_ops are not supposed to change at runtime. All functions working with snd_pcm_ops provided by work with const snd_pcm_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/atmel/ac97c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/

[PATCH 08/13] ALSA: pcmcia: constify snd_pcm_ops structures

2017-08-18 Thread Arvind Yadav
snd_pcm_ops are not supposed to change at runtime. All functions working with snd_pcm_ops provided by work with const snd_pcm_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH v4 04/21] doc: media/v4l-drivers: Add Qualcomm Camera Subsystem driver document

2017-08-18 Thread Hans Verkuil
Hi Todor, A few small comments below: On 08/08/2017 03:30 PM, Todor Tomov wrote: > Add a document to describe Qualcomm Camera Subsystem driver. > > Signed-off-by: Todor Tomov > --- > Documentation/media/v4l-drivers/qcom_camss.rst | 124 > + > 1 file changed, 124 insert

[PATCH 07/13] ALSA: parisc: constify snd_pcm_ops structures

2017-08-18 Thread Arvind Yadav
snd_pcm_ops are not supposed to change at runtime. All functions working with snd_pcm_ops provided by work with const snd_pcm_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/parisc/harmony.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 10/13] ALSA: sh: constify snd_pcm_ops structures

2017-08-18 Thread Arvind Yadav
snd_pcm_ops are not supposed to change at runtime. All functions working with snd_pcm_ops provided by work with const snd_pcm_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/sh/aica.c | 2 +- sound/sh/sh_dac_audio.c | 2 +- 2 files changed, 2 insertion

[PATCH 13/13] ALSA: usb: constify snd_pcm_ops structures

2017-08-18 Thread Arvind Yadav
snd_pcm_ops are not supposed to change at runtime. All functions working with snd_pcm_ops provided by work with const snd_pcm_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/usb/6fire/pcm.c | 2 +- sound/usb/caiaq/audio.c | 2 +- sound/usb/hi

[PATCH 12/13] ALSA: spi: constify snd_pcm_ops structures

2017-08-18 Thread Arvind Yadav
snd_pcm_ops are not supposed to change at runtime. All functions working with snd_pcm_ops provided by work with const snd_pcm_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/spi/at73c213.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sou

[PATCH 09/13] ALSA: ppc: constify snd_pcm_ops structures

2017-08-18 Thread Arvind Yadav
snd_pcm_ops are not supposed to change at runtime. All functions working with snd_pcm_ops provided by work with const snd_pcm_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/ppc/pmac.c| 4 ++-- sound/ppc/snd_ps3.c | 2 +- 2 files changed, 3 insertions(+),

[PATCH 11/13] ALSA: sparc: constify snd_pcm_ops structures

2017-08-18 Thread Arvind Yadav
snd_pcm_ops are not supposed to change at runtime. All functions working with snd_pcm_ops provided by work with const snd_pcm_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/sparc/amd7930.c | 4 ++-- sound/sparc/cs4231.c | 4 ++-- sound/sparc/dbri.c| 2 +-

[PATCH 06/13] ALSA: mips: constify snd_pcm_ops structures

2017-08-18 Thread Arvind Yadav
snd_pcm_ops are not supposed to change at runtime. All functions working with snd_pcm_ops provided by work with const snd_pcm_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/mips/hal2.c | 4 ++-- sound/mips/sgio2audio.c | 6 +++--- 2 files changed, 5 ins

[PATCH 04/13] ALSA: drivers: constify snd_pcm_ops structures

2017-08-18 Thread Arvind Yadav
snd_pcm_ops are not supposed to change at runtime. All functions working with snd_pcm_ops provided by work with const snd_pcm_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/drivers/aloop.c| 4 ++-- sound/drivers/ml403-ac97cr.c | 4 ++-- 2 files change

[PATCH 01/13] ALSA: aoa: constify snd_pcm_ops structures

2017-08-18 Thread Arvind Yadav
snd_pcm_ops are not supposed to change at runtime. All functions working with snd_pcm_ops provided by work with const snd_pcm_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/aoa/soundbus/i2sbus/pcm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) d

RE: [PATCH] arm64: dts: ls1088a: Add USB support

2017-08-18 Thread Yinbo Zhu
-Original Message- From: Shawn Guo [mailto:shawn...@kernel.org] Sent: Thursday, August 17, 2017 10:03 PM To: Yinbo Zhu Cc: linux-de...@gforge.freescale.net; Rob Herring ; Mark Rutland ; Catalin Marinas ; Will Deacon ; Harninder Rai ; Andy Tang ; open list: ; Ashish Kumar ; open list

Re: [PATCH 1/3] KVM: x86: simplify ept_misconfig

2017-08-18 Thread David Hildenbrand
On 17.08.2017 18:36, Paolo Bonzini wrote: > Calling handle_mmio_page_fault() has been unnecessary since commit > e9ee956e311d ("KVM: x86: MMU: Move handle_mmio_page_fault() call to > kvm_mmu_page_fault()", 2016-02-22). > > handle_mmio_page_fault() can now be made static. > > Signed-off-by: Paolo

Re: [PATCH] media: venus: fix duplicated code for different branches

2017-08-18 Thread Stanimir Varbanov
Hi Gustavo, On 08/18/2017 02:12 AM, Gustavo A. R. Silva wrote: > Refactor code in order to avoid identical code for different branches. > > This issue was detected with the help of Coccinelle. > > Addresses-Coverity-ID: 1415317 > Signed-off-by: Gustavo A. R. Silva > --- > This code was reported

Re: [PATCH v4 04/21] doc: media/v4l-drivers: Add Qualcomm Camera Subsystem driver document

2017-08-18 Thread Todor Tomov
Hi Hans, On 18.08.2017 10:45, Hans Verkuil wrote: > Hi Todor, > > A few small comments below: > > On 08/08/2017 03:30 PM, Todor Tomov wrote: >> Add a document to describe Qualcomm Camera Subsystem driver. >> >> Signed-off-by: Todor Tomov >> --- >> Documentation/media/v4l-drivers/qcom_camss.rst

Re: [PATCH v7 1/2] sched/deadline: Add support for SD_PREFER_SIBLING on find_later_rq()

2017-08-18 Thread Byungchul Park
On Fri, Aug 18, 2017 at 12:21:46AM -0700, Joel Fernandes (Google) wrote: > Hi Byungchul, > > On Thu, Aug 17, 2017 at 11:05 PM, Byungchul Park > wrote: > > It would be better to avoid pushing tasks to other cpu within > > a SD_PREFER_SIBLING domain, instead, get more chances to check other > > si

Re: [PATCH 2/3] KVM: x86: Avoid guest page table walk when gpa_available is set

2017-08-18 Thread David Hildenbrand
> +++ b/arch/x86/kvm/x86.c > @@ -4657,25 +4657,18 @@ static int emulator_read_write_onepage(unsigned long > addr, void *val, >*/ > if (vcpu->arch.gpa_available && > emulator_can_use_gpa(ctxt) && > - vcpu_is_mmio_gpa(vcpu, addr, exception->address, write) && > -

Re: [PATCH] ARM: imx_v6_v7_defconfig: Add CONFIG_FW_LOADER_USER_HELPER_FALLBACK

2017-08-18 Thread Philipp Zabel
Hi Shawn, On Thu, 2017-08-17 at 22:12 +0800, Shawn Guo wrote: > On Thu, Aug 17, 2017 at 04:04:24PM +0200, Gary Bisson wrote: > > Allows to load firmware files which aren't built inside the kernel. > > > > Especially useful for CODA firmware (vpu_fw_imx6q.bin) which is > > usually > > located in t

Re: [PATCH 3/3] KVM: x86: fix use of L1 MMIO areas in nested guests

2017-08-18 Thread David Hildenbrand
On 17.08.2017 18:36, Paolo Bonzini wrote: > There is currently some confusion between nested and L1 GPAs. The > assignment to "direct" in kvm_mmu_page_fault tries to fix that, but > it is not enough. What this patch does is fence off the MMIO cache > completely when using shadow nested page table

Re: [PATCH 2/9] Implement containers as kernel objects

2017-08-18 Thread Richard Guy Briggs
On 2017-08-16 18:21, Paul Moore wrote: > On Mon, Aug 14, 2017 at 1:47 AM, Richard Guy Briggs wrote: > > Hi David, > > > > I wanted to respond to this thread to attempt some constructive feedback, > > better late than never. I had a look at your fsopen/fsmount() patchset(s) > > to > > support thi

Re: [PATCH 5/5] Use __func__ instead of function name

2017-08-18 Thread Michal Suchánek
On 2017-07-29 09:24, SZ Lin wrote: Fix following checkpatch.pl warning: WARNING: Prefer using '"%s...", __func__' to using the function's name, in a string Signed-off-by: SZ Lin --- drivers/char/tpm/tpm_ibmvtpm.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/

Re: [PATCH] arm64: dts: ls1088a: Add USB support

2017-08-18 Thread Shawn Guo
On Fri, Aug 18, 2017 at 07:48:19AM +, Yinbo Zhu wrote: > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi > > b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi > > index 3a3be87..0dbff29 100644 > > --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi > > +++ b/arch/arm64/boot/dts/f

Re: [PATCH] usb: xhci: Renesas uPD720202 needs short TX quirk

2017-08-18 Thread Kai-Heng Feng
Hi, On Fri, Aug 18, 2017 at 3:22 PM, Felipe Balbi wrote: > > hi, > > Kai-Heng Feng writes: >> When plugging Logitech C920 webcam, warning messages filled up dmesg: >> [77117.655018] xhci_hcd :0c:00.0: WARN Successful completion on short >> TX: needs XHCI_TRUST_TX_LENGTH quirk? >> [77117.659

[PATCH v6 0/3] Add support Rockchip Soc LVDS

2017-08-18 Thread Sandy Huang
This patches add support Rockchip RK3288 LVDS support, based on patches from Mark yao[0] and Heiko Stuebner[1]. [0]: https://github.com/RockchipOpensourceCommunity/popmetal-kernel-3.14 [1]: http://lists.infradead.org/pipermail/linux-rockchip/2015-April/002830.html Changes: - Update rockchip_lvds_

[PATCH v6 3/3] drm/rockchip: Add support for Rockchip Soc LVDS

2017-08-18 Thread Sandy Huang
This adds support for Rockchip soc lvds found on rk3288 Based on the patches from Mark yao and Heiko Stuebner Signed-off-by: Sandy Huang Signed-off-by: Mark Yao Signed-off-by: Heiko Stuebner --- Changes: - remove drm_bridge_detach at rockchip_lvds_unbind, because this will be called a

Re: [PATCH v5 1/3] dt-bindings: display: Add Document for Rockchip Soc LVDS

2017-08-18 Thread Sandy Huang
Hi Rob, 在 2017/8/18 4:56, Rob Herring 写道: On Tue, Aug 15, 2017 at 11:49:19AM +0800, Sandy Huang wrote: This patch add Document for Rockchip Soc RK3288 LVDS, This based on the patches from Mark yao and Heiko Stuebner. Signed-off-by: Sandy Huang Signed-off-by: Mark yao Signed-off-by: Heiko Stu

[PATCH v6 2/3] ARM: dts: Add LVDS info for rk3288

2017-08-18 Thread Sandy Huang
add LVDS info in rk3288.dtsi for LVDS driver This based on the patches from Mark yao and Heiko Stuebner. Signed-off-by: Sandy Huang Signed-off-by: Mark yao Signed-off-by: Heiko Stuebner --- arch/arm/boot/dts/rk3288.dtsi | 52 +++ 1 file changed, 52 inser

Re: [PATCH] usb: xhci: Renesas uPD720202 needs short TX quirk

2017-08-18 Thread Felipe Balbi
Hi, Kai-Heng Feng writes: >>> When plugging Logitech C920 webcam, warning messages filled up dmesg: >>> [77117.655018] xhci_hcd :0c:00.0: WARN Successful completion on short >>> TX: needs XHCI_TRUST_TX_LENGTH quirk? >>> [77117.659018] xhci_hcd :0c:00.0: WARN Successful completion on sho

Re: [PATCH] ALSA: usb-audio: don't retry snd_usb_ctl_msg after timeout

2017-08-18 Thread Takashi Iwai
On Fri, 18 Aug 2017 00:17:46 +0200, Stephen Barber wrote: > > A few calls to snd_usb_ctl_msg wrap the function in a retry loop. In > the worst case, the timeout for snd_usb_ctl_msg is 5 seconds, which when > retried 10 times (for example, if a device is removed) could cause a > probe to hang for ~

Re: [PATCH 1/6] ASoC: fsl: make snd_pcm_hardware const

2017-08-18 Thread Nicolin Chen
On Thu, Aug 17, 2017 at 03:46:07PM +0530, Bhumika Goyal wrote: > Make these const as they are only passed as the 2nd argument to the > function snd_soc_set_runtime_hwparams, which is const. > Done using Coccinelle. > > Signed-off-by: Bhumika Goyal Acked-by: Nicolin Chen

Re: [PATCH blktests v2] loop/002: Regression testing for loop device flush

2017-08-18 Thread Omar Sandoval
On Tue, Jun 27, 2017 at 12:01:47PM +0800, James Wang wrote: > Add a regression testing for loop device. when an unbound device > be close that take too long time. kernel will consume serveral orders > of magnitude more wall time than it does for a mounted device. James, sorry I forgot about this.

[PATCH v2] genirq/debugfs: Triggering of interrupts from userspace

2017-08-18 Thread Marc Zyngier
When developing new (and therefore buggy) interrupt related code, it can sometimes be useful to inject interrupts without having to rely on a device to actually generate them. This functionnality relies either on the irqchip driver to expose a irq_set_irqchip_state(IRQCHIP_STATE_PENDING) callback,

[PATCH v6 1/3] dt-bindings: display: Add Document for Rockchip Soc LVDS

2017-08-18 Thread Sandy Huang
This patch add Document for Rockchip Soc RK3288 LVDS, This based on the patches from Mark yao and Heiko Stuebner. Signed-off-by: Sandy Huang Signed-off-by: Mark yao Signed-off-by: Heiko Stuebner --- Changes: - use data-mapping instead of rockchip,data-mapping and rockchip,data-width - m

Re: [PATCH v2 1/4] perf annotate stdio: Support --show-nr-samples option

2017-08-18 Thread Taeung Song
Hi Arnaldo, On 08/18/2017 12:16 AM, Arnaldo Carvalho de Melo wrote: Em Tue, Aug 15, 2017 at 05:06:31PM -0300, Arnaldo Carvalho de Melo escreveu: Em Wed, Aug 16, 2017 at 12:13:09AM +0900, Taeung Song escreveu: Add --show-nr-samples option to perf-annotate so that it corresponds with perf-report

[PATCH 2/2] media: camss: Add abbreviations explanation

2017-08-18 Thread Todor Tomov
Add abbreviations explanation at the top header blocks in source files. Signed-off-by: Todor Tomov --- drivers/media/platform/qcom/camss-8x16/camss-csid.c | 2 +- drivers/media/platform/qcom/camss-8x16/camss-csid.h | 2 +- drivers/media/platform/qcom/camss-8x16/camss-ispif.c | 2 +- drivers/me

[PATCH 1/2] doc: media/v4l-drivers/qcom_camss: Add abbreviations explanation

2017-08-18 Thread Todor Tomov
Add explanations for VFE's PIX and RDI interfaces. Signed-off-by: Todor Tomov --- Documentation/media/v4l-drivers/qcom_camss.rst | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Documentation/media/v4l-drivers/qcom_camss.rst b/Documentation/media/v4l-drivers/qcom_

[PATCH] f2fs: trigger normal fsync for non-atomic_write file

2017-08-18 Thread Chao Yu
If file was not opened with atomic write mode, but user uses atomic write ioctl to fsync datas, in the flow, we should not fsync that file with atomic write mode. Fixes: 608514deba38 ("f2fs: set fsync mark only for the last dnode") Signed-off-by: Chao Yu --- fs/f2fs/file.c | 2 +- 1 file changed

[PATCH v8 2/2] sched/rt: Add support for SD_PREFER_SIBLING on find_lowest_rq()

2017-08-18 Thread Byungchul Park
It would be better to try to check other siblings first if SD_PREFER_SIBLING is flaged when pushing tasks - migration. Signed-off-by: Byungchul Park --- kernel/sched/rt.c | 56 --- 1 file changed, 53 insertions(+), 3 deletions(-) diff --git a/

[PATCH v8 1/2] sched/deadline: Add support for SD_PREFER_SIBLING on find_later_rq()

2017-08-18 Thread Byungchul Park
It would be better to try to check other siblings first if SD_PREFER_SIBLING is flaged when pushing tasks - migration. Signed-off-by: Byungchul Park --- kernel/sched/deadline.c | 55 ++--- 1 file changed, 52 insertions(+), 3 deletions(-) diff --git a/

[PATCH v8 0/2] Make find_later_rq() choose a closer cpu in topology

2017-08-18 Thread Byungchul Park
Thanks to Joel, I could fix a typo and simplify code more. -8<- When cpudl_find() returns any among free_cpus, the cpu might not be closer than others, considering sched domain. For example: this_cpu: 15 free_cpus: 0, 1,..., 14 (== later_mask) best_cpu: 0 topology: 0 --+

[PATCH -tip v3 0/2] kprobes/x86: Another way to make insn buffer RO and cleanup

2017-08-18 Thread Masami Hiramatsu
Hi, This series modifies how to handle RO insn buffer and cleans up addressof operators. The 1st patch changes the RO insn buffer handling: instead of using set_memory_ro/rw to modify the buffer, it prepares new instructions in another buffer and write it with text_poke() as suggested by Ingo Mol

[PATCH -tip v3 1/2] kprobes/x86: Make insn buffer always ROX and use text_poke

2017-08-18 Thread Masami Hiramatsu
Make insn buffer always ROX and use text_poke() to write the copied instructions instead of set_memory_*(). This makes instruction buffer stronger against other kernel subsystems because there is no window time to modify the buffer. Suggested-by: Ingo Molnar Signed-off-by: Masami Hiramatsu ---

[PATCH -tip v3 2/2] kprobes/x86: Remove addressof operators

2017-08-18 Thread Masami Hiramatsu
Since commit 54a7d50b9205 ("x86: mark kprobe templates as character arrays, not single characters") changes optprobe_template_* to arrays, we can remove addressof operators from those symbols. Signed-off-by: Masami Hiramatsu --- arch/x86/include/asm/kprobes.h |4 ++-- arch/x86/kernel/kprobes

Re: [PATCH 5/5] kernel: tracepoints: add support for relative references

2017-08-18 Thread Ingo Molnar
* Ard Biesheuvel wrote: > -static void for_each_tracepoint_range(struct tracepoint * const *begin, > - struct tracepoint * const *end, > +static void for_each_tracepoint_range(const void *begin, const void *end, > void (*fct)(struct tracepoint *tp, void *priv), >

[PATCH v3 0/4] PCI: rockchip: Move PCIE_WAKE handling into rockchip pcie driver

2017-08-18 Thread Jeffy Chen
Currently we are handling pcie wake in mrvl wifi driver. But Brian suggests to move it into rockchip pcie driver. Tested on my chromebook bob(with cros 4.4 kernel and mrvl wifi). Changes in v3: Fix error handling Changes in v2: Use dev_pm_set_dedicated_wake_irq -- Suggested by Brian No

Re: [PATCH 2/3] crypto: engine - find request type with cra_type

2017-08-18 Thread Herbert Xu
On Mon, Aug 14, 2017 at 03:17:24PM +0200, Corentin Labbe wrote: > The current method for finding request type is based on crypto_tfm_alg_type. > > But in case of skcipher, it is the same than ablkcipher. > Using cra_type for this work permits to make the distinction between the two. > > Signed-of

[PATCH v3 1/4] PCI: rockchip: Fix error handlings

2017-08-18 Thread Jeffy Chen
Fix error handlings in probe & resume. Signed-off-by: Jeffy Chen --- Changes in v3: None Changes in v2: None drivers/pci/host/pcie-rockchip.c | 103 ++- 1 file changed, 58 insertions(+), 45 deletions(-) diff --git a/drivers/pci/host/pcie-rockchip.c b/driver

[PATCH v3 2/4] PCI: rockchip: Add support for pcie wake irq

2017-08-18 Thread Jeffy Chen
Add support for PCIE_WAKE pin in rockchip pcie driver. Signed-off-by: Jeffy Chen --- Changes in v3: Fix error handling Changes in v2: Use dev_pm_set_dedicated_wake_irq -- Suggested by Brian Norris drivers/pci/host/pcie-rockchip.c | 21 ++--- 1 file changed, 18 inserti

[PATCH v3 3/4] dt-bindings: PCI: rockchip: Add support for pcie wake irq

2017-08-18 Thread Jeffy Chen
Add an optional interrupt for PCIE_WAKE pin. Signed-off-by: Jeffy Chen --- Changes in v3: None Changes in v2: None .../devicetree/bindings/pci/rockchip-pcie.txt| 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/pc

[PATCH v3 4/4] arm64: dts: rockchip: Handle pcie wake in pcie driver for Gru

2017-08-18 Thread Jeffy Chen
Currently we are handling pcie wake irq in mrvl wifi driver. Move it to rockchip pcie driver for Gru boards. Signed-off-by: Jeffy Chen --- Changes in v3: None Changes in v2: None arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-)

Re: [PATCH] ceph: check negative offsets on ceph_llseek()

2017-08-18 Thread Ilya Dryomov
On Thu, Aug 17, 2017 at 8:40 PM, Luis Henriques wrote: > Ilya Dryomov writes: > >> On Thu, Aug 17, 2017 at 3:45 PM, Luis Henriques wrote: >>> Luis Henriques writes: >>> When a user requests SEEK_HOLE or SEEK_DATA with a negative offset ceph_llseek should return -ENXIO. Currently -EIN

[PATCH] arm64: dts: ls1088a: Add USB support

2017-08-18 Thread yinbo.zhu
From: "yinbo.zhu" Fix the issue that usb is not detected on ls1088ardb Signed-off-by: yinbo.zhu Signed-off-by: Ran Wang --- arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts | 8 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi| 20 2 files changed, 28 inserti

Re: [RFC PATCH v2 1/3] PCI: rockchip: Add support for pcie wake irq

2017-08-18 Thread jeffy
Hi Shawn, On 08/18/2017 03:23 PM, Shawn Lin wrote: @@ -1524,6 +1532,9 @@ static int rockchip_pcie_remove(struct platform_device *pdev) struct device *dev = &pdev->dev; struct rockchip_pcie *rockchip = dev_get_drvdata(dev); +dev_pm_clear_wake_irq(dev); +device_init_wakeup(dev

Re: [PATCH v14 5/5] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ

2017-08-18 Thread Wei Wang
On 08/18/2017 10:28 AM, Michael S. Tsirkin wrote: On Thu, Aug 17, 2017 at 11:26:56AM +0800, Wei Wang wrote: Add a new vq to report hints of guest free pages to the host. Signed-off-by: Wei Wang Signed-off-by: Liang Li --- drivers/virtio/virtio_balloon.c | 167 +++

Re: [PATCH 5/5] kernel: tracepoints: add support for relative references

2017-08-18 Thread Ard Biesheuvel
On 18 August 2017 at 09:26, Ingo Molnar wrote: > > * Ard Biesheuvel wrote: > >> -static void for_each_tracepoint_range(struct tracepoint * const *begin, >> - struct tracepoint * const *end, >> +static void for_each_tracepoint_range(const void *begin, const void *end, >>

Re: [PATCH v14 5/5] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ

2017-08-18 Thread Wei Wang
On 08/18/2017 10:13 AM, Michael S. Tsirkin wrote: On Thu, Aug 17, 2017 at 11:26:56AM +0800, Wei Wang wrote: Add a new vq to report hints of guest free pages to the host. Please add some text here explaining the report_free_page_signal thing. I also really think we need some kind of ID in the

Re: [PATCH 0/5] arm-smmu: performance optimization

2017-08-18 Thread Will Deacon
On Fri, Aug 18, 2017 at 11:19:00AM +0800, Leizhen (ThunderTown) wrote: > > > On 2017/8/17 22:36, Will Deacon wrote: > > Thunder, Nate, Robin, > > > > On Mon, Jun 26, 2017 at 09:38:45PM +0800, Zhen Lei wrote: > >> I described the optimization more detail in patch 1 and 2, and patch 3-5 > >> are

[PATCH v2 12/12] irqchip/xtensa-mx: Report that effective affinity is a single target

2017-08-18 Thread Marc Zyngier
The xtensa-mx driver only targets a single CPU at a time, even if the notional affinity is wider. Let's inform the core code about this. Signed-off-by: Marc Zyngier --- drivers/irqchip/Kconfig | 1 + drivers/irqchip/irq-xtensa-mx.c | 6 +- 2 files changed, 6 insertions(+), 1 deletion

[PATCH v2 00/12] genirq/irqchip: Effective affinity fixups

2017-08-18 Thread Marc Zyngier
4.13 contains a number of updates to the core IRQ code to deal with things like the effective affinity. This series attempts to fix a number of small things that are now breaking: 1) The core code assumes that CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK being defined implies that *all* interrupts hav

[PATCH v2 05/12] irqchip/gic-v3-its: Report that effective affinity is a single target

2017-08-18 Thread Marc Zyngier
The GICv3 ITS driver only targets a single CPU at a time, even if the notional affinity is wider. Let's inform the core code about this. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-gic-v3-its.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-

[PATCH v2 10/12] irqchip/hip04: Report that effective affinity is a single target

2017-08-18 Thread Marc Zyngier
The HIP04 driver only targets a single CPU at a time, even if the notional affinity is wider. Let's inform the core code about this. Signed-off-by: Marc Zyngier --- arch/arm/mach-hisi/Kconfig | 1 + drivers/irqchip/irq-hip04.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/mac

[PATCH v2 09/12] irqchip/metag-ext: Report that effective affinity is a single target

2017-08-18 Thread Marc Zyngier
The metag-ext driver only targets a single CPU at a time, even if the notional affinity is wider. Let's inform the core code about this. Signed-off-by: Marc Zyngier --- arch/metag/Kconfig | 1 + drivers/irqchip/irq-metag-ext.c | 4 2 files changed, 5 insertions(+) diff --git a

[PATCH v2 11/12] irqchip/mips-gic: Report that effective affinity is a single target

2017-08-18 Thread Marc Zyngier
The MIPS GIC driver only targets a single CPU at a time, even if the notional affinity is wider. Let's inform the core code about this. Signed-off-by: Marc Zyngier --- drivers/irqchip/Kconfig| 1 + drivers/irqchip/irq-mips-gic.c | 10 +++--- 2 files changed, 8 insertions(+), 3 delet

[tip:irq/core] genirq/debugfs: Triggering of interrupts from userspace

2017-08-18 Thread tip-bot for Marc Zyngier
Commit-ID: 536e2e34bd002267384b06683f023003a830 Gitweb: http://git.kernel.org/tip/536e2e34bd002267384b06683f023003a830 Author: Marc Zyngier AuthorDate: Fri, 18 Aug 2017 09:11:56 +0100 Committer: Thomas Gleixner CommitDate: Fri, 18 Aug 2017 10:36:24 +0200 genirq/debugfs: Trigger

[PATCH v2 07/12] irqchip/bcm-6345-l1: Report that effective affinity is a single target

2017-08-18 Thread Marc Zyngier
The BCM 6345-L1 driver only targets a single CPU at a time, even if the notional affinity is wider. Let's inform the core code about this. Signed-off-by: Marc Zyngier --- drivers/irqchip/Kconfig | 1 + drivers/irqchip/irq-bcm6345-l1.c | 3 +++ 2 files changed, 4 insertions(+) diff --gi

[PATCH v2 08/12] irqchip/bcm-7038-l1: Report that effective affinity is a single target

2017-08-18 Thread Marc Zyngier
The BCM 7038-L1 driver only targets a single CPU at a time, even if the notional affinity is wider. Let's inform the core code about this. Signed-off-by: Marc Zyngier --- drivers/irqchip/Kconfig | 1 + drivers/irqchip/irq-bcm7038-l1.c | 3 +++ 2 files changed, 4 insertions(+) diff --gi

[PATCH v2 04/12] irqchip/gic-v3: Report that effective affinity is a single target

2017-08-18 Thread Marc Zyngier
The GICv3 driver only targets a single CPU at a time, even if the notional affinity is wider. Let's inform the core code about this. Signed-off-by: Marc Zyngier --- drivers/irqchip/Kconfig | 1 + drivers/irqchip/irq-gic-v3.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/drivers/ir

[PATCH v2 06/12] irqchip/armada-370-xp: Report that effective affinity is a single target

2017-08-18 Thread Marc Zyngier
The Armada 370 XP driver only targets a single CPU at a time, even if the notional affinity is wider. Let's inform the core code about this. Signed-off-by: Marc Zyngier --- drivers/irqchip/Kconfig | 1 + drivers/irqchip/irq-armada-370-xp.c | 3 +++ 2 files changed, 4 insertions(+) d

[PATCH v2 02/12] genirq/proc: Use the the accessor to report the effective affinity

2017-08-18 Thread Marc Zyngier
If CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK is defined, but that the interrupt is not single target, the effective affinity reported in /proc/irq/x/effective_affinity will be empty, which is not the truth. Instead, use the accessor to report the affinity, which will pick the right mask. Signed-off-b

[PATCH v2 01/12] genirq: Restrict effective affinity to interrupts actually using it

2017-08-18 Thread Marc Zyngier
Just because CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK is selected doesn't mean that all the interrupts are using the effective affinity mask. For a number of them, this mask is likely to be empty. In order to deal with this, let's restrict the use of the effective affinity mask to these interrupts th

[PATCH v2 03/12] irqchip/gic: Report that effective affinity is a single target

2017-08-18 Thread Marc Zyngier
The GIC driver only targets a single CPU at a time, even if the notional affinity is wider. Let's inform the core code about this. Signed-off-by: Marc Zyngier --- drivers/irqchip/Kconfig | 1 + drivers/irqchip/irq-gic.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/drivers/irqchip/Kc

[PATCH v3 0/5] perf annotate: Support --show-nr-samples and circulating view

2017-08-18 Thread Taeung Song
Hello, Add --show-nr-samples option to perf-annotate so that it corresponds with perf-report. And support the three view based on percent, total period and number of samples on the annotate TUI browser, circulating them like below: Percent -> Period -> Samples -> Percent ... I'd appreciate so

[PATCH v3 1/5] perf annotate stdio: Support --show-nr-samples option

2017-08-18 Thread Taeung Song
Add --show-nr-samples option to perf-annotate so that it corresponds with perf-report. Cc: Namhyung Kim Cc: Milian Wolff Cc: Jiri Olsa Signed-off-by: Taeung Song --- tools/perf/Documentation/perf-annotate.txt | 4 tools/perf/builtin-annotate.c | 2 ++ tools/perf/util/annotat

[PATCH v3 3/5] perf annotate: Period and samples view can't be used at the same time

2017-08-18 Thread Taeung Song
If users give two options --show-total-period and --show-nr-samples, show their proper usage because the two options can not be used at the same time. Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeung Song --- tools/perf/builtin-annotate.c | 8 ++-- 1 file changed, 6 insertions(+), 2 de

[PATCH v3 5/5] perf annotate browser: Circulate percent, total period and samples view

2017-08-18 Thread Taeung Song
With a existing 't' hotkey, support the three view based on percent, total period and number of samples on the annotate TUI browser, circulating them like below: Percent -> Period -> Samples -> Percent ... Suggested-by: Namhyung Kim Cc: Milian Wolff Cc: Jiri Olsa Signed-off-by: Taeung Song

[PATCH v3 4/5] perf annotate browser: Support --show-nr-samples option

2017-08-18 Thread Taeung Song
Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeung Song --- tools/perf/ui/browsers/annotate.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/tools/perf/ui/browsers/annotate.c b/tools/perf/ui/browsers/annotate.c index 80f38da..faca1b9 100644 --- a/tools/pe

[PATCH v3 2/5] perf annotate: Add a missing period option in documentation

2017-08-18 Thread Taeung Song
Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeung Song --- tools/perf/Documentation/perf-annotate.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/perf/Documentation/perf-annotate.txt b/tools/perf/Documentation/perf-annotate.txt index 2a5975c..c635eab 100644 --- a/tools/perf/

Re: [PATCH] kvm: VMX: do not use vm-exit instruction length for fast MMIO

2017-08-18 Thread Jason Wang
On 2017年08月16日 22:10, Michael S. Tsirkin wrote: On Wed, Aug 16, 2017 at 03:34:54PM +0200, Paolo Bonzini wrote: Microsoft pointed out privately to me that KVM's handling of KVM_FAST_MMIO_BUS is invalid. Using skip_emulation_instruction is invalid in EPT misconfiguration vmexit handlers, becaus

Re: [patch 2/2] mm, compaction: persistently skip hugetlbfs pageblocks

2017-08-18 Thread Michal Hocko
I am getting mm/compaction.c: In function 'isolate_freepages_block': mm/compaction.c:469:4: error: implicit declaration of function 'pageblock_skip_persistent' [-Werror=implicit-function-declaration] if (pageblock_skip_persistent(page, order)) { ^ mm/compaction.c:470:5: error: implicit de

  1   2   3   4   5   6   7   8   9   10   >