[GIT PULL] VFIO updates for v5.10-rc1

2020-10-22 Thread Alex Williamson
Hi Linus, The following changes since commit ba4f184e126b751d1bffad5897f263108befc780: Linux 5.9-rc6 (2020-09-20 16:33:55 -0700) are available in the Git repository at: git://github.com/awilliam/linux-vfio.git tags/vfio-v5.10-rc1 for you to fetch changes up to

Re: [PATCH 0/2] block layer filter and block device snapshot module

2020-10-22 Thread Mike Snitzer
On Thu, Oct 22, 2020 at 11:14 AM Darrick J. Wong wrote: > > On Thu, Oct 22, 2020 at 04:52:13PM +0300, Sergei Shtepa wrote: > > The 10/22/2020 13:28, Damien Le Moal wrote: > > > On 2020/10/22 18:43, Sergei Shtepa wrote: > > > > > > > > Maybe, but the problem is that I can't imagine how to

Re: Buggy commit tracked to: "Re: [PATCH 2/9] iov_iter: move rw_copy_check_uvector() into lib/iov_iter.c"

2020-10-22 Thread Nick Desaulniers
On Thu, Oct 22, 2020 at 9:35 AM David Laight wrote: > > From: Christoph Hellwig > > Sent: 22 October 2020 14:24 > > > > On Thu, Oct 22, 2020 at 11:36:40AM +0200, David Hildenbrand wrote: > > > My thinking: if the compiler that calls import_iovec() has garbage in > > > the upper 32 bit > > > > > >

Re: [RFC] Have insn decoder functions return success/failure

2020-10-22 Thread Andy Lutomirski
On Thu, Oct 22, 2020 at 6:21 AM Masami Hiramatsu wrote: > > On Thu, 22 Oct 2020 11:30:44 +0200 > Borislav Petkov wrote: > > > On Thu, Oct 22, 2020 at 04:31:00PM +0900, Masami Hiramatsu wrote: > > > No, insn_get_length() implies it decodes whole of the instruction. > > > (yeah, we need an alias

Re: [PATCH v1] ARM: vfp: Use long jump to fix THUMB2 kernel compilation error

2020-10-22 Thread Ard Biesheuvel
On Thu, 22 Oct 2020 at 19:48, Russell King - ARM Linux admin wrote: > > On Thu, Oct 22, 2020 at 06:33:17PM +0200, Ard Biesheuvel wrote: > > On Thu, 22 Oct 2020 at 18:23, Russell King - ARM Linux admin > > wrote: > > > > > > On Thu, Oct 22, 2020 at 06:20:40PM +0200, Ard Biesheuvel wrote: > > > >

Re: default cpufreq gov, was: [PATCH] sched/fair: check for idle core

2020-10-22 Thread Rafael J. Wysocki
On Thu, Oct 22, 2020 at 6:35 PM Mel Gorman wrote: > > On Thu, Oct 22, 2020 at 11:12:00AM -0400, Phil Auld wrote: > > > > AFAIK, not quite (added Giovanni as he has been paying more attention). > > > > Schedutil has improved since it was merged but not to the extent where > > > > it is a drop-in

Re: [PATCH] mm: memcontrol: add file_thp, shmem_thp to memory.stat

2020-10-22 Thread David Rientjes
On Thu, 22 Oct 2020, Johannes Weiner wrote: > As huge page usage in the page cache and for shmem files proliferates > in our production environment, the performance monitoring team has > asked for per-cgroup stats on those pages. > > We already track and export anon_thp per cgroup. We already

Re: [PATCH] drm/edid: Fix uninitialized variable in drm_cvt_modes()

2020-10-22 Thread Ilia Mirkin
On Thu, Oct 22, 2020 at 12:55 PM Lyude Paul wrote: > > Noticed this when trying to compile with -Wall on a kernel fork. We > potentially > don't set width here, which causes the compiler to complain about width > potentially being uninitialized in drm_cvt_modes(). So, let's fix that. > >

Re: [git pull] vfs.git set_fs pile

2020-10-22 Thread pr-tracker-bot
The pull request you sent on Thu, 22 Oct 2020 07:01:28 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.set_fs has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f56e65dff6ad52395ef45738799b4fb70ff43376 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] nfsd change for 5.10

2020-10-22 Thread pr-tracker-bot
The pull request you sent on Wed, 21 Oct 2020 22:07:41 -0400: > git://linux-nfs.org/~bfields/linux.git tags/nfsd-5.10 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/24717cffa415d1e3dca0f21c417e5faf8208 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] 9p update for 5.10-rc1

2020-10-22 Thread pr-tracker-bot
The pull request you sent on Thu, 22 Oct 2020 14:08:26 +0200: > https://github.com/martinetd/linux tags/9p-for-5.10-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/334d431f65f05d3412c921875717b8c4ec6da71c Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] exfat update for 5.10-rc1

2020-10-22 Thread pr-tracker-bot
The pull request you sent on Thu, 22 Oct 2020 17:42:14 +0900: > git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat.git > tags/exfat-for-5.10-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9b06f57b9edb2d67471e626b3ebd247826729a7f Thank you! --

Re: [GIT PULL] ext4 changes for 5.10

2020-10-22 Thread pr-tracker-bot
The pull request you sent on Thu, 22 Oct 2020 12:54:50 -0400: > git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git > tags/ext4_for_linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/96485e4462604744d66bf4301557d996d80b85eb Thank you! -- Deet-doot-dot,

Re: [PATCH v4 5/7] arm64: mm: Set ZONE_DMA size based on devicetree's dma-ranges

2020-10-22 Thread Catalin Marinas
On Wed, Oct 21, 2020 at 02:34:35PM +0200, Nicolas Saenz Julienne wrote: > @@ -188,9 +186,11 @@ static phys_addr_t __init max_zone_phys(unsigned int > zone_bits) > static void __init zone_sizes_init(unsigned long min, unsigned long max) > { > unsigned long max_zone_pfns[MAX_NR_ZONES] =

Re: [PATCH] checkpatch: ignore ethtool CamelCase constants

2020-10-22 Thread Lukasz Stelmach
It was <2020-10-22 czw 04:57>, when Joe Perches wrote: > On Thu, 2020-10-22 at 13:01 +0200, Łukasz Stelmach wrote: >> Ignore CamelCase constants describing Ethernet link parameters defined >> in include/uapi/linux/ethtool.h. > [] >> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > []

Re: [PATCH] arm64: dts: imx8mm: Add GPU node

2020-10-22 Thread Marek Vasut
On 10/22/20 7:16 PM, Adam Ford wrote: > According to the documentation from NXP, the i.MX8M Nano has a > Vivante GC7000 Ultra Lite as its GPU core. > > With this patch, the Etnaviv driver presents the GPU as: >etnaviv-gpu 3800.gpu: model: GC7000, revision: 6203 > > It uses the GPCV2

Re: [PATCH v2] usb: typec: Expose Product Type VDOs via sysfs

2020-10-22 Thread Prashant Malani
Hi Heikki, Thanks for your feedback. On Thu, Oct 22, 2020 at 5:43 AM Heikki Krogerus wrote: > > On Thu, Oct 22, 2020 at 12:25:07AM -0700, Prashant Malani wrote: > > Hi Greg, > > > > On Thu, Oct 22, 2020 at 12:17 AM Greg KH wrote: > > > > > > Given that your current implementation is not

Re: Buggy commit tracked to: "Re: [PATCH 2/9] iov_iter: move rw_copy_check_uvector() into lib/iov_iter.c"

2020-10-22 Thread Al Viro
On Thu, Oct 22, 2020 at 05:40:40PM +0100, Matthew Wilcox wrote: > On Thu, Oct 22, 2020 at 04:35:17PM +, David Laight wrote: > > Wait... > > readv(2) defines: > > ssize_t readv(int fd, const struct iovec *iov, int iovcnt); > > It doesn't really matter what the manpage says. What does the

Greetings

2020-10-22 Thread Dennis Mattu
I am Mr.Dennis, i work as an accountant in a bank, i am contacting you in regards to a business transfer of a huge sum of money from a deceased account. I need your urgent assistance in transferring the sum of $11.6million dollars to your private bank account,the fund belongs to one of our

Re: [PATCH v2 1/2] dt-bindings: arm,scmi: Do not use clocks for SCMI performance domains

2020-10-22 Thread Sudeep Holla
On Wed, Oct 21, 2020 at 07:31:03PM +0100, Sudeep Holla wrote: > Commit dd461cd9183f ("opp: Allow dev_pm_opp_get_opp_table() to return > -EPROBE_DEFER") handles -EPROBE_DEFER for the clock/interconnects within > _allocate_opp_table() which is called from dev_pm_opp_add and it > now propagates the

Re: [PATCH] checkpatch: ignore ethtool CamelCase constants

2020-10-22 Thread Joe Perches
On Thu, 2020-10-22 at 20:14 +0200, Lukasz Stelmach wrote: > It was <2020-10-22 czw 04:57>, when Joe Perches wrote: > > On Thu, 2020-10-22 at 13:01 +0200, Łukasz Stelmach wrote: > > > Ignore CamelCase constants describing Ethernet link parameters defined > > > in include/uapi/linux/ethtool.h. > >

Re: [PATCH RFC v2 00/21] kasan: hardware tag-based mode for production use on arm64

2020-10-22 Thread Kostya Serebryany
The boot parameters look great! Do we use redzones in kasan.mode=prod? (I think we should not) Please separate the work on improving the stack trace collection form the work on enabling kasan.mode=prod, the latter is more important IMHO. Still some notes on stack traces: > kasan.mode=full has

Re: [PATCH] mm: memcontrol: add file_thp, shmem_thp to memory.stat

2020-10-22 Thread Johannes Weiner
On Thu, Oct 22, 2020 at 12:57:55PM -0400, Rik van Riel wrote: > On Thu, 2020-10-22 at 12:49 -0400, Rik van Riel wrote: > > On Thu, 2020-10-22 at 11:18 -0400, Johannes Weiner wrote: > > > > > index e80aa9d2db68..334ce608735c 100644 > > > --- a/mm/filemap.c > > > +++ b/mm/filemap.c > > > @@ -204,9

Re: [PATCH] arm64: dts: imx8mm: Add GPU node

2020-10-22 Thread Adam Ford
On Thu, Oct 22, 2020 at 1:17 PM Marek Vasut wrote: > > On 10/22/20 7:16 PM, Adam Ford wrote: > > According to the documentation from NXP, the i.MX8M Nano has a > > Vivante GC7000 Ultra Lite as its GPU core. > > > > With this patch, the Etnaviv driver presents the GPU as: > >etnaviv-gpu

Re: [PATCH 0/2] block layer filter and block device snapshot module

2020-10-22 Thread Mike Snitzer
On Wed, Oct 21, 2020 at 5:04 AM Sergei Shtepa wrote: > > Hello everyone! Requesting for your comments and suggestions. > > # blk-filter > > Block layer filter allows to intercept BIO requests to a block device. > > Interception is performed at the very beginning of the BIO request > processing,

[PATCH v1 2/2] device property: Don't clear secondary pointer for shared primary firmware node

2020-10-22 Thread Andy Shevchenko
It appears that firmware nodes can be shared between devices. In such case when a (child) device is about to be deleted, its firmware node may be shared and ACPI_COMPANION_SET(..., NULL) call for it breaks the secondary link of the shared primary firmware node. In order to prevent that, check, if

Re: [PATCH][v2] PM / sysfs: Expose suspend resume driver flags in sysfs

2020-10-22 Thread Chen Yu
Hi Greg, On Thu, Oct 22, 2020 at 11:17:07AM +0200, Greg Kroah-Hartman wrote: > On Thu, Oct 22, 2020 at 04:52:44PM +0800, Chen Yu wrote: > > Currently there are 4 driver flags to control system suspend/resume > > behavior: DPM_FLAG_NO_DIRECT_COMPLETE, DPM_FLAG_SMART_PREPARE, > >

[PATCH v1 1/2] device property: Keep secondary firmware node secondary by type

2020-10-22 Thread Andy Shevchenko
Behind primary and secondary we understand the type of the nodes which might define their ordering. However, if primary node gone, we can't maintain the ordering by definition of the linked list. Thus, by ordering secondary node becomes first in the list. But in this case the meaning of it is

Re: [PATCH v2 01/10] firmware: raspberrypi: Introduce rpi_firmware_put()

2020-10-22 Thread Andy Shevchenko
On Thu, Oct 22, 2020 at 9:06 PM Nicolas Saenz Julienne wrote: > > When unbinding the firmware device we need to make sure it has no > consumers left. Otherwise we'd leave them with a firmware handle > pointing at freed memory. > > Keep a reference count of all consumers and make sure they all

Re: [PATCH blktests v3 00/11] NVMe Target Passthru Block Tests

2020-10-22 Thread Logan Gunthorpe
On 2020-10-08 10:40 a.m., Logan Gunthorpe wrote: > Hi, > > This series adds blktests for the nvmet passthru feature that was merged > for 5.9. It's been reconciled with Sagi's blktest series that Omar > recently merged. Bump. This has been around for a while now. Omar, can you please consider

[GIT PULL] clk changes for the merge window

2020-10-22 Thread Stephen Boyd
The following changes since commit 0212a0483b0a36cc94cfab882b3edbb41fcfe1cd: clk: samsung: Keep top BPLL mux on Exynos542x enabled (2020-09-15 13:56:51 +0200) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git tags/clk-for-linus for you

[PATCH v2] checkpatch: ignore generated CamelCase defines and enum values

2020-10-22 Thread Łukasz Stelmach
Ignore autogenerated CamelCase-like defines and enum values like DRM_MODE_CONNECTOR_Unknown or ETHTOOL_LINK_MODE_Asym_Pause_BIT. Syggested-by: Joe Perches Signed-off-by: Łukasz Stelmach --- Changes in v2 - use a more general regexp suggested by Joe Perches scripts/checkpatch.pl | 2 ++ 1

Re: [PATCH RFC v2 14/21] kasan: add and integrate kasan boot parameters

2020-10-22 Thread Marco Elver
On Thu, 22 Oct 2020 at 15:19, Andrey Konovalov wrote: > > TODO: no meaningful description here yet, please see the cover letter > for this RFC series. > > Signed-off-by: Andrey Konovalov > Link: > https://linux-review.googlesource.com/id/If7d37003875b2ed3e0935702c8015c223d6416a4 > --- >

Re: [PATCH][v2] PM / sysfs: Expose suspend resume driver flags in sysfs

2020-10-22 Thread Chen Yu
Hi Andy, On Thu, Oct 22, 2020 at 04:36:25PM +0300, Andy Shevchenko wrote: > On Thu, Oct 22, 2020 at 12:24 PM Chen Yu wrote: > > > > Currently there are 4 driver flags to control system suspend/resume > > behavior: DPM_FLAG_NO_DIRECT_COMPLETE, DPM_FLAG_SMART_PREPARE, > > DPM_FLAG_SMART_SUSPEND and

Re: [PATCH v2] checkpatch: ignore generated CamelCase defines and enum values

2020-10-22 Thread Joe Perches
On Thu, 2020-10-22 at 20:49 +0200, Łukasz Stelmach wrote: > Ignore autogenerated CamelCase-like defines and enum values like > DRM_MODE_CONNECTOR_Unknown or ETHTOOL_LINK_MODE_Asym_Pause_BIT. > > Syggested-by: Joe Perches > Signed-off-by: Łukasz Stelmach > --- > Changes in v2 > - use a more

Re: [PATCH] lib: add basic KUnit test for lib/math

2020-10-22 Thread Brendan Higgins
On Thu, Oct 22, 2020 at 9:26 AM Daniel Latypov wrote: > > On Thu, Oct 22, 2020 at 8:06 AM Andy Shevchenko > wrote: > > > > On Wed, Oct 21, 2020 at 10:47:50AM -0700, Daniel Latypov wrote: > > > On Tue, Oct 20, 2020 at 8:40 PM David Gow wrote: > > > > On Tue, Oct 20, 2020 at 6:46 AM Daniel

Re: [PATCH v2 10/10] pwm: Add Raspberry Pi Firmware based PWM bus

2020-10-22 Thread Andy Shevchenko
On Thu, Oct 22, 2020 at 9:05 PM Nicolas Saenz Julienne wrote: > > Adds support to control the PWM bus available in official Raspberry Pi > PoE HAT. Only RPi's co-processor has access to it, so commands have to > be sent through RPi's firmware mailbox interface. > drivers/pwm/pwm-raspberrypi.c |

Re: [PATCH] lib: add basic KUnit test for lib/math

2020-10-22 Thread Brendan Higgins
On Thu, Oct 22, 2020 at 8:06 AM Andy Shevchenko wrote: > > On Wed, Oct 21, 2020 at 10:47:50AM -0700, Daniel Latypov wrote: > > On Tue, Oct 20, 2020 at 8:40 PM David Gow wrote: > > > On Tue, Oct 20, 2020 at 6:46 AM Daniel Latypov > > > wrote: > > > > > > > > Add basic test coverage for files

[PATCH] arm64: dts: allwinner: a64: OrangePi Win: Fix ethernet node

2020-10-22 Thread Jernej Skrabec
RX/TX delay on OrangePi Win board is set on PHY. Reflect that in ethernet node. Fixes: 93d6a27cfcc0 ("arm64: dts: allwinner: a64: Orange Pi Win: Add Ethernet node") Signed-off-by: Jernej Skrabec --- arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts | 2 +- 1 file changed, 1

Re: [PATCH] lib: add basic KUnit test for lib/math

2020-10-22 Thread Andy Shevchenko
On Thu, Oct 22, 2020 at 11:53:50AM -0700, Brendan Higgins wrote: > On Thu, Oct 22, 2020 at 8:06 AM Andy Shevchenko > wrote: > > On Wed, Oct 21, 2020 at 10:47:50AM -0700, Daniel Latypov wrote: ... > > You need to put detailed comments in the code to have it as real example > > how to > > create

Re: [PATCH v1] ARM: vfp: Use long jump to fix THUMB2 kernel compilation error

2020-10-22 Thread Dmitry Osipenko
22.10.2020 20:38, Russell King - ARM Linux admin пишет: ... >> But the two line change isn't portable to stable kernels as-is, isn't it? > > Why not? > I assume we will need to define a new section, no?

Re: Buggy commit tracked to: "Re: [PATCH 2/9] iov_iter: move rw_copy_check_uvector() into lib/iov_iter.c"

2020-10-22 Thread Nick Desaulniers
On Thu, Oct 22, 2020 at 11:13 AM Arnd Bergmann wrote: > > On Thu, Oct 22, 2020 at 7:54 PM Nick Desaulniers > wrote: > > On Thu, Oct 22, 2020 at 9:35 AM David Laight > > wrote: > > > > > > Which makes it a bug in the kernel C syscall wrappers. > > > They need to explicitly mask the high bits of

Re: [PATCH V2] PCI: dwc: Add support to handle prefetchable memory mapping

2020-10-22 Thread Rob Herring
On Tue, Oct 20, 2020 at 2:59 PM Vidya Sagar wrote: > > DWC sub-system currently doesn't differentiate between prefetchable and > non-prefetchable memory aperture entries in the 'ranges' property and > provides ATU mapping only for the first memory aperture entry out of all > the entries present.

Re: [PATCH] lib: add basic KUnit test for lib/math

2020-10-22 Thread Andy Shevchenko
On Thu, Oct 22, 2020 at 09:26:45AM -0700, Daniel Latypov wrote: > On Thu, Oct 22, 2020 at 8:06 AM Andy Shevchenko > wrote: > > On Wed, Oct 21, 2020 at 10:47:50AM -0700, Daniel Latypov wrote: ... > > You need to put detailed comments in the code to have it as real example > > how to > > create

Re: [PATCH] lib: add basic KUnit test for lib/math

2020-10-22 Thread Andy Shevchenko
On Thu, Oct 22, 2020 at 10:10:38PM +0300, Andy Shevchenko wrote: > On Thu, Oct 22, 2020 at 09:26:45AM -0700, Daniel Latypov wrote: > > On Thu, Oct 22, 2020 at 8:06 AM Andy Shevchenko > > wrote: > > > On Wed, Oct 21, 2020 at 10:47:50AM -0700, Daniel Latypov wrote: ... > > > Summarize this,

Re: [PATCH 1/4] MAINTAINERS: move Kamil Debski to credits

2020-10-22 Thread Uwe Kleine-König
Hello, this series doesn't seem to be applied and looking at the list of people this mail was sent "To:" it's not obvious who is expected to take it. I assume it is not for us linux-pwm guys and will tag it as "not-applicable" in our patchwork. Best regards Uwe -- Pengutronix e.K.

Re: [PATCH v2] checkpatch: fix false positives in REPEATED_WORD warning

2020-10-22 Thread Aditya
On 22/10/20 9:40 pm, Joe Perches wrote: > On Thu, 2020-10-22 at 20:20 +0530, Aditya Srivastava wrote: >> Presence of hexadecimal address or symbol results in false warning >> message by checkpatch.pl. > [] >> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl > [] >> @@ -3051,7 +3051,10 @@

Re: [PATCH v2] lib: Convert test_printf.c to KUnit

2020-10-22 Thread Andy Shevchenko
On Thu, Oct 22, 2020 at 08:43:49PM +0530, Arpitha Raghunandan wrote: > Convert test lib/test_printf.c to KUnit. More information about > KUnit can be found at: > https://www.kernel.org/doc/html/latest/dev-tools/kunit/index.html. > KUnit provides a common framework for unit tests in the kernel. >

Re: [RFC PATCH net-next 1/9] dt-bindings: net: dsa: convert ksz bindings document to yaml

2020-10-22 Thread Florian Fainelli
On 10/22/20 5:37 AM, Vladimir Oltean wrote: > On Thu, Oct 22, 2020 at 12:54:52PM +0200, Kurt Kanzenbach wrote: >> On Wed Oct 21 2020, Florian Fainelli wrote: >>> On 10/21/2020 5:16 PM, Vladimir Oltean wrote: On Wed, Oct 21, 2020 at 08:52:01AM +0200, Kurt Kanzenbach wrote: > On Mon Oct 19

RE: [Intel-wired-lan] [PATCH 1/3] e1000e: allow turning s0ix flows on for systems with ME

2020-10-22 Thread Brown, Aaron F
> From: Intel-wired-lan On Behalf Of > Mario Limonciello > Sent: Sunday, September 27, 2020 9:40 PM > To: Kirsher, Jeffrey T ; intel-wired- > l...@lists.osuosl.org > Cc: perry.y...@dell.com; yijun.s...@dell.com; linux-kernel@vger.kernel.org; > Mario Limonciello > Subject: [Intel-wired-lan]

drivers/net/wan/fsl_ucc_hdlc.c:458:33: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-10-22 Thread kernel test robot
-randconfig-s031-20201022 (attached as .config) compiler: powerpc64-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version

Re: Buggy commit tracked to: "Re: [PATCH 2/9] iov_iter: move rw_copy_check_uvector() into lib/iov_iter.c"

2020-10-22 Thread Al Viro
On Thu, Oct 22, 2020 at 12:04:52PM -0700, Nick Desaulniers wrote: > Passing an `unsigned long` as an `unsigned int` does no such > narrowing: https://godbolt.org/z/TvfMxe (same vice-versa, just tail > calls, no masking instructions). > So if rw_copy_check_uvector() is inlined into import_iovec()

Re: [PATCH v6 2/4] leds: Add driver for Qualcomm LPG

2020-10-22 Thread Luca Weiss
Hi Bjorn, On Mittwoch, 21. Oktober 2020 22:12:22 CEST Bjorn Andersson wrote: > The Light Pulse Generator (LPG) is a PWM-block found in a wide range of > PMICs from Qualcomm. It can operate on fixed parameters or based on a > lookup-table, altering the duty cycle over time - which provides the >

Re: Buggy commit tracked to: "Re: [PATCH 2/9] iov_iter: move rw_copy_check_uvector() into lib/iov_iter.c"

2020-10-22 Thread Al Viro
On Thu, Oct 22, 2020 at 08:24:58PM +0100, Al Viro wrote: > On Thu, Oct 22, 2020 at 12:04:52PM -0700, Nick Desaulniers wrote: > > > Passing an `unsigned long` as an `unsigned int` does no such > > narrowing: https://godbolt.org/z/TvfMxe (same vice-versa, just tail > > calls, no masking

Re: [PATCH] x86/msr: do not warn on writes to OC_MAILBOX

2020-10-22 Thread Borislav Petkov
On Wed, Oct 21, 2020 at 06:11:09AM -0700, Srinivas Pandruvada wrote: > That is the problem. There is no public document. Well, considering how important this functionality has become, maybe they should be made public and maybe there should be a kernel undervolt driver, as peterz suggests. > > I

Re: [PATCH 1/2] x86: Remove led/gpio setup from pcengines platform driver

2020-10-22 Thread Enrico Weigelt, metux IT consult
On 22.10.20 17:10, Ed W wrote: Hi, > You are reaching the wrong conclusion I feel? > > a) your proposal doesn't address that ACPI and the upstream board configure > all this stuff already. Only for those with recent enough firmware. As already mentioned, we can't expect users to do BIOS

Re: [PATCH v2] checkpatch: fix false positives in REPEATED_WORD warning

2020-10-22 Thread Joe Perches
On Fri, 2020-10-23 at 00:44 +0530, Aditya wrote: > On 22/10/20 9:40 pm, Joe Perches wrote: > > On Thu, 2020-10-22 at 20:20 +0530, Aditya Srivastava wrote: > > > Presence of hexadecimal address or symbol results in false warning > > > message by checkpatch.pl. > > [] > > > diff --git

Re: [PATCH v4 1/6] IMA: generalize keyring specific measurement constructs

2020-10-22 Thread Mimi Zohar
Hi Tushar, On Wed, 2020-09-23 at 12:20 -0700, Tushar Sugandhi wrote: > diff --git a/security/integrity/ima/ima_policy.c > b/security/integrity/ima/ima_policy.c > index fe1df373c113..31a772d8a86b 100644 > --- a/security/integrity/ima/ima_policy.c > +++ b/security/integrity/ima/ima_policy.c > @@

Re: [PATCH v11 01/14] s390/vfio-ap: No need to disable IRQ after queue reset

2020-10-22 Thread kernel test robot
Hi Tony, I love your patch! Perhaps something to improve: [auto build test WARNING on s390/features] [also build test WARNING on linus/master kvms390/next linux/master v5.9 next-20201022] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we

Re: [PATCH v2] usb: dwc3: Trigger a GCTL soft reset when switching modes in DRD

2020-10-22 Thread John Stultz
On Thu, Oct 22, 2020 at 12:55 AM Felipe Balbi wrote: > John Stultz writes: > > From: Yu Chen > > > > With the current dwc3 code on the HiKey960 we often see the > > COREIDLE flag get stuck off in __dwc3_gadget_start(), which > > seems to prevent the reset irq and causes the USB gadget to > >

Re: [EXT] [PATCH v4] qla2xxx: Return EBUSY on fcport deletion

2020-10-22 Thread Arun Easi
On Wed, 14 Oct 2020, 12:30am, Daniel Wagner wrote: > External Email > > -- > When the fcport is about to be deleted we should return EBUSY instead > of ENODEV. Only for EBUSY the request will be requeued in a multipath > setup.

Re: [RFC PATCH iproute2] bridge: add support for L2 multicast groups

2020-10-22 Thread Stephen Hemminger
On Sat, 17 Oct 2020 21:45:26 +0300 Vladimir Oltean wrote: > Extend the 'bridge mdb' command for the following syntax: > bridge mdb add dev br0 port swp0 grp 01:02:03:04:05:06 permanent > > Signed-off-by: Vladimir Oltean > --- > bridge/mdb.c | 54

Re: [RFCv2 08/16] KVM: Use GUP instead of copy_from/to_user() to access guest memory

2020-10-22 Thread John Hubbard
On 10/22/20 4:49 AM, Matthew Wilcox wrote: On Tue, Oct 20, 2020 at 01:25:59AM -0700, John Hubbard wrote: Should copy_to_guest() use pin_user_pages_unlocked() instead of gup_unlocked? We wrote a "Case 5" in Documentation/core-api/pin_user_pages.rst, just for this situation, I think: CASE 5:

Re: [PATCH net RFC] net: Clear IFF_TX_SKB_SHARING for all Ethernet devices using skb_padto

2020-10-22 Thread Xie He
On Thu, Oct 22, 2020 at 8:22 AM Jakub Kicinski wrote: > > Are most of these drivers using skb_padto()? Is that the reason they > can't be sharing the SKB? Yes, I think if a driver calls skb_pad / skb_padto / skb_put_padto / eth_skb_pad, the driver can't accept shared skbs because it may modify

Re: BTI interaction between seccomp filters in systemd and glibc mprotect calls, causing service failures

2020-10-22 Thread Kees Cook
On Thu, Oct 22, 2020 at 01:39:07PM +0300, Topi Miettinen wrote: > But I think SELinux has a more complete solution (execmem) which can track > the pages better than is possible with seccomp solution which has a very > narrow field of view. Maybe this facility could be made available to >

Re: [GIT PULL] clk changes for the merge window

2020-10-22 Thread pr-tracker-bot
The pull request you sent on Thu, 22 Oct 2020 11:48:33 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git > tags/clk-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3fec0eaaf04adf5e23b2704f5490d5943fb8b0b1 Thank you! -- Deet-doot-dot,

Re: [GIT PULL] PCI changes for v5.10

2020-10-22 Thread pr-tracker-bot
The pull request you sent on Wed, 21 Oct 2020 16:24:43 -0500: > git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git > tags/pci-v5.10-changes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/00937f36b09e89c74e4a059dbb8acbf4b971d5eb Thank you! --

Re: [GIT PULL] remoteproc updates for v5.10

2020-10-22 Thread pr-tracker-bot
The pull request you sent on Thu, 22 Oct 2020 11:32:46 -0500: > https://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git > tags/rproc-v5.10 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/1553d96854b47953e41e7f66b2bdbc1c0d13a3e5 Thank you! --

Re: Buggy commit tracked to: "Re: [PATCH 2/9] iov_iter: move rw_copy_check_uvector() into lib/iov_iter.c"

2020-10-22 Thread Al Viro
On Thu, Oct 22, 2020 at 08:24:58PM +0100, Al Viro wrote: > Depending upon the calling conventions, compiler might do truncation in > caller or > in a callee, but it must be done _somewhere_. Unless I'm misreading AAPCS64, "Unlike in the 32-bit AAPCS, named integral values must be

Re: [GIT PULL] VFIO updates for v5.10-rc1

2020-10-22 Thread pr-tracker-bot
The pull request you sent on Thu, 22 Oct 2020 11:51:57 -0600: > git://github.com/awilliam/linux-vfio.git tags/vfio-v5.10-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/fc996db970a33c74d3db3ee63532b15187258027 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] rpmsg updates for 5.10

2020-10-22 Thread pr-tracker-bot
The pull request you sent on Thu, 22 Oct 2020 11:54:24 -0500: > https://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git > tags/rpmsg-v5.10 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/60573c2966a1b560fabdffe308d47b6ba5585b15 Thank you! --

Re: [GIT PULL] pwm: Changes for v5.10-rc1

2020-10-22 Thread pr-tracker-bot
The pull request you sent on Thu, 22 Oct 2020 17:49:03 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git > tags/pwm/for-5.10-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ceae608a54898fff2aa0aba358fe81af027ef8c9 Thank you! --

Re: Buggy commit tracked to: "Re: [PATCH 2/9] iov_iter: move rw_copy_check_uvector() into lib/iov_iter.c"

2020-10-22 Thread Al Viro
On Thu, Oct 22, 2020 at 09:06:29PM +0100, Al Viro wrote: > On Thu, Oct 22, 2020 at 08:24:58PM +0100, Al Viro wrote: > > > Depending upon the calling conventions, compiler might do truncation in > > caller or > > in a callee, but it must be done _somewhere_. > > Unless I'm misreading AAPCS64, >

Re: [PATCH 1/4] MAINTAINERS: move Kamil Debski to credits

2020-10-22 Thread Krzysztof Kozlowski
On Thu, Oct 22, 2020 at 09:13:14PM +0200, Uwe Kleine-König wrote: > Hello, > > this series doesn't seem to be applied and looking at the list of people > this mail was sent "To:" it's not obvious who is expected to take it. I > assume it is not for us linux-pwm guys and will tag it as >

Re: default cpufreq gov, was: [PATCH] sched/fair: check for idle core

2020-10-22 Thread Giovanni Gherdovich
Hello Peter, Rafael, back in August I tested a v5.8 kernel adding Rafael's patches from v5.9 that make schedutil and HWP works together, i.e. f6ebbcf08f37 ("cpufreq: intel_pstate: Implement passive mode with HWP enabled"). The main point I took from the exercise is that tbench (network

Re: Buggy commit tracked to: "Re: [PATCH 2/9] iov_iter: move rw_copy_check_uvector() into lib/iov_iter.c"

2020-10-22 Thread Nick Desaulniers
On Thu, Oct 22, 2020 at 12:25 PM Al Viro wrote: > > On Thu, Oct 22, 2020 at 12:04:52PM -0700, Nick Desaulniers wrote: > > > Passing an `unsigned long` as an `unsigned int` does no such > > narrowing: https://godbolt.org/z/TvfMxe (same vice-versa, just tail > > calls, no masking instructions). > >

Re: default cpufreq gov, was: [PATCH] sched/fair: check for idle core

2020-10-22 Thread Giovanni Gherdovich
On Thu, 2020-10-22 at 22:10 +0200, Giovanni Gherdovich wrote: > [...] > To read the tables: > > Tilde (~) means the result is the same as baseline (or, the ratio is close > to 1). The double asterisk (**) is a visual aid and means the result is > worse than baseline (higher or lower depending on

Re: [PATCH] ARM: dts: BCM5301X: Linksys EA9500 add port 5 and port 7

2020-10-22 Thread Vivek Unune
On Wed, Oct 14, 2020 at 03:27:27PM -0400, Vivek Unune wrote: > Add ports 5 and 7 which are connected to gmac cores 1 & 2. > These will be disabled for now. > > Signed-off-by: Vivek Unune > --- > .../boot/dts/bcm47094-linksys-panamera.dts| 24 +++ > 1 file changed, 24

Re: [PATCH] ARM: dts: BCM5301X: Linksys EA9500 add port 5 and port 7

2020-10-22 Thread Florian Fainelli
On 10/22/20 1:16 PM, Vivek Unune wrote: > On Wed, Oct 14, 2020 at 03:27:27PM -0400, Vivek Unune wrote: >> Add ports 5 and 7 which are connected to gmac cores 1 & 2. >> These will be disabled for now. >> >> Signed-off-by: Vivek Unune >> --- >> .../boot/dts/bcm47094-linksys-panamera.dts| 24

Re: [PATCH v6 3/6] can: ctucanfd: add support for CTU CAN FD open-source IP core - bus independent part.

2020-10-22 Thread Pavel Pisa
Hello Pavel, thanks for review. For everybody: the amount of code, analyses etc. is really huge. If you do not have time and consider this discussion as lost of your time and or badwidth send me a note. I will remove your from the recipients list and if you think that some lists should be

[PATCH 0/2] scs: switch to vmapped shadow stacks

2020-10-22 Thread Sami Tolvanen
As discussed a few months ago [1][2], virtually mapped shadow call stacks are better for safety and robustness. This series dusts off the VMAP option from the original SCS patch series and switches the kernel to use virtually mapped shadow stacks unconditionally when SCS is enabled. [1]

[PATCH 1/2] scs: switch to vmapped shadow stacks

2020-10-22 Thread Sami Tolvanen
The kernel currently uses kmem_cache to allocate shadow call stacks, which means an overflow may not be immediately detected and can potentially result in another task's shadow stack to be overwritten. This change switches SCS to use virtually mapped shadow stacks, which increases shadow stack

Re: [PATCH] ARM: dts: BCM5301X: Linksys EA9500 add port 5 and port 7

2020-10-22 Thread Vivek Unune
On Thu, Oct 22, 2020 at 01:21:10PM -0700, Florian Fainelli wrote: > On 10/22/20 1:16 PM, Vivek Unune wrote: > > On Wed, Oct 14, 2020 at 03:27:27PM -0400, Vivek Unune wrote: > >> Add ports 5 and 7 which are connected to gmac cores 1 & 2. > >> These will be disabled for now. > >> > >> Signed-off-by:

[PATCH 2/2] arm64: scs: use vmapped IRQ and SDEI shadow stacks

2020-10-22 Thread Sami Tolvanen
Use scs_alloc() to allocate also IRQ and SDEI shadow stacks instead of using statically allocated stacks. Signed-off-by: Sami Tolvanen --- arch/arm64/include/asm/scs.h | 21 ++- arch/arm64/kernel/entry.S| 6 ++-- arch/arm64/kernel/irq.c | 2 ++ arch/arm64/kernel/scs.c |

Re: [GIT PULL 1/2] Kbuild updates for v5.10-rc1

2020-10-22 Thread pr-tracker-bot
The pull request you sent on Thu, 22 Oct 2020 22:46:51 +0900: > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > tags/kbuild-v5.10 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/746b25b1aa0f5736d585728ded70a8141da91edb Thank you! --

Re: [GIT PULL] Modules updates for v5.10

2020-10-22 Thread pr-tracker-bot
The pull request you sent on Thu, 22 Oct 2020 14:42:47 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux.git > tags/modules-for-v5.10 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/2b71482060e1e6962720dbca1dff702580fa0748 Thank you! --

Re: [GIT PULL 2/2] Kconfig updates for v5.10-rc1

2020-10-22 Thread pr-tracker-bot
The pull request you sent on Thu, 22 Oct 2020 22:49:05 +0900: > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > tags/kconfig-v5.10 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f9893351acaecf0a414baf9942b48d5bb5c688c6 Thank you! --

Re: [PATCH RFC v2 14/21] kasan: add and integrate kasan boot parameters

2020-10-22 Thread Andrey Konovalov
On Thu, Oct 22, 2020 at 8:50 PM Marco Elver wrote: > > On Thu, 22 Oct 2020 at 15:19, Andrey Konovalov wrote: > > > > TODO: no meaningful description here yet, please see the cover letter > > for this RFC series. > > > > Signed-off-by: Andrey Konovalov > > Link: > >

Re: [PATCH v11 08/14] s390/vfio-ap: hot plug/unplug queues on bind/unbind of queue device

2020-10-22 Thread kernel test robot
Hi Tony, I love your patch! Perhaps something to improve: [auto build test WARNING on s390/features] [also build test WARNING on linus/master kvms390/next linux/master v5.9 next-20201022] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we

Re: BUG: using __this_cpu_read() in preemptible code in trace_hardirqs_on

2020-10-22 Thread Steven Rostedt
On Thu, 22 Oct 2020 12:30:28 +0200 Peter Zijlstra wrote: > Subject: lockdep: Fix preemption WARN for spurious IRQ-enable > From: Peter Zijlstra > Date: Thu Oct 22 12:23:02 CEST 2020 > > It is valid (albeit uncommon) to call local_irq_enable() without first > having called local_irq_disable().

Re: default cpufreq gov, was: [PATCH] sched/fair: check for idle core

2020-10-22 Thread Mel Gorman
On Thu, Oct 22, 2020 at 07:59:43PM +0200, Rafael J. Wysocki wrote: > > > Agreed. I'd like the option to switch back if we make the default change. > > > It's on the table and I'd like to be able to go that way. > > > > > > > Yep. It sounds chicken, but it's a useful safety net and a reasonable > >

Re: [PATCH v4 0/2] Control over userfaultfd kernel-fault handling

2020-10-22 Thread Lokesh Gidra
On Thu, Oct 8, 2020 at 4:22 PM Nick Kralevich wrote: > > On Wed, Oct 7, 2020 at 9:01 PM Andrea Arcangeli wrote: > > > > Hello Lokesh, > > > > On Wed, Oct 07, 2020 at 01:26:55PM -0700, Lokesh Gidra wrote: > > > On Wed, Sep 23, 2020 at 11:56 PM Lokesh Gidra > > > wrote: > > > > > > > > This

Re: [PATCH v4 2/6] IMA: conditionally allow empty rule data

2020-10-22 Thread Mimi Zohar
Hi Tushar, On Wed, 2020-09-23 at 12:20 -0700, Tushar Sugandhi wrote: > ima_match_rule_data() permits the func to pass empty func_data. > For instance, for the following func, the func_data keyrings= is > optional. > measure func=KEY_CHECK keyrings=.ima > > But a new func in future may want

Re: default cpufreq gov, was: [PATCH] sched/fair: check for idle core

2020-10-22 Thread Phil Auld
On Thu, Oct 22, 2020 at 09:32:55PM +0100 Mel Gorman wrote: > On Thu, Oct 22, 2020 at 07:59:43PM +0200, Rafael J. Wysocki wrote: > > > > Agreed. I'd like the option to switch back if we make the default > > > > change. > > > > It's on the table and I'd like to be able to go that way. > > > > > > >

Re: [PATCH] ARM: dts: BCM5301X: Linksys EA9500 add port 5 and port 7

2020-10-22 Thread Florian Fainelli
On Wed, 14 Oct 2020 15:27:27 -0400, Vivek Unune wrote: > Add ports 5 and 7 which are connected to gmac cores 1 & 2. > These will be disabled for now. > > Signed-off-by: Vivek Unune > --- Applied to devicetree/next, thanks! -- Florian

Re: [PATCH] treewide: Convert macro and uses of __section(foo) to __section("foo")

2020-10-22 Thread Nick Desaulniers
.On Wed, Oct 21, 2020 at 7:36 PM Joe Perches wrote: > > Use a more generic form for __section that requires quotes to avoid > complications with clang and gcc differences. > > Remove the quote operator # from compiler_attributes.h __section macro. > > Convert all unquoted __section(foo) uses to

Re: [PATCH 07/29] arm: dts: bcm53x: Harmonize EHCI/OHCI DT nodes name

2020-10-22 Thread Florian Fainelli
On 10/20/20 4:59 AM, Serge Semin wrote: > In accordance with the Generic EHCI/OHCI bindings the corresponding node > name is suppose to comply with the Generic USB HCD DT schema, which > requires the USB nodes to have the name acceptable by the regexp: > "^usb(@.*)?" . Make sure the "generic-ehci"

Re: [PATCH 16/29] arm: dts: bcm5301x: Harmonize xHCI DT nodes name

2020-10-22 Thread Florian Fainelli
On 10/20/20 4:59 AM, Serge Semin wrote: > In accordance with the Generic xHCI bindings the corresponding node > name is suppose to comply with the Generic USB HCD DT schema, which > requires the USB nodes to have the name acceptable by the regexp: > "^usb(@.*)?" . Make sure the

Re: [PATCH] treewide: Convert macro and uses of __section(foo) to __section("foo")

2020-10-22 Thread Joe Perches
On Thu, 2020-10-22 at 13:42 -0700, Nick Desaulniers wrote: > .On Wed, Oct 21, 2020 at 7:36 PM Joe Perches wrote: > > Use a more generic form for __section that requires quotes to avoid > > complications with clang and gcc differences. [] > > a quick test of x86_64 and s390 would be good. x86_64

Re: [PATCH v6 5/6] can: ctucanfd: CTU CAN FD open-source IP core - platform/SoC support.

2020-10-22 Thread Pavel Machek
Hi! > > > +++ b/drivers/net/can/ctucanfd/Kconfig > > > @@ -21,4 +21,15 @@ config CAN_CTUCANFD_PCI > > > PCIe board with PiKRON.com designed transceiver riser shield is > > > available at https://gitlab.fel.cvut.cz/canbus/pcie-ctu_can_fd . > > > > > > +config CAN_CTUCANFD_PLATFORM > > > +

  1   2   3   4   5   6   7   8   9   10   >