Re: [PATCH 11/13] KVM: SVM: Drop redundant svm_sev_enabled() helper

2021-01-11 Thread Sean Christopherson
On Mon, Jan 11, 2021, Tom Lendacky wrote: > On 1/8/21 6:47 PM, Sean Christopherson wrote: > > Replace calls to svm_sev_enabled() with direct checks on sev_enabled, or > > in the case of svm_mem_enc_op, simply drop the call to svm_sev_enabled(). > > This effectively replaces checks against a valid m

[Aspeed,ncsi-rx, v2 1/1] net: ftgmac100: Fix AST2600EVB NCSI RX issue

2021-01-11 Thread Hongwei Zhang
> > From: Jakub Kicinski > Sent: Monday, December 21, 2020 5:10 PM > To: Hongwei Zhang > > On Mon, 21 Dec 2020 14:40:26 -0500 Hongwei Zhang wrote: > > When FTGMAC100 driver is used on other NCSI Ethernet controllers, few > > When you say NCSI Ethernet controller here you mean the main system

[PATCH] mm: vmscan: support equal reclaim for anon and file pages

2021-01-11 Thread Sudarshan Rajagopalan
When performing memory reclaim support treating anonymous and file backed pages equally. Swapping anonymous pages out to memory can be efficient enough to justify treating anonymous and file backed pages equally. Signed-off-by: Sudarshan Rajagopalan Cc: Andrew Morton --- mm/vmscan.c | 15 ++

[Aspeed,ncsi-rx, v1 0/1] net: ftgmac100: Fix AST2600EVB NCSI RX issue

2021-01-11 Thread Hongwei Zhang
> > Hi Hongwei, > > The NCSI should run on 3.3V RMII. According your log, you enabled NCSI on > ftgmac100@1e66 which can only support 1.8V I/O voltage. > Did you observe the same error on ftgmac100@1e67 (MAC3) or > ftgmac100@1e69 (MAC4)? > Hi Dylan, Thanks for your review and in

Re: [PATCH] char_dev: replace cdev_map with an xarray

2021-01-11 Thread Matthew Wilcox
On Mon, Jan 11, 2021 at 06:05:13PM +0100, Christoph Hellwig wrote: > @@ -486,14 +491,22 @@ int cdev_add(struct cdev *p, dev_t dev, unsigned count) > if (WARN_ON(dev == WHITEOUT_DEV)) > return -EBUSY; > > - error = kobj_map(cdev_map, dev, count, NULL, > -

Re: [PATCH v3] x86/entry: emit a symbol for register restoring thunk

2021-01-11 Thread Fangrui Song
On 2021-01-11, Nick Desaulniers wrote: Arnd found a randconfig that produces the warning: arch/x86/entry/thunk_64.o: warning: objtool: missing symbol for insn at offset 0x3e when building with LLVM_IAS=1 (use Clang's integrated assembler). Josh notes: With the LLVM assembler stripping the .

Re: linux-next: Fixes tag needs some work in the spi tree

2021-01-11 Thread Pratyush Yadav
+Cc checkpatch.pl maintainers. On 12/01/21 07:36AM, Stephen Rothwell wrote: > Hi all, > > In commit > > 2ef0170e9039 ("spi: cadence-quadspi: Fix build warning on 32-bit platforms") > > Fixes tag > > Fixes: f453f293979f ("spi: cadence-quadspi: Wait at least 500 ms for direct > reads") > >

Re: [PATCH v5 mips-next 0/9] MIPS: vmlinux.lds.S sections fixes & cleanup

2021-01-11 Thread Alexander Lobakin
From: Kees Cook Date: Mon, 11 Jan 2021 11:53:39 -0800 > On Sun, Jan 10, 2021 at 11:53:50AM +, Alexander Lobakin wrote: >> This series hunts the problems discovered after manual enabling of >> ARCH_WANT_LD_ORPHAN_WARN. Notably: >> - adds the missing PAGE_ALIGNED_DATA() section affecting VDSO

Re: [BUG mips llvm] MIPS: malformed R_MIPS_{HI16,LO16} with LLVM

2021-01-11 Thread Alexander Lobakin
From: Nick Desaulniers Date: Mon, 11 Jan 2021 12:03:29 -0800 > Hi Alexander, > I'm genuinely trying to reproduce/understand this report, questions below: Hi Nick! > On Sat, Jan 9, 2021 at 11:15 AM Alexander Lobakin wrote: >> >> From: Nick Desaulniers >> Date: Sat, 9 Jan 2021 09:50:44 -0800 >>

Re: [PATCH] wireguard: netlink: add multicast notification for peer changes

2021-01-11 Thread kernel test robot
Hi Linus, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.11-rc3 next-20210111] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--bas

Re: [PATCH V5 4/8] remoteproc: imx_rproc: use devm_ioremap

2021-01-11 Thread Mathieu Poirier
On Tue, Dec 29, 2020 at 11:30:15AM +0800, peng@nxp.com wrote: > From: Peng Fan > > We might need to map an region multiple times, becaue the region might > be shared between remote processors, such i.MX8QM with dual M4 cores. > So use devm_ioremap, not devm_ioremap_resource. > > Reviewed-by:

Re: [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -12

2021-01-11 Thread Christian König
Hi Mike, Am 11.01.21 um 20:23 schrieb Mikhail Gavrilov: On Mon, 11 Jan 2021 at 19:01, Christian König wrote: Changing the page table attributes while releasing memory might sleep. So we can't use a spinlock here. Thanks for the report, a patch to fix this is on the mailing list now. Can you

Re: [PATCH V5 3/8] remoteproc: imx_rproc: correct err message

2021-01-11 Thread Mathieu Poirier
On Tue, Dec 29, 2020 at 11:30:14AM +0800, peng@nxp.com wrote: > From: Peng Fan > > It is using devm_ioremap, so not devm_ioremap_resource. Correct > the error message and print out sa/size. > > Reviewed-by: Bjorn Andersson > Signed-off-by: Peng Fan > --- > drivers/remoteproc/imx_rproc.c |

Re: [PATCH 7/7] arm64: dts: qcom: sdm845: enable dma for spi

2021-01-11 Thread Konrad Dybcio
> If it is working without GPI enabled, it would work.. GPI for QUP is > something that requires firmware and would have to be enabled by > firmware I think with the new code of yours: mas->tx = dma_request_slave_channel(mas->dev, "tx"); + if (IS_ERR_OR_NULL(mas->tx)) { + dev_err(mas->dev, "F

Re: [PATCH v5 2/7] pwm: pca9685: Support hardware readout

2021-01-11 Thread Uwe Kleine-König
On Sun, Jan 03, 2021 at 06:04:10PM +0100, Clemens Gruber wrote: > Another point is the period: Sven suggested we do not read out the > period at all, as the PWM is disabled anyway (see above). > Is this acceptable? In my eyes consumers should consider the period value as "don't care" if the PWM is

Re: [PATCH] dt-bindings: (hwmon/pm6764tr) Add PM6764TR hwmon driver bindings

2021-01-11 Thread Rob Herring
On Tue, Dec 29, 2020 at 03:17:23PM +0800, Charles Hsu wrote: > Document device tree bindings for STMicroelectronics PM6764tr Voltage > Regulator. Subject space is valuable and you have 'hwmon', 'pm6764tr', and 'bindings' twice. > > Signed-off-by: Charles Hsu > --- > .../bindings/hwmon/pmbus/s

Re: [PATCH v13 06/15] s390/vfio-ap: allow assignment of unavailable AP queues to mdev device

2021-01-11 Thread Halil Pasic
On Tue, 22 Dec 2020 20:15:57 -0500 Tony Krowiak wrote: > The current implementation does not allow assignment of an AP adapter or > domain to an mdev device if each APQN resulting from the assignment > does not reference an AP queue device that is bound to the vfio_ap device > driver. This patch

Re: [PATCH] dma: mark unmapped DMA scatter/gather invalid

2021-01-11 Thread Robin Murphy
On 2021-01-11 18:03, Marc Orr wrote: On 2021-01-11 15:43, Marc Orr wrote: minus sta...@vger.kernel.org, per gregkh@'s email. diff --git a/kernel/dma/direct.c b/kernel/dma/direct.c index 0a4881e59aa7..3d9b17fe5771 100644 --- a/kernel/dma/direct.c +++ b/kernel/dma/direct.c @@ -374,9 +374,11 @@

Re: [PATCH] Signed-off-by: giladreti

2021-01-11 Thread Andrii Nakryiko
On Mon, Jan 11, 2021 at 8:06 AM Gilad Reti wrote: > > On Mon, Jan 11, 2021, 17:55 Daniel Borkmann wrote: > > > > Hello Gilad, > > > > On 1/11/21 4:31 PM, giladreti wrote: > > > Added support for pointer to mem register spilling, to allow the verifier > > > to track pointer to valid memory address

Re: [PATCH v3 09/21] arm64: cpufeature: Add global feature override facility

2021-01-11 Thread Srinivas Ramana
Hi Catalin, On 1/11/2021 10:41 AM, Catalin Marinas wrote: Hi Marc, On Mon, Jan 11, 2021 at 01:27:59PM +, Marc Zyngier wrote: Add a facility to globally override a feature, no matter what the HW says. Yes, this is dangerous. Yeah, it's dangerous. We can make it less so if we only allow saf

RE: [PATCH] iov_iter: fix the uaccess area in copy_compat_iovec_from_user

2021-01-11 Thread David Laight
From: Christoph Hellwig > Sent: 11 January 2021 17:19 > > sizeof needs to be called on the compat pointer, not the native one. > > Fixes: 89cd35c58bc2 ("iov_iter: transparently handle compat iovecs in > import_iovec") > Reported-by: David Laight > Signed-off-by: Christoph Hellwig > --- > lib/

Re: [PATCH v4 1/5] dt-bindings: aspeed-lpc: Remove LPC partitioning

2021-01-11 Thread Rob Herring
On Tue, Dec 29, 2020 at 02:31:53PM +0800, Chia-Wei, Wang wrote: > The LPC controller has no concept of the BMC and the Host partitions. > This patch fixes the documentation by removing the description on LPC > partitions. The register offsets illustrated in the DTS node examples > are also fixed to

[PATCH v3] x86/entry: emit a symbol for register restoring thunk

2021-01-11 Thread Nick Desaulniers
Arnd found a randconfig that produces the warning: arch/x86/entry/thunk_64.o: warning: objtool: missing symbol for insn at offset 0x3e when building with LLVM_IAS=1 (use Clang's integrated assembler). Josh notes: With the LLVM assembler stripping the .text section symbol, objtool has no way

Re: [PATCH V5 3/8] remoteproc: imx_rproc: correct err message

2021-01-11 Thread Mathieu Poirier
On Tue, Dec 29, 2020 at 11:30:14AM +0800, peng@nxp.com wrote: > From: Peng Fan > > It is using devm_ioremap, so not devm_ioremap_resource. Correct > the error message and print out sa/size. > > Reviewed-by: Bjorn Andersson > Signed-off-by: Peng Fan > --- > drivers/remoteproc/imx_rproc.c |

Re: [PATCH v5 2/7] pwm: pca9685: Support hardware readout

2021-01-11 Thread Uwe Kleine-König
Hello, On Thu, Dec 17, 2020 at 06:43:04PM +0100, Clemens Gruber wrote: > On Wed, Dec 16, 2020 at 11:00:59PM -0500, Sven Van Asbroeck wrote: > > On Wed, Dec 16, 2020 at 7:53 AM Clemens Gruber > > wrote: > > > > > > Implements .get_state to read-out the current hardware state. > > > > > > > I am n

linux-next: Fixes tag needs some work in the spi tree

2021-01-11 Thread Stephen Rothwell
Hi all, In commit 2ef0170e9039 ("spi: cadence-quadspi: Fix build warning on 32-bit platforms") Fixes tag Fixes: f453f293979f ("spi: cadence-quadspi: Wait at least 500 ms for direct reads") has these problem(s): - Subject does not match target commit subject Just use git log

Re: [PATCH] drm/ttm: Fix address passed to dma_mapping_error() in ttm_pool_map()

2021-01-11 Thread Jeremy Cline
On Mon, Jan 11, 2021 at 09:21:48PM +0100, Christian König wrote: > Am 11.01.21 um 17:40 schrieb Jeremy Cline: > > check_unmap() is producing a warning about a missing map error check. > > The return value from dma_map_page() should be checked for an error, not > > the caller-provided dma_addr. > >

Re: [PATCH] docs: driver-model: bus.rst: Clean up the formatting, expound, modernize

2021-01-11 Thread Jonathan Corbet
On Mon, 21 Dec 2020 07:52:00 - Michael Witten wrote: > * The reStructuredText had some indentation issues. > > * The HTML output was not properly formatted in places. > > * Some of the details were lacking or needed clarification (especially > with regard to how a `struct bus_type` object

Re: [PATCH] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-11 Thread Fangrui Song
On 2021-01-11, Bill Wendling wrote: On Mon, Jan 11, 2021 at 12:12 PM Fangrui Song wrote: On 2021-01-11, 'Bill Wendling' via Clang Built Linux wrote: >From: Sami Tolvanen > >Enable the use of clang's Profile-Guided Optimization[1]. To generate a >profile, the kernel is instrumented with PGO co

Re: [PATCH] ASoC: SOF: Intel: avoid reverse module dependency

2021-01-11 Thread Pierre-Louis Bossart
On 1/5/21 1:07 PM, Arnd Bergmann wrote: From: Arnd Bergmann The SOF-ACPI driver is backwards from the normal Linux model, it has a generic driver that knows about all the specific drivers, as opposed to having hardware specific drivers that link against a common framework. This requires ugl

Re: [PATCH v2 2/2] ASoC: rt715:add Mic Mute LED control support

2021-01-11 Thread Pierre-Louis Bossart
@@ -268,6 +269,7 @@ static int rt715_sdca_put_volsw(struct snd_kcontrol *kcontrol, unsigned int reg2 = mc->rreg; unsigned int reg = mc->reg; unsigned int max = mc->max; + unsigned int val0, val1; int err; val = ucontrol->value.integer.value[0]; @@

Re: [PATCH 12/14] ASoC: Intel: Add DMI quirk table to soc_intel_is_byt_cr()

2021-01-11 Thread Pierre-Louis Bossart
On 12/27/20 3:12 PM, Hans de Goede wrote: Some Bay Trail systems: 1. Use a non CR version of the Bay Trail SoC 2. Contain at least 6 interrupt resources so that the platform_get_resource(pdev, IORESOURCE_IRQ, 5) check to workaround non CR systems which list their IPC IRQ at index 0 des

Re: [PATCH 13/14] ASoC: Intel: bytcr_wm5102: Add machine driver for BYT/WM5102

2021-01-11 Thread Pierre-Louis Bossart
+ return ret; + } + + ret = snd_soc_component_set_sysclk(codec_component, ARIZONA_CLK_OPCLK, 0, + rate * sr_mult, SND_SOC_CLOCK_OUT); + if (ret) { + dev_err(codec_component->dev, "Error setting OPCLK: %d\n",

Re: [PATCH] ASoC: Intel: bytcr_rt5640: Add quirks for DeeQ X5-Z8300

2021-01-11 Thread Pierre-Louis Bossart
On 12/15/20 10:16 PM, Chris Chiu wrote: DeeQ X5-Z8300 is a laptop empowered by Intel Atom Cherry Trail. Add quirks to select the correct input map, jack-detect options to enable jack sensing and internal/headset microphones. Signed-off-by: Chris Chiu You probably need to re-send and CC: ma

Re: [PATCH 06/13] x86/sev: Rename global "sev_enabled" flag to "sev_guest"

2021-01-11 Thread Sean Christopherson
On Mon, Jan 11, 2021, Sean Christopherson wrote: > On Mon, Jan 11, 2021, Tom Lendacky wrote: > > On 1/11/21 10:02 AM, Tom Lendacky wrote: > > > On 1/8/21 6:47 PM, Sean Christopherson wrote: > > > > Use "guest" instead of "enabled" for the global "running as an SEV > > > > guest" > > > > flag to av

Re: [PATCH 0/8] FPGA DFL Changes for 5.12

2021-01-11 Thread Moritz Fischer
Tom, On Mon, Jan 11, 2021 at 11:46:03AM -0800, Tom Rix wrote: [..] > I have been doing the first review in a couple of days after every patch > landing. I appreciate your help with doing reviews. > I see some pretty good response from the developers to fix the issues raised.  ... yet patches

Re: [PATCH] Documentation: document dma device use for mcb

2021-01-11 Thread Jonathan Corbet
On Mon, 11 Jan 2021 10:19:55 + Johannes Thumshirn wrote: > On 18/12/2020 16:35, Johannes Thumshirn wrote: > > Hannes reported a problem with setting up dma transfers on a mcb device. > > The problem boiled down to the use of a wrong 'device' for the dma > > functions. > > > > Document how to

RE: Old platforms: bring out your dead

2021-01-11 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Arnd Bergmann [mailto:a...@kernel.org] > Sent: Saturday, January 9, 2021 11:55 AM > To: Linux ARM ; Linux Kernel Mailing > List > Cc: Krzysztof Adamski ; Oleksij Rempel > ; Baruch Siach ; Russell King - > ARM Linux ; Daniel Tang ; Uwe > Kleine-König ; Jamie I

Re: [PATCH V5 2/8] remoteproc: add is_iomem to da_to_va

2021-01-11 Thread Mathieu Poirier
On Tue, Dec 29, 2020 at 11:30:13AM +0800, peng@nxp.com wrote: > From: Peng Fan > > Introduce an extra parameter is_iomem to da_to_va, then the caller > could take the memory as normal memory or io mapped memory. > > Reviewed-by: Bjorn Andersson > Signed-off-by: Peng Fan > --- > drivers/re

Re: [PATCH v17 04/26] x86/cpufeatures: Introduce X86_FEATURE_CET and setup functions

2021-01-11 Thread Yu, Yu-cheng
On 1/11/2021 9:56 AM, Borislav Petkov wrote: On Tue, Dec 29, 2020 at 01:30:31PM -0800, Yu-cheng Yu wrote: @@ -895,6 +903,12 @@ static void init_speculation_control(struct cpuinfo_x86 *c) } } +static void init_cet_features(struct cpuinfo_x86 *c) +{ + if (cpu_has(c, X86_FEATURE

Re: [PATCH v10 2/2] dt-bindings: cpufreq: add bindings for MediaTek cpufreq HW

2021-01-11 Thread Rob Herring
On Tue, Dec 29, 2020 at 02:17:09PM +0800, Hector Yuan wrote: > From: "Hector.Yuan" > > Add devicetree bindings for MediaTek HW driver. > > Signed-off-by: Hector.Yuan > --- > .../bindings/cpufreq/cpufreq-mediatek-hw.yaml | 116 > > 1 file changed, 116 insertions(+) >

Re: [PATCH -tip V3 0/8] workqueue: break affinity initiatively

2021-01-11 Thread Peter Zijlstra
On Mon, Jan 11, 2021 at 07:21:06PM +, Valentin Schneider wrote: > On 11/01/21 18:16, Peter Zijlstra wrote: > > Sadly it appears like io_uring() uses kthread_create_on_cpu() without > > then having any hotplug crud on, so that needs additinoal frobbing. > > > > I noticed that as well sometime a

Re: [PATCH] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-11 Thread Bill Wendling
On Mon, Jan 11, 2021 at 12:12 PM Fangrui Song wrote: > > On 2021-01-11, 'Bill Wendling' via Clang Built Linux wrote: > >From: Sami Tolvanen > > > >Enable the use of clang's Profile-Guided Optimization[1]. To generate a > >profile, the kernel is instrumented with PGO counters, a representative > >

Re: [PATCH] drm/ttm: Fix address passed to dma_mapping_error() in ttm_pool_map()

2021-01-11 Thread Christian König
Am 11.01.21 um 17:40 schrieb Jeremy Cline: check_unmap() is producing a warning about a missing map error check. The return value from dma_map_page() should be checked for an error, not the caller-provided dma_addr. Fixes: d099fc8f540a ("drm/ttm: new TT backend allocation pool v3") Signed-off-by

Re: [PATCH] docs: Include ext4 documentation via filesystems/

2021-01-11 Thread Jonathan Corbet
On Fri, 1 Jan 2021 22:52:13 +0100 Jonathan Neuschäfer wrote: > The documentation for other filesystems is already included via > filesystems/index.rst. Include ext4 in the same way and remove it > from the top-level table of contents. > > Signed-off-by: Jonathan Neuschäfer > --- > Documentati

Re: [RFC PATCH v2 0/8] Count rlimits in each user namespace

2021-01-11 Thread Eric W. Biederman
Linus Torvalds writes: > On Sun, Jan 10, 2021 at 9:34 AM Alexey Gladkov > wrote: >> >> To address the problem, we bind rlimit counters to each user namespace. The >> result is a tree of rlimit counters with the biggest value at the root (aka >> init_user_ns). The rlimit counter increment/decrem

Re: [PATCH 1/4] dt-bindings: net: renesas,etheravb: Add additional clocks

2021-01-11 Thread Rob Herring
On Mon, 28 Dec 2020 15:31:17 -0600, Adam Ford wrote: > The AVB driver assumes there is an external clock, but it could > be driven by an external clock. In order to enable a programmable > clock, it needs to be added to the clocks list and enabled in the > driver. Since there currently only one c

[PATCH v0 net-next 1/1] Allow user to set metric on default route learned via Router Advertisement. Router Advertisement.

2021-01-11 Thread Praveen Chaudhary
Fix: For IPv4, default route is learned via DHCPv4 and user is allowed to change metric using config etc/network/interfaces. But for IPv6, default route can be learned via RA, for which, currently a fixed metric value 1024 is used. Ideally, user should be able to configure metric on default route

[PATCH v0 net-next 0/1] Allow user to set metric on default route learned via Router Advertisement.

2021-01-11 Thread Praveen Chaudhary
Allow user to set metric on default route learned via Router Advertisement. Note: RFC 4191 does not say anything for metric for IPv6 default route. Fix: For IPv4, default route is learned via DHCPv4 and user is allowed to change metric using config in etc/network/interfaces. But for IPv6, default

Re: [GIT PULL] Hyper-V fixes for 5.11-rc4

2021-01-11 Thread pr-tracker-bot
The pull request you sent on Mon, 11 Jan 2021 11:42:10 +: > ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git > tags/hyperv-fixes-signed-20210111 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f1ee3e150bd9da2dd60a210926c86cffd4a336ea

Re: [PATCH 1/2] dt-bindings: clock: renesas: rcar-usb2-clock-sel: Add support for RZ/G2 M/N/H

2021-01-11 Thread Rob Herring
On Mon, 28 Dec 2020 14:22:20 -0600, Adam Ford wrote: > The datasheet for the RZ/G2 Series show the bit for choosing between a crystal > oscillator and an external oscillator is present. Add the bindings for > r8a774a1 (RZ/G2M), r8a774b1 (RZ/G2N), and r8a774e1 (RZ/G2H) > > Signed-off-by: Adam Ford

Re: [PATCH] dt-bindings: mfd: gateworks-gsc: Add fan-tach mode

2021-01-11 Thread Rob Herring
On Mon, 28 Dec 2020 11:28:36 -0800, Tim Harvey wrote: > In 7497d4a66c59 ("hwmon: (gsc-hwmon) add fan sensor") a mode > was added to report RPM's from a fan tach input. > > Add this mode to the dt-bindings for the Gateworks System Controller. > > Signed-off-by: Tim Harvey > --- > Documentation/d

Re: [PATCH] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-11 Thread Fangrui Song
On 2021-01-11, 'Bill Wendling' via Clang Built Linux wrote: From: Sami Tolvanen Enable the use of clang's Profile-Guided Optimization[1]. To generate a profile, the kernel is instrumented with PGO counters, a representative workload is run, and the raw profile data is collected from /sys/kernel

Re: [PATCH] seccomp: Add missing return in non-void function

2021-01-11 Thread Paul Cercueil
Le lun. 11 janv. 2021 à 12:04, Kees Cook a écrit : On Mon, Jan 11, 2021 at 05:28:39PM +, Paul Cercueil wrote: We don't actually care about the value, since the kernel will panic before that; but a value should nonetheless be returned, otherwise the compiler will complain. Fixes:

Re: Old platforms: bring out your dead

2021-01-11 Thread Arnd Bergmann
On Mon, Jan 11, 2021 at 8:58 PM Thomas Petazzoni wrote: > > On Fri, 8 Jan 2021 23:55:06 +0100 Arnd Bergmann wrote: > > So overall, I'd say that yes we could probably drop arch/arm/mach-dove/. Russell mentioned that he still uses a cubox with an out-of-tree board file for dove. > > * spear -- ad

Re: Old platforms: bring out your dead

2021-01-11 Thread Russell King - ARM Linux admin
On Sat, Jan 09, 2021 at 10:34:57PM +0100, Arnd Bergmann wrote: > On Sat, Jan 9, 2021 at 6:43 PM Russell King - ARM Linux admin > wrote: > > On Fri, Jan 08, 2021 at 11:55:06PM +0100, Arnd Bergmann wrote: > > > * dove -- added in 2009, obsoleted by mach-mvebu in 2015 > > > > May be obsoleted, but I

Re: [PATCH v3 1/2] epoll: add nsec timeout support with epoll_pwait2

2021-01-11 Thread Willem de Bruijn
On Thu, Dec 10, 2020 at 5:59 PM Willem de Bruijn wrote: > > On Thu, Dec 10, 2020 at 3:34 PM Arnd Bergmann wrote: > > > > On Thu, Dec 10, 2020 at 6:33 PM Willem de Bruijn > > wrote: > > > On Sat, Nov 21, 2020 at 4:27 AM Arnd Bergmann wrote: > > > > On Fri, Nov 20, 2020 at 11:28 PM Willem de Brui

Sie haben eine Spende von € 5.800.000,00.

2021-01-11 Thread Mrs. Mavis
Sie haben eine Spende von € 5.800.000,00. von Mavis Wanczyk antworten Sie mit diesem Code [MW530342019], um die Spende zu erhalten Vous avez un don de 5 800 000,00 €. de Mavis Wanczyk répondez avec ce code [MW530342019] pour recevoir le don

Re: [PATCH] seccomp: Add missing return in non-void function

2021-01-11 Thread Kees Cook
On Mon, 11 Jan 2021 17:28:39 +, Paul Cercueil wrote: > We don't actually care about the value, since the kernel will panic > before that; but a value should nonetheless be returned, otherwise the > compiler will complain. Applied to for-linus/seccomp, thanks! [1/1] seccomp: Add missing return

Re: [PATCH] seccomp: Add missing return in non-void function

2021-01-11 Thread Kees Cook
On Mon, Jan 11, 2021 at 05:28:39PM +, Paul Cercueil wrote: > We don't actually care about the value, since the kernel will panic > before that; but a value should nonetheless be returned, otherwise the > compiler will complain. > > Fixes: 8112c4f140fa ("seccomp: remove 2-phase API") > Cc: sta.

Re: [BUG mips llvm] MIPS: malformed R_MIPS_{HI16,LO16} with LLVM

2021-01-11 Thread Nick Desaulniers
Hi Alexander, I'm genuinely trying to reproduce/understand this report, questions below: On Sat, Jan 9, 2021 at 11:15 AM Alexander Lobakin wrote: > > From: Nick Desaulniers > Date: Sat, 9 Jan 2021 09:50:44 -0800 > > > On Sat, Jan 9, 2021 at 9:11 AM Alexander Lobakin wrote: > >> > >> Machine: MI

Re: [PATCH 0/8] FPGA DFL Changes for 5.12

2021-01-11 Thread Greg KH
On Mon, Jan 11, 2021 at 11:46:03AM -0800, Tom Rix wrote: > > On 1/11/21 10:21 AM, Greg KH wrote: > > On Mon, Jan 11, 2021 at 08:43:15AM -0800, Tom Rix wrote: > >> On 1/11/21 8:09 AM, Greg KH wrote: > >>> On Mon, Jan 11, 2021 at 07:55:24AM -0800, Tom Rix wrote: > On 1/11/21 6:54 AM, Greg KH wr

Re: [PATCH] docs: ALSA: Fix reference to mixart.rst

2021-01-11 Thread Jonathan Corbet
On Fri, 1 Jan 2021 23:19:42 +0100 Jonathan Neuschäfer wrote: > MIXART.txt has been converted to ReST and renamed. Fix the reference > in alsa-configuration.rst. > > Fixes: 3d8e81862ce4 ("ALSA: doc: ReSTize MIXART.txt") > Signed-off-by: Jonathan Neuschäfer > --- > Documentation/sound/alsa-conf

Re: gdbserver + fsgsbase kaputt

2021-01-11 Thread Borislav Petkov
On Mon, Jan 11, 2021 at 11:27:38AM -0800, Andy Lutomirski wrote: > Hmm. Can you try booting with unsafe_fsgsbase and bisecting further? Well, that bisection ended in that patch: # first bad commit: [b745cfba44c152c34363eea9e052367b6b1d652b] x86/cpu: Enable FSGSBASE on 64bit by default and add a

Re: [PATCH] bpf: Hoise pahole version checks into Kconfig

2021-01-11 Thread Nathan Chancellor
On Tue, Jan 12, 2021 at 04:50:50AM +0900, Masahiro Yamada wrote: > On Tue, Jan 12, 2021 at 4:34 AM Nathan Chancellor > wrote: > > > > On Tue, Jan 12, 2021 at 04:19:01AM +0900, Masahiro Yamada wrote: > > > On Tue, Jan 12, 2021 at 3:06 AM Nathan Chancellor > > > wrote: > > > > > > > > After commit

Re: [PATCH v2] Documentation/dax: Update description of DAX policy changing

2021-01-11 Thread Jonathan Corbet
On Tue, 5 Jan 2021 21:45:41 -0800 Ira Weiny wrote: > On Wed, Jan 06, 2021 at 09:50:00AM +0800, Hao Li wrote: > > After commit 77573fa310d9 ("fs: Kill DCACHE_DONTCACHE dentry even if > > DCACHE_REFERENCED is set"), changes to DAX policy will take effect > > as soon as all references to this file a

Re: Old platforms: bring out your dead

2021-01-11 Thread Arnd Bergmann
On Mon, Jan 11, 2021 at 12:10 PM Viresh Kumar wrote: > On 08-01-21, 23:55, Arnd Bergmann wrote: > > * spear -- added in 2010, no notable changes since 2015 > > I started an email chain with the ST folks to see if there are any > concerns with this getting removed and it was confirmed by Mattias >

Re: Old platforms: bring out your dead

2021-01-11 Thread Thomas Petazzoni
Hello, I haven't gone through the full thread, so sorry if some of the below information duplicates stuff that was already said. On Fri, 8 Jan 2021 23:55:06 +0100 Arnd Bergmann wrote: > * asm9260 -- added in 2014, no notable changes after 2015 > * axxia -- added in 2014, no notable changes afte

Re: [PATCH] Documentation: Fix typos found in cgroup-v2.rst

2021-01-11 Thread Jonathan Corbet
On Thu, 7 Jan 2021 22:11:18 +0800 Jiang Biao wrote: > Fix typos found in Documentation/admin-guide/cgroup-v2.rst. > > Signed-off-by: Jiang Biao > --- > Documentation/admin-guide/cgroup-v2.rst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/admin-gui

Re: [PATCH 5.10 018/145] net: dcb: Validate netlink message in DCB handler

2021-01-11 Thread Greg Kroah-Hartman
On Mon, Jan 11, 2021 at 09:36:16AM -0800, Jakub Kicinski wrote: > On Mon, 11 Jan 2021 14:00:42 +0100 Greg Kroah-Hartman wrote: > > From: Petr Machata > > > > [ Upstream commit 826f328e2b7e8854dd42ea44e6519cd75018e7b1 ] > > > > DCB uses the same handler function for both RTM_GETDCB and RTM_SETDCB

[PATCH] net: macb: Add default usrio config to default gem config

2021-01-11 Thread Atish Patra
There is no usrio config defined for default gem config leading to a kernel panic devices that don't define a data. This issue can be reprdouced with microchip polar fire soc where compatible string is defined as "cdns,macb". Fixes: edac63861db7 ("add userio bits as platform configuration") Signe

Re: [PATCH 1/2] drm/msm/dp: postpone irq_hpd event during connection pending state

2021-01-11 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-01-07 12:30:24) > irq_hpd event can only be executed at connected state. Therefore > irq_hpd event should be postponed if it happened at connection > pending state. This patch also make sure both link rate and lane Why does it happen at connection pending state? > are v

Re: [PATCH] gcc-plugins: fix gcc 11 indigestion with plugins...

2021-01-11 Thread Valdis Klētnieks
On Mon, 11 Jan 2021 11:48:32 -0800, Kees Cook said: > On Mon, Jan 11, 2021 at 07:37:19AM -0600, Josh Poimboeuf wrote: > > I think putting the flag in a variable (based on call cc-ifversion) > > should be easy enough, then we can put this little saga behind us and > > pretend it never happened :-)

Re: [PATCH v5 1/3] dt-bindings: iio: dac: AD5766 yaml documentation

2021-01-11 Thread Rob Herring
On Fri, Jan 08, 2021 at 08:37:37PM +0200, Cristian Pop wrote: > This adds device tree bindings for the AD5766 DAC. > > Signed-off-by: Cristian Pop > --- > Changelog v5: > -rename to property to "output-range-voltage" > .../bin

Re: [PATCH 2/2] drm/msm/dp: unplug interrupt missed after irq_hpd handler

2021-01-11 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-01-07 12:30:25) > There is HPD unplug interrupts missed at scenario of an irq_hpd > followed by unplug interrupts with around 10 ms in between. > Since both AUX_SW_RESET and DP_SW_RESET clear pending HPD interrupts, > irq_hpd handler should not issues either aux or sw res

Re: [PATCH v5 mips-next 0/9] MIPS: vmlinux.lds.S sections fixes & cleanup

2021-01-11 Thread Kees Cook
On Sun, Jan 10, 2021 at 11:53:50AM +, Alexander Lobakin wrote: > This series hunts the problems discovered after manual enabling of > ARCH_WANT_LD_ORPHAN_WARN. Notably: > - adds the missing PAGE_ALIGNED_DATA() section affecting VDSO >placement (marked for stable); > - stops blind catching

Re: [PATCH mm 1/2] kfence: add option to use KFENCE without static keys

2021-01-11 Thread Jörn Engel
On Mon, Jan 11, 2021 at 10:15:43AM +0100, Marco Elver wrote: > For certain usecases, specifically where the sample interval is always > set to a very low value such as 1ms, it can make sense to use a dynamic > branch instead of static branches due to the overhead of toggling a > static branch. I e

Re: [PATCH] docs: filesystems: vfs: Correct the struct name

2021-01-11 Thread Jonathan Corbet
On Sun, 10 Jan 2021 15:59:59 +0800 winnd...@163.com wrote: > From: Liao Pingfang > > The struct name should be file_system_type instead of > file_system_operations. > > Signed-off-by: Liao Pingfang > --- > Documentation/filesystems/vfs.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(

Re: [PATCH] ACPI: scan: Fix a Hyper-V Linux VM panic caused by buffer overflow

2021-01-11 Thread Rafael J. Wysocki
On Sat, Jan 9, 2021 at 6:08 PM Rafael J. Wysocki wrote: > > On Saturday, January 9, 2021 10:37:41 AM CET Dexuan Cui wrote: > > > From: Andy Shevchenko > > > Sent: Saturday, January 9, 2021 12:52 AM > > >> > > >> Hi Rafael, Len, and all, > > >> Can you please take a look at the v2 patch? > > >> >

Re: [PATCH] bpf: Hoise pahole version checks into Kconfig

2021-01-11 Thread Masahiro Yamada
On Tue, Jan 12, 2021 at 4:34 AM Nathan Chancellor wrote: > > On Tue, Jan 12, 2021 at 04:19:01AM +0900, Masahiro Yamada wrote: > > On Tue, Jan 12, 2021 at 3:06 AM Nathan Chancellor > > wrote: > > > > > > After commit da5fb18225b4 ("bpf: Support pre-2.25-binutils objcopy for > > > vmlinux BTF"), ha

Re: [PATCH mips-fixes] MIPS: relocatable: fix possible boot hangup with KASLR enabled

2021-01-11 Thread Kees Cook
On Sun, Jan 10, 2021 at 02:21:05PM +, Alexander Lobakin wrote: > LLVM-built Linux triggered a boot hangup with KASLR enabled. > > arch/mips/kernel/relocate.c:get_random_boot() uses linux_banner, > which is a string constant, as a random seed, but accesses it > as an array of unsigned long (in

Re: [PATCH v2] proc_sysctl: fix oops caused by incorrect command parameters.

2021-01-11 Thread Kees Cook
On Mon, Jan 11, 2021 at 03:21:31PM +0100, Michal Hocko wrote: > On Mon 11-01-21 11:48:19, Xiaoming Ni wrote: > [...] > > patch3: > > +++ b/fs/proc/proc_sysctl.c > > @@ -1770,6 +1770,9 @@ static int process_sysctl_arg(char *param, char > > *val, > >

Re: [PATCH] scsi: libsas and users: Remove notifier indirection

2021-01-11 Thread kernel test robot
Hi John, I love your patch! Perhaps something to improve: [auto build test WARNING on mkp-scsi/for-next] [also build test WARNING on scsi/for-next linus/master v5.11-rc3 next-20210111] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest

[PATCH] pinctrl: ti :iodelay: Fixed inconsistent indenting

2021-01-11 Thread Souptick Joarder
Kernel test robot throws below warning -> smatch warnings: drivers/pinctrl/ti/pinctrl-ti-iodelay.c:708 ti_iodelay_pinconf_group_dbg_show() warn: inconsistent indenting Fixed the inconsistent indenting. Reported-by: kernel test robot Signed-off-by: Souptick Joarder --- drivers/pinctrl/ti/pinct

Re: [PATCH] Documentation: Replace lkml.org links with lore

2021-01-11 Thread Jonathan Corbet
On Sun, 10 Jan 2021 12:41:44 -0800 Joe Perches wrote: > Replace the lkml.org links with lore to better use a single source > that's more likely to stay available long-term. Makes sense to me...applied, thanks. jon

Re: [PATCH] gcc-plugins: fix gcc 11 indigestion with plugins...

2021-01-11 Thread Kees Cook
On Mon, Jan 11, 2021 at 07:37:19AM -0600, Josh Poimboeuf wrote: > On Mon, Jan 11, 2021 at 07:31:17AM -0500, Valdis Klētnieks wrote: > > On Mon, 11 Jan 2021 05:56:59 -0500, I said: > > > > > > It's probably related. I'm just having a hard time understanding why > > > > 4.9 and 5.4 > > > > whine ab

Re: [PATCH v1 (RFC)] docs: discourage users from using bugzilla.kernel.org

2021-01-11 Thread Konstantin Ryabitsev
On Sun, Jan 10, 2021 at 01:10:33PM +0100, Thorsten Leemhuis wrote: > The front page doesn't make this aspect obvious and not even point to > Documentation/admin-guide/reporting-bugs.rst to help those that want to > properly report a bug. Only the FAQ mentions it, albeit only indirectly: > 'The subs

Re: [PATCH v3 09/21] arm64: cpufeature: Add global feature override facility

2021-01-11 Thread Marc Zyngier
Hi Catalin, On 2021-01-11 18:41, Catalin Marinas wrote: Hi Marc, On Mon, Jan 11, 2021 at 01:27:59PM +, Marc Zyngier wrote: Add a facility to globally override a feature, no matter what the HW says. Yes, this is dangerous. Yeah, it's dangerous. We can make it less so if we only allow safe

Re: [PATCH 0/8] FPGA DFL Changes for 5.12

2021-01-11 Thread Tom Rix
On 1/11/21 10:21 AM, Greg KH wrote: > On Mon, Jan 11, 2021 at 08:43:15AM -0800, Tom Rix wrote: >> On 1/11/21 8:09 AM, Greg KH wrote: >>> On Mon, Jan 11, 2021 at 07:55:24AM -0800, Tom Rix wrote: On 1/11/21 6:54 AM, Greg KH wrote: > On Mon, Jan 11, 2021 at 06:40:24AM -0800, Tom Rix wrote:

net: macb: can macb use __napi_schedule_irqoff() instead of __napi_schedule()

2021-01-11 Thread Paul Thomas
Hello, recently I was doing a lot of tracing/profiling to understand an issue we were having. Anyway, during this I ran across __napi_schedule_irqoff() where the comment in dev.c says "Variant of __napi_schedule() assuming hard irqs are masked". It looks like the queue_writel(queue, IDR, bp->rx_in

Re: [PATCH] Documentation: kernel-hacking: change 'current()' to 'current'

2021-01-11 Thread Jonathan Corbet
On Mon, 11 Jan 2021 10:32:41 + Joe Pater <02joepate...@gmail.com> wrote: > Change 'current()' heading to 'current' to reflect usage. > > Signed-off-by: Joe Pater <02joepate...@gmail.com> > --- > Documentation/kernel-hacking/hacking.rst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions

Re: [v3 PATCH 02/11] mm: vmscan: consolidate shrinker_maps handling code

2021-01-11 Thread Yang Shi
On Mon, Jan 11, 2021 at 11:37 AM Roman Gushchin wrote: > > On Mon, Jan 11, 2021 at 11:00:17AM -0800, Yang Shi wrote: > > On Wed, Jan 6, 2021 at 4:14 PM Roman Gushchin wrote: > > > > > > On Tue, Jan 05, 2021 at 02:58:08PM -0800, Yang Shi wrote: > > > > The shrinker map management is not really mem

[PATCH v3 2/2] mm: fix initialization of struct page for holes in memory layout

2021-01-11 Thread Mike Rapoport
From: Mike Rapoport There could be struct pages that are not backed by actual physical memory. This can happen when the actual memory bank is not a multiple of SECTION_SIZE or when an architecture does not register memory holes reserved by the firmware as memblock.memory. Such pages are currentl

[PATCH v3 1/2] x86/setup: don't remove E820_TYPE_RAM for pfn 0

2021-01-11 Thread Mike Rapoport
From: Mike Rapoport The first 4Kb of memory is a BIOS owned area and to avoid its allocation for the kernel it was not listed in e820 tables as memory. As the result, pfn 0 was never recognised by the generic memory management and it is not a part of neither node 0 nor ZONE_DMA. If set_pfnblock_

[PATCH v3 0/2] mm: fix initialization of struct page for holes in memory layout

2021-01-11 Thread Mike Rapoport
From: Mike Rapoport Hi, Commit 73a6e474cb37 ("mm: memmap_init: iterate over memblock regions rather that check each PFN") exposed several issues with the memory map initialization and these patches fix those issues. Initially there were crashes during compaction that Qian Cai reported back in A

Re: [PATCH v1 1/2] net: phy: Add 100 base-x mode

2021-01-11 Thread Michał Mirosław
pon., 11 sty 2021 o 14:54 Bjarni Jonasson napisał(a): > Sparx-5 supports this mode and it is missing in the PHY core. > > Signed-off-by: Bjarni Jonasson > --- > include/linux/phy.h | 4 > 1 file changed, 4 insertions(+) > > diff --git a/include/linux/phy.h b/include/linux/phy.h > index 5656

Re: [v3 PATCH 02/11] mm: vmscan: consolidate shrinker_maps handling code

2021-01-11 Thread Roman Gushchin
On Mon, Jan 11, 2021 at 11:00:17AM -0800, Yang Shi wrote: > On Wed, Jan 6, 2021 at 4:14 PM Roman Gushchin wrote: > > > > On Tue, Jan 05, 2021 at 02:58:08PM -0800, Yang Shi wrote: > > > The shrinker map management is not really memcg specific, it's just > > > allocation > > > > In the current form

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

2021-01-11 Thread Eric Biggers
On Mon, Jan 11, 2021 at 10:51:20AM -0800, Darrick J. Wong wrote: > On Sun, Jan 10, 2021 at 07:41:02PM +0100, Pavel Machek wrote: > > Hi! > > > > On Fri 2020-10-09 10:37:32, Theodore Y. Ts'o wrote: > > > On Thu, Oct 08, 2020 at 03:22:59PM -0700, Josh Triplett wrote: > > > > > > > > I wasn't trying

Re: [PATCH] bpf: Hoise pahole version checks into Kconfig

2021-01-11 Thread Nathan Chancellor
On Tue, Jan 12, 2021 at 04:19:01AM +0900, Masahiro Yamada wrote: > On Tue, Jan 12, 2021 at 3:06 AM Nathan Chancellor > wrote: > > > > After commit da5fb18225b4 ("bpf: Support pre-2.25-binutils objcopy for > > vmlinux BTF"), having CONFIG_DEBUG_INFO_BTF enabled but lacking a valid > > copy of pahol

Re: [PATCH v1] i2c: tegra: Fix i2c_writesl() to use writel() instead of writesl()

2021-01-11 Thread Sowjanya Komatineni
On 1/11/21 11:29 AM, Dmitry Osipenko wrote: 11.01.2021 20:38, Sowjanya Komatineni пишет: On 1/11/21 4:09 AM, Dmitry Osipenko wrote: 11.01.2021 14:50, Dmitry Osipenko пишет: 20.10.2020 19:37, Sowjanya Komatineni пишет: On 10/20/20 12:48 AM, Thierry Reding wrote: On Mon, Oct 19, 2020 at 09:0

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