Re: [PATCH] ARM: dts: sun4i-a10: fix cpu_alert temperature

2020-10-05 Thread Maxime Ripard
On Sat, Oct 03, 2020 at 12:03:32PM +0200, Clément Péron wrote: > When running dtbs_check thermal_zone warn about the > temperature declared. > > thermal-zones: cpu-thermal:trips:cpu-alert0:temperature:0:0: 85 is > greater than the maximum of 20 > > It's indeed wrong the real value is 85°

Re: [PATCH v39 11/24] x86/sgx: Add SGX enclave driver

2020-10-05 Thread Greg KH
On Sun, Oct 04, 2020 at 05:32:46PM +0300, Jarkko Sakkinen wrote: > On Sat, Oct 03, 2020 at 04:39:25PM +0200, Greg KH wrote: > > On Sat, Oct 03, 2020 at 07:50:46AM +0300, Jarkko Sakkinen wrote: > > > Intel Software Guard eXtensions (SGX) is a set of CPU instructions that > > > can > > > be used by

[PATCH] MIPS: alchemy: Fix build breakage, if TOUCHSCREEN_WM97XX is disabled

2020-10-05 Thread Thomas Bogendoerfer
Only include wm97xx touchscreen probing code, if driver is enabled. Reported-by: kernel test robot Signed-off-by: Thomas Bogendoerfer --- arch/mips/alchemy/devboards/db1300.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/mips/alchemy/devboards/db1300.c b/arch/mips/alchemy/dev

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-10-05 Thread Greg Kroah-Hartman
On Mon, Oct 05, 2020 at 11:30:16AM +0200, Thierry Reding wrote: > On Thu, Oct 01, 2020 at 01:24:49PM +0200, Greg Kroah-Hartman wrote: > > On Thu, Oct 01, 2020 at 11:05:31AM +0200, Lars Poeschel wrote: > > > On Wed, Sep 30, 2020 at 11:41:46AM +0200, Uwe Kleine-König wrote: > > > > Hello, > > > > >

Re: scripts/gdb: issues when loading modules after lx-symbols

2020-10-05 Thread Jan Kiszka
On 05.10.20 11:29, Stefano Garzarella wrote: > On Mon, Oct 05, 2020 at 10:33:30AM +0200, Jan Kiszka wrote: >> On 05.10.20 10:14, Stefano Garzarella wrote: >>> On Sun, Oct 04, 2020 at 08:52:37PM +0200, Jan Kiszka wrote: On 01.10.20 16:31, Stefano Garzarella wrote: > Hi, > I had some iss

Re: ext4 regression in v5.9-rc2 from e7bfb5c9bb3d on ro fs with overlapped bitmaps

2020-10-05 Thread Jan Kara
Hi Josh! On Mon 05-10-20 01:14:54, Josh Triplett wrote: > Ran into an ext4 regression when testing upgrades to 5.9-rc kernels: > > Commit e7bfb5c9bb3d ("ext4: handle add_system_zone() failure in > ext4_setup_system_zone()") breaks mounting of read-only ext4 filesystems > with intentionally overla

Re: [PATCH] mm: optionally disable brk()

2020-10-05 Thread Topi Miettinen
On 5.10.2020 12.13, David Hildenbrand wrote: On 05.10.20 08:12, Michal Hocko wrote: On Sat 03-10-20 00:44:09, Topi Miettinen wrote: On 2.10.2020 20.52, David Hildenbrand wrote: On 02.10.20 19:19, Topi Miettinen wrote: The brk() system call allows to change data segment size (heap). This is ma

Re: [PATCH v4 2/3] iommu/tegra-smmu: Rework tegra_smmu_probe_device()

2020-10-05 Thread Thierry Reding
On Fri, Oct 02, 2020 at 12:53:28PM -0700, Nicolin Chen wrote: > On Fri, Oct 02, 2020 at 05:58:29PM +0300, Dmitry Osipenko wrote: > > 02.10.2020 17:22, Dmitry Osipenko пишет: > > > 02.10.2020 09:08, Nicolin Chen пишет: > > >> -static void tegra_smmu_release_device(struct device *dev) > > >> -{ > > >

[PATCH] MIPS: alchemy: Share prom_init implementation

2020-10-05 Thread Thomas Bogendoerfer
All boards have the same prom_init() function. Move it to common code and delete the duplicates. Signed-off-by: Thomas Bogendoerfer --- arch/mips/alchemy/board-gpr.c | 17 - arch/mips/alchemy/board-mtx1.c | 17 - arch/mips/alchemy/board-xxs1500.c

Re: [PATCH] net: phy: marvell: Use phy_read_paged() instead of open coding it

2020-10-05 Thread Marek Behún
Reviewed-by: Marek Behún

RE: [PATCH 1/2] scsi: ufs: Add DeepSleep feature

2020-10-05 Thread Avri Altman
> > > On 5/10/20 11:02 am, Avri Altman wrote: > > HI, > > > >> Drivers that wish to support DeepSleep need to set a new capability flag > >> UFSHCD_CAP_DEEPSLEEP and provide a hardware reset via the existing > >> ->device_reset() callback. > > I would expect that this capability controls sending

Re: [PATCH v4 2/3] iommu/tegra-smmu: Rework tegra_smmu_probe_device()

2020-10-05 Thread Thierry Reding
On Fri, Oct 02, 2020 at 05:22:41PM +0300, Dmitry Osipenko wrote: > 02.10.2020 09:08, Nicolin Chen пишет: > > static int tegra_smmu_of_xlate(struct device *dev, > >struct of_phandle_args *args) > > { > > + struct platform_device *iommu_pdev = of_find_device_by_node(ar

Re: [PATCH v4 2/3] iommu/tegra-smmu: Rework tegra_smmu_probe_device()

2020-10-05 Thread Thierry Reding
On Fri, Oct 02, 2020 at 05:50:08PM +0300, Dmitry Osipenko wrote: > 02.10.2020 17:22, Dmitry Osipenko пишет: > >> static int tegra_smmu_of_xlate(struct device *dev, > >> struct of_phandle_args *args) > >> { > >> + struct platform_device *iommu_pdev = of_find_device_by_no

Re: [PATCH 01/25] ASoC: sun8i-codec: Set up clock tree at probe time

2020-10-05 Thread Maxime Ripard
On Wed, Sep 30, 2020 at 09:11:24PM -0500, Samuel Holland wrote: > The sun8i codec is effectively an on-die variant of the X-Powers AC100 > codec. The AC100 can derive its clocks from either of two I2S master > clocks or an internal PLL. For the on-die variant, Allwinner replaced > the codec's own P

Re: [PATCH 02/25] ASoC: sun8i-codec: Swap module clock/reset dependencies

2020-10-05 Thread Maxime Ripard
On Wed, Sep 30, 2020 at 09:11:25PM -0500, Samuel Holland wrote: > This matches the module power-up/down sequence from the vendor's driver. > > While updating these widgets/routes, reorder them to match the register > and bit layout of the hardware. This puts them in the same place in the > widget

Re: [PATCH 03/25] ASoC: sun8i-codec: Sort DAPM controls, widgets, and routes

2020-10-05 Thread Maxime Ripard
On Wed, Sep 30, 2020 at 09:11:26PM -0500, Samuel Holland wrote: > Sort the remaining pieces of the DAPM driver so that they are all in the > same order among controls/widgets/routes, and so they roughly match the > register word and bit order of the hardware. This nicely separates the > AIF-related

Re: [PATCH] mm: optionally disable brk()

2020-10-05 Thread David Hildenbrand
On 05.10.20 11:47, Topi Miettinen wrote: > On 5.10.2020 12.13, David Hildenbrand wrote: >> On 05.10.20 08:12, Michal Hocko wrote: >>> On Sat 03-10-20 00:44:09, Topi Miettinen wrote: On 2.10.2020 20.52, David Hildenbrand wrote: > On 02.10.20 19:19, Topi Miettinen wrote: >> The brk() sys

Re: [PATCH 05/25] ASoC: sun8i-codec: Correct DAPM widget types

2020-10-05 Thread Maxime Ripard
On Wed, Sep 30, 2020 at 09:11:28PM -0500, Samuel Holland wrote: > Whie the aif_in and aif_out widget types are handled exactly the same in > the core DAPM code, a future widget event hook will need the correct > widget type to derive the associated substream. Clean up the widget type > for that rea

Re: [PATCH 04/25] ASoC: sun8i-codec: Consistently name DAPM widgets and routes

2020-10-05 Thread Maxime Ripard
On Wed, Sep 30, 2020 at 09:11:27PM -0500, Samuel Holland wrote: > This cleans up the mixer widget names. The AIF1 AD0 Mixer names were > previously wrong -- they do not control the digital side of the ADC. The > DAC mixer widgets were not wrong, but they were verbose and did not > match the naming

Re: [PATCH v4 2/3] iommu/tegra-smmu: Rework tegra_smmu_probe_device()

2020-10-05 Thread Thierry Reding
On Fri, Oct 02, 2020 at 11:58:29AM -0700, Nicolin Chen wrote: > On Fri, Oct 02, 2020 at 06:02:18PM +0300, Dmitry Osipenko wrote: > > 02.10.2020 09:08, Nicolin Chen пишет: > > > static int tegra_smmu_of_xlate(struct device *dev, > > > struct of_phandle_args *args) > > > {

Re: [PATCH 07/25] ASoC: sun8i-codec: Enable AIF mono/stereo control

2020-10-05 Thread Maxime Ripard
On Wed, Sep 30, 2020 at 09:11:30PM -0500, Samuel Holland wrote: > Each left/right pair of AIF input/output channels can be swapped or > combined. This is useful for sending a mono audio source to both sides > of a stereo sink, or for creating complex mixing scenarios. > > Add the support to contro

Re: [PATCH 06/25] ASoC: sun8i-codec: Fix AIF widget channel references

2020-10-05 Thread Maxime Ripard
On Wed, Sep 30, 2020 at 09:11:29PM -0500, Samuel Holland wrote: > Both the left and right side widgets referenced channel 0. This would > unnecessarily power on the right side widget (and its associated path) > when a mono stream was active. > > Signed-off-by: Samuel Holland Acked-by: Maxime Rip

[PATCH] lockdep: Revert "lockdep: Use raw_cpu_*() for per-cpu variables"

2020-10-05 Thread Peter Zijlstra
On Mon, Oct 05, 2020 at 09:52:06AM +0200, Peter Zijlstra wrote: > On Fri, Oct 02, 2020 at 08:13:13PM +0200, Peter Zijlstra wrote: > > > checks within the irq disabling to get rid of the using cpu pointers > > > within > > > preemptable code warnings > > > > Ah, I think I lost a s/__this_cpu_read/

Re: [PATCH 08/25] ASoC: sun8i-codec: Use snd_soc_dai_get_drvdata

2020-10-05 Thread Maxime Ripard
On Wed, Sep 30, 2020 at 09:11:31PM -0500, Samuel Holland wrote: > Remove a level of indirection by getting the device directly from the > passed-in struct snd_soc_dai, instead of going through its component. > > Signed-off-by: Samuel Holland Acked-by: Maxime Ripard Maxime signature.asc Descr

Re: [PATCH v4 3/3] iommu/tegra-smmu: Add PCI support

2020-10-05 Thread Thierry Reding
On Thu, Oct 01, 2020 at 11:08:07PM -0700, Nicolin Chen wrote: > This patch simply adds support for PCI devices. > > Signed-off-by: Nicolin Chen > --- > > Changelog > v3->v4 > * Dropped !iommu_present() check > * Added CONFIG_PCI check in the exit path > v2->v3 > * Replaced ternary conditional

Re: Issue of metrics for multiple uncore PMUs (was Re: [RFC PATCH v2 23/23] perf metricgroup: remove duped metric group events)

2020-10-05 Thread John Garry
On 02/10/2020 21:46, Ian Rogers wrote: On Fri, Oct 2, 2020 at 5:00 AM John Garry wrote: On 07/05/2020 15:08, Ian Rogers wrote: Hi Ian, I was wondering if you ever tested commit 2440689d62e9 ("perf metricgroup: Remove duped metric group events") for when we have a metric which aliases multipl

Re: [PATCH 1/2] usb: serial: qmi_wwan: add Cellient MPL200 card

2020-10-05 Thread Bjørn Mork
Wilken Gottwalt writes: > Oh sorry, looks like I got it mixed up a bit. It was my first attempt to > submit > a patch set. Which is the best way to resubmit an update if the other part of > the patch set gets accepted? The documentation about re-/submitting patch sets > is a bit thin. I see tha

Re: [PATCH 3/3] KVM: x86: bump KVM_MAX_CPUID_ENTRIES

2020-10-05 Thread Maxim Levitsky
On Thu, 2020-10-01 at 15:05 +0200, Vitaly Kuznetsov wrote: > As vcpu->arch.cpuid_entries is now allocated dynamically, the only > remaining use for KVM_MAX_CPUID_ENTRIES is to check KVM_SET_CPUID/ > KVM_SET_CPUID2 input for sanity. Since it was reported that the > current limit (80) is insufficient

Re: [PATCH 1/3] KVM: x86: disconnect kvm_check_cpuid() from vcpu->arch.cpuid_entries

2020-10-05 Thread Maxim Levitsky
On Thu, 2020-10-01 at 15:05 +0200, Vitaly Kuznetsov wrote: > As a preparatory step to allocating vcpu->arch.cpuid_entries dynamically > make kvm_check_cpuid() check work with an arbitrary 'struct kvm_cpuid_entry2' > array. > > Currently, when kvm_check_cpuid() fails we reset vcpu->arch.cpuid_nent

Re: [PATCH 2/3] KVM: x86: allocate vcpu->arch.cpuid_entries dynamically

2020-10-05 Thread Maxim Levitsky
On Thu, 2020-10-01 at 15:05 +0200, Vitaly Kuznetsov wrote: > The current limit for guest CPUID leaves (KVM_MAX_CPUID_ENTRIES, 80) > is reported to be insufficient but before we bump it let's switch to > allocating vcpu->arch.cpuid_entries[] array dynamically. Currently, > 'struct kvm_cpuid_entry2'

Re: [PATCH 5/5] perf: arm_spe: Decode SVE events

2020-10-05 Thread Dave Martin
On Wed, Sep 30, 2020 at 07:04:53PM +0800, Leo Yan wrote: [...] > > > > > >> diff --git a/tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c > > > > > >> b/tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c > > > > > >> index a033f34846a6..f0c369259554 100644 > > > > > >> --- a/tools/perf/u

Re: [PATCH net-next 0/8] net: ethernet: ti: am65-cpsw: add multi port support in mac-only mode

2020-10-05 Thread Grygorii Strashko
On 03/10/2020 02:07, Jakub Kicinski wrote: On Fri, 2 Oct 2020 16:04:21 -0700 Jakub Kicinski wrote: On Fri, 2 Oct 2020 12:56:43 +0300 Grygorii Strashko wrote: On 02/10/2020 02:08, Jakub Kicinski wrote: On Thu, 1 Oct 2020 13:52:50 +0300 Grygorii Strashko wrote: This series adds multi-port su

Re: ext4 regression in v5.9-rc2 from e7bfb5c9bb3d on ro fs with overlapped bitmaps

2020-10-05 Thread Josh Triplett
On Mon, Oct 05, 2020 at 11:46:01AM +0200, Jan Kara wrote: > On Mon 05-10-20 01:14:54, Josh Triplett wrote: > > Ran into an ext4 regression when testing upgrades to 5.9-rc kernels: > > > > Commit e7bfb5c9bb3d ("ext4: handle add_system_zone() failure in > > ext4_setup_system_zone()") breaks mounting

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-10-05 Thread Thierry Reding
On Mon, Oct 05, 2020 at 11:45:30AM +0200, Greg Kroah-Hartman wrote: > On Mon, Oct 05, 2020 at 11:30:16AM +0200, Thierry Reding wrote: > > On Thu, Oct 01, 2020 at 01:24:49PM +0200, Greg Kroah-Hartman wrote: > > > On Thu, Oct 01, 2020 at 11:05:31AM +0200, Lars Poeschel wrote: > > > > On Wed, Sep 30,

Re: [PATCH 3/3] f2fs: Add metadata encryption support

2020-10-05 Thread kernel test robot
, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Satya-Tangirala/add-support-for-metadata-encryption-to-F2FS/20201005-153825 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds

[PATCH v1 1/1] firmware: tee_bnxt: reduce shared mem size to 4K

2020-10-05 Thread Rayagonda Kokatanur
Reduce the DMA shared memory for OP-TEE and Linux to 4K. Signed-off-by: Rayagonda Kokatanur --- drivers/firmware/broadcom/tee_bnxt_fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/broadcom/tee_bnxt_fw.c b/drivers/firmware/broadcom/tee_bnxt_fw.c index ed1

[PATCH v1] kbuild: enforce -Werror=return-type

2020-10-05 Thread Olaf Hering
Catch errors which at least gcc tolerates by default: warning: 'return' with no value, in function returning non-void [-Wreturn-type] Signed-off-by: Olaf Hering --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index f84d7e4ca0be..7b2e63e7be18 100644 --- a/

Re: [PATCH v3 2/3] iommu/tegra-smmu: Rework .probe_device and .attach_dev

2020-10-05 Thread Thierry Reding
On Mon, Oct 05, 2020 at 12:38:20PM +0300, Dmitry Osipenko wrote: > 05.10.2020 12:16, Thierry Reding пишет: > ... > >> I think you meant regmap in regards to protecting IO accesses, but this > >> is not what regmap is about if IO accesses are atomic by nature. > > > > Then why is there regmap-mmio?

Re: [PATCH v2 06/12] soc: mediatek: pm-domains: Add SMI block as bus protection block

2020-10-05 Thread Matthias Brugger
On 05/10/2020 03:48, Nicolas Boichat wrote: On Fri, Oct 2, 2020 at 4:56 PM Matthias Brugger wrote: On 01/10/2020 18:01, Enric Balletbo i Serra wrote: From: Matthias Brugger Apart from the infracfg block, the SMI block is used to enable the bus protection for some power domains. Add sup

Re: [PATCH net-next 7/8] net: ethernet: ti: am65-cpsw: prepare xmit/rx path for multi-port devices in mac-only mode

2020-10-05 Thread Grygorii Strashko
On 03/10/2020 05:09, David Miller wrote: From: Grygorii Strashko Date: Thu, 1 Oct 2020 13:52:57 +0300 This patch adds multi-port support to TI AM65x CPSW driver xmit/rx path in preparation for adding support for multi-port devices, like Main CPSW0 on K3 J721E SoC or future CPSW3g on K3 AM64

Re: [PATCH v3 14/14] iommu/amd: Adopt IO page table framework

2020-10-05 Thread Jonathan Cameron
On Sun, 4 Oct 2020 01:45:49 + Suravee Suthikulpanit wrote: > Switch to using IO page table framework for AMD IOMMU v1 page table. > > Signed-off-by: Suravee Suthikulpanit One minor thing inline. > --- > drivers/iommu/amd/iommu.c | 26 ++ > 1 file changed, 26 inse

Re: [PATCH v4 2/3] iommu/tegra-smmu: Rework tegra_smmu_probe_device()

2020-10-05 Thread Dmitry Osipenko
05.10.2020 12:53, Thierry Reding пишет: > On Fri, Oct 02, 2020 at 05:50:08PM +0300, Dmitry Osipenko wrote: >> 02.10.2020 17:22, Dmitry Osipenko пишет: static int tegra_smmu_of_xlate(struct device *dev, struct of_phandle_args *args) { + struct platfor

Re: [PATCH] dt-bindings: Another round of adding missing 'additionalProperties'

2020-10-05 Thread Thierry Reding
On Fri, Oct 02, 2020 at 06:41:43PM -0500, Rob Herring wrote: [...] > .../arm/tegra/nvidia,tegra20-pmc.yaml | 2 ++ [...] > .../bindings/sound/nvidia,tegra186-dspk.yaml | 2 ++ > .../sound/nvidia,tegra210-admaif.yaml | 2 ++ > .../bindings/sound/nvidia,tegra210-dmic.yaml | 2 +

Re: [GIT PULL v2] extcon next for v5.10

2020-10-05 Thread Greg KH
On Mon, Oct 05, 2020 at 12:44:36PM +0900, Chanwoo Choi wrote: > Dear Greg, > > This is extcon-next pull request for v5.10. I add detailed description of > this pull request on below. Please pull extcon with following updates. > > Changes from v1: > - Fix the wrong commit id of patch. > > Best Re

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-10-05 Thread Greg Kroah-Hartman
On Mon, Oct 05, 2020 at 12:17:21PM +0200, Thierry Reding wrote: > On Mon, Oct 05, 2020 at 11:45:30AM +0200, Greg Kroah-Hartman wrote: > > On Mon, Oct 05, 2020 at 11:30:16AM +0200, Thierry Reding wrote: > > > On Thu, Oct 01, 2020 at 01:24:49PM +0200, Greg Kroah-Hartman wrote: > > > > On Thu, Oct 01,

Re: [RFC 0/3] iommu: Reserved regions for IOVAs beyond dma_mask and iommu aperture

2020-10-05 Thread Lorenzo Pieralisi
[+Christoph] On Tue, Sep 29, 2020 at 12:18:49PM -0600, Alex Williamson wrote: > On Tue, 29 Sep 2020 09:18:22 +0200 > Auger Eric wrote: > > > Hi all, > > > > [also correcting some outdated email addresses + adding Lorenzo in cc] > > > > On 9/29/20 12:42 AM, Alex Williamson wrote: > > > On Mon,

Re: [PATCH v8 5/7] ASoC: qcom: Add support for lpass hdmi driver

2020-10-05 Thread Mark Brown
On Sat, Oct 03, 2020 at 05:06:06PM +0530, Srinivasa Rao Mandadapu wrote: > On 9/30/2020 8:57 PM, Srinivas Kandagatla wrote: > > I did ask this question in multiple reviews, but never got an answer! > > Are all the dp/hdmi port register range really volatile!? > Sorry for incomplete response in la

[PATCH 1/5] context_tracking: Introduce HAVE_CONTEXT_TRACKING_OFFSTACK

2020-10-05 Thread Frederic Weisbecker
Historically, context tracking had to deal with fragile entry code path, ie: before user_exit() is called and after user_enter() is called, in case some of those spots would call schedule() or use RCU. On such cases, the site had to be protected between exception_enter() and exception_exit() that s

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-10-05 Thread Lars Poeschel
On Mon, Oct 05, 2020 at 11:30:16AM +0200, Thierry Reding wrote: > On Thu, Oct 01, 2020 at 01:24:49PM +0200, Greg Kroah-Hartman wrote: > > On Thu, Oct 01, 2020 at 11:05:31AM +0200, Lars Poeschel wrote: > > > On Wed, Sep 30, 2020 at 11:41:46AM +0200, Uwe Kleine-König wrote: > > > > Hello, > > > > >

[PATCH 5/5] x86: Support HAVE_CONTEXT_TRACKING_OFFSTACK

2020-10-05 Thread Frederic Weisbecker
A lot of ground work has been performed on x86 entry code. Fragile path between user_enter() and user_exit() have IRQs disabled. Uses of RCU and intrumentation in these fragile areas have been explicitly annotated and protected. This architecture doesn't need exception_enter()/exception_exit() any

[PATCH 4/5] context_tracking: Only define schedule_user() on !HAVE_CONTEXT_TRACKING_OFFSTACK archs

2020-10-05 Thread Frederic Weisbecker
schedule_user() was traditionally used by the entry code's tail to preempt userspace after the call to user_enter(). Indeed the call to user_enter() used to be performed upon syscall exit slow path which was right before the last opportunity to schedule() while resuming to userspace. The context tr

[PATCH 0/5] context_tracking: Flatter archs not using exception_enter/exit()

2020-10-05 Thread Frederic Weisbecker
In order to be able to turn on/off nohz_full at runtime, we'll need the archs to give up saving the context tracking state on the task stack because this forces context tracking to run system wide, even on CPUs that don't have nohz_full enabled. Now being able to do so require sane entry code meet

[PATCH 2/5] context_tracking: Don't implement exception_enter/exit() on CONFIG_HAVE_CONTEXT_TRACKING_OFFSTACK

2020-10-05 Thread Frederic Weisbecker
An architecture that provides this Kconfig feature doesn't need to store the context tracking state on the task stack because its entry code has been sanitized such that fragile path aren't preemptible and special use of tracing and RCU read side critical sections in these areas have been explicitl

[PATCH 3/5] sched: Detect call to schedule from critical entry code

2020-10-05 Thread Frederic Weisbecker
Detect calls to schedule() between user_enter() and user_exit(). Those are symptoms of early entry code that either forgot to protect a call to schedule() inside exception_enter()/exception_exit() or, in the case of HAVE_CONTEXT_TRACKING_OFFSTACK, enabled interrupts or preemption in a wrong spot.

Re: [PATCH][next] media: zoran: fix spelling mistake and make error message more meaningful

2020-10-05 Thread LABBE Corentin
On Fri, Oct 02, 2020 at 11:16:20AM +0100, Colin King wrote: > From: Colin Ian King > > There is a spelling mistake in a pci_err error message. Fix this and > make the error message a little more meaningful. > > Signed-off-by: Colin Ian King > --- > drivers/staging/media/zoran/zoran_driver.c |

Re: [PATCH 00/14] get rid of the remaining kernel-doc warnings when building the docs

2020-10-05 Thread Mauro Carvalho Chehab
Em Thu, 10 Sep 2020 19:12:08 +0100 Matthew Wilcox escreveu: > On Thu, Sep 10, 2020 at 12:23:53PM +0200, Mauro Carvalho Chehab wrote: > > As described on its subject, this series finally get rid of all kernel-doc > > warnings. > > > > With this series applied (plus my last series fixing other wa

[PATCH -next] mmc: sdhci-pci-gli: Add CQHCI Support for GL9763E

2020-10-05 Thread Ben Chuang
From: Ben Chuang Add CQHCI initialization and implement CQHCI operations for GL9763E. Use bit19 of the register (0x888) to decide whether to disable command queuing. If the bit is set, the command queuing will be disabled. Signed-off-by: Ben Chuang --- drivers/mmc/host/sdhci-pci-gli.c | 150 ++

[PATCH v21 00/18] Introduce Data Access MONitor (DAMON)

2020-10-05 Thread SeongJae Park
From: SeongJae Park Changes from Previous Version (v20) === - s/snprintf()/scnprintf() (Marco Elver) - Support multiple contexts for user space users (Shakeel Butt) - Export pid of monitoring thread to user space (Shakeel Butt) - Let coexistable with Idle Pages Tr

[PATCH v21 01/18] mm: Introduce Data Access MONitor (DAMON)

2020-10-05 Thread SeongJae Park
From: SeongJae Park DAMON is a data access monitoring framework for the Linux kernel. The core mechanisms of DAMON make it - accurate (the monitoring output is useful enough for DRAM level performance-centric memory management; It might be inappropriate for CPU Cache levels, though), -

Re: [PATCH v5 2/3] iommu/tegra-smmu: Rework tegra_smmu_probe_device()

2020-10-05 Thread Thierry Reding
On Mon, Oct 05, 2020 at 11:41:08AM +0300, Dmitry Osipenko wrote: > 05.10.2020 00:57, Nicolin Chen пишет: > > On Sat, Oct 03, 2020 at 05:06:42PM +0300, Dmitry Osipenko wrote: > >> 03.10.2020 09:59, Nicolin Chen пишет: > >>> static int tegra_smmu_of_xlate(struct device *dev, > >>>

[PATCH v21 02/18] mm/damon: Implement region based sampling

2020-10-05 Thread SeongJae Park
From: SeongJae Park DAMON separates its monitoring target address space independent high level logics from the target space dependent low level primitives for flexible support of various address spaces. This commit implements DAMON's target address space independent high level logics for basic a

[PATCH v21 04/18] mm/damon: Track dynamic monitoring target regions update

2020-10-05 Thread SeongJae Park
From: SeongJae Park The monitoring target address range can be dynamically changed. For example, virtual memory could be dynamically mapped and unmapped. Physical memory could be hot-plugged. As the changes could be quite frequent in some cases, DAMON checks the dynamic memory mapping changes a

[PATCH v21 03/18] mm/damon: Adaptively adjust regions

2020-10-05 Thread SeongJae Park
From: SeongJae Park Even somehow the initial monitoring target regions are well constructed to fulfill the assumption (pages in same region have similar access frequencies), the data access pattern can be dynamically changed. This will result in low monitoring quality. To keep the assumption as

[PATCH v21 06/18] mm/damon: Implement primitives for the virtual memory address spaces

2020-10-05 Thread SeongJae Park
From: SeongJae Park This commit introduces a reference implementation of the address space specific low level primitives for the virtual address space, so that users of DAMON can easily monitor the data accesses on virtual address spaces of specific processes by simply configuring the implementat

[PATCH v21 05/18] mm/idle_page_tracking: Make PG_(idle|young) reusable

2020-10-05 Thread SeongJae Park
From: SeongJae Park PG_idle and PG_young allows the two PTE Accessed bit users, IDLE_PAGE_TRACKING and the reclaim logic concurrently work while don't interfere each other. That is, when they need to clear the Accessed bit, they set PG_young and PG_idle to represent the previous state of the bit

[PATCH v21 07/18] mm/page_idle: Avoid interferences from concurrent users

2020-10-05 Thread SeongJae Park
From: SeongJae Park Concurrent Idle Page Tracking users can interfere each other because the interface doesn't provide a central rule for synchronization between the users. Users could implement their own synchronization rule, but even in that case, applications developed by different users woul

[PATCH v21 09/18] mm/damon: Add a tracepoint

2020-10-05 Thread SeongJae Park
From: SeongJae Park This commit adds a tracepoint for DAMON. It traces the monitoring results of each region for each aggregation interval. Using this, DAMON can easily integrated with tracepoints supporting tools such as perf. Signed-off-by: SeongJae Park Reviewed-by: Leonard Foerster Revie

[PATCH v21 08/18] mm/damon/primitives: Make coexistable with Idle Page Tracking

2020-10-05 Thread SeongJae Park
From: SeongJae Park DAMON's reference 'primitives' internally use 'PG_Idle' flag. Because the flag is also used by Idle Page Tracking but there was no way to synchronize with it, the 'primitives' were configured to be exclusive with Idle Page Tracking before. However, as we can now synchronize

[PATCH v21 10/18] mm/damon: Implement a debugfs-based user space interface

2020-10-05 Thread SeongJae Park
From: SeongJae Park DAMON is designed to be used by kernel space code such as the memory management subsystems, and therefore it provides only kernel space API. That said, letting the user space control DAMON could provide some benefits to them. For example, it will allow user space to analyze t

WARNING in hif_usb_send/usb_submit_urb

2020-10-05 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:168ae5a7 Merge 5.9-rc8 into usb-next git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing console output: https://syzkaller.appspot.com/x/log.txt?x=1073b7ff90 kernel config: https://syzkaller.a

Re: [PATCH 00/14] get rid of the remaining kernel-doc warnings when building the docs

2020-10-05 Thread Mauro Carvalho Chehab
Em Mon, 5 Oct 2020 12:51:11 +0200 Mauro Carvalho Chehab escreveu: > Em Thu, 10 Sep 2020 19:12:08 +0100 > Matthew Wilcox escreveu: > > > On Thu, Sep 10, 2020 at 12:23:53PM +0200, Mauro Carvalho Chehab wrote: > > > As described on its subject, this series finally get rid of all > > > kernel-do

[PATCH v21 12/18] mm/damon/dbgfs: Export kdamond pid to the user space

2020-10-05 Thread SeongJae Park
From: SeongJae Park For CPU usage accounting, knowing pid of the monitoring thread could be helpful. For example, users could use cpuaccount cgroups with the pid. This commit therefore exports the pid of currently running monitoring thread to the user space via 'kdamond_pid' file in the debugfs

WARNING in handle_bug/usb_submit_urb

2020-10-05 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:168ae5a7 Merge 5.9-rc8 into usb-next git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing console output: https://syzkaller.appspot.com/x/log.txt?x=12bec87790 kernel config: https://syzkaller.a

[PATCH v21 11/18] mm/damon/dbgfs: Implement recording feature

2020-10-05 Thread SeongJae Park
From: SeongJae Park The user space users can control DAMON via and get the monitoring results using the 'damon_aggregated' tracepoint event. However, dealing with the tracepoint might be complex for some simple use cases. This commit therefore implements 'recording' feature in 'damon-dbgfs'. T

[PATCH v21 13/18] mm/damon/dbgfs: Support multiple contexts

2020-10-05 Thread SeongJae Park
From: SeongJae Park In some use cases, users would want to run multiple monitoring context. For example, if a user wants a high precision monitoring and dedicating multiple CPUs for the job is ok, because DAMON creates one monitoring thread per one context, the user can split the monitoring targe

[PATCH v21 15/18] Documentation: Add documents for DAMON

2020-10-05 Thread SeongJae Park
From: SeongJae Park This commit adds documents for DAMON under `Documentation/admin-guide/mm/damon/` and `Documentation/vm/damon/`. Signed-off-by: SeongJae Park --- Documentation/admin-guide/mm/damon/guide.rst | 157 ++ Documentation/admin-guide/mm/damon/index.rst | 15 + Documentatio

[PATCH v21 14/18] tools: Introduce a minimal user-space tool for DAMON

2020-10-05 Thread SeongJae Park
From: SeongJae Park 'damon-dbgfs' provides simple user space interface for DAMON, but using the interface for complex usages could require annoying repetitive works. Writing a user space data access monitoring applications on top of the debugfs interface and using the application would be better

Re: [PATCH 5/5] gpio: uapi: clarify the meaning of 'empty' char arrays

2020-10-05 Thread Andy Shevchenko
On Mon, Oct 5, 2020 at 10:07 AM Kent Gibson wrote: > > Clarify that a char array containing a string is considered 'empty' if > the first character is the null terminator. The remaining characters > are not relevant to this determination. > * @label: a functional name for this GPIO chip, such a

Re: [PATCH 2/2] usb: serial: option: add Cellient MPL200 card

2020-10-05 Thread Wilken Gottwalt
On Mon, 5 Oct 2020 10:20:45 +0200 Johan Hovold wrote: > On Sat, Oct 03, 2020 at 11:40:29AM +0200, Wilken Gottwalt wrote: > > Add usb ids of the Cellient MPL200 card. > > > > Signed-off-by: Wilken Gottwalt > > --- > > drivers/usb/serial/option.c | 3 +++ > > 1 file changed, 3 insertions(+) > >

[PATCH v21 18/18] MAINTAINERS: Update for DAMON

2020-10-05 Thread SeongJae Park
From: SeongJae Park This commit updates MAINTAINERS file for DAMON related files. Signed-off-by: SeongJae Park --- MAINTAINERS | 12 1 file changed, 12 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4e2698cc7e23..69bfeb648854 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH v21 16/18] mm/damon: Add kunit tests

2020-10-05 Thread SeongJae Park
From: SeongJae Park This commit adds kunit based unit tests for DAMON. Signed-off-by: SeongJae Park Reviewed-by: Brendan Higgins --- mm/damon/Kconfig | 33 mm/damon/core-test.h | 253 mm/damon/core.c| 6 + mm/damon/dbgfs-test.h

[PATCH v21 17/18] mm/damon: Add user space selftests

2020-10-05 Thread SeongJae Park
From: SeongJae Park This commit adds a simple user space tests for DAMON. The tests are using kselftest framework. Signed-off-by: SeongJae Park --- tools/testing/selftests/damon/Makefile| 7 + .../selftests/damon/_chk_dependency.sh| 28 +++ tools/testing/selftests/damon/_ch

Re: [PATCH] dt-bindings: Another round of adding missing 'additionalProperties'

2020-10-05 Thread Mark Brown
On Fri, Oct 02, 2020 at 06:41:43PM -0500, Rob Herring wrote: > Another round of wack-a-mole. The json-schema default is additional > unknown properties are allowed, but for DT all properties should be > defined. Acked-by: Mark Brown signature.asc Description: PGP signature

Re: [PATCH 0/5] gpio: uapi: documentation improvements

2020-10-05 Thread Andy Shevchenko
On Mon, Oct 5, 2020 at 10:04 AM Kent Gibson wrote: > > I'm intending to add some GPIO chardev documentation to > Documentation/admin-guide/gpio/chardev.rst (or perhaps > Documentation/userspace-api/??), but that is taking longer than I'd like, > so in the meantime here is a collection of minor doc

Re: [PATCH 0/5] gpio: uapi: documentation improvements

2020-10-05 Thread Andy Shevchenko
On Mon, Oct 5, 2020 at 2:02 PM Andy Shevchenko wrote: > On Mon, Oct 5, 2020 at 10:04 AM Kent Gibson wrote: > Patch 5 as well in case you agree with my comments and goind and going to address them. -- With Best Regards, Andy Shevchenko

Re: scripts/gdb: issues when loading modules after lx-symbols

2020-10-05 Thread Stefano Garzarella
On Mon, Oct 05, 2020 at 11:45:41AM +0200, Jan Kiszka wrote: > On 05.10.20 11:29, Stefano Garzarella wrote: > > On Mon, Oct 05, 2020 at 10:33:30AM +0200, Jan Kiszka wrote: > >> On 05.10.20 10:14, Stefano Garzarella wrote: > >>> On Sun, Oct 04, 2020 at 08:52:37PM +0200, Jan Kiszka wrote: > On 01

Re: [PATCH 2/2] usb: serial: option: add Cellient MPL200 card

2020-10-05 Thread Johan Hovold
On Mon, Oct 05, 2020 at 01:01:34PM +0200, Wilken Gottwalt wrote: > On Mon, 5 Oct 2020 10:20:45 +0200 > Johan Hovold wrote: > > > On Sat, Oct 03, 2020 at 11:40:29AM +0200, Wilken Gottwalt wrote: > > > Add usb ids of the Cellient MPL200 card. > > > > > > Signed-off-by: Wilken Gottwalt > > > ---

Re: [PATCH 1/2] scsi: ufs: Add DeepSleep feature

2020-10-05 Thread Adrian Hunter
On 5/10/20 12:51 pm, Avri Altman wrote: >> >> >> On 5/10/20 11:02 am, Avri Altman wrote: >>> HI, >>> Drivers that wish to support DeepSleep need to set a new capability flag UFSHCD_CAP_DEEPSLEEP and provide a hardware reset via the existing ->device_reset() callback. >>> I would exp

Re: [PATCH] usb: typec: tcpm: Fix if vbus before cc, hard_reset_count not reset issue

2020-10-05 Thread Greg KH
On Fri, Oct 02, 2020 at 07:26:24AM -0700, Guenter Roeck wrote: > On 10/2/20 6:31 AM, Greg KH wrote: > > On Tue, Sep 15, 2020 at 11:07:18AM +0800, ChiYuan Huang wrote: > >> Hi, Guenter: > >> > >> ChiYuan Huang 於 2020年9月6日 週日 下午11:22寫道: > >>> > >>> Guenter Roeck 於 2020年9月5日 週六 下午11:51寫道: > > >

Re: [PATCH] pwm: sysfs: Set class on pwm devices

2020-10-05 Thread Thierry Reding
On Mon, Oct 05, 2020 at 12:40:23PM +0200, Greg Kroah-Hartman wrote: > On Mon, Oct 05, 2020 at 12:17:21PM +0200, Thierry Reding wrote: > > On Mon, Oct 05, 2020 at 11:45:30AM +0200, Greg Kroah-Hartman wrote: > > > On Mon, Oct 05, 2020 at 11:30:16AM +0200, Thierry Reding wrote: > > > > On Thu, Oct 01,

Re: [PATCH v4] net: can: Introduce MEN 16Z192-00 CAN controller driver

2020-10-05 Thread kernel test robot
Hi Abhijeet, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on 549738f15da0e5a00275977623be199fbbf7df50] url: https://github.com/0day-ci/linux/commits/Abhijeet-Badurkar/net-can-Introduce-MEN-16Z192-00-CAN-controller-driver/20201005-170737 base

Re: [PATCH] iio: adc: exynos: do not rely on 'users' counter in ISR

2020-10-05 Thread Michał Mirosław
On Sun, Oct 04, 2020 at 10:24:20PM -0700, dmitry.torok...@gmail.com wrote: > The order in which 'users' counter is decremented vs calling drivers' > close() method is implementation specific, and we should not rely on > it. Let's introduce driver private flag and use it to signal ISR > to exit when

Re: [PATCH v3 7/7] usb: cdc-acm: add quirk to blacklist ETAS ES58X devices

2020-10-05 Thread Greg Kroah-Hartman
On Sat, Oct 03, 2020 at 12:41:51AM +0900, Vincent Mailhol wrote: > The ES58X devices has a CDC ACM interface (used for debug > purpose). During probing, the device is thus recognized as USB Modem > (CDC ACM), preventing the etas-es58x module to load: > usbcore: registered new interface driver eta

[PATCH 1/2] drm/adi: axi-hdmi-tx: Add support for AXI HDMI TX IP core

2020-10-05 Thread Bogdan Togorean
From: Lars-Peter Clausen The AXI HDMI HDL driver is the driver for the HDL graphics core which is used on various FPGA designs. It's mostly used to interface with the ADV7511 driver on some Zynq boards (e.g. ZC702 & ZedBoard). Link: https://wiki.analog.com/resources/tools-software/linux-drivers

[PATCH 2/2] drm: dt-bindings: adi: axi-hdmi-tx: Add DT bindings for axi-hdmi-tx

2020-10-05 Thread Bogdan Togorean
Add YAML device tree bindings for Analog Devices Inc. AXI HDMI TX IP core DRM driver. Signed-off-by: Bogdan Togorean --- .../bindings/gpu/adi,axi-hdmi-tx.yaml | 70 +++ 1 file changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpu/adi,axi-hdmi

[PATCH 0/3] soc/tegra: Prevent the PMC driver from corrupting interrupt routing

2020-10-05 Thread Marc Zyngier
Jon recently reported that one of the Tegra systems (Jetson TX2, aka tegra186) stopped booting with the introduction of the "IPI as IRQs" series. After a few weeks of head scratching and complete puzzlement, I obtained a board and started looking at what was happening. The interrupt hierarchy look

[PATCH 2/3] soc/tegra: pmc: Allow optional irq parent callbacks

2020-10-05 Thread Marc Zyngier
Make the PMC driver resistent to variable depth interrupt hierarchy, which we are about to introduce. The irq_chip structure is now allocated statically, providing the indirection for the couple of callbacks that are SoC-specific. Signed-off-by: Marc Zyngier --- drivers/soc/tegra/pmc.c | 65

[PATCH 1/3] gpio: tegra186: Allow optional irq parent callbacks

2020-10-05 Thread Marc Zyngier
Make the tegra186 GPIO driver resistent to variable depth interrupt hierarchy, which we are about to introduce. No functionnal change yet. Signed-off-by: Marc Zyngier --- drivers/gpio/gpio-tegra186.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/drivers/gp

RE: [PATCH 1/2] scsi: ufs: Add DeepSleep feature

2020-10-05 Thread Avri Altman
> > On 5/10/20 12:51 pm, Avri Altman wrote: > >> > >> > >> On 5/10/20 11:02 am, Avri Altman wrote: > >>> HI, > >>> > Drivers that wish to support DeepSleep need to set a new capability flag > UFSHCD_CAP_DEEPSLEEP and provide a hardware reset via the existing > ->device_reset() call

[PATCH 3/3] soc/tegra: pmc: Don't create fake interrupt hierarchy levels

2020-10-05 Thread Marc Zyngier
The Tegra PMC driver does ungodly things with the interrupt hierarchy, repeatedly corrupting it by pulling hwirq numbers out of thin air, overriding existing IRQ mappings and changing the handling flow of unsuspecting users. All of this is done in the name of preserving the interrupt hierarchy eve

<    1   2   3   4   5   6   7   8   9   10   >