Re: [PATCH net-next v2 1/3] net: phy: dp83640: use new PTP_MSGTYPE_SYNC define

2020-11-24 Thread Kurt Kanzenbach
On Tue Nov 24 2020, Christian Eggers wrote: > Replace use of magic number with recently introduced define. > > Signed-off-by: Christian Eggers > Cc: Kurt Kanzenbach Reviewed-by: Kurt Kanzenbach signature.asc Description: PGP signature

[PATCH v3 0/3] New documentation text describing how to report issues (aka "reporting-bugs rewritten")

2020-11-24 Thread Thorsten Leemhuis
This series adds a new and mostly finished document describing how to report issues with the Linux kernel to its developers. It is designed to be a lot more straight forward and yet more detailed than the current text about this (Documentation/admin-guide/reporting-bugs.rst). The new text still nee

[PATCH v3 3/3] docs: make reporting-bugs.rst obsolete

2020-11-24 Thread Thorsten Leemhuis
Make various places which point to Documentation/admin-guide/reporting-bugs.rst point to Documentation/admin-guide/reporting-issues.rst instead. That document is brand new and as of now is not completely finished. But even at this stage it's a lot more helpful and accurate than reporting-bugs.rst.

[PATCH v3 1/3] LICENSES: Add the CC-BY-4.0 license

2020-11-24 Thread Thorsten Leemhuis
Add the full text of the CC-BY-4.0 license to the kernel tree as well as the required tags for reference and tooling. The license text was copied directly from this url, but a 'Creative Commons' was added before 'Attribution 4.0 International' in the first line: https://creativecommons.org/licens

[PATCH v3 2/3] docs: Add a new text describing how to report bugs

2020-11-24 Thread Thorsten Leemhuis
Add a mostly finished document describing how to report issues with the Linux kernel to its developers. It is designed to be a lot more straight forward and easier to follow than the current text about this (Documentation/admin-guide/reporting-bugs.rst); at the same time the new text should be more

Re: [kbuild-all] Re: sound/soc/intel/catpt/loader.c:654 catpt_first_boot_firmware() warn: consider using resource_size() here

2020-11-24 Thread Rong Chen
On 11/23/20 7:41 PM, Rojewski, Cezary wrote: On 2020-11-23 11:53 AM, Andy Shevchenko wrote: On Sun, Nov 22, 2020 at 03:52:27AM +0800, kernel test robot wrote: tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 27bba9c532a8d21050b94224ffd310ad0058c353 c

Re: [PATCH v9 1/2] kunit: Support for Parameterized Testing

2020-11-24 Thread Marco Elver
On Tue, 24 Nov 2020 at 08:25, David Gow wrote: > > On Mon, Nov 23, 2020 at 9:08 PM Marco Elver wrote: > > > > On Tue, 17 Nov 2020 at 08:21, David Gow wrote: > > > On Mon, Nov 16, 2020 at 1:41 PM Arpitha Raghunandan <98.a...@gmail.com> > > > wrote: > > > > > > > > Implementation of support for p

Re: [kbuild-all] Re: drivers/net/wan/slic_ds26522.c:205:12: warning: stack frame size of 12288 bytes in function 'slic_ds26522_probe'

2020-11-24 Thread Rong Chen
On 11/23/20 10:15 PM, Andrey Konovalov wrote: On Thu, Nov 19, 2020 at 11:16 PM kernel test robot wrote: tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3494d58865ad4a47611dbb427b214cc5227fa5eb commit: cae9dc35ed9ff82a99754e51d57ff6c332e1f7e4 kasan:

Re: [patch V4 0/8] mm/highmem: Preemptible variant of kmap_atomic & friends

2020-11-24 Thread Peter Zijlstra
On Wed, Nov 18, 2020 at 08:48:38PM +0100, Thomas Gleixner wrote: > Documentation/driver-api/io-mapping.rst | 74 +++ > arch/x86/Kconfig|1 > arch/x86/include/asm/fixmap.h | 12 ++- > arch/x86/include/asm/pgtable_64_types.h |6 + > arch

THE MONEY HAS BEEN SENT, PLEASE CONFIRM

2020-11-24 Thread WESTERN UNION MONEY TRANSFER OFFICE
-- Dear Beneficiary; Our Operation Manager has extract your 1st payment of $5,000.00 out of your total fund of ($1.5million) We need your full information for the transfer. We scheduled installment sums of USD $5,000.00 daily through the cash fast Western Union, payment at counter as directed a

[PATCH net v3] ipvs: fix possible memory leak in ip_vs_control_net_init

2020-11-24 Thread Wang Hai
kmemleak report a memory leak as follows: BUG: memory leak unreferenced object 0x8880759ea000 (size 256): backtrace: [] kmem_cache_zalloc include/linux/slab.h:656 [inline] [] __proc_create+0x23d/0x7d0 fs/proc/generic.c:421 [<9d718d02>] proc_create_re

Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-24 Thread Michael Walle
Am 2020-11-24 08:41, schrieb Y.b. Lu: Hi Vladimir, -Original Message- From: Vladimir Oltean Sent: Friday, November 20, 2020 5:30 PM To: Y.b. Lu Cc: Shawn Guo ; Leo Li ; Rob Herring ; linux-arm-ker...@lists.infradead.org; devicet...@vger.kernel.org; Adrian Hunter ; Ulf Hansson ; linu

Re: [RFC PATCH v1 1/4] irqchip/gic-v4.1: Plumb get_irqchip_state VLPI callback

2020-11-24 Thread Marc Zyngier
On 2020-11-24 07:38, Shenming Lu wrote: On 2020/11/23 17:01, Marc Zyngier wrote: On 2020-11-23 06:54, Shenming Lu wrote: From: Zenghui Yu Up to now, the irq_get_irqchip_state() callback of its_irq_chip leaves unimplemented since there is no architectural way to get the VLPI's pending state be

Re: [Regression]: Commit 74d905d2 breaks the touchpad and touchscreen of Google Chromebook "samus"

2020-11-24 Thread Andre Muller
Hi, just a shot in the dark: I consulted my notes on the convoluted initial setup of a mainline kernel for this hardware, and found the Atmel chip needed reprogramming to start working. The settings are preserved, once set. I ran "enable-atmel.sh", last in 2017, from here: https://github.com/r

Re: [RFC] perf/x86: Fix a warning on x86_pmu_stop()

2020-11-24 Thread Peter Zijlstra
On Tue, Nov 24, 2020 at 02:01:39PM +0900, Namhyung Kim wrote: > Yes, it's not about __intel_pmu_pebs_event(). I'm looking at > intel_pmu_drain_pebs_nhm() specifically. There's code like > > /* log dropped samples number */ > if (error[bit]) { > perf_log_lost_samples(

Re: [PATCH net-next v2 1/2] lockdep: Introduce in_softirq lockdep assert

2020-11-24 Thread Peter Zijlstra
On Mon, Nov 23, 2020 at 12:12:59PM -0800, Jakub Kicinski wrote: > One liner would be: > > * Acceptable for protecting per-CPU resources accessed from BH > > We can add: > > * Much like in_softirq() - semantics are ambiguous, use carefully. * > > > IIUC we basically want to pr

Re: [RFC PATCH v1 3/4] KVM: arm64: GICv4.1: Restore VLPI's pending state to physical side

2020-11-24 Thread Shenming Lu
On 2020/11/23 17:27, Marc Zyngier wrote: > On 2020-11-23 06:54, Shenming Lu wrote: >> From: Zenghui Yu >> >> When setting the forwarding path of a VLPI, it is more consistent to > > I'm not sure it is more consistent. It is a *new* behaviour, because it only > matters for migration, which has bee

Re: [PATCH kernel v4 6/8] genirq/irqdomain: Move hierarchical IRQ cleanup to kobject_release

2020-11-24 Thread kernel test robot
submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Alexey-Kardashevskiy/genirq-irqdomain-Add-reference-counting-to-IRQs/20201124-142727 base: https://git.kernel.org/pub/scm/linux/kernel/gi

Re: [PATCH v2 0/6] drm/panel: mantix and st7703 fixes and additions

2020-11-24 Thread Guido Günther
Hi, On Mon, Nov 23, 2020 at 10:48:26PM +0100, Sam Ravnborg wrote: > Hi Guido, > > On Wed, Nov 18, 2020 at 09:29:47AM +0100, Guido Günther wrote: > > This adds new panel type to the mantix driver as found on the Librem 5 and > > fixes a glitch in the init sequence (affecting both panels). The fix i

[PATCH v2] firmware: xlnx-zynqmp: fix compilation warning

2020-11-24 Thread Wendy Liang
Fix compilation warning when ZYNQMP_FIRMWARE is not defined. include/linux/firmware/xlnx-zynqmp.h: In function 'zynqmp_pm_get_eemi_ops': include/linux/firmware/xlnx-zynqmp.h:363:9: error: implicit declaration of function 'ERR_PTR' [-Werror=implicit-function-declaration] 363 | return ERR_P

Re: [PATCH -tip 04/32] sched: Core-wide rq->lock

2020-11-24 Thread Peter Zijlstra
On Sun, Nov 22, 2020 at 08:11:52PM +1100, Balbir Singh wrote: > On Tue, Nov 17, 2020 at 06:19:34PM -0500, Joel Fernandes (Google) wrote: > > From: Peter Zijlstra > > > > Introduce the basic infrastructure to have a core wide rq->lock. > > > > Reading through the patch, it seems like all the CPUs

Re: Pinning ZONE_MOVABLE pages

2020-11-24 Thread Michal Hocko
On Mon 23-11-20 11:06:21, Pavel Tatashin wrote: > On Mon, Nov 23, 2020 at 4:01 AM Michal Hocko wrote: > > > > On Fri 20-11-20 15:27:46, Pavel Tatashin wrote: > > > Recently, I encountered a hang that is happening during memory hot > > > remove operation. It turns out that the hang is caused by pin

Re: [RFC] perf/x86: Fix a warning on x86_pmu_stop()

2020-11-24 Thread Stephane Eranian
Hi, Another remark on the PEBS drainage code, it seems to me like a test is not quite correct: intel_pmu_drain_pebs_nhm() { ... if (p->status != (1ULL << bit)) { for_each_set_bit(i, (unsigned long *)&pebs_status, size) error[i]

Re: [PATCH v4 4/7] pwm: ntxec: Add driver for PWM function in Netronix EC

2020-11-24 Thread Uwe Kleine-König
Hello, On Sun, Nov 22, 2020 at 11:27:36PM +0100, Jonathan Neuschäfer wrote: > The Netronix EC provides a PWM output which is used for the backlight > on some ebook readers. This patches adds a driver for the PWM output. > > The .get_state callback is not implemented, because the PWM state can't >

Re: [v5 1/3] arm64: dts: mt8183: add thermal zone node

2020-11-24 Thread Hsin-Yi Wang
On Tue, Oct 13, 2020 at 6:24 PM Michael Kao wrote: > > From: "Michael.Kao" > > Add thermal zone node to Mediatek MT8183 dts file. > > Evaluate the thermal zone every 500ms while not cooling > and every 100ms when passive cooling is performed. > > Signed-off-by: Matthias Kaehlcke > Signed-off-by:

Re: Pinning ZONE_MOVABLE pages

2020-11-24 Thread Michal Hocko
On Mon 23-11-20 11:31:59, Pavel Tatashin wrote: > > Makes sense, as this means no userspace change. > > > > > 2. Add an internal move_pages_zone() similar to move_pages() syscall > > > but instead of migrating to a different NUMA node, migrate pages from > > > ZONE_MOVABLE to another zone. > > > Ca

Re: [v5 2/3] arm64: dts: mt8183: Configure CPU cooling

2020-11-24 Thread Hsin-Yi Wang
On Tue, Oct 13, 2020 at 6:24 PM Michael Kao wrote: > > From: Matthias Kaehlcke > > Add two passive trip points at 68°C and 80°C for the CPU temperature. > > Signed-off-by: Matthias Kaehlcke > Signed-off-by: Michael Kao Tested-by: Hsin-Yi Wang > --- > arch/arm64/boot/dts/mediatek/mt8183.dtsi

[PATCH net-next v2] bridge: mrp: Implement LC mode for MRP

2020-11-24 Thread Horatiu Vultur
Extend MRP to support LC mode(link check) for the interconnect port. This applies only to the interconnect ring. Opposite to RC mode(ring check) the LC mode is using CFM frames to detect when the link goes up or down and based on that the userspace will need to react. One advantage of the LC mode

Re: [RFC PATCH v1 2/4] KVM: arm64: GICv4.1: Try to save hw pending state in save_pending_tables

2020-11-24 Thread Marc Zyngier
On 2020-11-24 07:40, Shenming Lu wrote: On 2020/11/23 17:18, Marc Zyngier wrote: On 2020-11-23 06:54, Shenming Lu wrote: After pausing all vCPUs and devices capable of interrupting, in order     ^ See my comment below about this. to save the information of all interrupts,

[PATCH v6 0/7] Convert the intel iommu driver to the dma-iommu api

2020-11-24 Thread Lu Baolu
Hi Will, The v5 of this series could be found here. https://lore.kernel.org/linux-iommu/20201120101719.3172693-1-baolu...@linux.intel.com/ Changes in this version: - Rebase the series to the latest iommu/next branch. https://lore.kernel.org/linux-iommu/20201123100816.ga26...@infradead.org/ P

Re: [PATCH 3/3] pinctrl: qcom: Clear possible pending irq when remuxing GPIOs

2020-11-24 Thread Linus Walleij
On Tue, Nov 24, 2020 at 1:02 AM Douglas Anderson wrote: > Conceptually, we can envision the input on Qualcomm SoCs to pass > through a bunch of blocks between coming into the chip and becoming a > GPIO interrupt. This looks like really good detective engineering, something I do myself from time

[PATCH v6 1/7] iommu: Handle freelists when using deferred flushing in iommu drivers

2020-11-24 Thread Lu Baolu
From: Tom Murphy Allow the iommu_unmap_fast to return newly freed page table pages and pass the freelist to queue_iova in the dma-iommu ops path. This is useful for iommu drivers (in this case the intel iommu driver) which need to wait for the ioTLB to be flushed before newly free/unmapped page

[PATCH v6 2/7] iommu: Add iommu_dma_free_cpu_cached_iovas()

2020-11-24 Thread Lu Baolu
From: Tom Murphy Add a iommu_dma_free_cpu_cached_iovas function to allow drivers which use the dma-iommu ops to free cached cpu iovas. Signed-off-by: Tom Murphy Signed-off-by: Lu Baolu Tested-by: Logan Gunthorpe --- drivers/iommu/dma-iommu.c | 9 + include/linux/dma-iommu.h | 8 +

[PATCH v6 3/7] iommu: Allow the dma-iommu api to use bounce buffers

2020-11-24 Thread Lu Baolu
From: Tom Murphy Allow the dma-iommu api to use bounce buffers for untrusted devices. This is a copy of the intel bounce buffer code. Signed-off-by: Tom Murphy Co-developed-by: Lu Baolu Signed-off-by: Lu Baolu Tested-by: Logan Gunthorpe --- drivers/iommu/dma-iommu.c | 162 ++

[PATCH v6 6/7] iommu/vt-d: Convert intel iommu driver to the iommu ops

2020-11-24 Thread Lu Baolu
From: Tom Murphy Convert the intel iommu driver to the dma-iommu api. Remove the iova handling and reserve region code from the intel iommu driver. Signed-off-by: Tom Murphy Signed-off-by: Lu Baolu Tested-by: Logan Gunthorpe --- drivers/iommu/intel/Kconfig | 1 + drivers/iommu/intel/iommu.

Re: [PATCH 1/3] irqchip: qcom-pdc: Fix phantom irq when changing between rising/falling

2020-11-24 Thread Linus Walleij
On Tue, Nov 24, 2020 at 1:02 AM Douglas Anderson wrote: > We have a problem if we use gpio-keys and configure wakeups such that > we only want one edge to wake us up. AKA: > wakeup-event-action = ; > wakeup-source; I would need Marc's ACK to apply this with the other patches to the pinctrl

Re: [PATCH v2 00/17] Refactor fw_devlink to significantly improve boot time

2020-11-24 Thread Tomi Valkeinen
Hi, On 21/11/2020 04:02, Saravana Kannan wrote: > The current implementation of fw_devlink is very inefficient because it > tries to get away without creating fwnode links in the name of saving > memory usage. Past attempts to optimize runtime at the cost of memory > usage were blocked with reques

[PATCH v6 7/7] iommu/vt-d: Cleanup after converting to dma-iommu ops

2020-11-24 Thread Lu Baolu
Some cleanups after converting the driver to use dma-iommu ops. - Remove nobounce option; - Cleanup and simplify the path in domain mapping. Signed-off-by: Lu Baolu Tested-by: Logan Gunthorpe --- .../admin-guide/kernel-parameters.txt | 5 -- drivers/iommu/intel/iommu.c

[PATCH v6 4/7] iommu: Add quirk for Intel graphic devices in map_sg

2020-11-24 Thread Lu Baolu
Combining the sg segments exposes a bug in the Intel i915 driver which causes visual artifacts and the screen to freeze. This is most likely because of how the i915 handles the returned list. It probably doesn't respect the returned value specifying the number of elements in the list and instead de

[PATCH v6 5/7] iommu/vt-d: Update domain geometry in iommu_ops.at(de)tach_dev

2020-11-24 Thread Lu Baolu
The iommu-dma constrains IOVA allocation based on the domain geometry that the driver reports. Update domain geometry everytime a domain is attached to or detached from a device. Signed-off-by: Lu Baolu Tested-by: Logan Gunthorpe --- drivers/iommu/intel/iommu.c | 16 ++-- 1 file cha

Re: [PATCH 4.9 00/47] 4.9.246-rc1 review

2020-11-24 Thread Naresh Kamboju
On Mon, 23 Nov 2020 at 17:56, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.246 release. > There are 47 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. > > Res

Re: [PATCH] pinctrl: at91-pio4: add support for fewer lines on last PIO bank

2020-11-24 Thread Linus Walleij
On Fri, Nov 13, 2020 at 2:25 PM Eugen Hristev wrote: > Some products, like sama7g5, do not have a full last bank of PIO lines. > In this case for example, sama7g5 only has 8 lines for the PE bank. > PA0-31, PB0-31, PC0-31, PD0-31, PE0-7, in total 136 lines. > To cope with this situation, added a

[PATCH v2 1/3] Input: adp5589-keys - add default platform data

2020-11-24 Thread Alexandru Ardelean
From: Lars-Peter Clausen If no platform data is supplied use a dummy platform data that configures the device in GPIO only mode. This change adds a adp5589_kpad_pdata_get() helper that returns the default platform-data. This can be later extended to load configuration from device-trees or ACPI.

[PATCH v2 3/3] Input: adp5589-keys - add basic devicetree support

2020-11-24 Thread Alexandru Ardelean
From: Lars-Peter Clausen Add very basic devicetree suppport to the adp5589 allowing the device to be registered from devicetree and ACPI via PRP0001. Signed-off-by: Lars-Peter Clausen Signed-off-by: Alexandru Ardelean --- drivers/input/keyboard/adp5589-keys.c | 30 ++-

[PATCH v2 2/3] Input: adp5589-keys - wrap device probing into chip info struct

2020-11-24 Thread Alexandru Ardelean
This change wraps the devices supported by the adp5589 driver into a chip info struct. With this, a device table can be created, and the probed device can be selected based on the enum value provided by the i2c driver data. Signed-off-by: Alexandru Ardelean --- drivers/input/keyboard/adp5589-key

Re: [PATCH v7 2/5] dt-bindings: leds: Add LED_COLOR_ID_MOONLIGHT definitions

2020-11-24 Thread Gene Chen
Fix Typo. Gene Chen 於 2020年11月24日 週二 下午3:33寫道: > > Jacek Anaszewski 於 2020年11月24日 週二 上午4:52寫道: > > > > On 11/23/20 4:00 AM, Gene Chen wrote: > > > Jacek Anaszewski 於 2020年11月20日 週五 上午6:26寫道: > > >> > > >> On 11/19/20 10:57 PM, Pavel Machek wrote: > > >>> On Thu 2020-11-19 22:03:14, Jacek Anasze

Re: [PATCH -tip 03/32] sched/fair: Fix pick_task_fair crashes due to empty rbtree

2020-11-24 Thread Peter Zijlstra
On Fri, Nov 20, 2020 at 09:15:28PM +1100, Singh, Balbir wrote: > On 18/11/20 10:19 am, Joel Fernandes (Google) wrote: > > From: Peter Zijlstra > > > > pick_next_entity() is passed curr == NULL during core-scheduling. Due to > > this, if the rbtree is empty, the 'left' variable is set to NULL with

RE: [PATCH] video: hyperv_fb: Directly use the MMIO VRAM

2020-11-24 Thread Dexuan Cui
Hi Wei Liu, Please do not pick up this patch, because actually MMIO VRAM can not work with fb_deferred_io. Previously I didn't test Xorg -- sorry. As soon as I tested it, I got the below warning and the Xorg program ternimated immediately: [ 28.148432] WARNING: CPU: 19 PID: 1410 at mm/vmalloc.c

Re: [PATCH 1/5] soundwire: SDCA: add helper macro to access controls

2020-11-24 Thread Vinod Koul
On 04-11-20, 01:22, Bard Liao wrote: > From: Pierre-Louis Bossart > > The upcoming SDCA (SoundWire Device Class Audio) specification defines > a hierarchical encoding to interface with Class-defined capabilities. > > The specification is not yet accessible to the general public but this > inform

Re: [PATCH v2] pinctrl: qcom: Fix msm8953 Kconfig entry to depend on, not select PINCTRL_MSM

2020-11-24 Thread Linus Walleij
On Tue, Nov 10, 2020 at 10:56 PM John Stultz wrote: > One fixup following my patch commit be117ca32261 ("pinctrl: > qcom: Kconfig: Rework PINCTRL_MSM to be a depenency rather then > a selected config") being queued in LinusW's tree, as a new > config entry was added for the msm8953 that also need

Re: [PATCH v11 08/13] vfio/pci: Add framework for custom interrupt indices

2020-11-24 Thread Auger Eric
Hi Shameer, Qubingbing On 11/23/20 1:51 PM, Shameerali Kolothum Thodi wrote: > Hi Eric, > >> -Original Message- >> From: Eric Auger [mailto:eric.au...@redhat.com] >> Sent: 16 November 2020 11:00 >> To: eric.auger@gmail.com; eric.au...@redhat.com; >> io...@lists.linux-foundation.org; li

Re: [PATCH 2/5] regmap/SoundWire: sdw: add support for SoundWire 1.2 MBQ

2020-11-24 Thread Vinod Koul
On 04-11-20, 01:22, Bard Liao wrote: > From: Pierre-Louis Bossart > > The SoundWire 1.1 specification only allowed for reads and writes of > bytes. The SoundWire 1.2 specification adds a new capability to > transfer "Multi-Byte Quantities" (MBQ) across the bus. The transfers > still happens one-b

Re: [PATCH v2 1/2] dt-bindings: pinctrl: qcom: Add sc7280 pinctrl bindings

2020-11-24 Thread Linus Walleij
On Thu, Nov 5, 2020 at 10:56 AM Rajendra Nayak wrote: > Add device tree binding Documentation details for Qualcomm SC7280 > TLMM block. > > Signed-off-by: Rajendra Nayak > Reviewed-by: Rob Herring > --- > v2: Consolidated functions under phase_flag and qdss Patch applied. Yours, Linus Walleij

Re: [PATCH 4.4 00/38] 4.4.246-rc1 review

2020-11-24 Thread Naresh Kamboju
On Mon, 23 Nov 2020 at 17:54, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.246 release. > There are 38 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. > > Res

Re: [PATCH] soundwire: Fix DEBUG_LOCKS_WARN_ON for uninitialized attribute

2020-11-24 Thread Vinod Koul
On 04-11-20, 11:29, Srinivas Kandagatla wrote: > running kernel with CONFIG_DEBUG_LOCKS_ALLOC enabled will below warning: > > BUG: key 502e09807098 has not been registered! > DEBUG_LOCKS_WARN_ON(1) > WARNING: CPU: 5 PID: 129 at kernel/locking/lockdep.c:4623 > lockdep_init_map_waits+0xe8/

Re: [PATCH v2 2/2] pinctrl: qcom: Add sc7280 pinctrl driver

2020-11-24 Thread Linus Walleij
On Thu, Nov 5, 2020 at 10:56 AM Rajendra Nayak wrote: > Add initial pinctrl driver to support pin configuration with > pinctrl framework for SC7280 SoC > > Signed-off-by: Rajendra Nayak > --- > v2: Consolidated functions under phase_flag and qdss > Moved ufs reset pin to pin175 so its expose

Re: [PATCH v4 0/2] media: mtk-vcodec: fix builds when remoteproc is disabled

2020-11-24 Thread Sakari Ailus
On Tue, Nov 24, 2020 at 08:56:00AM +0900, Alexandre Courbot wrote: > Gentle ping about this - we are already well into the 5.10 cycle so we > don't have much time left if we want to merge this build breakage > fix... Thanks for the ping. For the set: Acked-by: Sakari Ailus -- Sakari Ailus

Re: [RESEND PATCH 01/19] pinctrl: sunxi: fix irq bank map for the Allwinner A100 pin controller

2020-11-24 Thread Linus Walleij
On Tue, Nov 10, 2020 at 7:23 AM Frank Lee wrote: > From: Yangtao Li > > A100's pin starts with PB, so it should start with 1. > > Fixes: 473436e7647d6 ("pinctrl: sunxi: add support for the Allwinner A100 pin > controller") > Signed-off-by: Yangtao Li No response from maintainers for 14 days s

Re: [PATCH] soundwire: SDCA: detect sdca_cascade interrupt

2020-11-24 Thread Vinod Koul
On 04-11-20, 23:23, Bard Liao wrote: > From: Pierre-Louis Bossart > > The SoundWire 1.2 specification defines an "SDCA cascade" bit which > handles a logical OR of all SDCA interrupt sources (up to 30 defined). > > Due to limitations of the addressing space, this bit is located in the > SDW_DP0_

Re: [RESEND PATCH 02/19] pinctrl: sunxi: Mark the irq bank not found in sunxi_pinctrl_irq_handler() with WARN_ON

2020-11-24 Thread Linus Walleij
On Tue, Nov 10, 2020 at 7:24 AM Frank Lee wrote: > From: Yangtao Li > > The interrupt descriptor cannot be found in the interrupt processing > function, and this situation cannot happen when the system is running > normally. It doesn't seem right to return directly to the status of not > handlin

Re: [PATCH] media: ov8856: Remove 3280x2464 mode

2020-11-24 Thread Sakari Ailus
Hi Dongchun, On Tue, Nov 24, 2020 at 03:40:51PM +0800, Dongchun Zhu wrote: > > static const struct ov8856_mode supported_modes[] = { > > - { > > - .width = 3280, > > - .height = 2464, > > - .hts = 1928, > > - .vts_def = 2488, > > - .vts_min = 24

Re: [RESEND PATCH 03/19] pinctrl: sunxi: Always call chained_irq_{enter, exit} in sunxi_pinctrl_irq_handler

2020-11-24 Thread Linus Walleij
On Tue, Nov 10, 2020 at 7:24 AM Frank Lee wrote: > From: Yangtao Li > > It is found on many allwinner soc that there is a low probability that > the interrupt status cannot be read in sunxi_pinctrl_irq_handler. This > will cause the interrupt status of a gpio bank to always be active on > gic, p

Re: Pinning ZONE_MOVABLE pages

2020-11-24 Thread Michal Hocko
On Mon 23-11-20 11:31:59, Pavel Tatashin wrote: [...] > Also, we still need to take care of the fault scenario. Forgot to reply to this part. I believe you mean this to be fault at gup time, right? Then the easiest way forward would be to either add yet another scoped flag or (maybe) better to gen

Re: [PATCH v2 3/3] Input: adp5589-keys - add basic devicetree support

2020-11-24 Thread Lars-Peter Clausen
On 11/24/20 9:22 AM, Alexandru Ardelean wrote: error = devm_add_action_or_reset(&client->dev, adp5589_clear_config, @@ -1078,6 +1098,13 @@ static int __maybe_unused adp5589_resume(struct device *dev) static SIMPLE_DEV_PM_OPS(adp5589_dev_pm_ops, adp5589_suspend, adp5589_resume); +

Re: memory leak in wacom_probe

2020-11-24 Thread Jiri Kosina
On Thu, 12 Nov 2020, syzbot wrote: > Hello, > > syzbot found the following issue on: CCing Jason and Ping, the maintainers of hid-wacom. > > HEAD commit:eccc8767 Merge branch 'fixes' of git://git.kernel.org/pub/.. > git tree: upstream > console output: https://syzkaller.appspot.com/x

Re: PROBLEM: fanotify_mark EFAULT on x86

2020-11-24 Thread Borislav Petkov
On Mon, Nov 23, 2020 at 11:46:51PM +0100, Paweł Jasiak wrote: > On 23/11/20, Jan Kara wrote: > > OK, with a help of Boris Petkov I think I have a fix that looks correct > > (attach). Can you please try whether it works for you? Thanks! > > Unfortunately I am getting a linker error. > > ld: arch/x

Re: Pinning ZONE_MOVABLE pages

2020-11-24 Thread David Hildenbrand
On 24.11.20 09:43, Michal Hocko wrote: > On Mon 23-11-20 11:31:59, Pavel Tatashin wrote: > [...] >> Also, we still need to take care of the fault scenario. > > Forgot to reply to this part. I believe you mean this to be fault at gup > time, right? Then the easiest way forward would be to either ad

Re: [RFC PATCH v1 3/4] KVM: arm64: GICv4.1: Restore VLPI's pending state to physical side

2020-11-24 Thread Marc Zyngier
On 2020-11-24 08:10, Shenming Lu wrote: On 2020/11/23 17:27, Marc Zyngier wrote: On 2020-11-23 06:54, Shenming Lu wrote: From: Zenghui Yu When setting the forwarding path of a VLPI, it is more consistent to I'm not sure it is more consistent. It is a *new* behaviour, because it only matte

RE: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-24 Thread Y.b. Lu
Hi Michael, > -Original Message- > From: Michael Walle > Sent: Tuesday, November 24, 2020 4:03 PM > To: Y.b. Lu > Cc: Vladimir Oltean ; Shawn Guo > ; Leo Li ; Rob Herring > ; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; Adrian Hunter ; Ulf > Hansson ; linux-...@vge

[PATCH v3] usb: musb: remove unused variable 'devctl'

2020-11-24 Thread min.guo
From: Min Guo Remove unused 'devctl' variable to fix compile warnings: drivers/usb/musb/musbhsdma.c: In function 'dma_controller_irq': drivers/usb/musb/musbhsdma.c:324:8: warning: variable 'devctl' set but not used [-Wunused-but-set-variable] Signed-off-by: Min Guo --- changes in v

[PATCH v2 1/3] scsi: hisi_sas: Reduce some indirection in v3 hw driver

2020-11-24 Thread John Garry
Sometimes local functions are called indirectly from the hw driver, which only makes the code harder to follow. Remove these. Method .hw_init is only called from platform driver probe, which is not relevant, so don't set this either. Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_

[PATCH v2 2/3] scsi: hisi_sas: Fix up probe error handling for v3 hw

2020-11-24 Thread John Garry
From: Xiang Chen Fix some rollbacks in function hisi_sas_v3_probe() and interrupt_init_v3_hw(). Fixes: 8d98416a55eb ("scsi: hisi_sas: Switch v3 hw to MQ") Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 26 +++--- 1 file cha

[PATCH v2 0/3] hisi_sas: A small bunch of misc patches

2020-11-24 Thread John Garry
This series contains a small bunch of patches for the driver, including: - Fix-up on error paths for v3 hw driver - Relocate as much debugfs code as possible to v3 hw driver since no other hw drivers support it - A small tidy-up patch Difference to v1: - make debugfs_init_v3_hw() static John Ga

Re: [PATCH 1/2] events/core: introduce perf_pmu_disable_all() to turn off all PMU

2020-11-24 Thread Pingfan Liu
On Mon, Nov 23, 2020 at 10:05 PM Peter Zijlstra wrote: > > On Mon, Nov 23, 2020 at 01:37:25PM +0800, Pingfan Liu wrote: > > > +/* When crashed, other cpus hang in idle loop, so here do an emergency job > > under no lock */ > > -ENOPARSE, -ETOOLONG > > > +void perf_pmu_disable_all(void) > > +{ > >

[PATCH v2 3/3] scsi: hisi_sas: Move debugfs code to v3 hw driver

2020-11-24 Thread John Garry
From: Luo Jiaxing Relocate all the debugfs code for DFX to v3 hw as there are only longer plans to support earlier HW versions. Signed-off-by: Luo Jiaxing Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas.h | 28 - drivers/scsi/hisi_sas/hisi_sas_main.c | 1346 +

[PATCH] spi: imx: fix the unbalanced spi runtime pm management

2020-11-24 Thread Clark Wang
If set active without increase the usage count of pm, the dont use autosuspend function will call the suspend callback to close the two clocks of spi because the usage count is reduced to -1. This will cause the warning dump below when the defer-probe occurs. [ 129.379701] ecspi2_root_clk already

Re: [PATCH] phram: Allow the user to set the erase page size.

2020-11-24 Thread kernel test robot
umented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Guohua-Zhong/phram-Allow-the-user-to-set-the-erase-page-size/20201124-141421 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git d5beb3140f91b1c8a3d41b14d729aefa4dcc5

Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-24 Thread Michael Walle
Am 2020-11-24 09:47, schrieb Y.b. Lu: Hi Michael, -Original Message- From: Michael Walle Sent: Tuesday, November 24, 2020 4:03 PM To: Y.b. Lu Cc: Vladimir Oltean ; Shawn Guo ; Leo Li ; Rob Herring ; linux-arm-ker...@lists.infradead.org; devicet...@vger.kernel.org; Adrian Hunter ; Ulf

RE: [EXT] [PATCH] spi: imx: enable runtime pm support

2020-11-24 Thread Clark Wang
Hi Nikita, Sorry for this issue caused by my patch. Yes, it because I did not add the !CONFIG_PM support when add the runtime pm patch. This may cause the clks cannot be enabled when do not enable CONFIG_PM. Sascha has fix this issue with the patch: 43b6bf406cd0 spi: imx: fix runtime pm support f

Re: [PATCH 1/3] irqchip: qcom-pdc: Fix phantom irq when changing between rising/falling

2020-11-24 Thread Marc Zyngier
On 2020-11-24 00:01, Douglas Anderson wrote: We have a problem if we use gpio-keys and configure wakeups such that we only want one edge to wake us up. AKA: wakeup-event-action = ; wakeup-source; Specifically we end up with a phantom interrupt that blocks suspend if the line was already hig

Re: [PATCH v6] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-11-24 Thread Borislav Petkov
On Mon, Nov 23, 2020 at 01:43:27PM -0500, Konrad Rzeszutek Wilk wrote: > I am assuming that TDX is going to have the same exact issue that > AMD SEV will have. > > Are you recommending to have an unified x86 specific callback > where we check if it: > > - CPUID_AMD_SEV or CPUID_INTEL_TDX is set

Re: [PATCH 0/3] xsk: fix for xsk_poll writeable

2020-11-24 Thread Magnus Karlsson
On Mon, Nov 23, 2020 at 4:21 PM Xuan Zhuo wrote: > > On Mon, 23 Nov 2020 15:00:48 +0100, Magnus Karlsson > wrote: > > On Wed, Nov 18, 2020 at 9:25 AM Xuan Zhuo > > wrote: > > > > > > I tried to combine cq available and tx writeable, but I found it very > > > difficult. > > > Sometimes we pay

[PATCH] arm64: Kconfig: Add SYS_SUPPORTS_APM_EMULATION

2020-11-24 Thread Lecopzer Chen
From: "Lecopzer Chen" Although most of modern devices use ACPI, there still has combination of APM + ARM64. In order to select CONFIG_APM_EMULATION, make SYS_SUPPORTS_APM_EMULATION default is y if ACPI isn't configured. Signed-off-by: Lecopzer Chen Suggested-by: YJ Chiang --- arch/arm64/Kcon

RE: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-24 Thread Y.b. Lu
Hi Michael, > -Original Message- > From: Michael Walle > Sent: Tuesday, November 24, 2020 4:55 PM > To: Y.b. Lu > Cc: Vladimir Oltean ; Shawn Guo > ; Leo Li ; Rob Herring > ; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; Adrian Hunter ; Ulf > Hansson ; linux-...@vge

Re: [PATCH] pinctrl: at91-pio4: add support for fewer lines on last PIO bank

2020-11-24 Thread Ludovic Desroches
On Tue, Nov 24, 2020 at 09:31:36AM +0100, Linus Walleij wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On Fri, Nov 13, 2020 at 2:25 PM Eugen Hristev > wrote: > > > Some products, like sama7g5, do not have a full last bank of PIO lines.

Re: [PATCH] ARM: dts: r8a7742-iwg21d-q7-dbcm-ca: Add OV7725 nodes

2020-11-24 Thread Geert Uytterhoeven
Hi Prabhakar, On Fri, Nov 20, 2020 at 4:13 PM Lad Prabhakar wrote: > Add the ov7725 endpoint nodes to the camera daughter board. The ov7725 > sensors can be populated on I2C{0,1,2,3} buses. > > By default the VIN{0,1,2,3} are tied to OV5640{0,1,2,3} endpoints > respectively in the camera DB dts h

Re: [PATCH v15 7/9] ptp: arm/arm64: Enable ptp_kvm for arm/arm64

2020-11-24 Thread Marc Zyngier
Jianyong, On 2020-11-24 05:37, Jianyong Wu wrote: Hi Marc, [...] > + arm_smccc_1_1_invoke(ARM_SMCCC_VENDOR_HYP_KVM_PTP_FU NC_ID, > + ARM_PTP_NONE_COUNTER, &hvc_res); I really don't see the need to use a non-architectural counter ID. Using the virtual counter ID

Re: [PATCH v6] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-11-24 Thread Borislav Petkov
On Mon, Nov 23, 2020 at 10:56:31PM +, Ashish Kalra wrote: > As i mentioned earlier, the patch was initially based on using a % of > guest memory, Can you figure out how much the guest memory is and then allocate a percentage? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes

Re: [PATCH v15 6/9] arm64/kvm: Add hypercall service for kvm ptp.

2020-11-24 Thread Marc Zyngier
On 2020-11-24 05:20, Jianyong Wu wrote: Hi Marc, [...] > +/* ptp_kvm counter type ID */ > +#define ARM_PTP_VIRT_COUNTER 0 > +#define ARM_PTP_PHY_COUNTER 1 > +#define ARM_PTP_NONE_COUNTER 2 The architecture definitely doesn't hav

Re: [PATCH 2/2] drm: panel: add Khadas TS050 panel driver

2020-11-24 Thread Neil Armstrong
Hi Sam, On 23/11/2020 22:05, Sam Ravnborg wrote: > Hi Neil. > > Looks good but a few comments in the following that needs some attention. > > Sam > > On Mon, Nov 23, 2020 at 03:33:54PM +0100, Neil Armstrong wrote: >> This add support for the Khadas TS050 1080x1920 5" LCD DSI panel designe

Re: [PATCH] arm64: dts: ls1028a: make the eMMC and SD card controllers use fixed indices

2020-11-24 Thread Michael Walle
Am 2020-11-24 10:02, schrieb Y.b. Lu: Hi Michael, -Original Message- From: Michael Walle Sent: Tuesday, November 24, 2020 4:55 PM To: Y.b. Lu Cc: Vladimir Oltean ; Shawn Guo ; Leo Li ; Rob Herring ; linux-arm-ker...@lists.infradead.org; devicet...@vger.kernel.org; Adrian Hunter ; Ulf

Re: [PATCH V4 2/3] sched/core: Rename schedutil_cpu_util() and allow rest of the kernel to use it

2020-11-24 Thread Quentin Perret
Hey Viresh, On Tuesday 24 Nov 2020 at 11:56:15 (+0530), Viresh Kumar wrote: > There is nothing schedutil specific in schedutil_cpu_util(), rename it > to effective_cpu_util(). Also create and expose another wrapper > sched_cpu_util() which can be used by other parts of the kernel, like > thermal c

RE: [PATCH] f2fs: change to use rwsem for cp_mutex

2020-11-24 Thread David Laight
From: Chao Yu > Sent: 24 November 2020 03:12 > > On 2020/11/24 1:05, David Laight wrote: > > From: Sahitya Tummala > >> Sent: 23 November 2020 05:29 > >> > >> Use rwsem to ensure serialization of the callers and to avoid > >> starvation of high priority tasks, when the system is under > >> heavy I

Re: [kbuild-all] Re: sound/soc/intel/catpt/loader.c:654 catpt_first_boot_firmware() warn: consider using resource_size() here

2020-11-24 Thread Andy Shevchenko
On Tue, Nov 24, 2020 at 10:06 AM Rong Chen wrote: > On 11/23/20 7:41 PM, Rojewski, Cezary wrote: > > On 2020-11-23 11:53 AM, Andy Shevchenko wrote: > >> On Sun, Nov 22, 2020 at 03:52:27AM +0800, kernel test robot wrote: ... > >> This sounds like false positive. From where it gets the idea of >

Re: [PATCH] phram: Allow the user to set the erase page size.

2020-11-24 Thread kernel test robot
umented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Guohua-Zhong/phram-Allow-the-user-to-set-the-erase-page-size/20201124-141421 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git d5beb3140f91b1c8a3d41b14d729aefa4dcc58bc co

Re: [PATCH -tip 09/32] sched/fair: Snapshot the min_vruntime of CPUs on force idle

2020-11-24 Thread Peter Zijlstra
On Tue, Nov 24, 2020 at 10:31:49AM +1100, Balbir Singh wrote: > On Mon, Nov 23, 2020 at 07:31:31AM -0500, Vineeth Pillai wrote: > > Hi Balbir, > > > > On 11/22/20 6:44 AM, Balbir Singh wrote: > > > > > > This seems cumbersome, is there no way to track the min_vruntime via > > > rq->core->min_vrun

Re: [PATCH v3] usb: musb: remove unused variable 'devctl'

2020-11-24 Thread Sergei Shtylyov
Hello! On 24.11.2020 11:49, min@mediatek.com wrote: From: Min Guo Remove unused 'devctl' variable to fix compile warnings: drivers/usb/musb/musbhsdma.c: In function 'dma_controller_irq': drivers/usb/musb/musbhsdma.c:324:8: warning: variable 'devctl' set but not used [-Wunu

[PATCH] pinctrl: at91-pio4: Make PINCTRL_AT91PIO4 depend on HAS_IOMEM to fix build error

2020-11-24 Thread Tiezhu Yang
If CONFIG_HAS_IOMEM is not set, devm_platform_ioremap_resource() will be not built in drivers/base/platform.c and then there exists a build error about undefined reference to "devm_platform_ioremap_resource" in pinctrl-at91-pio4.c under COMPILE_TEST and CONFIG_PINCTRL_AT91PIO4, make PINCTRL_AT91PIO

Re: [PATCH v3 1/3] LICENSES: Add the CC-BY-4.0 license

2020-11-24 Thread Christoph Hellwig
On Tue, Nov 24, 2020 at 09:00:01AM +0100, Thorsten Leemhuis wrote: > For context: Patch 2 of this series adds a text to the Documentation/ > directory > which (for now) uses "GPL-2.0+ OR CC-BY-4.0", as I want to make it easy and > attractive for others to base their work on it. I'm not strongly at

Re: linux-next: build failure after merge of the arm-soc tree

2020-11-24 Thread Christoph Hellwig
On Tue, Nov 24, 2020 at 09:31:15AM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the arm-soc tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > drivers/soc/sunxi/sunxi_mbus.c: In function 'sunxi_mbus_notifier': > drivers/soc/sunxi/sunxi_mbus.c:93:8: error

  1   2   3   4   5   6   7   8   9   10   >