[PATCH 2/5] dmaengine: ti: edma: Only reset region0 access registers

2019-08-23 Thread Peter Ujfalusi
Region0 is used by Linux, do not reset other registers controlling access for other shadow regions. Signed-off-by: Peter Ujfalusi --- drivers/dma/ti/edma.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/dma/ti/edma.c b/drivers/dma/ti/edma.c index

[PATCH 1/5] dmaengine: ti: edma: Do not reset reserved paRAM slots

2019-08-23 Thread Peter Ujfalusi
Skip resetting paRAM slots marked as reserved as they might be used by other cores. Signed-off-by: Peter Ujfalusi --- drivers/dma/ti/edma.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/dma/ti/edma.c b/drivers/dma/ti/edma.c index 54895112ba59..1aae95cc0d4b

Re: [PATCH] perf cgroups: Don't rotate events for cgroups unnecessarily

2019-08-23 Thread Ganapatrao Kulkarni
Hi Peter, On Fri, Aug 23, 2019 at 5:29 PM Peter Zijlstra wrote: > > > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? Sorry for the top-posting. > > On Fri, Aug 23,

Re: [PATCH v3 3/7] Documentation: media: Document V4L2_CTRL_TYPE_AREA

2019-08-23 Thread Philipp Zabel
On Fri, 2019-08-23 at 14:37 +0200, Ricardo Ribalda Delgado wrote: > A struct v4l2_area containing the width and the height of a rectangular > area. > > Signed-off-by: Ricardo Ribalda Delgado > Suggested-by: Hans Verkuil > --- > Documentation/media/uapi/v4l/vidioc-queryctrl.rst | 6 ++ > 1

Re: [PATCH v3 2/7] Documentation: media: Describe V4L2_CID_UNIT_CELL_SIZE

2019-08-23 Thread Philipp Zabel
On Fri, 2019-08-23 at 14:37 +0200, Ricardo Ribalda Delgado wrote: > New control to pass to userspace the width/height of a pixel. Which is > needed for calibration and lens selection. > > Signed-off-by: Ricardo Ribalda Delgado > --- > Documentation/media/uapi/v4l/ext-ctrls-image-source.rst | 8

Re: [PATCH v2 2/2] dma-contiguous: Use fallback alloc_pages for single pages

2019-08-23 Thread Masahiro Yamada
+ linux-mmc, Ulf Hansson, Adrian Hunter, ADMA of SDHCI is not working since bd2e75633c8012fc8a7431c82fda66237133bf7e Did anybody see the same problem? Masahiro On Fri, Aug 23, 2019 at 9:49 PM Masahiro Yamada wrote: > > On Tue, May 7, 2019 at 7:36 AM Nicolin Chen wrote: > > > > The

Re: [PATCH v3 4/7] media: imx214: Add new control with V4L2_CID_UNIT_CELL_SIZE

2019-08-23 Thread Philipp Zabel
On Fri, 2019-08-23 at 14:37 +0200, Ricardo Ribalda Delgado wrote: > According to the product brief, the unit cell size is 1120 nanometers^2. > > https://www.sony-semicon.co.jp/products_en/IS/sensor1/img/products/ProductBrief_IMX214_20150428.pdf > > Signed-off-by: Ricardo Ribalda Delgado If the

Re: [PATCH v3 5/7] media: v4l2-core: Add new helper for area controls

2019-08-23 Thread Philipp Zabel
On Fri, 2019-08-23 at 14:37 +0200, Ricardo Ribalda Delgado wrote: > Adding a V4L2_CID_UNIT_CELL_SIZE control requires a lot of boilerplate, > try to minimize it by adding a new helper. > > Suggested-by: Philipp Zabel > Signed-off-by: Ricardo Ribalda Delgado > --- >

Re: [PATCH v7] ata/pata_buddha: Probe via modalias instead of initcall

2019-08-23 Thread Jens Axboe
On 8/23/19 4:49 AM, Max Staudt wrote: > Up until now, the pata_buddha driver would only check for cards on > initcall time. Now, the kernel will call its probe function as soon > as a compatible card is detected. Applied for 5.4, thanks everyone. -- Jens Axboe

Re: [PATCH net-next v5] sched: Add dualpi2 qdisc

2019-08-23 Thread Tilmans, Olivier (Nokia - BE/Antwerp)
> 1) Since we're still duking it out over the meaning of the bits - not > just the SCE thing, but as best as I can > tell (but could be wrong) the NQB idea wants to put something into the > l4s fast queue? Or is NQB supposed to > be a third queue? We can add support for NQB in the future, by

Re: [RESEND PATCH 02/13] KVM: x86: Clean up handle_emulation_failure()

2019-08-23 Thread Liran Alon
> On 23 Aug 2019, at 12:23, Vitaly Kuznetsov wrote: > > Sean Christopherson writes: > >> When handling emulation failure, return the emulation result directly >> instead of capturing it in a local variable. Future patches will move >> additional cases into handle_emulation_failure(), clean

Re: [PATCH v7] ata/pata_buddha: Probe via modalias instead of initcall

2019-08-23 Thread Max Staudt
On 08/23/2019 02:59 PM, Jens Axboe wrote: > On 8/23/19 4:49 AM, Max Staudt wrote: >> Up until now, the pata_buddha driver would only check for cards on >> initcall time. Now, the kernel will call its probe function as soon >> as a compatible card is detected. > > Applied for 5.4, thanks everyone.

Re: [PATCH] perf cgroups: Don't rotate events for cgroups unnecessarily

2019-08-23 Thread Peter Zijlstra
On Fri, Aug 23, 2019 at 06:26:34PM +0530, Ganapatrao Kulkarni wrote: > On Fri, Aug 23, 2019 at 5:29 PM Peter Zijlstra wrote: > > On Fri, Aug 23, 2019 at 04:13:46PM +0530, Ganapatrao Kulkarni wrote: > > > > > We are seeing regression with our uncore perf driver(Marvell's > > > ThunderX2, ARM64

Re: [PATCH v3 5/7] media: v4l2-core: Add new helper for area controls

2019-08-23 Thread Ricardo Ribalda Delgado
On Fri, Aug 23, 2019 at 2:56 PM Philipp Zabel wrote: > > On Fri, 2019-08-23 at 14:37 +0200, Ricardo Ribalda Delgado wrote: > > Adding a V4L2_CID_UNIT_CELL_SIZE control requires a lot of boilerplate, > > try to minimize it by adding a new helper. > > > > Suggested-by: Philipp Zabel > >

Re: [RESEND PATCH 03/13] KVM: x86: Refactor kvm_vcpu_do_singlestep() to remove out param

2019-08-23 Thread Liran Alon
> On 23 Aug 2019, at 4:06, Sean Christopherson > wrote: > > Return the single-step emulation result directly instead of via an out > param. Presumably at some point in the past kvm_vcpu_do_singlestep() > could be called with *r==EMULATE_USER_EXIT, but that is no longer the > case, i.e. all

Re: [PATCH] perf trace beauty ioctl: fix off-by-one error in table

2019-08-23 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 22, 2019 at 08:36:25PM -0700, Benjamin Peterson escreveu: > While tracing a program that calls isatty(3), I noticed that strace reported > TCGETS for the request argument of the underlying ioctl(2) syscall while perf > trace reported TCSETS. strace is corrrect. The bug in perf was due

[PATCH 0/3] arm64: meson-g12b: Add support for the Ugoos AM6

2019-08-23 Thread Christian Hewitt
This patchset adds support for the Ugoos AM6, an Android STB based on the Amlogic W400 reference design with the S922X chipset. Christian Hewitt (1): dt-bindings: arm: amlogic: Add support for the Ugoos AM6 chewitt (2): dt-bindings: Add vendor prefix for Ugoos arm64: dts:

[PATCH 1/3] dt-bindings: Add vendor prefix for Ugoos

2019-08-23 Thread Christian Hewitt
Ugoos Industrial Co., Ltd. are a manufacturer of ARM based TV Boxes, Dongles, Digital Signage and Advertisement Solutions [0]. [0] (https://ugoos.com) Signed-off-by: Christian Hewitt --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 2/3] dt-bindings: arm: amlogic: Add support for the Ugoos AM6

2019-08-23 Thread Christian Hewitt
The Ugoos AM6 is based on the Amlogic W400 reference design using the S922X chipset. Hardware specifications: - 2GB LPDDR4 RAM - 16GB eMMC storage - 10/100/1000 Base-T Ethernet using External RGMII PHY - 802.11 a/b/g/b/ac + BT 5.0 sdio wireless (Ampak 6398S) - HDMI 2.0 (4k@60p) video - Composite

[PATCH 3/3] arm64: dts: meson-g12b-ugoos-am6: add initial device-tree

2019-08-23 Thread Christian Hewitt
Tested-by: Oleg Ivanov Signed-off-by: Christian Hewitt --- arch/arm64/boot/dts/amlogic/Makefile | 1 + .../boot/dts/amlogic/meson-g12b-ugoos-am6.dts | 567 + 2 files changed, 568 insertions(+) create mode 100644

[PATCH -next] ASoC: SOF: imx8: Make some functions static

2019-08-23 Thread YueHaibing
Fix sparse warnings: sound/soc/sof/imx/imx8.c:104:6: warning: symbol 'imx8_dsp_handle_reply' was not declared. Should it be static? sound/soc/sof/imx/imx8.c:115:6: warning: symbol 'imx8_dsp_handle_request' was not declared. Should it be static? sound/soc/sof/imx/imx8.c:336:5: warning: symbol

Re: [PATCH v3 5/7] media: v4l2-core: Add new helper for area controls

2019-08-23 Thread Philipp Zabel
On Fri, 2019-08-23 at 15:05 +0200, Ricardo Ribalda Delgado wrote: > On Fri, Aug 23, 2019 at 2:56 PM Philipp Zabel wrote: > > > > On Fri, 2019-08-23 at 14:37 +0200, Ricardo Ribalda Delgado wrote: > > > Adding a V4L2_CID_UNIT_CELL_SIZE control requires a lot of boilerplate, > > > try to minimize

Re: [alsa-devel] [PATCH -next] ASoC: SOF: imx8: Make some functions static

2019-08-23 Thread Daniel Baluta
On Fri, Aug 23, 2019 at 4:12 PM YueHaibing wrote: > > Fix sparse warnings: > > sound/soc/sof/imx/imx8.c:104:6: warning: symbol 'imx8_dsp_handle_reply' was > not declared. Should it be static? > sound/soc/sof/imx/imx8.c:115:6: warning: symbol 'imx8_dsp_handle_request' was > not declared. Should

Re: [PATCH net v3] ixgbe: fix double clean of tx descriptors with xdp

2019-08-23 Thread William Tu
On Thu, Aug 22, 2019 at 11:10 PM Björn Töpel wrote: > > On 2019-08-22 19:32, William Tu wrote: > > On Thu, Aug 22, 2019 at 10:21 AM Alexander Duyck > > wrote: > >> > >> On Thu, Aug 22, 2019 at 10:12 AM Ilya Maximets > >> wrote: > >>> > >>> Tx code doesn't clear the descriptors' status after

Re: [PATCH v3 05/10] KVM: arm64: Support stolen time reporting via shared structure

2019-08-23 Thread Steven Price
On 23/08/2019 13:07, Zenghui Yu wrote: > Hi Steven, > > Only one comment, at the bottom. > > On 2019/8/21 23:36, Steven Price wrote: >> Implement the service call for configuring a shared structure between a >> VCPU and the hypervisor in which the hypervisor can write the time >> stolen from the

Re: [PATCH v2 01/10] PCI: designware-ep: Add multiple PFs support for DWC

2019-08-23 Thread Andrew Murray
On Thu, Aug 22, 2019 at 07:22:33PM +0800, Xiaowei Bao wrote: > Add multiple PFs support for DWC, different PF have different config space > we use pf-offset property which get from the DTS to access the different pF > config space. It looks like you're missing a --cover-letter again. > >

Re: [RESEND PATCH 05/13] KVM: x86: Don't attempt VMWare emulation on #GP with non-zero error code

2019-08-23 Thread Liran Alon
> On 23 Aug 2019, at 4:07, Sean Christopherson > wrote: > > The VMware backdoor hooks #GP faults on IN{S}, OUT{S}, and RDPMC, none > of which generate a non-zero error code for their #GP. Re-injecting #GP > instead of attempting emulation on a non-zero error code will allow a > future patch

Re: [RESEND PATCH 04/13] KVM: x86: Drop EMULTYPE_NO_UD_ON_FAIL as a standalone type

2019-08-23 Thread Liran Alon
> On 23 Aug 2019, at 4:07, Sean Christopherson > wrote: > > The "no #UD on fail" is used only in the VMWare case, and for the VMWare > scenario it really means "#GP instead of #UD on fail". Remove the flag > in preparation for moving all fault injection into the emulation flow > itself,

Re: [PATCH 0/3] Add NETIF_F_HW_BRIDGE feature

2019-08-23 Thread Andrew Lunn
> > > Why do the devices have to be from the same driver ? > After seeing yours and Andrews comments I realize that I try to do two > things, but I have only explained one of them. > > Here is what I was trying to do: > A. Prevent ports from going into promisc mode, if it is not needed. The

RE: [PATCH v3 7/8] EDAC/amd64: Support Asymmetric Dual-Rank DIMMs

2019-08-23 Thread Ghannam, Yazen
> -Original Message- > From: linux-edac-ow...@vger.kernel.org On > Behalf Of Borislav Petkov > Sent: Friday, August 23, 2019 6:26 AM > To: Ghannam, Yazen > Cc: linux-e...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v3 7/8] EDAC/amd64: Support Asymmetric Dual-Rank

[PATCH] staging: vt6656: Use common error handling code in vnt_alloc_bufs()

2019-08-23 Thread Markus Elfring
From: Markus Elfring Date: Fri, 23 Aug 2019 15:15:41 +0200 Adjust jump targets so that a bit of exception handling can be better reused at the end of this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/staging/vt6656/main_usb.c |

Re: [RESEND PATCH 06/13] KVM: x86: Move #GP injection for VMware into x86_emulate_instruction()

2019-08-23 Thread Liran Alon
> On 23 Aug 2019, at 4:07, Sean Christopherson > wrote: > > Immediately inject a #GP when VMware emulation fails and return > EMULATE_DONE instead of propagating EMULATE_FAIL up the stack. This > helps pave the way for removing EMULATE_FAIL altogether. > > Rename EMULTYPE_VMWARE to

Re: [RESEND PATCH 04/13] KVM: x86: Drop EMULTYPE_NO_UD_ON_FAIL as a standalone type

2019-08-23 Thread Liran Alon
> On 23 Aug 2019, at 16:21, Liran Alon wrote: > > > >> On 23 Aug 2019, at 4:07, Sean Christopherson >> wrote: >> >> The "no #UD on fail" is used only in the VMWare case, and for the VMWare >> scenario it really means "#GP instead of #UD on fail". Remove the flag >> in preparation for

Re: [PATCH v2 02/10] PCI: designware-ep: Add the doorbell mode of MSI-X in EP mode

2019-08-23 Thread Andrew Murray
On Thu, Aug 22, 2019 at 07:22:34PM +0800, Xiaowei Bao wrote: > Add the doorbell mode of MSI-X in EP mode. > > Signed-off-by: Xiaowei Bao > --- > v2: > - Remove the macro of no used. > > drivers/pci/controller/dwc/pcie-designware-ep.c | 14 ++ >

Re: [PATCH -next] rtc: pcf2127: Fix build error without CONFIG_WATCHDOG_CORE

2019-08-23 Thread Guenter Roeck
On 8/23/19 5:45 AM, YueHaibing wrote: If WATCHDOG_CORE is not set, build fails: drivers/rtc/rtc-pcf2127.o: In function `pcf2127_probe.isra.6': drivers/rtc/rtc-pcf2127.c:478: undefined reference to `devm_watchdog_register_device' Add WATCHDOG_CORE Kconfig dependency to fix this. Reported-by:

Re: [PATCH v2 03/10] PCI: designware-ep: Move the function of getting MSI capability forward

2019-08-23 Thread Andrew Murray
On Thu, Aug 22, 2019 at 07:22:35PM +0800, Xiaowei Bao wrote: > Move the function of getting MSI capability to the front of init > function, because the init function of the EP platform driver will use > the return value by the function of getting MSI capability. > > Signed-off-by: Xiaowei Bao

[PATCH] tty/serial: atmel: remove unneeded atmel_get_lines_status function

2019-08-23 Thread Richard Genoud
Since commit ce59e48fdbad ("serial: mctrl_gpio: implement interrupt handling"), the GPIOs interrupts are handled by mctrl_gpio_irq_handle(). So, atmel_get_lines_status() can be completely killed and replaced by : atmel_uart_readl(port, ATMEL_US_CSR); Signed-off-by: Richard Genoud ---

Re: [PATCH 3/4] kernel.h: Add non_block_start/end()

2019-08-23 Thread Daniel Vetter
On Fri, Aug 23, 2019 at 2:12 PM Jason Gunthorpe wrote: > > On Fri, Aug 23, 2019 at 10:34:01AM +0200, Daniel Vetter wrote: > > On Fri, Aug 23, 2019 at 1:14 AM Andrew Morton > > wrote: > > > > > > On Tue, 20 Aug 2019 22:24:40 +0200 Daniel Vetter wrote: > > > > > > > Hi Peter, > > > > > > > >

Re: cleanup the walk_page_range interface

2019-08-23 Thread Jason Gunthorpe
On Thu, Aug 15, 2019 at 11:27:51PM -0700, Christoph Hellwig wrote: > On Thu, Aug 08, 2019 at 10:50:37AM -0700, Linus Torvalds wrote: > > On Thu, Aug 8, 2019 at 8:42 AM Christoph Hellwig wrote: > > > > > > this series is based on a patch from Linus to split the callbacks > > > passed to

Re: [PATCH] drm/komeda: Add missing of_node_get() call

2019-08-23 Thread Ayan Halder
On Tue, Aug 20, 2019 at 03:16:58PM +, Mihail Atanassov wrote: > komeda_pipeline_destroy has the matching of_node_put(). > > Fixes: 29e56aec911dd ("drm/komeda: Add DT parsing") > Signed-off-by: Mihail Atanassov > --- > drivers/gpu/drm/arm/display/komeda/komeda_dev.c | 2 +- > 1 file changed,

Re: [PATCH v2 05/10] PCI: layerscape: Fix some format issue of the code

2019-08-23 Thread Andrew Murray
On Thu, Aug 22, 2019 at 07:22:37PM +0800, Xiaowei Bao wrote: > Fix some format issue of the code in EP driver. > > Signed-off-by: Xiaowei Bao Reviewed-by: Andrew Murray > --- > v2: > - No change. > > drivers/pci/controller/dwc/pci-layerscape-ep.c | 4 ++-- > 1 file changed, 2

Re: [RESEND PATCH 07/13] KVM: x86: Add explicit flag for forced emulation on #UD

2019-08-23 Thread Liran Alon
> On 23 Aug 2019, at 4:07, Sean Christopherson > wrote: > > Add an explicit emulation type for forced #UD emulation and use it to > detect that KVM should unconditionally inject a #UD instead of falling > into its standard emulation failure handling. > > Signed-off-by: Sean Christopherson

Re: [RESEND PATCH 08/13] KVM: x86: Move #UD injection for failed emulation into emulation code

2019-08-23 Thread Liran Alon
> On 23 Aug 2019, at 4:07, Sean Christopherson > wrote: > > Immediately inject a #UD and return EMULATE done if emulation fails when > handling an intercepted #UD. This helps pave the way for removing > EMULATE_FAIL altogether. > > Signed-off-by: Sean Christopherson I suggest squashing

Re: [RESEND, PATCH v13 09/12] soc: mediatek: cmdq: define the instruction struct

2019-08-23 Thread Matthias Brugger
On 20/08/2019 10:49, Bibby Hsieh wrote: > Define an instruction structure for gce driver to append command. > This structure can make the client's code more readability. > > Signed-off-by: Bibby Hsieh > Reviewed-by: CK Hu > --- > drivers/soc/mediatek/mtk-cmdq-helper.c | 106

[PATCH 1/2] dm table: fix invalid memory accesses with too high sector number

2019-08-23 Thread Mikulas Patocka
If the sector number is too high, dm_table_find_target should return a pointer to a zeroed dm_target structure (the caller should test it with dm_target_is_valid). However, for some table sizes, the code in dm_table_find_target that performs btree lookup will access out of bound memory

[PATCH 2/2] dm: make dm_table_find_target return NULL

2019-08-23 Thread Mikulas Patocka
Currently, if we pass too high sector number to dm_table_find_target, it returns zeroed dm_target structure and callers test if the structure is zeroed with the macro dm_target_is_valid. However, returning NULL is common practice to indicate errors. This patch refactors the dm code, so that

Re: [PATCH 05/26] openrisc: map as uncached in ioremap

2019-08-23 Thread Stafford Horne
On Sat, Aug 17, 2019 at 09:32:32AM +0200, Christoph Hellwig wrote: > Openrisc is the only architecture not mapping ioremap as uncached, > which has been the default since the Linux 2.6.x days. Switch it > over to implement uncached semantics by default. > > Signed-off-by: Christoph Hellwig >

Re: [PATCH v18 15/15] selftests, arm64: add a selftest for passing tagged pointers to kernel

2019-08-23 Thread Cristian Marussi
Hi Andrey On 24/06/2019 15:33, Andrey Konovalov wrote: > This patch is a part of a series that extends kernel ABI to allow to pass > tagged user pointers (with the top byte set to something else other than > 0x00) as syscall arguments. > > This patch adds a simple test, that calls the uname

Re: [PATCH v2 07/10] PCI: layerscape: Modify the MSIX to the doorbell way

2019-08-23 Thread Andrew Murray
On Thu, Aug 22, 2019 at 07:22:39PM +0800, Xiaowei Bao wrote: > The layerscape platform use the doorbell way to trigger MSIX > interrupt in EP mode. > I have no problems with this patch, however... Are you able to add to this message a reason for why you are making this change? Did

Re: [PATCH v8 11/27] x86/mm: Introduce _PAGE_DIRTY_SW

2019-08-23 Thread Peter Zijlstra
On Tue, Aug 13, 2019 at 01:52:09PM -0700, Yu-cheng Yu wrote: > +static inline pte_t pte_move_flags(pte_t pte, pteval_t from, pteval_t to) > +{ > + if (pte_flags(pte) & from) > + pte = pte_set_flags(pte_clear_flags(pte, from), to); > + return pte; > +} Aside of the whole

<    4   5   6   7   8   9