[RFC, WIP, v6 05/10] media: vidtv: add wrappers for memcpy and memset

2020-05-20 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" A lot of code in this driver is for serializing structures. This is error prone. Therefore, prevent buffer overflows by wrapping memcpy and memset, comparing the requested length against the buffer size. Signed-off-by: Daniel W. S. Almeida --- .../media/test-drive

[RFC, WIP, v6 01/10] media: vidtv: add Kconfig entry

2020-05-20 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Add the necessary Kconfig entries and a dummy Makefile to compile the new virtual DVB test driver (vidtv). Signed-off-by: Daniel W. S. Almeida --- drivers/media/test-drivers/Kconfig| 10 ++ drivers/media/test-drivers/Makefile | 1 + drivers/m

[RFC, WIP, v6 00/10] media: vidtv: implement a virtual DVB driver

2020-05-20 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" This series is work in progress. It represents the current work done on a virtual DVB driver for the Linux media subsystem. I am new to the media subsystem and to kernel development in general. This driver aims to: - Serve as template for new DVB driver write

[RFC, WIP, v6 03/10] media: vidtv: implement a demodulator driver

2020-05-20 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Implement a I2C demodulator driver, simulating support for DVB-T, DVB-C and DVB-S. This demodulator will periodically check the signal quality against a table and drop the TS lock if it drops below a threshold value, regaining it in the event that the signal improves

[RFC, WIP, v6 04/10] media: vidtv: add a bridge driver

2020-05-20 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Digital TV devices consist of several independent hardware components which are controlled by different drivers. Each media device is controlled by a group of cooperating drivers with the bridge driver as the main driver. This patch adds a bridge driver for the Virtu

[RFC, WIP, v6 02/10] media: vidtv: implement a tuner driver

2020-05-20 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" The virtual DVB test driver serves as a reference DVB driver and helps validate the existing APIs in the media subsystem. It can also aid developers working on userspace applications. This dummy tuner should support common TV standards such as DVB-T/T2/S/S2, ISDB-T a

[RFC, WIP, v6 07/10] media: vidtv: implement a PSI generator

2020-05-20 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" PSI packets contain general information about a MPEG Transport Stream. A PSI generator is needed so userspace apps can retrieve information about the Transport Stream and eventually tune into a (dummy) channel. Because the generator is implemented in a separate file,

[RFC, WIP, v6 08/10] media: vidtv: implement a PES packetizer

2020-05-20 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Implement the PES logic to convert encoder data into MPEG TS packets. These TS packets can then be fed into a TS multiplexer and eventually into userspace. Signed-off-by: Daniel W. S. Almeida --- .../media/test-drivers/vidtv/vidtv_common.h | 2 + drivers/media/

[RFC, WIP, v6 09/10] media: vidtv: Implement a SMPTE 302M encoder

2020-05-20 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Implement a S302M encoder to make it possible to insert PCM audio data in the generated MPEG Transport Stream. This shall enable passing an audio signal into userspace so it can be decoded and played by media software. Signed-off-by: Daniel W. S. Almeida --- .../m

[RFC, WIP, v6 06/10] media: vidtv: add MPEG TS common code

2020-05-20 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Add code to work with MPEG TS packets, such as TS headers, adaptation fields, PCR packets and NULL packets. Signed-off-by: Daniel W. S. Almeida --- drivers/media/test-drivers/vidtv/vidtv_ts.c | 157 drivers/media/test-drivers/vidtv/vidtv_ts.h |

[RFC, WIP, v6 10/10] media: vidtv: Add a MPEG Transport Stream Multiplexer

2020-05-20 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Add a MPEG Transport Stream multiplexer responsible for polling encoders, interleaving packets, padding the resulting stream with NULL packets if necessary and then delivering the resulting TS packets to the bridge driver so it can feed the demux. This patch includes

Re: [PATCH] perf bpf-loader: Add missing '*' for key_scan_pos

2020-05-20 Thread Jiri Olsa
On Wed, May 20, 2020 at 11:32:16AM +0800, Wang ShaoBo wrote: > key_scan_pos is a pointer for getting scan position in > bpf__obj_config_map() for each BPF map configuration term, > but it's misused when error not happened. > > Fixes: 066dacbf2a32 ("perf bpf: Add API to set values to map entries in

Re: [PATCH v2 1/4] dt-bindings: iio: imu: bmi160: convert txt format to yaml

2020-05-20 Thread Jonathan Albrieux
On Tue, May 19, 2020 at 11:37:38AM -0600, Rob Herring wrote: > On Tue, 19 May 2020 09:50:57 +0200, Jonathan Albrieux wrote: > > Converts documentation from txt format to yaml > > > > Signed-off-by: Jonathan Albrieux > > --- > > .../devicetree/bindings/iio/imu/bmi160.txt| 37 > > ...

Re: [PATCH 1/2] MAINTAINERS: Add entry for ROHM power management ICs

2020-05-20 Thread Vaittinen, Matti
Morning Lee, On Wed, 2020-05-20 at 07:35 +0100, Lee Jones wrote: > On Wed, 20 May 2020, Matti Vaittinen wrote: > > > Add entry for maintaining power management IC drivers for ROHM > > BD71837, BD71847, BD71850, BD71828, BD71878, BD70528 and BD99954. > > > > Signed-off-by: Matti Vaittinen > > --

Re: [PATCH] s390/sclp_vt220: Fix console name to match device

2020-05-20 Thread Valentin Vidić
On Wed, May 20, 2020 at 07:25:06AM +0200, Christian Borntraeger wrote: > This is not as simple. ttyS1 is the the console name and ttysclp0 is the tty > name. > This has mostly historic reasons and it obviously causes problems. > But there is documentation out that that actually describes the use

[PATCH] MIPS: SGI-IP27: Remove not used definition TICK_SIZE in ip27-timer.c

2020-05-20 Thread Tiezhu Yang
After commit f5ff0a280201 ("[MIPS] Use generic NTP code for all MIPS platforms"), TICK_SIZE is not used in ip27-timer.c for many years, remove it. Signed-off-by: Tiezhu Yang --- Hi Thomas, I find this not used definition TICK_SIZE just now, maybe I should send these cleanup patches in a patch s

Re: [PATCH v4 07/13] firmware: arm_scmi: Add notification dispatch and delivery

2020-05-20 Thread Cristian Marussi
On Mon, Mar 16, 2020 at 02:46:05PM +, Cristian Marussi wrote: > On Thu, Mar 12, 2020 at 09:43:31PM +, Lukasz Luba wrote: > > > > Hi Lukasz, I went back looking deeper into the possible race issue you pointed out a while ago understanding it a bit better down below. > > On 3/12/20 6:34

Re: [PATCH] ARM: OMAP2+: remove unneeded variable "errata" in configure_dma_errata()

2020-05-20 Thread Peter Ujfalusi
On 06/05/2020 11.43, Jason Yan wrote: > > > 在 2020/5/6 16:29, Russell King - ARM Linux admin 写道: >> On Wed, May 06, 2020 at 02:19:00PM +0800, Jason Yan wrote: >>> Fix the following coccicheck warning: >>> >>> arch/arm/mach-omap2/dma.c:82:10-16: Unneeded variable: "errata". Return >>> "0" on lin

Re: [RFC PATCH 0/4] DirectX on Linux

2020-05-20 Thread Thomas Zimmermann
Hi Am 19.05.20 um 18:32 schrieb Sasha Levin: > There is a blog post that goes into more detail about the bigger > picture, and walks through all the required pieces to make this work. It > is available here: > https://devblogs.microsoft.com/directx/directx-heart-linux . The rest of > this cover le

Re: [RESEND PATCH v7 4/5] ndctl/papr_scm,uapi: Add support for PAPR nvdimm specific methods

2020-05-20 Thread Aneesh Kumar K.V
Vaibhav Jain writes: + > +/* Papr-scm-header + payload expected with ND_CMD_CALL ioctl from libnvdimm > */ > +struct nd_pdsm_cmd_pkg { > + struct nd_cmd_pkg hdr; /* Package header containing sub-cmd */ > + __s32 cmd_status; /* Out: Sub-cmd status returned back */ > + __

Re: [PATCH V6 0/4] x86/resctrl: Enable user to view and select thread throttling mode

2020-05-20 Thread Borislav Petkov
On Tue, May 19, 2020 at 03:13:59PM -0700, Reinette Chatre wrote: > I am very sorry. I was hoping that this series could be considered for > inclusion into v5.8 and submitted it seven weeks ago because of that. > The recent feedback addressed seemed to be the final few small comments > needed to be

Re: [PATCH v2 2/4] dt-bindings: iio: imu: bmi160: add regulators and mount-matrix

2020-05-20 Thread Jonathan Albrieux
On Tue, May 19, 2020 at 06:51:59PM +0100, Jonathan Cameron wrote: > On Tue, 19 May 2020 09:50:58 +0200 > Jonathan Albrieux wrote: > > > Add vdd-supply and vddio-supply support. > > Add mount-matrix support. > > > > Signed-off-by: Jonathan Albrieux > > A few minor comments inline. > > > --- >

[PATCH 2/2] soundwire: intel: transition to 3 steps initialization

2020-05-20 Thread Bard Liao
From: Pierre-Louis Bossart Rather than a plain-vanilla init/exit, this patch provides 3 steps in the initialization (ACPI scan, probe, startup) which makes it easier to detect platform support for SoundWire, allocate required resources as early as possible, and conversely help make the startup()

[PATCH 1/2] soundwire: intel: use a single module

2020-05-20 Thread Bard Liao
From: Rander Wang It's not clear why we have two modules for the Intel controller/master support when there is a single Kconfig. This adds complexity for no good reason, the two parts need to work together anyways. Signed-off-by: Rander Wang Signed-off-by: Pierre-Louis Bossart Signed-off-by: B

Re: [PATCH 02/15] ahci_brcm: fix use of BCM7216 reset controller

2020-05-20 Thread Philipp Zabel
Hi Jim, On Tue, May 19, 2020 at 04:34:00PM -0400, Jim Quinlan wrote: > From: Jim Quinlan > > A reset controller "rescal" is shared between the AHCI driver > and the PCIe driver for the BrcmSTB 7216 chip. The code is > modified to allow this sharing and to deassert() properly. > > Signed-off-by

Re: [PATCH] s390/sclp_vt220: Fix console name to match device

2020-05-20 Thread Christian Borntraeger
On 20.05.20 09:07, Valentin Vidić wrote: > On Wed, May 20, 2020 at 07:25:06AM +0200, Christian Borntraeger wrote: >> This is not as simple. ttyS1 is the the console name and ttysclp0 is the tty >> name. >> This has mostly historic reasons and it obviously causes problems. >> But there is docum

Re: [RFC V2] mm/vmstat: Add events for PMD based THP migration without split

2020-05-20 Thread 堀口 直也
On Mon, May 18, 2020 at 12:12:36PM +0530, Anshuman Khandual wrote: > This adds the following two new VM events which will help in validating PMD > based THP migration without split. Statistics reported through these events > will help in performance debugging. > > 1. THP_PMD_MIGRATION_SUCCESS > 2.

Re: [PATCH v2 3/4] iio: imu: bmi160: added regulator support

2020-05-20 Thread Jonathan Albrieux
On Tue, May 19, 2020 at 06:55:35PM +0100, Jonathan Cameron wrote: > On Tue, 19 May 2020 09:50:59 +0200 > Jonathan Albrieux wrote: > > > v2: fixed missing description > > Don't put change log here Yep I will put it in the cover letter > > > > Add vdd-supply and vddio-supply support. Withou

Re: [PATCH v2 4/4] iio: imu: bmi160: added mount-matrix support

2020-05-20 Thread Jonathan Albrieux
On Tue, May 19, 2020 at 06:57:11PM +0100, Jonathan Cameron wrote: > On Tue, 19 May 2020 09:51:00 +0200 > Jonathan Albrieux wrote: > > > Add mount-matrix binding support. As chip could have different orientations > > a mount matrix support is needed to correctly translate these differences > > >

Re: [GIT PULL 00/15] More EFI changes for v5.8

2020-05-20 Thread Ard Biesheuvel
On Thu, 14 May 2020 at 11:05, Ard Biesheuvel wrote: > > On Fri, 8 May 2020 at 20:02, Ard Biesheuvel wrote: > > > > The following changes since commit 4da0b2b7e67524cc206067865666899bc02e1cb0: > > > > efi/libstub: Re-enable command line initrd loading for x86 (2020-04-25 > > 12:26:32 +0200) > >

Re: [PATCH v8 1/6] MIPS: JZ4780: Introduce SMP support.

2020-05-20 Thread Zhou Yanjie
Hi Paul, On 2020年05月20日 03:41, Paul Cercueil wrote: Hi Zhou, Le mar. 19 mai 2020 à 22:35, 周琰杰 (Zhou Yanjie) a écrit : Forward port smp support from kernel 3.18.3 of CI20_linux to upstream kernel 5.6. Tested-by: H. Nikolaus Schaller Tested-by: Paul Boddie Signed-off-by: 周琰杰 (Zhou Yanjie)

Re: [PATCH v3 5/5] scsi: ufs: Fix possible VCC power drain during runtime suspend

2020-05-20 Thread Stanley Chu
Hi, Asutosh, Thanks for your review. On Tue, 2020-05-19 at 09:27 -0700, Asutosh Das (asd) wrote: > Hi Stanley, > > On 5/16/2020 10:46 AM, Stanley Chu wrote: > > The commit "scsi: ufs: Fix WriteBooster flush during runtime > > suspend" promises essential resource, i.e., for UFS devices doing > >

Re: [PATCH v8 1/6] MIPS: JZ4780: Introduce SMP support.

2020-05-20 Thread Zhou Yanjie
On 2020年05月20日 00:09, Paul Cercueil wrote: Hi Zhou, Le mar. 19 mai 2020 à 22:35, 周琰杰 (Zhou Yanjie) a écrit : Forward port smp support from kernel 3.18.3 of CI20_linux to upstream kernel 5.6. Tested-by: H. Nikolaus Schaller Tested-by: Paul Boddie Signed-off-by: 周琰杰 (Zhou Yanjie) Reviewe

Re: [PATCH v2 1/4] dt-bindings: iio: imu: bmi160: convert txt format to yaml

2020-05-20 Thread Jonathan Albrieux
On Tue, May 19, 2020 at 06:49:33PM +0100, Jonathan Cameron wrote: > On Tue, 19 May 2020 09:50:57 +0200 > Jonathan Albrieux wrote: > > > Converts documentation from txt format to yaml > > > > Signed-off-by: Jonathan Albrieux > > --- > > .../devicetree/bindings/iio/imu/bmi160.txt| 37 --

[PATCH 4/7] perf metricgroup: Order event groups by size

2020-05-20 Thread Ian Rogers
When adding event groups to the group list, insert them in size order. This performs an insertion sort on the group list. By placing the largest groups at the front of the group list it is possible to see if a larger group contains the same events as a later group. This can make the later group red

[PATCH 1/7] perf metricgroup: Change evlist_used to a bitmap

2020-05-20 Thread Ian Rogers
Use a bitmap rather than an array of bools. Signed-off-by: Ian Rogers --- tools/perf/util/metricgroup.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/tools/perf/util/metricgroup.c b/tools/perf/util/metricgroup.c index 6772d256dfdf..a16f60da06ab 100644 --

Re: [PATCH 07/15] PCI: brcmstb: Add control of rescal reset

2020-05-20 Thread Philipp Zabel
Hi Jim, On Tue, May 19, 2020 at 04:34:05PM -0400, Jim Quinlan wrote: > From: Jim Quinlan > > Some STB chips have a special purpose reset controller named > RESCAL (reset calibration). This commit adds the control > of RESCAL as well as the ability to start and stop its > operation for PCIe HW.

[PATCH 7/7] perf metricgroup: Remove unnecessary ',' from events

2020-05-20 Thread Ian Rogers
Remove unnecessary commas from events before they are parsed. This avoids ',' being echoed by parse-events.l. Signed-off-by: Ian Rogers --- tools/perf/util/metricgroup.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/tools/perf/util/metricgroup.c b/tools/perf

[PATCH 6/7] perf metricgroup: Add options to not group or merge

2020-05-20 Thread Ian Rogers
Add --metric-no-group that causes all events within metrics to not be grouped. This can allow the event to get more time when multiplexed, but may also lower accuracy. Add --metric-no-merge option. By default events in different metrics may be shared if the group of events for one metric is the sam

Re: [PATCH] READ_ONCE, WRITE_ONCE, kcsan: Perform checks in __*_ONCE variants

2020-05-20 Thread Marco Elver
On Wed, 20 May 2020 at 05:44, Nathan Chancellor wrote: > > On Tue, May 19, 2020 at 11:16:24PM -0400, Qian Cai wrote: > > On Tue, May 19, 2020 at 10:47 PM Nathan Chancellor > > wrote: > > > > > > On Tue, May 19, 2020 at 10:28:41PM -0400, Qian Cai wrote: > > > > > > > > > > > > > On May 19, 2020, a

[PATCH 2/7] perf metricgroup: Always place duration_time last

2020-05-20 Thread Ian Rogers
If a metric contains the duration_time event then the event is placed outside of the metric's group of events. Rather than split the group, make it so the duration_time is immediately after the group. Signed-off-by: Ian Rogers --- tools/perf/util/metricgroup.c | 18 +- 1 file cha

[PATCH 0/7] Share events between metrics

2020-05-20 Thread Ian Rogers
Metric groups contain metrics. Metrics create groups of events to ideally be scheduled together. Often metrics refer to the same events, for example, a cache hit and cache miss rate. Using separate event groups means these metrics are multiplexed at different times and the counts don't sum to 100%.

[PATCH 5/7] perf metricgroup: Remove duped metric group events

2020-05-20 Thread Ian Rogers
A metric group contains multiple metrics. These metrics may use the same events. If metrics use separate events then it leads to more multiplexing and overall metric counts fail to sum to 100%. Modify how metrics are associated with events so that if the events in an earlier group satisfy the curre

[PATCH 3/7] perf metricgroup: Delay events string creation

2020-05-20 Thread Ian Rogers
Currently event groups are placed into groups_list at the same time as the events string containing the events is built. Separate these two operations and build the groups_list first, then the event string from the groups_list. This adds an ability to reorder the groups_list that will be used in a

Re: [PATCH v2 1/4] dt-bindings: iio: imu: bmi160: convert txt format to yaml

2020-05-20 Thread Jonathan Albrieux
On Tue, May 19, 2020 at 12:20:28PM -0600, Rob Herring wrote: > On Tue, May 19, 2020 at 09:50:57AM +0200, Jonathan Albrieux wrote: > > Converts documentation from txt format to yaml > > > > Signed-off-by: Jonathan Albrieux > > --- > > .../devicetree/bindings/iio/imu/bmi160.txt| 37 >

Re: [Linux-stm32] [RFC 0/3] Introduce cpufreq minimum load QoS

2020-05-20 Thread Benjamin GAIGNARD
On 5/4/20 11:17 AM, Benjamin GAIGNARD wrote: > > On 4/30/20 5:50 PM, Valentin Schneider wrote: >> On 30/04/20 16:37, Benjamin GAIGNARD wrote: >>> On 4/30/20 4:33 PM, Valentin Schneider wrote: On 30/04/20 14:46, Benjamin GAIGNARD wrote: >> That's not what I meant. >> >> I suppose

[PATCH v4 0/4] iio: magnetometer: ak8975: Add gpio reset support

2020-05-20 Thread Jonathan Albrieux
v4: - fix some typo - use gpio's dt-bindings for more clarity in documentation - set compatible properties without vendor prefix as deprecated v3: - fix patch messages style - align reset gpio comment to kernel doc reccomendation - introduce changelog. https://lore.kernel.org/linux-iio/20200

[PATCH v4 3/4] iio: magnetometer: ak8975: Fix typo, uniform measurement unit style

2020-05-20 Thread Jonathan Albrieux
Minor comment style edits. Signed-off-by: Jonathan Albrieux Reviewed-by: Andy Shevchenko --- drivers/iio/magnetometer/ak8975.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/magnetometer/ak8975.c b/drivers/iio/magnetometer/ak8975.c index 3c881541ae72..fd368

[PATCH v4 2/4] dt-bindings: iio: magnetometer: ak8975: add gpio reset support

2020-05-20 Thread Jonathan Albrieux
Add reset-gpio support. Without reset's deassertion during ak8975_power_on(), driver's probe fails on ak8975_who_i_am() while checking for device identity for AK09911 chip. AK09911 has an active low reset gpio to handle register's reset. AK09911 datasheet says that, if not used, reset pin should

[PATCH v4 1/4] dt-bindings: iio: magnetometer: ak8975: convert txt format to yaml

2020-05-20 Thread Jonathan Albrieux
Converts documentation from txt format to yaml. Signed-off-by: Jonathan Albrieux --- .../bindings/iio/magnetometer/ak8975.txt | 30 .../bindings/iio/magnetometer/ak8975.yaml | 71 +++ 2 files changed, 71 insertions(+), 30 deletions(-) delete mode 100644 Docume

[PATCH v4 4/4] iio: magnetometer: ak8975: Add gpio reset support

2020-05-20 Thread Jonathan Albrieux
According to AK09911 datasheet, if reset gpio is provided then deassert reset on ak8975_power_on() and assert reset on ak8975_power_off(). Without reset's deassertion during ak8975_power_on(), driver's probe fails on ak8975_who_i_am() while checking for device identity for AK09911 chip. AK09911 h

Re: [PATCH v5.5 10/10] mmap locking API: rename mmap_sem to mmap_lock

2020-05-20 Thread John Hubbard
On 2020-05-19 19:39, Michel Lespinasse wrote: ... That gives you additional options inside internal_get_user_pages_fast(), such as, approximately: if (!(gup_flags & FOLL_FAST_ONLY)) might_lock_read(¤t->mm->mmap_lock); ...not that that is necessarily a great idea, seeing as how it merel

[PATCH] dt-bindings: input: touchscreen: edt-ft5x06: change reg property

2020-05-20 Thread Johan Jonker
A test with the command below gives this error: arch/arm/boot/dts/rk3188-bqedison2qc.dt.yaml: touchscreen@3e: reg:0:0: 56 was expected The touchscreen chip on 'rk3188-bqedison2qc' and other BQ models was shipped with different addresses then the binding currently allows. Change the reg property t

Re: [PATCH V1 RESEND 1/3] perf/imx_ddr: Add system PMU identifier for userspace

2020-05-20 Thread Will Deacon
On Tue, May 19, 2020 at 12:51:25PM -0600, Rob Herring wrote: > On Tue, May 12, 2020 at 03:31:13PM +0800, Joakim Zhang wrote: > > +static ssize_t ddr_perf_identifier_show(struct device *dev, > > + struct device_attribute *attr, > > +

[PATCH] perf stat: Fail on extra comma while parsing events

2020-05-20 Thread Jiri Olsa
Ian reported that we allow to parse following: $ perf stat -e ,cycles true which is wrong and we should fail, like we do with this fix: $ perf stat -e ,cycles true event syntax error: ',cycles' \___ parser error The reason is that we don't have rule for ',' in 'eve

Re: [PATCH V2 2/3] perf/imx_ddr: Add system PMU identifier for userspace

2020-05-20 Thread Will Deacon
On Wed, May 20, 2020 at 10:56:18AM +0800, Joakim Zhang wrote: > The DDR Perf for i.MX8 is a system PMU whose axi id would different from > SoC to SoC. Need expose system PMU identifier for userspace which refer > to /sys/bus/event_source/devices//identifier. > > Signed-off-by: Joakim Zhang > ---

Re: [patch 0/7] x86/KVM: Async #PF and instrumentation protection

2020-05-20 Thread Paolo Bonzini
On 19/05/20 22:31, Thomas Gleixner wrote: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > noinstr-x86-kvm-2020-05-16 Pulled, thanks. Paolo

RE: [PATCH V2] dt-bindings: thermal: Convert i.MX to json-schema

2020-05-20 Thread Aisheng Dong
> From: Anson Huang > Sent: Wednesday, May 20, 2020 2:03 PM > > Convert the i.MX thermal binding to DT schema format using json-schema > > Signed-off-by: Anson Huang > --- > Changes since V1: > - move tempmon node into its parent node anatop in example; > - improve "fsl,tempmon" des

Re: [PATCH] drm/amdgpu/smu10: Replace one-element array and use struct_size() helper

2020-05-20 Thread Christian König
Am 20.05.20 um 00:55 schrieb Gustavo A. R. Silva: The current codebase makes use of one-element arrays in the following form: struct something { int length; u8 data[1]; }; struct something *instance; instance = kmalloc(sizeof(*instance) + size, GFP_KERNEL); instance->length = size; m

RE: [EXTERNAL] Re: [RFC PATCH 0/4] DirectX on Linux

2020-05-20 Thread Steve Pronovost
>Echoing what others said, you're not making a DRM driver. The driver should >live outside of the DRM code. Agreed, please see my earlier reply. We'll be moving the driver to drivers/hyperv node or something similar. Apology for the confusion here. > I have one question about the driver API: on

RE: [PATCH] ARM: dts: imx: Make tempmon node as child of anatop node

2020-05-20 Thread Aisheng Dong
> From: Anson Huang > Sent: Wednesday, May 20, 2020 2:30 PM > > i.MX6/7 SoCs' temperature sensor is inside anatop module from HW perspective, > so it should be a child node of anatop. > > Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng BTW, I think you also need a binding doc for this c

RE: [PATCH] ARM: dts: imx: Make tempmon node as child of anatop node

2020-05-20 Thread Anson Huang
> Subject: RE: [PATCH] ARM: dts: imx: Make tempmon node as child of anatop > node > > > From: Anson Huang > > Sent: Wednesday, May 20, 2020 2:30 PM > > > > i.MX6/7 SoCs' temperature sensor is inside anatop module from HW > > perspective, so it should be a child node of anatop. > > > > Signed-of

Re: [GIT PULL] Ressurect the atomisp staging driver

2020-05-20 Thread Mauro Carvalho Chehab
Em Sat, 2 May 2020 08:03:55 +0200 Greg KH escreveu: > On Fri, May 01, 2020 at 09:57:41PM +0200, Mauro Carvalho Chehab wrote: > > This driver is simply too big for it to be sent to the ML via e-mails. Those > > will very likely be rejected due to the e-mail sizes. > > > > So, instead, I'm sending

Re: [PATCH] perf evsel: Get group fd from CPU0 for system wide event

2020-05-20 Thread Jiri Olsa
On Wed, May 20, 2020 at 01:36:40PM +0800, Jin, Yao wrote: > Hi Jiri, > > On 5/18/2020 11:28 AM, Jin, Yao wrote: > > Hi Jiri, > > > > On 5/15/2020 4:33 PM, Jiri Olsa wrote: > > > On Fri, May 15, 2020 at 02:04:57PM +0800, Jin, Yao wrote: > > > > > > SNIP > > > > > > > I think I get the root cause

Re: [PATCH] csky: Fixup calltrace panic

2020-05-20 Thread Guo Ren
Hi Guenter, > 在 2020年5月18日,上午1:52,Guenter Roeck 写道: > > Hi, > > On Wed, May 13, 2020 at 03:15:25PM +0800, Guo Ren wrote: >> The implementation of show_stack will panic with wrong fp: >> >> addr= *fp++; >> >> because the fp isn't checked properly. >> >> The current implementations of show

Re: [PATCH] perf stat: Fail on extra comma while parsing events

2020-05-20 Thread Ian Rogers
On Wed, May 20, 2020 at 12:41 AM Jiri Olsa wrote: > > Ian reported that we allow to parse following: > > $ perf stat -e ,cycles true > > which is wrong and we should fail, like we do with this fix: > > $ perf stat -e ,cycles true > event syntax error: ',cycles' > \___

Re: [RFC PATCH v3 12/14] perf metricgroup: order event groups by size

2020-05-20 Thread Ian Rogers
On Fri, May 8, 2020 at 7:40 PM Andi Kleen wrote: > > > > I'm not sure if size is that great an heuristic. The dedup algorithm > > > should > > > work in any case even if you don't order by size, right? > > > > Consider two metrics: > > - metric 1 with events {A,B} > > - metric 2 with events {A,

[PATCH] crypto: sun8i-ce - fix runtime pm imbalance on error

2020-05-20 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even it returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c | 4 +++- 1 file changed, 3 in

Re: git-send-email: Ability to populate CC using more tags

2020-05-20 Thread Manivannan Sadhasivam
On Tue, May 19, 2020 at 12:06:45PM -0700, Joe Perches wrote: > On Wed, 2020-05-20 at 00:10 +0530, Manivannan Sadhasivam wrote: > > Hello, > > > > Currently 'git-send-email' lacks the ability to CC people described using > > tags such as Acked-by and Reported-by etc... > > > > While doing a bit of

Re: linux-next: build warning after merge of the aspeed tree

2020-05-20 Thread Joel Stanley
On Mon, 11 May 2020 at 15:19, Rob Herring wrote: > > On Fri, May 8, 2020 at 1:40 AM Joel Stanley wrote: > > > > On Wed, 6 May 2020 at 23:13, Joel Stanley wrote: > > > > > > Hi Rob, > > > > > > On Wed, 6 May 2020 at 23:10, Stephen Rothwell > > > wrote: > > > > > > > > Hi all, > > > > > > > > Af

Re: [PATCH v4 00/15] virtio-mem: paravirtualized memory

2020-05-20 Thread David Hildenbrand
On 20.05.20 07:25, teawater wrote: > Hi David, > > Thanks for your work. > I tried this version with cloud-hypervisor master. It worked very well. > > Best, > Hui Hi Hui, thanks for testing! Cheers! -- Thanks, David / dhildenb

[PATCH] exfat: optimize dir-cache

2020-05-20 Thread Tetsuhiro Kohada
Optimize directory access based on exfat_entry_set_cache. - Hold bh instead of copied d-entry. - Modify bh->data directly instead of the copied d-entry. - Write back the retained bh instead of rescanning the d-entry-set. And - Remove unused cache related definitions. Signed-off-by: Tetsuhiro K

Re: [PATCH v5 09/19] mtd: spi-nor: sfdp: parse xSPI Profile 1.0 table

2020-05-20 Thread masonccyang
Hi Pratyush, > +/** > + * spi_nor_parse_profile1() - parse the xSPI Profile 1.0 table > + * @nor: pointer to a 'struct spi_nor' > + * @param_header: pointer to the 'struct sfdp_parameter_header' describing > + * the 4-Byte Address Instruction Table length and version. > + * @par

[PATCH] power: supply: bq24190_charger: fix runtime pm imbalance

2020-05-20 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even it returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/power/supply/bq24190_charger.c | 4 +++- 1 file changed, 3 insertions(+)

[PATCH] sched/rt: Add borrowing time condition

2020-05-20 Thread qiang.zhang
From: Zhang Qiang Add priority judgment to determine whether to borrow time from neighbors, ensure that the rt_runntime of rt_rq with higher priority tasks is not reduced Signed-off-by: Zhang Qiang --- kernel/sched/rt.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/

Re: [PATCH v5.5 10/10] mmap locking API: rename mmap_sem to mmap_lock

2020-05-20 Thread Michel Lespinasse
On Wed, May 20, 2020 at 12:32 AM John Hubbard wrote: > On 2020-05-19 19:39, Michel Lespinasse wrote: > >> That gives you additional options inside internal_get_user_pages_fast(), > >> such > >> as, approximately: > >> > >> if (!(gup_flags & FOLL_FAST_ONLY)) > >> might_lock_read(¤t->mm->m

io_uring vs CPU hotplug, was Re: [PATCH 5/9] blk-mq: don't set data->ctx and data->hctx in blk_mq_alloc_request_hctx

2020-05-20 Thread Christoph Hellwig
On Wed, May 20, 2020 at 11:04:24AM +0800, Ming Lei wrote: > On Wed, May 20, 2020 at 09:18:23AM +0800, Ming Lei wrote: > > On Tue, May 19, 2020 at 05:30:00PM +0200, Christoph Hellwig wrote: > > > On Tue, May 19, 2020 at 09:54:20AM +0800, Ming Lei wrote: > > > > As Thomas clarified, workqueue hasn't

RE: [PATCH V2] dt-bindings: thermal: Convert i.MX to json-schema

2020-05-20 Thread Anson Huang
> Subject: RE: [PATCH V2] dt-bindings: thermal: Convert i.MX to json-schema > > > From: Anson Huang > > Sent: Wednesday, May 20, 2020 2:03 PM > > > > Convert the i.MX thermal binding to DT schema format using json-schema > > > > Signed-off-by: Anson Huang > > --- > > Changes since V1: > >

Re: [PATCH] s390/sclp_vt220: Fix console name to match device

2020-05-20 Thread Valentin Vidić
On Wed, May 20, 2020 at 09:14:23AM +0200, Christian Borntraeger wrote: > My point was more that a similar issue should happen when installing in LPAR. > LPAR > uses the line mode style console which is ttyS0 for the console but > sclp_line0 for the > tty. How does the debian installer handle this

Re: [PATCH 2/3] objtool: Move struct objtool_file into arch-independent header

2020-05-20 Thread Julien Thierry
On 5/19/20 9:55 PM, Matt Helsley wrote: The objtool_file structure describes the files objtool works on, is used by the check subcommand, and the check.h header is included by the orc subcommands so it's presently used by all subcommands. Since the structure will be useful in all subcommands

[PATCH] MAINTAINERS: add files related to kdump

2020-05-20 Thread Baoquan He
Kdump is implemented based on kexec, however some files are only related to crash dumping and missing, add them to KDUMP entry. Signed-off-by: Baoquan He --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 83cf5c43242a..2f9eefd33114 100644 ---

RE: [PATCH] ARM: dts: imx: Make tempmon node as child of anatop node

2020-05-20 Thread Aisheng Dong
> From: Anson Huang > Sent: Wednesday, May 20, 2020 3:47 PM > > > Subject: RE: [PATCH] ARM: dts: imx: Make tempmon node as child of > > anatop node > > > > > From: Anson Huang > > > Sent: Wednesday, May 20, 2020 2:30 PM > > > > > > i.MX6/7 SoCs' temperature sensor is inside anatop module from HW

Re: [patch V6 10/37] x86/entry: Switch XEN/PV hypercall entry to IDTENTRY

2020-05-20 Thread Jürgen Groß
On 19.05.20 21:44, Andy Lutomirski wrote: On Tue, May 19, 2020 at 11:58 AM Thomas Gleixner wrote: Andy Lutomirski writes: On Fri, May 15, 2020 at 5:10 PM Thomas Gleixner wrote: @@ -573,6 +578,16 @@ static __always_inline void __idtentry_exit(struct pt_regs *regs)

[PATCH] crypto: sun8i-ss - fix runtime pm imbalance on error

2020-05-20 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even it returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c | 1 + 1 file changed, 1 ins

[PATCH v8 0/9] SCMI Notifications Core Support

2020-05-20 Thread Cristian Marussi
Hi all, this series wants to introduce SCMI Notification Support, built on top of the standard Kernel notification chain subsystem. At initialization time each SCMI Protocol takes care to register with the new SCMI notification core the set of its own events which it intends to support. Using th

RE: [PATCH] ARM: dts: imx: Make tempmon node as child of anatop node

2020-05-20 Thread Anson Huang
> Subject: RE: [PATCH] ARM: dts: imx: Make tempmon node as child of anatop > node > > > From: Anson Huang > > Sent: Wednesday, May 20, 2020 3:47 PM > > > > > Subject: RE: [PATCH] ARM: dts: imx: Make tempmon node as child of > > > anatop node > > > > > > > From: Anson Huang > > > > Sent: Wednes

[PATCH v8 3/9] firmware: arm_scmi: Add notification dispatch and delivery

2020-05-20 Thread Cristian Marussi
Add core SCMI Notifications dispatch and delivery support logic which is able, at first, to dispatch well-known received events from the RX ISR to the dedicated deferred worker, and then, from there, to final deliver the events to the registered users' callbacks. Dispatch and delivery is just adde

[PATCH v8 6/9] firmware: arm_scmi: Add Perf notifications support

2020-05-20 Thread Cristian Marussi
Make SCMI Perf protocol register with the notification core. Reviewed-by: Jonathan Cameron Signed-off-by: Cristian Marussi --- V6 --> V7 - fixed report.timestamp type - fixed max_payld_sz initialization - expose SCMI_EVENT_ in linux/scmi_protocol.h V5 --> V6 - added handle argument to fill_custo

[PATCH v8 1/9] firmware: arm_scmi: Add notification protocol-registration

2020-05-20 Thread Cristian Marussi
Add core SCMI Notifications protocol-registration support: allow protocols to register their own set of supported events, during their initialization phase. Notification core can track multiple platform instances by their handles. Reviewed-by: Jonathan Cameron Signed-off-by: Cristian Marussi ---

[PATCH v8 5/9] firmware: arm_scmi: Add Power notifications support

2020-05-20 Thread Cristian Marussi
Make SCMI Power protocol register with the notification core. Reviewed-by: Jonathan Cameron Signed-off-by: Cristian Marussi --- V6 --> V7 - fixed report.timestamp type - removed POWER_STATE_CHANGE_REQUESTED motification handling (deprecated) - fixed max_payld_sz initialization - expose SCMI_EVEN

[PATCH v8 4/9] firmware: arm_scmi: Enable notification core

2020-05-20 Thread Cristian Marussi
Initialize and enable SCMI Notifications core support during bus/driver probe phase, so that protocols can start registering their supported events during their initialization. Reviewed-by: Jonathan Cameron Signed-off-by: Cristian Marussi --- V3 --> V4 - simplified core initialization: protocols

[PATCH v8 8/9] firmware: arm_scmi: Add Reset notifications support

2020-05-20 Thread Cristian Marussi
Make SCMI Reset protocol register with the notification core. Reviewed-by: Jonathan Cameron Signed-off-by: Cristian Marussi --- V6 --> V7 - fixed report.timestamp type - added agent_id notification field - fixed .max_payld_sz initialization - expose SCMI_EVENT_ in linux/scmi_protocol.h V5 --> V6

[PATCH v8 7/9] firmware: arm_scmi: Add Sensor notifications support

2020-05-20 Thread Cristian Marussi
Make SCMI Sensor protocol register with the notification core. Reviewed-by: Jonathan Cameron Signed-off-by: Cristian Marussi --- V6 --> V7 - fixed report.timestamp type - removed trip_point_notify from .sensor_ops - fixed max_payld_sz initialization - expose SCMI_EVENT_ in linux/scmi_protocol.h

[PATCH v8 9/9] firmware: arm_scmi: Add Base notifications support

2020-05-20 Thread Cristian Marussi
Make SCMI Base protocol register with the notification core. Reviewed-by: Jonathan Cameron Signed-off-by: Cristian Marussi --- V6 --> V7 - fixed report.timestamp type - fix max_payld_sz initialization - fix report layout and initialization - expose SCMI_EVENT_ in linux/scmi_protocol.h V5 --> V6

[PATCH v8 2/9] firmware: arm_scmi: Add notification callbacks-registration

2020-05-20 Thread Cristian Marussi
Add core SCMI Notifications callbacks-registration support: allow users to register their own callbacks against the desired events. Whenever a registration request is issued against a still non existent event, mark such request as pending for later processing, in order to account for possible late

[PATCH] crypto: sun8i-ss - fix runtime pm imbalance on error

2020-05-20 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even it returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c | 4 +++- 1 file changed, 3 in

Re: [PATCH] crypto: engine - do not requeue in case of fatal error

2020-05-20 Thread Horia Geantă
On 5/20/2020 1:17 AM, Iuliana Prodan wrote: > Now, in crypto-engine, if hardware queue is full (-ENOSPC), > requeue request regardless of MAY_BACKLOG flag. > If hardware throws any other error code (like -EIO, -EINVAL, > -ENOMEM, etc.) only MAY_BACKLOG requests are enqueued back into > crypto-engin

Dear Friend

2020-05-20 Thread Mr Saeed Ahmed
Dear Friend, I want you to be honest and truthful with me that you will help me with all your effort and time for just seven to fourteen workings of your time Please kindly reply to my most confidential email if you are really interested in helping me please: saeedasutanah...@gmail.com

Re: [PATCH v2 1/2] hwrng: iproc-rng200 - Set the quality value

2020-05-20 Thread Kamil Konieczny
Hi, On 19.05.2020 23:25, Łukasz Stelmach wrote: > The value was estimaded with ea_iid[1] using on 10485760 bytes read from > the RNG via /dev/hwrng. The min-entropy value calculated using the most > common value estimate (NIST SP 800-90P[2], section 6.3.1) was 7.964464. > > [1] > https://protect

Re: [PATCH v4 2/4] kasan: record and print the free track

2020-05-20 Thread Dmitry Vyukov
On Wed, May 20, 2020 at 8:18 AM Walter Wu wrote: > > On Wed, 2020-05-20 at 13:14 +0800, Walter Wu wrote: > > > On Wed, May 20, 2020 at 6:03 AM Walter Wu > > > wrote: > > > > > > > > > On Tue, May 19, 2020 at 4:25 AM Walter Wu > > > > > wrote: > > > > > > > > > > > > Move free track from slub a

  1   2   3   4   5   6   7   8   9   10   >