Re: [PATCH RFC x86/mce] Make mce_timed_out() identify holdout CPUs

2021-01-08 Thread Borislav Petkov
On Fri, Jan 08, 2021 at 06:55:14AM -0800, Paul E. McKenney wrote: > Looks good to me! I agree that your change to the pr_emerg() string is > much better than my original. Well, the rest of the MCE code uses pr_emerg on that path so... > And good point on your added comment, plus it was fun to

[ANNOUNCE] 5.4.87-rt48

2021-01-08 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 5.4.87-rt48 stable release. This release is just an update to the new stable 5.4.87 version and no RT specific changes have been made. You can get this release via the git tree at:

Re: [PATCH v2 1/9] KVM: x86: Add AMD SEV specific Hypercall3

2021-01-08 Thread Sean Christopherson
On Thu, Jan 07, 2021, Steve Rutherford wrote: > Supporting merging of consecutive entries (or not) is less important > to get right since it doesn't change any of the APIs. If someone runs > into performance issues, they can loop back and fix this then. I'm > slightly concerned with the behavior

[PATCH] KVM: Documentation: Fix spec for KVM_CAP_ENABLE_CAP_VM

2021-01-08 Thread Quentin Perret
The documentation classifies KVM_ENABLE_CAP with KVM_CAP_ENABLE_CAP_VM as a vcpu ioctl, which is incorrect. Fix it by specifying it as a VM ioctl. Fixes: e5d83c74a580 ("kvm: make KVM_CAP_ENABLE_CAP_VM architecture agnostic") Signed-off-by: Quentin Perret --- Documentation/virt/kvm/api.rst | 2

Re: [PATCH v4 37/37] firmware: arm_scmi: add dynamic scmi devices creation

2021-01-08 Thread Cristian Marussi
On Fri, Jan 08, 2021 at 11:32:17AM -0500, Thara Gopinath wrote: > > > On 1/8/21 9:42 AM, Cristian Marussi wrote: > > On Thu, Jan 07, 2021 at 09:28:07AM -0500, Thara Gopinath wrote: > > > Hi Christian, > > > > > > On 1/6/21 3:16 PM, Cristian Marussi wrote: > > > > Having added the support for

Re: [PATCH] KVM: arm64: Compute TPIDR_EL2 ignoring MTE tag

2021-01-08 Thread Marc Zyngier
Hi Steven, On 2021-01-08 16:12, Steven Price wrote: KASAN in HW_TAGS mode will store MTE tags in the top byte of the pointer. When computing the offset for TPIDR_EL2 we don't want anything in the top byte, so remove the tag to ensure the computation is correct no matter what the tag. Fixes:

arch/powerpc/kvm/book3s_paired_singles.c:663:2: error: implicit declaration of function 'enable_kernel_fp'

2021-01-08 Thread kernel test robot
-20210108 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 5c951623bc8965fa1e89660f2f5f4a2944e4981a) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin

Re: [PATCH 0/7] spi: cadence-quadspi: Add Octal DTR support

2021-01-08 Thread Pratyush Yadav
Hi Mark, On 06/01/21 02:59PM, Mark Brown wrote: > On Wed, 23 Dec 2020 00:14:18 +0530, Pratyush Yadav wrote: > > This series adds support for Octal DTR mode now that SPI NOR supports > > these flashes. Patches 1/7 to 4/7 and 6/7 fix some minor bugs and issues. > > Patche 5/7 lays some groundwork

Re: [PATCH v2] dma-mapping: add unlikely hint for error path in dma_mapping_error

2021-01-08 Thread Heiner Kallweit
On 14.12.2020 14:01, Robin Murphy wrote: > On 2020-12-13 16:32, Heiner Kallweit wrote: >> Zillions of drivers use the unlikely() hint when checking the result of >> dma_mapping_error(). This is an inline function anyway, so we can move >> the hint into this function and remove it from drivers. >

Re: [Freedreno] [PATCH] drm/msm: Only enable A6xx LLCC code on A6xx

2021-01-08 Thread Rob Clark
On Fri, Jan 8, 2021 at 6:05 AM Sai Prakash Ranjan wrote: > > On 2021-01-08 19:09, Konrad Dybcio wrote: > >> Konrad, can you please test this below change without your change? > > > > This brings no difference, a BUG still happens. We're still calling > > to_a6xx_gpu on ANY device that's probed!

Re: [PATCH v4 03/37] firmware: arm_scmi: introduce devres get/put protocols operations

2021-01-08 Thread Cristian Marussi
Hi Etienne, thanks for the review. On Fri, Jan 08, 2021 at 02:42:07PM +0100, Etienne Carriere wrote: > On Fri, 8 Jan 2021 at 13:24, Cristian Marussi > wrote: > > > > On Thu, Jan 07, 2021 at 09:28:37AM -0500, Thara Gopinath wrote: > > > > > > > > > On 1/6/21 3:15 PM, Cristian Marussi wrote: > >

Re: [RESEND PATCH 1/2] KVM: X86: Add support for the emulation of DR6_BUS_LOCK bit

2021-01-08 Thread kernel test robot
Hi Chenyi, Thank you for the patch! Yet something to improve: [auto build test ERROR on kvm/linux-next] [also build test ERROR on v5.11-rc2 next-20210108] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented

Re: [PATCH v4 37/37] firmware: arm_scmi: add dynamic scmi devices creation

2021-01-08 Thread Thara Gopinath
On 1/8/21 9:42 AM, Cristian Marussi wrote: On Thu, Jan 07, 2021 at 09:28:07AM -0500, Thara Gopinath wrote: Hi Christian, On 1/6/21 3:16 PM, Cristian Marussi wrote: Having added the support for SCMI protocols as modules in order to let vendors extend the SCMI core with their own additions

[GIT PULL] arm64 fixes for 5.11-rc3

2021-01-08 Thread Catalin Marinas
Hi Linus, Please pull the arm64 fixes below. Thanks. The following changes since commit e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62: Linux 5.11-rc2 (2021-01-03 15:55:30 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm64-fixes

[PATCH] drm/amdkfd: Fix out-of-bounds read in kdf_create_vcrat_image_cpu()

2021-01-08 Thread Jeremy Cline
KASAN reported a slab-out-of-bounds read of size 1 in kdf_create_vcrat_image_cpu(). This occurs when, for example, when on an x86_64 with a single NUMA node because kfd_fill_iolink_info_for_cpu() is a no-op, but afterwards the sub_type_hdr->length, which is out-of-bounds, is read and multiplied

Re: [PATCH] net: phy: micrel: reconfigure the phy on resume

2021-01-08 Thread Heiner Kallweit
On 08.01.2021 16:45, Claudiu Beznea wrote: > KSZ9131 is used in setups with SAMA7G5. SAMA7G5 supports a special > power saving mode (backup mode) that cuts the power for almost all > parts of the SoC. The rail powering the ethernet PHY is also cut off. > When resuming, in case the PHY has been

Re: [PATCH] ASoC: es8328: Remove redundant null check before clk_disable_unprepare

2021-01-08 Thread Mark Brown
On Fri, 8 Jan 2021 08:58:34 +, Xu Wang wrote: > Because clk_disable_unprepare() already checked NULL clock parameter, > so the additional check is unnecessary, just remove it. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC:

[PATCH v2] dt-bindings: timer: nuvoton: Clarify that interrupt of timer 0 should be specified

2021-01-08 Thread Jonathan Neuschäfer
The NPCM750 Timer/Watchdog Controller has multiple interrupt lines, connected to multiple timers. The driver uses timer 0 for timer interrupts, so the interrupt line corresponding to timer 0 should be specified in DT. I removed the mention of "flags for falling edge", because the timer controller

[PATCH] irqchip: Simplify the TI_PRUSS_INTC Kconfig

2021-01-08 Thread Suman Anna
The TI PRUSS INTC irqchip driver handles the local interrupt controller which is a child device of it's parent PRUSS/ICSSG device. The driver was upstreamed in parallel with the PRUSS platform driver, and was configurable independently previously. The PRUSS interrupt controller is an integral part

[GIT PULL] KVM fixes for 5.11-rc3

2021-01-08 Thread Paolo Bonzini
Linus, The following changes since commit d45f89f7437d0f2c8275b4434096164db106384d: KVM: SVM: fix 32-bit compilation (2020-12-16 13:08:21 -0500) are available in the Git repository at: https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you to fetch changes up to

Re: [PATCH] fs: process fput task_work with TWA_SIGNAL

2021-01-08 Thread Jens Axboe
On 1/8/21 9:10 AM, Jens Axboe wrote: > On 1/8/21 8:58 AM, Al Viro wrote: >> On Fri, Jan 08, 2021 at 08:13:25AM -0700, Jens Axboe wrote: Anyway, bedtime for me; right now it looks like at least for task == current we always want TWA_SIGNAL. I'll look into that more tomorrow when I

Re: [PATCH 3/4] RISC-V: Fix L1_CACHE_BYTES for RV32

2021-01-08 Thread Geert Uytterhoeven
On Thu, Jan 7, 2021 at 10:28 AM Atish Patra wrote: > SMP_CACHE_BYTES/L1_CACHE_BYTES should be defined as 32 instead of > 64 for RV32. Otherwise, there will be hole of 32 bytes with each memblock > allocation if it is requested to be aligned with SMP_CACHE_BYTES. > > Signed-off-by: Atish Patra

Re: [PATCH 1/4] RISC-V: Do not allocate memblock while iterating reserved memblocks

2021-01-08 Thread Geert Uytterhoeven
Hi Atish, On Thu, Jan 7, 2021 at 10:28 AM Atish Patra wrote: > Currently, resource tree allocates memory blocks while iterating on the > list. It leads to following kernel warning because memblock allocation > also invokes memory block reservation API. > > [0.00] [ cut here

Multiple MODALIAS= in uevent file confuses userspace

2021-01-08 Thread Kai-Heng Feng
Commit 8765c5ba19490 ("ACPI / scan: Rework modalias creation when "compatible" is present") creates two modaliases for certain ACPI devices. However userspace (systemd-udevd in this case) assumes uevent file doesn't have duplicated keys, so two "MODALIAS=" breaks the assumption. Based on the

ERROR: modpost: "irq_check_status_bit" undefined!

2021-01-08 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f5e6c330254ae691f6d7befe61c786eb5056007e commit: fdd029630434b434b127efc7fba337da28f45658 genirq: Move status flag checks to core date: 3 weeks ago config: arm64-randconfig-r021-20210108 (attached

Re: [PATCH v6 2/8] regulator: dt-bindings: Document max8997-pmic nodes

2021-01-08 Thread Mark Brown
On Fri, Jan 08, 2021 at 03:16:48PM +, Timon Baetz wrote: > Muic needs a node to be used with extcon_get_edev_by_phandle(). > Charger needs a node to reference a regulator. The pattern is to use the parent device's node. signature.asc Description: PGP signature

Re: [PATCH 2/2] mm: soft_dirty: userfaultfd: introduce wrprotect_tlb_flush_pending

2021-01-08 Thread Andrea Arcangeli
Hello everyone, On Fri, Jan 08, 2021 at 12:48:16PM +, Will Deacon wrote: > On Thu, Jan 07, 2021 at 04:25:54PM -0800, Linus Torvalds wrote: > > Please. Why is the correct patch not the attached one (apart from the > > obvious fact that I haven't tested it and maybe just screwed up > >

Re: [RFC][PATCH 1/5] sched/fair: Fix select_idle_cpu()s cost accounting

2021-01-08 Thread Mel Gorman
On Fri, Jan 08, 2021 at 04:10:51PM +0100, Vincent Guittot wrote: > > > Trying to bias the avg_scan_cost with: loops <<= 2; > > > will just make avg_scan_cost lost any kind of meaning because it > > > doesn't reflect the avg cost of scanning a rq anymore > > > > > > > Before the series, the

[PATCH] KVM: arm64: Compute TPIDR_EL2 ignoring MTE tag

2021-01-08 Thread Steven Price
KASAN in HW_TAGS mode will store MTE tags in the top byte of the pointer. When computing the offset for TPIDR_EL2 we don't want anything in the top byte, so remove the tag to ensure the computation is correct no matter what the tag. Fixes: 94ab5b61ee16 ("kasan, arm64: enable

Re: [PATCH] net: phy: micrel: reconfigure the phy on resume

2021-01-08 Thread Andrew Lunn
On Fri, Jan 08, 2021 at 05:45:54PM +0200, Claudiu Beznea wrote: > KSZ9131 is used in setups with SAMA7G5. SAMA7G5 supports a special > power saving mode (backup mode) that cuts the power for almost all > parts of the SoC. The rail powering the ethernet PHY is also cut off. > When resuming, in case

Re: [PATCH] fs: process fput task_work with TWA_SIGNAL

2021-01-08 Thread Jens Axboe
On 1/8/21 8:58 AM, Al Viro wrote: > On Fri, Jan 08, 2021 at 08:13:25AM -0700, Jens Axboe wrote: >>> Anyway, bedtime for me; right now it looks like at least for task == >>> current we always want TWA_SIGNAL. I'll look into that more tomorrow >>> when I get up, but so far it smells like switching

[PATCH v4 2/6] dt-bindings: audio-graph-card: Add plls and sysclks properties

2021-01-08 Thread Richard Fitzgerald
The audio-graph-card driver has properties for configuring the clocking for DAIs within a component, but is missing properties for setting up the PLLs and sysclks of the component. This patch adds the two new properties 'plls' and 'sysclks' so that the audio-graph-driver can fully configure the

[PATCH v4 5/6] ASoC: madera: Export clock config defines to dt-bindings

2021-01-08 Thread Richard Fitzgerald
Move the defines for clock/fll IDs and sources into the dt-bindings header so that they can be used by machine driver dts files. Signed-off-by: Richard Fitzgerald --- include/dt-bindings/sound/madera.h | 60 ++ sound/soc/codecs/madera.h | 56

[PATCH v4 0/6] Add support for Rpi4b + Cirrus Lochnagar2 and CS47L15

2021-01-08 Thread Richard Fitzgerald
This set of patches provides support for using the Raspberry Pi 4b with a Cirrus Logic Lochnagar 2 audio development platform plus Cirrus Logic CS47L15 codec. Patches are needed to audio-graph-card to enable support for setting the component sysclks and plls. These are not specific to CS47L15 -

[PATCH v4 4/6] ASoC: madera: Allow codecs to be selected from kernel config

2021-01-08 Thread Richard Fitzgerald
The codec Kconfig options were hidden and intended to be selected by the machine driver that requires them. But that means having either a dedicated machine driver or building all codecs. This patch makes the Kconfig options visible so that they can be selected independently of the machine

[PATCH v4 3/6] ASoC: audio-graph-card: Support setting component plls and sysclks

2021-01-08 Thread Richard Fitzgerald
Some codecs need plls and/or sysclks to be configured using the snd_soc_component_set_[sysclk|pll] functions. These drivers cannot necessarily be converted to use the clock framework. If the codec is on a I2C/SPI bus, a nested clk_get would be needed to enable the bus clock. But the clock

[PATCH v4 1/6] of: base: Add of_count_phandle_with_fixed_args()

2021-01-08 Thread Richard Fitzgerald
Add an equivalent of of_count_phandle_with_args() for fixed argument sets, to pair with of_parse_phandle_with_fixed_args(). The existing of_count_phandle_with_args() is modified to be a private function that handles both cases and the public functions are trivial wrappers round that.

[PATCH v4 6/6] ARM: dts: Add dts for RPi4b + Cirrus Logic Lochnagar2 + CS47L15

2021-01-08 Thread Richard Fitzgerald
This adds a devicetree configuration for Raspberry Pi 4b connected to Cirrus Logic Lochnagar 2 audio development board and CS47L15 codec. The common (codec-independent) Lochnagar 2 configuration is separated into a dtsi to simplify re-using it for other codecs. Signed-off-by: Richard Fitzgerald

Re: [PATCH] Driver core: platform: Add extra error check in devm_platform_get_irqs_affinity()

2021-01-08 Thread Greg KH
On Fri, Jan 08, 2021 at 03:48:24PM +, Marc Zyngier wrote: > On 2021-01-08 15:43, John Garry wrote: > > On 08/01/2021 15:43, Greg KH wrote: > > > On Mon, Dec 21, 2020 at 10:30:55PM +0800, John Garry wrote: > > > > The current check of nvec < minvec for nvec returned from > > > >

Re: [PATCH v1] Documentation: ACPI: add new rule for gpio-line-names

2021-01-08 Thread Andy Shevchenko
On Fri, Jan 8, 2021 at 5:28 PM Flavio Suligoi wrote: > > The gpio-line-names lists must respect some rules. > > This patch adds a new rule in documentation, to avoid > the use of duplicate names in the same gpiochip. Thanks! Reviewed-by: Andy Shevchenko > Signed-off-by: Flavio Suligoi > --- >

Re: [PATCH v2 2/2] arm64: dts: mt8192: Add node for the Mali GPU

2021-01-08 Thread Steven Price
On 05/01/2021 05:36, Nick Fan wrote: Add a basic GPU node for mt8192. Signed-off-by: Nick Fan --- This patch depends on Mediatek power and regulator support. Listed as following. [1]https://lore.kernel.org/patchwork/patch/1336293/

[PATCH v2 2/3] mm: fix numa stats for thp migration

2021-01-08 Thread Shakeel Butt
Currently the kernel is not correctly updating the numa stats for NR_FILE_PAGES and NR_SHMEM on THP migration. Fix that. For NR_FILE_DIRTY and NR_ZONE_WRITE_PENDING, although at the moment there is no need to handle THP migration as kernel still does not have write support for file THP but to be

[PULL] drm-fixes

2021-01-08 Thread Daniel Vetter
Hi Linus, Looks like people are back from the break, usual small pile of fixes all over. Next week Dave should be back. Only thing pending I'm aware of is a "this shouldn't have become uapi" reverts for amdgpu, but they're already on the list and not that important really so can wait another

[PATCH v2 3/3] mm: memcg: add swapcache stat for memcg v2

2021-01-08 Thread Shakeel Butt
This patch adds swapcache stat for the cgroup v2. The swapcache represents the memory that is accounted against both the memory and the swap limit of the cgroup. The main motivation behind exposing the swapcache stat is for enabling users to gracefully migrate from cgroup v1's memsw counter to

[PATCH v2 1/3] mm: memcg: fix memcg file_dirty numa stat

2021-01-08 Thread Shakeel Butt
The kernel updates the per-node NR_FILE_DIRTY stats on page migration but not the memcg numa stats. That was not an issue until recently the commit 5f9a4f4a7096 ("mm: memcontrol: add the missing numa_stat interface for cgroup v2") exposed numa stats for the memcg. So fixing the file_dirty

Re: [PATCH] fs: process fput task_work with TWA_SIGNAL

2021-01-08 Thread Al Viro
On Fri, Jan 08, 2021 at 08:13:25AM -0700, Jens Axboe wrote: > > Anyway, bedtime for me; right now it looks like at least for task == > > current we always want TWA_SIGNAL. I'll look into that more tomorrow > > when I get up, but so far it smells like switching everything to > > TWA_SIGNAL would

Re: dmaengine : xilinx_dma two issues

2021-01-08 Thread Paul Thomas
Hi All, On Fri, Jan 8, 2021 at 2:13 AM Radhey Shyam Pandey wrote: > > > -Original Message- > > From: Radhey Shyam Pandey > > Sent: Monday, January 4, 2021 10:50 AM > > To: Paul Thomas ; Dan Williams > > ; Vinod Koul ; Michal Simek > > ; Matthew Murrian ; > > Romain Perier ; Krzysztof

[no subject]

2021-01-08 Thread Steve Lenka Thomson
Greetings, We are pleased to inform you that an amount of £500,000.00 (GBP) has been donated and gifted to you and your family by Steve & Lenka Thomson. Kindly contact for the claim: stlenkatfo...@hotmail.com Regards, Thomson's Foundation

Re: [PATCH V4 0/3] arm64: topology: improvements

2021-01-08 Thread Ionela Voinescu
On Friday 08 Jan 2021 at 16:46:50 (+0530), Viresh Kumar wrote: > Hi, > > Here is the V4 with the general improvements for topology stuff. This > cleans up the code and makes it work with cpufreq modules. > > V4: > - Added Rby from Ionela. > - In 3/3, Print cpus instead of amu_fie_cpus and make

Re: [PATCH V4 3/3] arm64: topology: Make AMUs work with modular cpufreq drivers

2021-01-08 Thread Ionela Voinescu
On Friday 08 Jan 2021 at 16:46:53 (+0530), Viresh Kumar wrote: > The AMU counters won't get used today if the cpufreq driver is built as > a module as the amu core requires everything to be ready by late init. > > Fix that properly by registering for cpufreq policy notifier. Note that > the amu

Re: NFS 4.2 client support broken on 5.10.5

2021-01-08 Thread Kurt Garloff
Hi Trond, Am 08.01.21 um 15:39 schrieb Kurt Garloff: > Hi Trond, > > On 08/01/2021 12:58, Trond Myklebust wrote: >> On Fri, 2021-01-08 at 12:41 +0100, Kurt Garloff wrote: >>> [...] >>> The kernel tree is on an NFS share, and I run 5.10.5 client kernel >>> against the kernel NFS (4.2) server,

Re: [PATCH 1/6] drivers: crypto: qce: sha: Restore/save sha1_state/sha256_state with qce_sha_reqctx in export/import

2021-01-08 Thread Thara Gopinath
On 1/2/21 4:25 PM, Herbert Xu wrote: On Fri, Dec 18, 2020 at 10:30:22PM -0500, Thara Gopinath wrote: Export and import interfaces save and restore partial transformation states. The partial states were being stored and restored in struct sha1_state for sha1/hmac(sha1) transformations and

Re: [PATCH v4 02/37] firmware: arm_scmi: introduce protocol handle definitions

2021-01-08 Thread Thara Gopinath
On 1/8/21 7:04 AM, Cristian Marussi wrote: Hi Thara thanks for reviewing. On Thu, Jan 07, 2021 at 09:29:17AM -0500, Thara Gopinath wrote: On 1/6/21 3:15 PM, Cristian Marussi wrote: Add basic protocol handles definitions and private data helpers support. A protocol handle identifies a

Re: [PATCH] drivers: core: Detach device from power domain on shutdown

2021-01-08 Thread Rafael J. Wysocki
On Fri, Jan 8, 2021 at 4:43 PM Greg Kroah-Hartman wrote: > > On Mon, Dec 14, 2020 at 08:56:48PM -0800, Furquan Shaikh wrote: > > On Tue, Dec 1, 2020 at 1:30 PM Furquan Shaikh wrote: > > > > > > When the system is powered off or rebooted, devices are not detached > > > from their PM domain. This

Re: [PATCH] drivers: core: Detach device from power domain on shutdown

2021-01-08 Thread Rafael J. Wysocki
On Tue, Dec 1, 2020 at 10:30 PM Furquan Shaikh wrote: > > When the system is powered off or rebooted, devices are not detached > from their PM domain. This results in ACPI PM not being invoked and > hence PowerResouce _OFF method not being invoked for any of the > devices. Because the ACPI power

Re: [PATCH] Driver core: platform: Add extra error check in devm_platform_get_irqs_affinity()

2021-01-08 Thread Marc Zyngier
On 2021-01-08 15:43, John Garry wrote: On 08/01/2021 15:43, Greg KH wrote: On Mon, Dec 21, 2020 at 10:30:55PM +0800, John Garry wrote: The current check of nvec < minvec for nvec returned from platform_irq_count() will not detect a negative error code in nvec. This is because minvec is

[PATCH] net: phy: micrel: reconfigure the phy on resume

2021-01-08 Thread Claudiu Beznea
KSZ9131 is used in setups with SAMA7G5. SAMA7G5 supports a special power saving mode (backup mode) that cuts the power for almost all parts of the SoC. The rail powering the ethernet PHY is also cut off. When resuming, in case the PHY has been configured on probe with slew rate or DLL settings

Re: [PATCH v2 -next] leds: convert comma to semicolon

2021-01-08 Thread Pavel Machek
On Fri 2021-01-08 07:14:08, Dan Murphy wrote: > Hello > > On 1/8/21 3:24 AM, Zheng Yongjun wrote: > > Replace a comma between expression statements by a semicolon. > > Can you add a "Fixes" tag here? Don't. Its just cleanup, we don't want it in stable. Patch is fine as is. --

Re: [PATCH] Driver core: platform: Add extra error check in devm_platform_get_irqs_affinity()

2021-01-08 Thread John Garry
On 08/01/2021 15:43, Greg KH wrote: On Mon, Dec 21, 2020 at 10:30:55PM +0800, John Garry wrote: The current check of nvec < minvec for nvec returned from platform_irq_count() will not detect a negative error code in nvec. This is because minvec is unsigned, and, as such, nvec is promoted to

Re: [PATCH] drivers: core: Detach device from power domain on shutdown

2021-01-08 Thread Greg Kroah-Hartman
On Mon, Dec 14, 2020 at 08:56:48PM -0800, Furquan Shaikh wrote: > On Tue, Dec 1, 2020 at 1:30 PM Furquan Shaikh wrote: > > > > When the system is powered off or rebooted, devices are not detached > > from their PM domain. This results in ACPI PM not being invoked and > > hence PowerResouce _OFF

Re: [PATCH] Driver core: platform: Add extra error check in devm_platform_get_irqs_affinity()

2021-01-08 Thread Greg KH
On Mon, Dec 21, 2020 at 10:30:55PM +0800, John Garry wrote: > The current check of nvec < minvec for nvec returned from > platform_irq_count() will not detect a negative error code in nvec. > > This is because minvec is unsigned, and, as such, nvec is promoted to > unsigned in that check, which

Re: [PATCH v3 01/10] dt-bindings: irq: sun6i-r: Split the binding from sun7i-nmi

2021-01-08 Thread Samuel Holland
On 1/8/21 3:44 AM, Maxime Ripard wrote: > Hi Samuel, > > Thanks a lot for working on this > > I'm fine with the rest of the work, but I have a couple of questions > > On Sun, Jan 03, 2021 at 04:30:52AM -0600, Samuel Holland wrote: >> The R_INTC in the A31 and newer sun8i/sun50i SoCs has

[PATCH 0/2] perf/x86/intel/uncore: Derive die id from NUMA info with more than 8 nodes

2021-01-08 Thread Steve Wahl
For Intel uncore, the registers being used to identify the die don't contain enough bits to uniquely identify more than 8 dies. On systems with more than 8 dies, this results in error messages of the form "skx_uncore: probe of :XX:XX.X failed with error -22", and some perf counters showing up

[PATCH 2/2] perf/x86/intel/uncore: With > 8 nodes, get pci bus die id from NUMA info

2021-01-08 Thread Steve Wahl
The registers used to determine which die a pci bus belongs to don't contain enough information to uniquely specify more than 8 dies, so when more than 8 dies are present, use NUMA information instead. Continue to use the previous method for 8 or fewer because it works there, and covers cases of

[PATCH 1/2] perf/x86/intel/uncore: Store the logical die id instead of the physical die id.

2021-01-08 Thread Steve Wahl
The phys_id isn't really used other than to map to a logical die id. Calculate the logical die id earlier, and store that instead of the phys_id. Signed-off-by: Steve Wahl --- arch/x86/events/intel/uncore.c | 58 ++-- arch/x86/events/intel/uncore.h | 5 +--

Re: [PATCH v4 sl-b 0/6] Export return addresses etc. for better diagnostics

2021-01-08 Thread Vlastimil Babka
On 1/8/21 1:26 AM, Paul E. McKenney wrote: > On Wed, Jan 06, 2021 at 03:42:12PM -0800, Paul E. McKenney wrote: >> On Wed, Jan 06, 2021 at 01:48:43PM -0800, Andrew Morton wrote: >> > On Tue, 5 Jan 2021 17:16:03 -0800 "Paul E. McKenney" >> > wrote: >> > >> > > This is v4 of the series the

Re: [PATCH] hwmon: (amd_energy) fix allocation of hwmon_channel_info config

2021-01-08 Thread Guenter Roeck
On Thu, Jan 07, 2021 at 09:47:07AM -0500, David Arcari wrote: > hwmon, specifically hwmon_num_channel_attrs, expects the config > array in the hwmon_channel_info structure to be terminated by > a zero entry. amd_energy does not honor this convention. As > result, a KASAN warning is possible.

Re: [PATCH v7 08/18] virt: acrn: Introduce EPT mapping management

2021-01-08 Thread Greg Kroah-Hartman
On Wed, Jan 06, 2021 at 03:50:45PM +0800, shuo.a@intel.com wrote: > +/** > + * struct acrn_vm_memmap - A EPT memory mapping info for a User VM. > + * @type:Type of the memory mapping (ACRM_MEMMAP_*). > + * Pass to hypervisor directly. > + * @attr:

[PATCH] drivers: net: wireless: rtlwifi: fix bool comparison in expressions

2021-01-08 Thread Aditya Srivastava
- - The changes made are compile tested - Applies perfecly on next-20210108 drivers/net/wireless/realtek/rtlwifi/ps.c | 4 ++-- drivers/net/wireless/realtek/rtlwifi/rtl8188ee/dm.c | 8 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c | 4 ++-- drivers/net/wire

Re: [PATCH v7 07/18] virt: acrn: Introduce an ioctl to set vCPU registers state

2021-01-08 Thread Greg Kroah-Hartman
On Wed, Jan 06, 2021 at 03:50:44PM +0800, shuo.a@intel.com wrote: > From: Shuo Liu > > A virtual CPU of User VM has different context due to the different > registers state. ACRN userspace needs to set the virtual CPU > registers state (e.g. giving a initial registers state to a virtual >

Re: [PATCH mm,percpu_ref,rcu 4/6] mm: Make mem_obj_dump() vmalloc() dumps include start and length

2021-01-08 Thread Vlastimil Babka
On 1/6/21 2:17 AM, paul...@kernel.org wrote: > From: "Paul E. McKenney" > > This commit adds the starting address and number of pages to the vmalloc() > information dumped by way of vmalloc_dump_obj(). > > Cc: Andrew Morton > Cc: Joonsoo Kim > Cc: > Reported-by: Andrii Nakryiko >

Re: [PATCH 1/1] arm64: make section size configurable for memory hotplug

2021-01-08 Thread David Hildenbrand
> To summarize, the section size bits for each base page size config > should always > > a. Avoid (MAX_ORDER - 1 + PAGE_SHIFT) > SECTION_SIZE_BITS Pageblocks must also always fall completely into a section. > > b. Provide minimum possible section size for a given base page config to >have

Re: [PATCH mm,percpu_ref,rcu 3/6] mm: Make mem_dump_obj() handle vmalloc() memory

2021-01-08 Thread Vlastimil Babka
On 1/6/21 2:17 AM, paul...@kernel.org wrote: > From: "Paul E. McKenney" > > This commit adds vmalloc() support to mem_dump_obj(). Note that the > vmalloc_dump_obj() function combines the checking and dumping, in > contrast with the split between kmem_valid_obj() and kmem_dump_obj(). > The

Re: [PATCH v7 06/18] virt: acrn: Introduce VM management interfaces

2021-01-08 Thread Greg Kroah-Hartman
On Wed, Jan 06, 2021 at 03:50:43PM +0800, shuo.a@intel.com wrote: > From: Shuo Liu > > The VM management interfaces expose several VM operations to ACRN > userspace via ioctls. For example, creating VM, starting VM, destroying > VM and so on. > > The ACRN Hypervisor needs to exchange data

Re: [RFC PATCH v2] selinux: security: Move selinux_state to a separate page

2021-01-08 Thread Miguel Ojeda
On Fri, Jan 8, 2021 at 10:52 AM Preeti Nagar wrote: > > We want to seek your suggestions and comments on the idea and the changes > in the patch. Cc'ing Nick manually since his email domain was (again :-) incorrect. Cheers, Miguel

Re: [PATCH v3 2/2] misc: pvpanic: introduce module parameter 'events'

2021-01-08 Thread Paolo Bonzini
On 08/01/21 16:15, Greg KH wrote: On Fri, Jan 08, 2021 at 04:04:24PM +0100, Paolo Bonzini wrote: On 08/01/21 15:07, Greg KH wrote: static void __iomem *base; +static unsigned int events = PVPANIC_PANICKED | PVPANIC_CRASH_LOADED; +module_param(events, uint, 0644); +MODULE_PARM_DESC(events,

[PATCH v1] Documentation: ACPI: add new rule for gpio-line-names

2021-01-08 Thread Flavio Suligoi
The gpio-line-names lists must respect some rules. This patch adds a new rule in documentation, to avoid the use of duplicate names in the same gpiochip. Signed-off-by: Flavio Suligoi --- Documentation/firmware-guide/acpi/gpio-properties.rst | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [RFC PATCH v2] selinux: security: Move selinux_state to a separate page

2021-01-08 Thread Miguel Ojeda
On Fri, Jan 8, 2021 at 10:52 AM Preeti Nagar wrote: > > We want to seek your suggestions and comments on the idea and the changes > in the patch. Not sure why I was Cc'd, but I have a quick comment nevertheless. > +#ifdef CONFIG_SECURITY_RTIC > +struct selinux_state selinux_state __rticdata; >

Re: [PATCH] x86/hyper-v: guard against cpu mask changes in hyperv_flush_tlb_others()

2021-01-08 Thread Sasha Levin
On Tue, Jan 05, 2021 at 04:59:10PM +, Michael Kelley wrote: From: Wei Liu Sent: Monday, October 5, 2020 7:59 AM On Sat, Oct 03, 2020 at 05:40:15PM +, Michael Kelley wrote: > From: Sasha Levin Sent: Thursday, October 1, 2020 6:04 AM > > > > On Thu, Oct 01, 2020 at 11:53:59AM +,

Re: [RFC PATCH net-next] bonding: add a vlan+srcmac tx hashing option

2021-01-08 Thread Jarod Wilson
On Fri, Jan 08, 2021 at 02:12:56PM +0100, Jiri Pirko wrote: > Fri, Jan 08, 2021 at 12:58:13AM CET, ja...@redhat.com wrote: > >On Mon, Dec 28, 2020 at 11:11:45AM +0100, Jiri Pirko wrote: > >> Fri, Dec 18, 2020 at 08:30:33PM CET, ja...@redhat.com wrote: > >> >This comes from an end-user request,

Re: [PATCH] blk-mq-debugfs: Add decode for BLK_MQ_F_TAG_HCTX_SHARED

2021-01-08 Thread Jens Axboe
On 1/8/21 1:55 AM, John Garry wrote: > Showing the hctx flags for when BLK_MQ_F_TAG_HCTX_SHARED is set gives > something like: > > root@debian:/home/john# more /sys/kernel/debug/block/sda/hctx0/flags > alloc_policy=FIFO SHOULD_MERGE|TAG_QUEUE_SHARED|3 Applied, thanks. -- Jens Axboe

RE: [PATCH v11 12/13] vfio/pci: Register a DMA fault response region

2021-01-08 Thread Shameerali Kolothum Thodi
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; linux-kernel@vger.kernel.org; > k...@vger.kernel.org; kvm...@lists.cs.columbia.edu;

[PATCH] cpufreq: Revert "cpufreq: qcom-hw: Use devm_platform_ioremap_resource() to simplify code"

2021-01-08 Thread Ionela Voinescu
This reverts commit f17b3e44320b4079e69135c63d1e416b0703a21e. This commit introduces a regression on platforms using the driver, by failing to initialise a policy, when one is created post hotplug. When all the CPUs of a policy are hoptplugged out, the call to .exit() and later to devm_iounmap()

Re: [PATCH v6 2/8] regulator: dt-bindings: Document max8997-pmic nodes

2021-01-08 Thread Timon Baetz
On Wed, 6 Jan 2021 14:59:31 +, Mark Brown wrote: > On Tue, Jan 05, 2021 at 05:55:29PM +0100, Krzysztof Kozlowski wrote: > > On Mon, Jan 04, 2021 at 09:24:49PM +, Mark Brown wrote: > > > > I'm not sure I follow, sorry? Either the core driver can parse the > > > bindings enough to know

Re: [PATCH v2 2/2] ALSA: hda/tegra: fix tegra-hda on tegra30 soc

2021-01-08 Thread Sameer Pujar
On 1/8/2021 7:29 PM, Peter Geis wrote: External email: Use caution opening links or attachments Currently hda on tegra30 fails to open a stream with an input/output error. For example: speaker-test -Dhw:0,3 -c 2 speaker-test 1.2.2 Playback device is hw:0,3 Stream parameters are 48000Hz,

Re: [PATCH v2 1/2] clk: tegra30: Add hda clock default rates to clock driver

2021-01-08 Thread Sameer Pujar
On 1/8/2021 7:29 PM, Peter Geis wrote: External email: Use caution opening links or attachments Current implementation defaults the hda clocks to clk_m. This causes hda to run too slow to operate correctly. Fix this by defaulting to pll_p and setting the frequency to the correct rate. This

Re: [PATCH v3 2/2] misc: pvpanic: introduce module parameter 'events'

2021-01-08 Thread Greg KH
On Fri, Jan 08, 2021 at 04:04:24PM +0100, Paolo Bonzini wrote: > On 08/01/21 15:07, Greg KH wrote: > > > static void __iomem *base; > > > +static unsigned int events = PVPANIC_PANICKED | PVPANIC_CRASH_LOADED; > > > +module_param(events, uint, 0644); > > > +MODULE_PARM_DESC(events, "set event

Re: [PATCH] fs: process fput task_work with TWA_SIGNAL

2021-01-08 Thread Jens Axboe
On 1/7/21 11:46 PM, Al Viro wrote: > On Fri, Jan 08, 2021 at 05:26:51AM +, Al Viro wrote: >> On Tue, Jan 05, 2021 at 11:29:11AM -0700, Jens Axboe wrote: >>> Song reported a boot regression in a kvm image with 5.11-rc, and bisected >>> it down to the below patch. Debugging this issue, turns out

Re: [RFC PATCH v3 0/2] scheduler: expose the topology of clusters and add cluster scheduler

2021-01-08 Thread Morten Rasmussen
On Thu, Jan 07, 2021 at 03:16:47PM -0800, Tim Chen wrote: > On 1/6/21 12:30 AM, Barry Song wrote: > > ARM64 server chip Kunpeng 920 has 6 clusters in each NUMA node, and each > > cluster has 4 cpus. All clusters share L3 cache data while each cluster > > has local L3 tag. On the other hand, each

Re: [RFC][PATCH 1/5] sched/fair: Fix select_idle_cpu()s cost accounting

2021-01-08 Thread Vincent Guittot
On Fri, 8 Jan 2021 at 15:41, Mel Gorman wrote: > > On Fri, Jan 08, 2021 at 02:41:19PM +0100, Vincent Guittot wrote: > > > 1. avg_scan_cost is now based on the average scan cost of a rq but > > >avg_idle is still scaled to the domain size. This is a bit problematic > > >because it's

[PATCH 2/2] ARM: dts: rockchip: add extra cpu opp points to rk3288-miqi

2021-01-08 Thread Demetris Ierokipides
Add extra 1.7GHz and 1.8GHz opp points to the MiQi device-tree to improve performance. Signed-off-by: Demetris Ierokipides --- arch/arm/boot/dts/rk3288-miqi.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-miqi.dts

[PATCH 1/2] ARM: dts: rockchip: add gpu node to rk3288-miqi

2021-01-08 Thread Demetris Ierokipides
Add the Mali GPU node to the MiQi device-tree. Signed-off-by: Demetris Ierokipides --- arch/arm/boot/dts/rk3288-miqi.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-miqi.dts b/arch/arm/boot/dts/rk3288-miqi.dts index cf54d52f..713f55e143c6 100644 ---

[PATCH 0/2] ARM: dts: rockchip: minor tweaks for rk3288-miqi.This series adds a missing mali GPU node and two additional CPU opp points

2021-01-08 Thread Demetris Ierokipides
From: Ntemis Demetris Ierokipides (2): ARM: dts: rockchip: add gpu node to rk3288-miqi ARM: dts: rockchip: add extra cpu opp points to rk3288-miqi arch/arm/boot/dts/rk3288-miqi.dts | 17 + 1 file changed, 17 insertions(+) -- 2.25.1

[PATCH V1] scsi: ufs: Add UFS3.0 in ufs HCI version check

2021-01-08 Thread Nitin Rawat
As per JESD223D UFS HCI v3.0 specs, HCI version 3.0 is also supported. Hence Adding UFS3.0 in UFS HCI version check to avoid logging the error message. Signed-off-by: Nitin Rawat --- drivers/scsi/ufs/ufshcd.c | 5 +++-- drivers/scsi/ufs/ufshci.h | 1 + 2 files changed, 4 insertions(+), 2

[PATCH V8 1/1] i2c: i2c-qcom-geni: Add shutdown callback for i2c

2021-01-08 Thread Roja Rani Yarubandi
If the hardware is still accessing memory after SMMU translation is disabled (as part of smmu shutdown callback), then the IOVAs (I/O virtual address) which it was using will go on the bus as the physical addresses which will result in unknown crashes like NoC/interconnect errors. So, implement

[PATCH V8 0/1] Implement Shutdown callback for geni-i2c

2021-01-08 Thread Roja Rani Yarubandi
Hi, Other two patches of this series have been picked, posting this patch with fixing minor comments. Roja Rani Yarubandi (1): i2c: i2c-qcom-geni: Add shutdown callback for i2c drivers/i2c/busses/i2c-qcom-geni.c | 34 ++ 1 file changed, 34 insertions(+) --

Re: [PATCH v5 1/4] drm/i915: Keep track of pwm-related backlight hooks separately

2021-01-08 Thread Jani Nikula
On Thu, 07 Jan 2021, Lyude Paul wrote: > @@ -1628,37 +1633,32 @@ static int lpt_setup_backlight(struct intel_connector > *connector, enum pipe unus > panel->backlight.active_low_pwm = pch_ctl1 & BLM_PCH_POLARITY; > > pch_ctl2 = intel_de_read(dev_priv, BLC_PWM_PCH_CTL2); > -

Re: [PATCH v3 2/2] misc: pvpanic: introduce module parameter 'events'

2021-01-08 Thread Paolo Bonzini
On 08/01/21 15:07, Greg KH wrote: static void __iomem *base; +static unsigned int events = PVPANIC_PANICKED | PVPANIC_CRASH_LOADED; +module_param(events, uint, 0644); +MODULE_PARM_DESC(events, "set event limitation of pvpanic device"); I do not understand you wanting a module parameter as

Re: [PATCH] HID: logitech-hidpp: add support for Unified Battery (1004) feature

2021-01-08 Thread Filipe Laíns
On Fri, 2021-01-08 at 15:55 +0100, Jiri Kosina wrote: > On Fri, 8 Jan 2021, Filipe Laíns wrote: > > The problem here is that hidpp20_query_battery_info_1004() does not set > > battery voltage, it is also the battery level. The best alternative Ican > > think > > of is replacing the 1000/1004 with

Re: [PATCH] fs: Fix freeze_bdev()/thaw_bdev() accounting of bd_fsfreeze_sb

2021-01-08 Thread Bob Peterson
Hi, > This is the bigger issue, and I'm not very familiar with this code either, > so I'll defer to the experts. Yes, it's a change in behavior, but I think > it makes sense to decrement the bd_fsfreeze_count in this case. Here's why: > > If the blockdev is frozen by freeze_bdev while it's being

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