[PATCH bpf-next v2 2/3] xdp: xdp_umem: replace kmap on vmap for umem map

2019-08-15 Thread Ivan Khoronzhuk
For 64-bit there is no reason to use vmap/vunmap, so use page_address as it was initially. For 32 bits, in some apps, like in samples xdpsock_user.c when number of pgs in use is quite big, the kmap memory can be not enough, despite on this, kmap looks like is deprecated in such cases as it can bloc

[PATCH bpf-next v2 3/3] samples: bpf: syscal_nrs: use mmap2 if defined

2019-08-15 Thread Ivan Khoronzhuk
For arm32 xdp sockets mmap2 is preferred, so use it if it's defined. Declaration of __NR_mmap can be skipped and it breaks build. Signed-off-by: Ivan Khoronzhuk --- samples/bpf/syscall_nrs.c | 6 ++ samples/bpf/tracex5_kern.c | 13 + 2 files changed, 19 insertions(+) diff --gi

[PATCH bpf-next v2 1/3] libbpf: use LFS (_FILE_OFFSET_BITS) instead of direct mmap2 syscall

2019-08-15 Thread Ivan Khoronzhuk
Drop __NR_mmap2 fork in flavor of LFS, that is _FILE_OFFSET_BITS=64 (glibc & bionic) / LARGEFILE64_SOURCE (for musl) decision. It allows mmap() to use 64bit offset that is passed to mmap2 syscall. As result pgoff is not truncated and no need to use direct access to mmap2 for 32 bits systems. Signe

Re: [PATCH v5 01/18] xfs: compat_ioctl: use compat_ptr()

2019-08-15 Thread Dave Chinner
On Thu, Aug 15, 2019 at 03:26:49AM -0700, Christoph Hellwig wrote: > On Thu, Aug 15, 2019 at 01:02:11AM -0700, Christoph Hellwig wrote: > > In many ways I'd actually much rather have a table driven approach. > > Let me try something.. > > Ok, it seems like we don't even need a table containing nat

Re: [PATCH 2/3] x86: cpu: Add new Intel Atom CPU type

2019-08-15 Thread Borislav Petkov
On Thu, Aug 15, 2019 at 05:46:46PM +0800, Rahul Tanwar wrote: > This patch adds a new variant of Intel Atom Airmont CPU model used in a > network processor SoC named Lightning Mountain. > > Signed-off-by: Rahul Tanwar > --- > arch/x86/include/asm/intel-family.h | 1 + > 1 file changed, 1 inserti

Re: [PATCH linux-firmware] Install only listed firmware files

2019-08-15 Thread Josh Boyer
On Wed, Jul 31, 2019 at 12:17 PM Takashi Iwai wrote: > > The current make-install procedure leaves lots of garbage files that > aren't really firmware files in /lib/firmware. > > Instead of copy-all-and-prune approach, copy only the listed files and > links in WHENCE by make-install for assuring o

Re: [PATCH V2 3/3] KVM/Hyper-V/VMX: Add direct tlb flush support

2019-08-15 Thread Tianyu Lan
Hi Paolo: Thanks for your review. On Wed, Aug 14, 2019 at 9:33 PM Paolo Bonzini wrote: > > On 14/08/19 09:34, lantianyu1...@gmail.com wrote: > > diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h > > index c5da875f19e3..479ad76661e6 100644 > > --- a/include/linux/kvm_host.

Re: [PATCH v3 2/2] pwm: sprd: Add Spreadtrum PWM support

2019-08-15 Thread Uwe Kleine-König
On Thu, Aug 15, 2019 at 07:05:53PM +0800, Baolin Wang wrote: > On Thu, 15 Aug 2019 at 18:11, Uwe Kleine-König > wrote: > > > > Hello, > > > > On Thu, Aug 15, 2019 at 05:34:02PM +0800, Baolin Wang wrote: > > > On Thu, 15 Aug 2019 at 16:54, Uwe Kleine-König > > > wrote: > > > > On Thu, Aug 15, 2019

Re: [PATCH v2 3/5] counter: new TI eQEP driver

2019-08-15 Thread William Breathitt Gray
On Wed, Aug 07, 2019 at 02:40:21PM -0500, David Lechner wrote: > +static struct counter_synapse ti_eqep_position_synapses[] = { > + { > + .action = TI_EQEP_SYNAPSE_ACTION_BOTH_EDGES, > + .actions_list = ti_eqep_position_synapse_actions, > + .num_act

Re: [GIT PULL] tee subsys for v5.4

2019-08-15 Thread Arnd Bergmann
On Thu, Aug 15, 2019 at 8:57 AM Jens Wiklander wrote: > > Hello arm-soc maintainers, > > Please pull this OP-TEE driver patch. It adds a call to might_sleep() > during RPC in the OP-TEE driver in order to be more friendly with > CONFIG_PREEMPT_VOLUNTARY. > Pulled into arm/drivers, thanks!

Re: [PATCH] Fix fTPM on AMD Zen+ CPUs

2019-08-15 Thread Jarkko Sakkinen
On Sun, Aug 11, 2019 at 08:45:05PM +0300, ivan.laz...@gmail.com wrote: > From: Vanya Lazeev You should have the "tpm:" tag in the beginning of short summary. > The patch is an attempt to make fTPM on AMD Zen CPUs work. > Bug link: https://bugzilla.kernel.org/show_bug.cgi?id=195657 > > The probl

Re: [PATCH] staging: comedi: usbduxsigma: remove redundant assignment to variable fx2delay

2019-08-15 Thread Ian Abbott
On 15/08/2019 11:53, Colin King wrote: From: Colin Ian King Variable fx2delay is being initialized with a value that is never read and fx2delay is being re-assigned a little later on. The assignment is redundant and hence can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Coli

Re: [PATCH v2] udf: reduce leakage of blocks related to named streams

2019-08-15 Thread Jan Kara
On Wed 14-08-19 07:50:02, Steven J. Magnani wrote: > Windows is capable of creating UDF files having named streams. > One example is the "Zone.Identifier" stream attached automatically > to files downloaded from a network. See: > https://msdn.microsoft.com/en-us/library/dn392609.aspx > > Modif

Re: warning: ‘memset’ offset [197, 448] from the object at ‘boot_params’ is out of the bounds of referenced subobject ‘ext_ramdisk_image’ with type, ‘unsigned int’ at offset 192 [-Warray-bounds]

2019-08-15 Thread Greg KH
On Tue, Aug 13, 2019 at 06:15:51PM +0200, Paul Menzel wrote: > Dear Linux folks, > > > No idea, if you are interested in these reports. Building Linux 5.3-rc4, > GCC 9.2.0 shows the warning below. > > ``` > In file included from arch/x86/kernel/head64.c:35: > In function ‘sanitize_boot_params’,

Re: [PATCH v8 04/28] x86/asm/entry: annotate THUNKs

2019-08-15 Thread Borislav Petkov
On Thu, Aug 08, 2019 at 12:38:30PM +0200, Jiri Slaby wrote: > Place SYM_*_START_NOALIGN and SYM_*_END around the THUNK macro body. > Preserve @function by FUNC (64bit) and CODE (32bit). Given it was not > marked as aligned, use NOALIGN. > > The common tail .L_restore is put inside SYM_CODE_START_L

[PATCH net-next] page_pool: remove unnecessary variable init

2019-08-15 Thread Yunsheng Lin
Remove variable initializations in functions that are followed by assignments before use Signed-off-by: Yunsheng Lin --- net/core/page_pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/page_pool.c b/net/core/page_pool.c index 3272dc7..31187ff 100644 --- a/net/co

Re: [PATCH] arm64: dts: qcom: qcs404-evb: Mark WCSS clocks protected

2019-08-15 Thread Niklas Cassel
On Tue, Aug 13, 2019 at 08:09:42PM -0700, Bjorn Andersson wrote: > '7d0c76bdf227 ("clk: qcom: Add WCSS gcc clock control for QCS404")' > introduces two new clocks to gcc. These are not used before > clk_disable_unused() and as such the clock framework tries to disable > them. > > But on the EVB th

Re: [PATCH 05/10] PCI: layerscape: Modify the way of getting capability with different PEX

2019-08-15 Thread Andrew Murray
On Thu, Aug 15, 2019 at 04:37:11PM +0800, Xiaowei Bao wrote: > The different PCIe controller in one board may be have different > capability of MSI or MSIX, so change the way of getting the MSI > capability, make it more flexible. > > Signed-off-by: Xiaowei Bao > --- > drivers/pci/controller/dwc

Re: [PATCH]Perf: Return error code for perf_session__new function on failure

2019-08-15 Thread Jiri Olsa
On Wed, Aug 14, 2019 at 03:02:18PM +0530, Mamatha Inamdar wrote: SNIP > symbol_conf.pid_list_str = strdup(trace->opts.target.pid); > diff --git a/tools/perf/util/data-convert-bt.c > b/tools/perf/util/data-convert-bt.c > index ddbcd59..dbc6dc2 100644 > --- a/tools/perf/util/data-con

Re: [PATCH]Perf: Return error code for perf_session__new function on failure

2019-08-15 Thread Jiri Olsa
On Wed, Aug 14, 2019 at 03:02:18PM +0530, Mamatha Inamdar wrote: SNIP > #ifdef HAVE_ZSTD_SUPPORT > static int perf_session__process_compressed_event(struct perf_session > *session, > @@ -181,6 +182,7 @@ static int ordered_events__deliver_event(struct > ordered_events *oe, > struct perf_sessi

Re: [PATCH]Perf: Return error code for perf_session__new function on failure

2019-08-15 Thread Jiri Olsa
On Wed, Aug 14, 2019 at 03:02:18PM +0530, Mamatha Inamdar wrote: > This Patch is to return error code of perf_new_session function > on failure instead of NULL > -- > Test Results: > > Before Fix: > > $ perf c2c report -input > failed to open nput: No s

Re: [PATCH 3/3] platform/x86: intel_cht_int33fe: Use new API to gain access to the role switch

2019-08-15 Thread Andy Shevchenko
On Thu, Aug 15, 2019 at 2:28 PM Heikki Krogerus wrote: > > The driver for the Intel USB role mux now always supplies > software node for the role switch, so no longer checking > that, and never creating separate node for the role switch. > From now on using software_node_find_by_name() function to

Re: [RFC 1/5] media: dt-bindings: Document 'location' property

2019-08-15 Thread Jacopo Mondi
Hi Sakari, On Thu, Aug 15, 2019 at 09:56:35AM +0300, Sakari Ailus wrote: > Hi Jacopo, > > On Wed, Aug 14, 2019 at 10:28:11PM +0200, Jacopo Mondi wrote: > > Add the 'location' device property, used to specify the camera device > > mounting position. The property is particularly meaningful for mobil

Re: warning: ‘memset’ offset [197, 448] from the object at ‘boot_params’ is out of the bounds of referenced subobject ‘ext_ramdisk_image’ with type, ‘unsigned int’ at offset 192 [-Warray-bounds]

2019-08-15 Thread Thomas Gleixner
On Thu, 15 Aug 2019, Greg KH wrote: > On Tue, Aug 13, 2019 at 06:15:51PM +0200, Paul Menzel wrote: > > Dear Linux folks, > > > > > > No idea, if you are interested in these reports. Building Linux 5.3-rc4, > > GCC 9.2.0 shows the warning below. > > > > ``` > > In file included from arch/x86/kern

Re: [RFC 1/5] media: dt-bindings: Document 'location' property

2019-08-15 Thread Laurent Pinchart
Hi Sakari, On Thu, Aug 15, 2019 at 09:56:35AM +0300, Sakari Ailus wrote: > On Wed, Aug 14, 2019 at 10:28:11PM +0200, Jacopo Mondi wrote: > > Add the 'location' device property, used to specify the camera device > > mounting position. The property is particularly meaningful for mobile > > devices w

Re: [PATCH 1/3] software node: Add software_node_find_by_name()

2019-08-15 Thread Andy Shevchenko
On Thu, Aug 15, 2019 at 2:32 PM Heikki Krogerus wrote: > > Function that searches software nodes by node name. > +/** > + * software_node_find_by_name - Find software node by name > + * @parent: Parent of the software node > + * @name: Name of the software node > + * > + * The function will find

Re: [PATCH 2/3] usb: roles: intel_xhci: Supplying software node for the role mux

2019-08-15 Thread Andy Shevchenko
On Thu, Aug 15, 2019 at 2:28 PM Heikki Krogerus wrote: > > The primary purpose for this node will be to allow linking > the users of the switch to it. The users will be for example > USB Type-C connectors. By supplying a reference to this > node in the software nodes representing the USB Type-C >

Re: [RFC 2/5] media: v4l2-ctrl: Document V4L2_CID_LOCATION

2019-08-15 Thread Jacopo Mondi
Hi Laurent, On Thu, Aug 15, 2019 at 01:43:40AM +0300, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Wed, Aug 14, 2019 at 10:28:12PM +0200, Jacopo Mondi wrote: > > Add documentation for the V4L2_CID_LOCATION camera control. The newly > > added read-only control reports th

Re: [RFC 1/5] media: dt-bindings: Document 'location' property

2019-08-15 Thread Laurent Pinchart
On Thu, Aug 15, 2019 at 02:55:48PM +0200, Jacopo Mondi wrote: > On Thu, Aug 15, 2019 at 09:56:35AM +0300, Sakari Ailus wrote: > > On Wed, Aug 14, 2019 at 10:28:11PM +0200, Jacopo Mondi wrote: > > > Add the 'location' device property, used to specify the camera device > > > mounting position. The pr

Re: [RFC 2/5] media: v4l2-ctrl: Document V4L2_CID_LOCATION

2019-08-15 Thread Laurent Pinchart
Hi Sakari, On Thu, Aug 15, 2019 at 10:00:25AM +0300, Sakari Ailus wrote: > On Wed, Aug 14, 2019 at 10:28:12PM +0200, Jacopo Mondi wrote: > > Add documentation for the V4L2_CID_LOCATION camera control. The newly > > added read-only control reports the camera device mounting position. > > > > Signe

Re: [PATCH v3 4/4] tpm: add driver for cr50 on SPI

2019-08-15 Thread Jarkko Sakkinen
On Mon, Aug 12, 2019 at 01:46:35PM -0700, Stephen Boyd wrote: > Quoting Jarkko Sakkinen (2019-08-09 13:31:04) > > On Tue, 2019-08-06 at 15:07 -0700, Stephen Boyd wrote: > > > From: Andrey Pronin > > > > > > Add TPM2.0 PTP FIFO compatible SPI interface for chips with Cr50 > > > firmware. The firmw

Re: [RFC 3/5] media: v4l2-ctrls: Add support for V4L2_CID_LOCATION

2019-08-15 Thread Jacopo Mondi
Hi Laurent, On Thu, Aug 15, 2019 at 01:53:53AM +0300, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Wed, Aug 14, 2019 at 10:28:13PM +0200, Jacopo Mondi wrote: > > Add support for the newly defined V4L2_CID_LOCATION read-only control > > used to report the camera device m

Re: [PATCH v4] bus: ti-sysc: Change return types of functions

2019-08-15 Thread Roger Quadros
On 15/08/2019 08:46, Nishka Dasgupta wrote: > Change return type of functions sysc_check_one_child() and > sysc_check_children() from int to void as neither ever returns an error. > Modify call sites of both functions accordingly. > > Signed-off-by: Nishka Dasgupta Acked-by: Roger Quadros chee

Re: [PATCH v3] media: dvb: Provide 4 devm variants

2019-08-15 Thread Sean Young
On Mon, Jul 22, 2019 at 10:13:56AM +0200, Marc Gonzalez wrote: > On 21/07/2019 17:02, Ezequiel Garcia wrote: > > > On Thu, 2019-07-18 at 15:03 +0200, Marc Gonzalez wrote: > > > >> Provide devm variants for automatic resource release on device removal. > >> Makes error-handling in probe() simpler,

[PATCH v3 0/3] genirq/vfio: Introduce update_irq_devid and optimize VFIO irq ops

2019-08-15 Thread Ben Luo
Currently, VFIO takes a lot of free-then-request-irq actions whenever a VM (with device passthru via VFIO) sets irq affinity or mask/unmask irq. Those actions only change the cookie data of irqaction or even change nothing. The free-then-request-irq not only adds more latency, but also increases th

Re: [RFC 3/5] media: v4l2-ctrls: Add support for V4L2_CID_LOCATION

2019-08-15 Thread Laurent Pinchart
On Thu, Aug 15, 2019 at 03:02:45PM +0200, Jacopo Mondi wrote: > Hi Laurent, > > On Thu, Aug 15, 2019 at 01:53:53AM +0300, Laurent Pinchart wrote: > > Hi Jacopo, > > > > Thank you for the patch. > > > > On Wed, Aug 14, 2019 at 10:28:13PM +0200, Jacopo Mondi wrote: > > > Add support for the newly de

[PATCH v3 1/3] genirq: enhance error recovery code in free irq

2019-08-15 Thread Ben Luo
Per Thomas Gleixner's comments: 1) free_irq/free_percpu_irq returns if called from IRQ context 2) move WARN out of the locked region and print out dev_id Signed-off-by: Ben Luo --- kernel/irq/manage.c | 32 1 file changed, 20 insertions(+), 12 deletions(-) diff

Re: [PATCH v2] kernel/resource.c: invalidate parent when freed resource has childs

2019-08-15 Thread Wei Yang
On Thu, Aug 15, 2019 at 08:18:06AM +, Schmid, Carsten wrote: >>>When a resource is freed and has children, the childrens are >> >> s/childrens/children/ >> >oh, missed that. Too many children ... ;-) > >>>+__release_child_resources(tmp, warn); >> >> This function will release all

[PATCH v3 3/3] vfio_pci: make use of update_irq_devid and optimize irq ops

2019-08-15 Thread Ben Luo
When userspace (e.g. qemu) triggers a switch between KVM irqfd and userspace eventfd, only dev_id of irq action (i.e. the "trigger" in this patch's context) will be changed, but a free-then-request-irq action is taken in current code. And, irq affinity setting in VM will also trigger a free-then-re

Re: [PATCH] reset: Add driver for dispmix reset

2019-08-15 Thread Philipp Zabel
Hi Fancy, On Wed, 2019-06-26 at 06:46 +, Fancy Fang wrote: > Hi Philipp, > > Thanks for your comments. And please see my answers below. > [...] > > +Specifying sft-rstn control of devices > > +== > > + > > +Device nodes in Display Mix should specify the r

Re: [RFC PATCH v2 00/19] RDMA/FS DAX truncate proposal V1,000,002 ;-)

2019-08-15 Thread Jan Kara
On Wed 14-08-19 11:08:49, Ira Weiny wrote: > On Wed, Aug 14, 2019 at 12:17:14PM +0200, Jan Kara wrote: > > Hello! > > > > On Fri 09-08-19 15:58:14, ira.we...@intel.com wrote: > > > Pre-requisites > > > == > > > Based on mmotm tree. > > > > > > Based on the feedback from LSFmm, the L

Re: [PATCH v3 1/3] mmc: sdhci: Add PLL Enable support to internal clock setup

2019-08-15 Thread Adrian Hunter
On 15/08/19 3:04 PM, Michael K. Johnson wrote: > On Thu, Aug 15, 2019 at 02:27:44PM +0300, Adrian Hunter wrote: >> On 13/08/19 1:56 AM, Michael K. Johnson wrote: >>> The GL9750 and GL9755 chipsets, and possibly others, require PLL Enable >>> setup as part of the internal clock setup as described in

Re: [RFC 2/5] media: v4l2-ctrl: Document V4L2_CID_LOCATION

2019-08-15 Thread Sakari Ailus
On Thu, Aug 15, 2019 at 03:59:38PM +0300, Laurent Pinchart wrote: > Hi Sakari, > > On Thu, Aug 15, 2019 at 10:00:25AM +0300, Sakari Ailus wrote: > > On Wed, Aug 14, 2019 at 10:28:12PM +0200, Jacopo Mondi wrote: > > > Add documentation for the V4L2_CID_LOCATION camera control. The newly > > > added

Re: [PATCH] gpio: pl061: Fix the issue failed to register the ACPI interruption

2019-08-15 Thread Andy Shevchenko
On Mon, Aug 12, 2019 at 2:30 PM Wei Xu wrote: > > Invoke acpi_gpiochip_request_interrupts after the acpi data has been > attached to the pl061 acpi node to register interruption. > > Otherwise it will be failed to register interruption for the ACPI case. > Because in the gpiochip_add_data_with_key

Re: [RFC 2/5] media: v4l2-ctrl: Document V4L2_CID_LOCATION

2019-08-15 Thread Laurent Pinchart
Hi Sakari, On Thu, Aug 15, 2019 at 04:08:49PM +0300, Sakari Ailus wrote: > On Thu, Aug 15, 2019 at 03:59:38PM +0300, Laurent Pinchart wrote: > > On Thu, Aug 15, 2019 at 10:00:25AM +0300, Sakari Ailus wrote: > > > On Wed, Aug 14, 2019 at 10:28:12PM +0200, Jacopo Mondi wrote: > > > > Add documentati

[PATCH v3 2/3] genirq: introduce update_irq_devid()

2019-08-15 Thread Ben Luo
Sometimes, only the dev_id field of irqaction need to be changed. E.g. KVM VM with device passthru via VFIO may switch irq injection path between KVM irqfd and userspace eventfd. These two paths share the same irq num and handler for the same vector of a device, only with different dev_id referenci

Re: [RFC 2/5] media: v4l2-ctrl: Document V4L2_CID_LOCATION

2019-08-15 Thread Sakari Ailus
On Thu, Aug 15, 2019 at 04:10:53PM +0300, Laurent Pinchart wrote: > Hi Sakari, > > On Thu, Aug 15, 2019 at 04:08:49PM +0300, Sakari Ailus wrote: > > On Thu, Aug 15, 2019 at 03:59:38PM +0300, Laurent Pinchart wrote: > > > On Thu, Aug 15, 2019 at 10:00:25AM +0300, Sakari Ailus wrote: > > > > On Wed,

Re: [RFC][Patch v12 1/2] mm: page_reporting: core infrastructure

2019-08-15 Thread Nitesh Narayan Lal
On 8/14/19 12:11 PM, Alexander Duyck wrote: > On Wed, Aug 14, 2019 at 8:49 AM Nitesh Narayan Lal wrote: >> >> On 8/12/19 2:47 PM, Alexander Duyck wrote: >>> On Mon, Aug 12, 2019 at 6:13 AM Nitesh Narayan Lal >>> wrote: This patch introduces the core infrastructure for free page reporting

AW: [PATCH v2] kernel/resource.c: invalidate parent when freed resource has childs

2019-08-15 Thread Schmid, Carsten
> My gut feeling is this is the problem from mal-functional driver, e.g. > xhci-hcd. We do our best to protect core kernel from it instead of do the > cleanup for it. Agree. My intention wasn't to fix mal-functional driver, but to give it a hint that it's doing something wrong. (In the xhci-hcd cas

Re: [PATCH v8 05/14] media: rkisp1: add Rockchip ISP1 subdev driver

2019-08-15 Thread Sakari Ailus
On Thu, Aug 15, 2019 at 11:24:22AM +0300, Sakari Ailus wrote: > Hi Helen, > > On Wed, Aug 14, 2019 at 09:58:05PM -0300, Helen Koike wrote: > > ... > > > >> +static int rkisp1_isp_sd_set_fmt(struct v4l2_subdev *sd, > > >> + struct v4l2_subdev_pad_config *cfg, > > >

Re: warning: ‘memset’ offset [197, 448] from the object at ‘boot_params’ is out of the bounds of referenced subobject ‘ext_ramdisk_image’ with type, ‘unsigned int’ at offset 192 [-Warray-bounds]

2019-08-15 Thread Greg KH
On Thu, Aug 15, 2019 at 02:54:32PM +0200, Thomas Gleixner wrote: > On Thu, 15 Aug 2019, Greg KH wrote: > > On Tue, Aug 13, 2019 at 06:15:51PM +0200, Paul Menzel wrote: > > > Dear Linux folks, > > > > > > > > > No idea, if you are interested in these reports. Building Linux 5.3-rc4, > > > GCC 9.2.

Re: [RFC 2/5] media: v4l2-ctrl: Document V4L2_CID_LOCATION

2019-08-15 Thread Laurent Pinchart
On Thu, Aug 15, 2019 at 04:15:10PM +0300, Sakari Ailus wrote: > On Thu, Aug 15, 2019 at 04:10:53PM +0300, Laurent Pinchart wrote: > > On Thu, Aug 15, 2019 at 04:08:49PM +0300, Sakari Ailus wrote: > >> On Thu, Aug 15, 2019 at 03:59:38PM +0300, Laurent Pinchart wrote: > >>> On Thu, Aug 15, 2019 at 10

Re: [PATCH v4] perf diff: Report noisy for cycles diff

2019-08-15 Thread Jiri Olsa
On Tue, Aug 13, 2019 at 03:30:37PM +0800, Jin Yao wrote: SNIP > static void > hpp__entry_unpair(struct hist_entry *he, int idx, char *buf, size_t size) > { > @@ -1662,6 +1794,10 @@ static void data__hpp_register(struct data__file *d, > int idx) > fmt->color = hpp__color_cycles;

Re: [PATCH v4] perf diff: Report noisy for cycles diff

2019-08-15 Thread Jiri Olsa
On Tue, Aug 13, 2019 at 03:30:37PM +0800, Jin Yao wrote: > This patch prints the stddev and hist for the cycles diff of > program block. It can help us to understand if the cycles > is noisy or not. > > This patch is inspired by Andi Kleen's patch > https://lwn.net/Articles/600471/ now that we ha

Re: New kernel interface for sys_tz and timewarp?

2019-08-15 Thread Arnd Bergmann
On Wed, Aug 14, 2019 at 6:48 PM wrote: > > I believe Windows 10 changed the default RTC to UTC, although perhaps > only if running under UEFI. I looked at the efi rtc driver now, and found two things: - The EFI get_time() call passes down timezone information, so we know what UTC is, and can

Re: [RFC 3/5] media: v4l2-ctrls: Add support for V4L2_CID_LOCATION

2019-08-15 Thread Hans Verkuil
On 8/14/19 10:28 PM, Jacopo Mondi wrote: > Add support for the newly defined V4L2_CID_LOCATION read-only control > used to report the camera device mounting position. > > Signed-off-by: Jacopo Mondi > --- > drivers/media/v4l2-core/v4l2-ctrls.c | 7 +++ > include/uapi/linux/v4l2-controls.h

Re: [PATCH v5 0/2] usbip: Implement SG support

2019-08-15 Thread Greg KH
On Wed, Aug 14, 2019 at 06:19:51AM -0700, Christoph Hellwig wrote: > FYI, I think my > >"usb: add a HCD_DMA flag instead of guestimating DMA capabilities" > > is the proper core fix for what your patch 1 works around, as the USB > core should not assume DMA capabilities based on the presence

Re: [RFC PATCH 2/2] mm/gup: introduce vaddr_pin_pages_remote()

2019-08-15 Thread Jan Kara
On Wed 14-08-19 20:01:07, John Hubbard wrote: > On 8/14/19 5:02 PM, John Hubbard wrote: > > On 8/14/19 4:50 PM, Ira Weiny wrote: > > > On Tue, Aug 13, 2019 at 05:56:31PM -0700, John Hubbard wrote: > > > > On 8/13/19 5:51 PM, John Hubbard wrote: > > > > > On 8/13/19 2:08 PM, Ira Weiny wrote: > > > >

Re: [PATCH] hexagon: drop empty and unused free_initrd_mem

2019-08-15 Thread Christoph Hellwig
On Thu, Aug 15, 2019 at 11:35:33AM +0300, Mike Rapoport wrote: > hexagon never reserves or initializes initrd and the only mention of it is > the empty free_initrd_mem() function. > > As we have a generic implementation of free_initrd_mem(), there is no need > to define an empty stub for the hexag

Re: [PATCH 4.19 00/91] 4.19.67-stable review

2019-08-15 Thread Guenter Roeck
On 8/14/19 10:00 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.19.67 release. There are 91 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH v8 01/14] media: videodev2.h, v4l2-ioctl: add rkisp1 meta buffer format

2019-08-15 Thread Laurent Pinchart
Hi Helen, Thank you for the patch. On Tue, Jul 30, 2019 at 03:42:43PM -0300, Helen Koike wrote: > From: Shunqian Zheng > > Add the Rockchip ISP1 specific processing parameter format > V4L2_META_FMT_RK_ISP1_PARAMS and metadata format > V4L2_META_FMT_RK_ISP1_STAT_3A for 3A. I don't like V4L2_MET

Re: [RFC 2/5] media: v4l2-ctrl: Document V4L2_CID_LOCATION

2019-08-15 Thread Hans Verkuil
On 8/14/19 10:28 PM, Jacopo Mondi wrote: > Add documentation for the V4L2_CID_LOCATION camera control. The newly > added read-only control reports the camera device mounting position. > > Signed-off-by: Jacopo Mondi > --- > .../media/uapi/v4l/ext-ctrls-camera.rst | 23 +++ >

Re: [PATCH 1/3] software node: Add software_node_find_by_name()

2019-08-15 Thread Heikki Krogerus
On Thu, Aug 15, 2019 at 03:55:40PM +0300, Andy Shevchenko wrote: > On Thu, Aug 15, 2019 at 2:32 PM Heikki Krogerus > wrote: > > > > Function that searches software nodes by node name. > > > +/** > > + * software_node_find_by_name - Find software node by name > > + * @parent: Parent of the softwar

Re: [RFC PATCH 2/2] mm/gup: introduce vaddr_pin_pages_remote()

2019-08-15 Thread Jan Kara
On Thu 15-08-19 15:26:22, Jan Kara wrote: > On Wed 14-08-19 20:01:07, John Hubbard wrote: > > On 8/14/19 5:02 PM, John Hubbard wrote: > > > On 8/14/19 4:50 PM, Ira Weiny wrote: > > > > On Tue, Aug 13, 2019 at 05:56:31PM -0700, John Hubbard wrote: > > > > > On 8/13/19 5:51 PM, John Hubbard wrote: >

Re: DMA-API: cacheline tracking ENOMEM, dma-debug disabled due to nouveau ?

2019-08-15 Thread Christoph Hellwig
On Wed, Aug 14, 2019 at 07:49:27PM +0200, Daniel Vetter wrote: > On Wed, Aug 14, 2019 at 04:50:33PM +0200, Corentin Labbe wrote: > > Hello > > > > Since lot of release (at least since 4.19), I hit the following error > > message: > > DMA-API: cacheline tracking ENOMEM, dma-debug disabled > > > >

Re: [PATCH] sched: use rq_lock/unlock in online_fair_sched_group

2019-08-15 Thread Phil Auld
On Fri, Aug 09, 2019 at 06:43:09PM +0100 Valentin Schneider wrote: > On 09/08/2019 14:33, Phil Auld wrote: > > On Tue, Aug 06, 2019 at 03:03:34PM +0200 Peter Zijlstra wrote: > >> On Thu, Aug 01, 2019 at 09:37:49AM -0400, Phil Auld wrote: > >>> Enabling WARN_DOUBLE_CLOCK in /sys/kernel/debug/sched_f

Re: [PATCH] gpio: pl061: Fix the issue failed to register the ACPI interruption

2019-08-15 Thread Linus Walleij
On Thu, Aug 15, 2019 at 3:10 PM Andy Shevchenko wrote: > On Mon, Aug 12, 2019 at 2:30 PM Wei Xu wrote: > Linus, I'm wondering if we can do this for all inside the GPIO library. > Thoughts? If it's supposed to happen exactly the same way on all ACPI-enabled gpiochips, I think it is more or less

Re: [PATCH v2 11/13] serial: lpc32xx: allow compile testing

2019-08-15 Thread Greg Kroah-Hartman
On Fri, Aug 09, 2019 at 04:40:37PM +0200, Arnd Bergmann wrote: > The lpc32xx_loopback_set() function in hte lpc32xx_hs driver is the > one thing that relies on platform header files. Move that into the > core platform code so we only need a variable declaration for it, > and enable COMPILE_TEST bui

Re: [PATCH] afs: Move comments after /* fallthrough */

2019-08-15 Thread David Howells
Joe Perches wrote: > Make the code a bit easier for a script to appropriately convert > case statement blocks with /* fallthrough */ comments to a macro by > moving comments describing the next case block to the case statement. This doesn't sound good. Can you give an illustration of what a res

Re: [RFC 3/5] media: v4l2-ctrls: Add support for V4L2_CID_LOCATION

2019-08-15 Thread Hans Verkuil
On 8/15/19 3:02 PM, Jacopo Mondi wrote: > Hi Laurent, > > On Thu, Aug 15, 2019 at 01:53:53AM +0300, Laurent Pinchart wrote: >> Hi Jacopo, >> >> Thank you for the patch. >> >> On Wed, Aug 14, 2019 at 10:28:13PM +0200, Jacopo Mondi wrote: >>> Add support for the newly defined V4L2_CID_LOCATION read-

Re: [PATCH RESEND v4 5/9] KVM: VMX: Add init/set/get functions for SPP

2019-08-15 Thread Yang Weijiang
On Wed, Aug 14, 2019 at 02:43:39PM +0200, Vitaly Kuznetsov wrote: > Yang Weijiang writes: > > > init_spp() must be called before {get, set}_subpage > > functions, it creates subpage access bitmaps for memory pages > > and issues a KVM request to setup SPPT root pages. > > > > kvm_mmu_set_subpages

Re: [PATCH 1/2] dt-bindings: arm: fsl: Add PHYTEC i.MX6 UL/ULL devicetree bindings

2019-08-15 Thread Rob Herring
On Thu, Aug 15, 2019 at 4:55 AM Stefan Riedmüller wrote: > > Hi Rob, > > On 13.08.19 18:04, Rob Herring wrote: > > On Wed, Jul 24, 2019 at 09:49:32AM +0200, Stefan Riedmueller wrote: > >> Add devicetree bindings for i.MX6 UL/ULL based phyCORE-i.MX6 UL/ULL and > >> phyBOARD-Segin. > >> > >> Signed-

Re: [PATCH v6 5/8] clk: mediatek: Add MT6765 clock support

2019-08-15 Thread Greg KH
On Wed, Aug 14, 2019 at 05:27:20PM -0700, Stephen Boyd wrote: > Quoting Macpaul Lin (2019-07-12 02:43:41) > > diff --git a/drivers/clk/mediatek/clk-mt6765-audio.c > > b/drivers/clk/mediatek/clk-mt6765-audio.c > > new file mode 100644 > > index ..41f19343dfb9 > > --- /dev/null > > +++ b

Re: [PATCH v4 18/21] ARM: dts: imx6ull-colibri: Add general wakeup key used on Colibri

2019-08-15 Thread Oleksandr Suvorov
On Mon, Aug 12, 2019 at 5:23 PM Philippe Schenker wrote: > > This adds the possibility to wake the module with an external signal > as defined in the Colibri standard > > Signed-off-by: Philippe Schenker > Acked-by: Marcel Ziswiler Reviewed-by: Oleksandr Suvorov > > --- > > Changes in v4: > -

Re: [RFC 2/5] media: v4l2-ctrl: Document V4L2_CID_LOCATION

2019-08-15 Thread Laurent Pinchart
Hi Hans, On Thu, Aug 15, 2019 at 03:30:59PM +0200, Hans Verkuil wrote: > On 8/14/19 10:28 PM, Jacopo Mondi wrote: > > Add documentation for the V4L2_CID_LOCATION camera control. The newly > > added read-only control reports the camera device mounting position. > > > > Signed-off-by: Jacopo Mondi

Re: [PATCH block 1/2] writeback, cgroup: Adjust WB_FRN_TIME_CUT_DIV to accelerate foreign inode switching

2019-08-15 Thread Jan Kara
On Fri 02-08-19 12:07:38, Tejun Heo wrote: > WB_FRN_TIME_CUT_DIV is used to tell the foreign inode detection logic > to ignore short writeback rounds to prevent getting confused by a > burst of short writebacks. The parameter is currently 2 meaning that > anything smaller than half of the running

Re: [RFC 3/5] media: v4l2-ctrls: Add support for V4L2_CID_LOCATION

2019-08-15 Thread Jacopo Mondi
Hi Hans, On Thu, Aug 15, 2019 at 03:41:53PM +0200, Hans Verkuil wrote: > On 8/15/19 3:02 PM, Jacopo Mondi wrote: > > Hi Laurent, > > > > On Thu, Aug 15, 2019 at 01:53:53AM +0300, Laurent Pinchart wrote: > >> Hi Jacopo, > >> > >> Thank you for the patch. > >> > >> On Wed, Aug 14, 2019 at 10:28:13PM

Re: [v2 1/3] dt/bindings: clk: Add YAML schemas for LS1028A Display Clock bindings

2019-08-15 Thread Rob Herring
On Thu, Aug 15, 2019 at 4:26 AM Wen He wrote: > > LS1028A has a clock domain PXLCLK0 used for provide pixel clocks to Display > output interface. Add a YAML schema for this. > > Signed-off-by: Wen He > --- > change in v2: > - Convert bindings to YAML format > > .../devicetree/bindings/cl

Re: [RFC 3/5] media: v4l2-ctrls: Add support for V4L2_CID_LOCATION

2019-08-15 Thread Jacopo Mondi
Hi Hans, On Thu, Aug 15, 2019 at 03:23:47PM +0200, Hans Verkuil wrote: > On 8/14/19 10:28 PM, Jacopo Mondi wrote: > > Add support for the newly defined V4L2_CID_LOCATION read-only control > > used to report the camera device mounting position. > > > > Signed-off-by: Jacopo Mondi > > --- > > driv

Re: [PATCH v8 02/14] media: doc: add document for rkisp1 meta buffer format

2019-08-15 Thread Laurent Pinchart
Hi Helen, Thank you for the patch. On Tue, Jul 30, 2019 at 03:42:44PM -0300, Helen Koike wrote: > From: Jacob Chen > > This commit add document for rkisp1 meta buffer format > > Signed-off-by: Jacob Chen > Acked-by: Hans Verkuil > [update for upstream] > Signed-off-by: Helen Koike > > ---

Re: [v2 08/10] scripts: Coccinelle script for namespace dependencies

2019-08-15 Thread Markus Elfring
> +generate_deps_for_ns() { > +$SPATCH --very-quiet --in-place --sp-file \ > + $srctree/scripts/coccinelle/misc/add_namespace.cocci -D ns=$1 $2 > +} * Where will the variable “srctree” be set for the file “scripts/nsdeps”? * Would you like to support a separate build directory for des

Re: [PATCH v4 4/8] printk: Replace strncmp with str_has_prefix

2019-08-15 Thread Petr Mladek
On Thu 2019-08-15 16:50:33, Sergey Senozhatsky wrote: > On (08/14/19 12:49), Petr Mladek wrote: > > On Fri 2019-08-09 15:10:34, Chuhong Yuan wrote: > > > strncmp(str, const, len) is error-prone because len > > > is easy to have typo. > > > The example is the hard-coded len has counting error > > >

Re: [PATCH v4 02/21] ARM: dts: imx7-colibri: disable HS400

2019-08-15 Thread Oleksandr Suvorov
On Mon, Aug 12, 2019 at 5:23 PM Philippe Schenker wrote: > > From: Stefan Agner > > Force HS200 by masking bit 63 of the SDHCI capability register. > The i.MX ESDHC driver uses SDHCI_QUIRK2_CAPS_BIT63_FOR_HS400. With > that the stack checks bit 63 to descide whether HS400 is available. > Using sd

Re: [PATCH v8 14/14] MAINTAINERS: add entry for Rockchip ISP1 driver

2019-08-15 Thread Laurent Pinchart
Hi Helen, Thank you for the patch. On Tue, Jul 30, 2019 at 03:42:56PM -0300, Helen Koike wrote: > Add MAINTAINERS entry for the rockchip isp1 driver. > > Signed-off-by: Helen Koike > --- > > Changes in v8: None > Changes in v7: None > > MAINTAINERS | 8 > 1 file changed, 8 insertion

Re: [PATCH 4.19 00/91] 4.19.67-stable review

2019-08-15 Thread Daniel Díaz
Hello! On Thu, 15 Aug 2019 at 08:29, Guenter Roeck wrote: > > On 8/14/19 10:00 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.67 release. > > There are 91 patches in this series, all will be posted as a response > > to this one. If anyone has any issu

Re: [RFC 2/5] media: v4l2-ctrl: Document V4L2_CID_LOCATION

2019-08-15 Thread Jacopo Mondi
Hi Hans, On Thu, Aug 15, 2019 at 03:30:59PM +0200, Hans Verkuil wrote: > On 8/14/19 10:28 PM, Jacopo Mondi wrote: > > Add documentation for the V4L2_CID_LOCATION camera control. The newly > > added read-only control reports the camera device mounting position. > > > > Signed-off-by: Jacopo Mondi

Re: [PATCH RESEND v4 5/9] KVM: VMX: Add init/set/get functions for SPP

2019-08-15 Thread Vitaly Kuznetsov
Yang Weijiang writes: > After looked into the issue and others, I feel to make SPP co-existing > with nested VM is not good, the major reason is, L1 pages protected by > SPP are transparent to L1 VM, if it launches L2 VM, probably the > pages would be allocated to L2 VM, and that will bother to L

Re: [PATCH v5 01/18] xfs: compat_ioctl: use compat_ptr()

2019-08-15 Thread Christoph Hellwig
On Thu, Aug 15, 2019 at 10:15:12PM +1000, Dave Chinner wrote: > > http://git.infradead.org/users/hch/xfs.git/shortlog/refs/heads/xfs-ioctl-table > > Lots to like in that handful of patches. :) > > It can easily go before or after Arnd's patch, and the merge > conflict either way would be minor, s

Re: [PATCH 4.19 00/91] 4.19.67-stable review

2019-08-15 Thread Guenter Roeck
On 8/15/19 6:58 AM, Daniel Díaz wrote: Hello! On Thu, 15 Aug 2019 at 08:29, Guenter Roeck wrote: On 8/14/19 10:00 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.19.67 release. There are 91 patches in this series, all will be posted as a response to this

Re: [PATCH v5 11/18] tty: handle compat PPP ioctls

2019-08-15 Thread Greg Kroah-Hartman
On Wed, Aug 14, 2019 at 10:54:46PM +0200, Arnd Bergmann wrote: > Multiple tty devices are have tty devices that handle the > PPPIOCGUNIT and PPPIOCGCHAN ioctls. To avoid adding a compat_ioctl > handler to each of those, add it directly in tty_compat_ioctl > so we can remove the calls from fs/compat

Re: [PATCH v5 10/18] compat_ioctl: move SIOCOUTQ out of compat_ioctl.c

2019-08-15 Thread Greg Kroah-Hartman
On Wed, Aug 14, 2019 at 10:54:45PM +0200, Arnd Bergmann wrote: > All users of this call are in socket or tty code, so handling > it there means we can avoid the table entry in fs/compat_ioctl.c. > > Signed-off-by: Arnd Bergmann > --- > drivers/tty/tty_io.c | 1 + > fs/compat_ioctl.c| 2 -- >

Re: [RFC 2/5] media: v4l2-ctrl: Document V4L2_CID_LOCATION

2019-08-15 Thread Hans Verkuil
On 8/15/19 12:43 AM, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Wed, Aug 14, 2019 at 10:28:12PM +0200, Jacopo Mondi wrote: >> Add documentation for the V4L2_CID_LOCATION camera control. The newly >> added read-only control reports the camera device mounting position.

Re: [PATCH v2 2/3] perf unwind: fix libunwind when tid != pid

2019-08-15 Thread Jiri Olsa
On Thu, Aug 15, 2019 at 11:01:45AM +0100, John Keeping wrote: > Commit e5adfc3e7e77 ("perf map: Synthesize maps only for thread group > leader") changed the recording side so that we no longer get mmap events > for threads other than the thread group leader (when synthesising these > events for thr

Re: [RFC 3/5] media: v4l2-ctrls: Add support for V4L2_CID_LOCATION

2019-08-15 Thread Hans Verkuil
On 8/15/19 3:50 PM, Jacopo Mondi wrote: > Hi Hans, > > On Thu, Aug 15, 2019 at 03:41:53PM +0200, Hans Verkuil wrote: >> On 8/15/19 3:02 PM, Jacopo Mondi wrote: >>> Hi Laurent, >>> >>> On Thu, Aug 15, 2019 at 01:53:53AM +0300, Laurent Pinchart wrote: Hi Jacopo, Thank you for the patc

Re: [PATCH 2/2] uacce: add uacce module

2019-08-15 Thread Greg Kroah-Hartman
On Wed, Aug 14, 2019 at 05:34:25PM +0800, Zhangfei Gao wrote: > diff --git a/include/uapi/misc/uacce.h b/include/uapi/misc/uacce.h > new file mode 100644 > index 000..44a0a5d > --- /dev/null > +++ b/include/uapi/misc/uacce.h > @@ -0,0 +1,44 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */

Re: [PATCH 1/6] arm64: dts: imx8mn-ddr4-evk: Add i2c1 support

2019-08-15 Thread Leonard Crestez
On 15.08.2019 14:18, anson.hu...@nxp.com wrote: > From: Anson Huang > > Enable i2c1 on i.MX8MN DDR4 EVK board. > > Signed-off-by: Anson Huang Didn't see a cover letter but all 6 patches look good: Reviewed-by: Leonard Crestez

Re: [PATCH 2/2] uacce: add uacce module

2019-08-15 Thread Greg Kroah-Hartman
On Wed, Aug 14, 2019 at 05:34:25PM +0800, Zhangfei Gao wrote: > +int uacce_register(struct uacce *uacce) > +{ > + int ret; > + > + if (!uacce->pdev) { > + pr_debug("uacce parent device not set\n"); > + return -ENODEV; > + } > + > + if (uacce->flags & UACCE_DE

Re: [RFC 2/5] media: v4l2-ctrl: Document V4L2_CID_LOCATION

2019-08-15 Thread Hans Verkuil
On 8/15/19 4:10 PM, Hans Verkuil wrote: > On 8/15/19 12:43 AM, Laurent Pinchart wrote: >> Hi Jacopo, >> >> Thank you for the patch. >> >> On Wed, Aug 14, 2019 at 10:28:12PM +0200, Jacopo Mondi wrote: >>> Add documentation for the V4L2_CID_LOCATION camera control. The newly >>> added read-only contr

Re: [RFC PATCH 1/5] x86: tsc: add tsc to art helpers

2019-08-15 Thread Thomas Gleixner
Felipe, On Thu, 15 Aug 2019, Felipe Balbi wrote: > Thomas Gleixner writes: > > On Tue, 16 Jul 2019, Felipe Balbi wrote: > > > > So some information what those interfaces are used for and why they are > > needed would be really helpful. > > Okay, I have some more details about this. The TGPIO dev

Re: [PATCH 2/2] uacce: add uacce module

2019-08-15 Thread Greg Kroah-Hartman
On Wed, Aug 14, 2019 at 05:34:25PM +0800, Zhangfei Gao wrote: > +/* lock to protect all queues management */ > +static DECLARE_RWSEM(uacce_qs_lock); > +#define uacce_qs_rlock() down_read(&uacce_qs_lock) > +#define uacce_qs_runlock() up_read(&uacce_qs_lock) > +#define uacce_qs_wlock() down_write(&ua

<    1   2   3   4   5   6   7   8   9   >