Re: [GIT PULL] Security subsystem updates for v5.9

2020-08-11 Thread pr-tracker-bot
The pull request you sent on Tue, 11 Aug 2020 04:55:33 +1000 (AEST): > git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git > tags/for-v5.9 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ce13266d97b198934e86166491bfa4938e96508f Thank you! --

Re: [PATCH 07/10] remoteproc: imx_rproc: add i.MX specific parse fw hook

2020-08-11 Thread Mathieu Poirier
On Fri, Jul 24, 2020 at 04:08:10PM +0800, Peng Fan wrote: > The hook is used to parse memory-regions and load resource table > from the address the remote processor published. > > Signed-off-by: Peng Fan > --- > drivers/remoteproc/imx_rproc.c | 99 > +- >

"mm/vmalloc: Add flag for freeing of special permsissions" broke udev on ia64

2020-08-11 Thread John Paul Adrian Glaubitz
Hi Rick! I have been bisecting some regressions on ia64 and one problem I ran into is that udev is causing the kernel to crash after the following change from 2019: commit 868b104d7379e28013e9d48bdd2db25e0bdcf751 Author: Rick Edgecombe Date: Thu Apr 25 17:11:36 2019 -0700 mm/vmalloc:

Re: [PATCH v5 2/3] venus: Add a debugfs file for SSR trigger

2020-08-11 Thread Stephen Boyd
Quoting Stanimir Varbanov (2020-07-30 02:53:49) > The SSR (SubSystem Restart) is used to simulate an error on FW > side of Venus. We support following type of triggers - fatal error, > div by zero and watchdog IRQ. Can this use the fault injection framework instead of custom debugfs? See

Re: [PATCH 10/10] mm/hugetlb: not necessary to abuse temporary page to workaround the nasty free_huge_page

2020-08-11 Thread Mike Kravetz
On 8/10/20 11:54 PM, Michal Hocko wrote: > > I have managed to forgot all the juicy details since I have made that > change. All that remains is that the surplus pages accounting was quite > tricky and back then I didn't figure out a simpler method that would > achieve the consistent look at

Re: [PATCH] Revert "mm/vmstat.c: do not show lowmem reserve protection information of empty zone"

2020-08-11 Thread David Rientjes
On Tue, 11 Aug 2020, Baoquan He wrote: > This reverts commit 26e7deadaae1755faf1f6d1a68988c4b8348df59. > > Sonny reported that one of their tests started failing on the latest > kernel on their Chrome OS platform. The root cause is that the above > commit removed the protection line of empty

Re: [PATCH v3] mm/gup: Allow real explicit breaking of COW

2020-08-11 Thread Peter Xu
On Tue, Aug 11, 2020 at 01:46:05PM -0700, Linus Torvalds wrote: > On Tue, Aug 11, 2020 at 1:06 PM Linus Torvalds > wrote: > > > > Maybe trying to reuse the page just isn't worth it? > > Well, the attached patch boots, and hasn't slowed kernel compiles > down. But it may do horrible things due to

Re: [PATCH 06/10] remoteproc: imx_rproc: add load hook

2020-08-11 Thread Mathieu Poirier
On Fri, Jul 24, 2020 at 04:08:09PM +0800, Peng Fan wrote: > To i.MX8, we not able to see the correct data written into TCM when > using ioremap_wc, so use ioremap. > > However common elf loader using memset. > > To arm64, "dc zva, dst" is used in memset. > Per ARM DDI 0487A.j, chapter

Re: [PATCH] mm/slub: fix missing ALLOC_SLOWPATH stat when bulk alloc

2020-08-11 Thread David Rientjes
On Tue, 11 Aug 2020, wuyun...@huawei.com wrote: > From: Abel Wu > > The ALLOC_SLOWPATH statistics is missing in bulk allocation now. > Fix it by doing statistics in alloc slow path. > > Signed-off-by: Abel Wu > --- > mm/slub.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >

Re: [PATCH 1/2] PM / Domains: Add GENPD_FLAG_SUSPEND_ON flag

2020-08-11 Thread Stephen Boyd
Quoting Sibi Sankar (2020-08-11 12:02:51) > diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h > index ee11502a575b0..3002a2d68936a 100644 > --- a/include/linux/pm_domain.h > +++ b/include/linux/pm_domain.h > @@ -55,6 +55,10 @@ > * > * GENPD_FLAG_RPM_ALWAYS_ON: Instructs

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-11 Thread Casey Schaufler
On 8/11/2020 1:28 PM, Miklos Szeredi wrote: > On Tue, Aug 11, 2020 at 6:17 PM Casey Schaufler > wrote: > >> Since ab has known meaning, and lots of applications >> play loose with '/', its really dangerous to treat the string as >> special. We only get away with '.' and '..' because

Re: [PATCH 0/3] Modernize tasklet callback API

2020-08-11 Thread Kees Cook
On Mon, Aug 03, 2020 at 02:16:15PM +0530, Allen wrote: > Here's the series re-based on top of 5.8 > https://github.com/allenpais/tasklets/tree/V3 Great! > Let me know how you would want these to be reviewed. Was a Coccinelle script used for any of these conversions? I wonder if it'd be easier

Re: [PATCH v4 7/7] irqchip: qcom-pdc: Reset all pdc interrupts during init

2020-08-11 Thread Stephen Boyd
Quoting Maulik Shah (2020-08-10 04:21:00) > Clear previous kernel's configuration during init by resetting > interrupts in enable bank to zero. Can you please add some more information here about why we're not clearing all the pdc irqs and only the ones that are listed in DT? Is that because the

Re: [PATCH v2] module: Harden STRICT_MODULE_RWX

2020-08-11 Thread Peter Zijlstra
On Tue, Aug 11, 2020 at 07:59:12PM +0200, pet...@infradead.org wrote: > On Tue, Aug 11, 2020 at 06:01:35PM +0200, Jessica Yu wrote: > > > > > On Tue, Aug 11, 2020 at 04:34:27PM +0200, Mauro Carvalho Chehab wrote: > > > > > [33] .plt PROGBITS 0340 00035c80 > > >

[PATCH] OPP: Put opp table in dev_pm_opp_set_rate() all the time

2020-08-11 Thread Stephen Boyd
We get the opp_table pointer at the top of the function and so we should put the pointer at the end of the function like all other exit paths from this function do. Cc: Rajendra Nayak Fixes: aca48b61f963 ("opp: Manage empty OPP tables with clk handle") Signed-off-by: Stephen Boyd ---

[PATCH v2 1/2] kunit: tool: fix running kunit_tool from outside kernel tree

2020-08-11 Thread Brendan Higgins
Currently kunit_tool does not work correctly when executed from a path outside of the kernel tree, so make sure that the current working directory is correct and the kunit_dir is properly initialized before running. Signed-off-by: Brendan Higgins --- tools/testing/kunit/kunit.py | 13

[PATCH v2 2/2] kunit: tool: allow generating test results in JSON

2020-08-11 Thread Brendan Higgins
From: Heidi Fahim Add a --json flag, which when specified generates JSON formatted test results conforming to the KernelCI API test_group spec[1]. The user can use the new flag to specify a filename to print the json formatted results to. Link[1]:

Re: [PATCH] docs: Fix function name trailing double-()s

2020-08-11 Thread Kees Cook
On Tue, Aug 11, 2020 at 10:48:34AM -0600, Jonathan Corbet wrote: > On Fri, 7 Aug 2020 23:49:59 -0700 > Kees Cook wrote: > > > I noticed a double-() after a function name in deprecated.rst today. Fix > > that one and two others in the Documentation/ tree. > > > > Signed-off-by: Kees Cook > >

Re: [PATCH RFC v2 02/18] irq/dev-msi: Add support for a new DEV_MSI irq domain

2020-08-11 Thread Thomas Gleixner
"Dey, Megha" writes: > On 8/11/2020 2:53 AM, Thomas Gleixner wrote: >>> And the annoying fact that you need XEN support which opens another can >>> of worms... > > hmm I am not sure why we need Xen support... are you referring to idxd > using xen? What about using IDXD when you are running on

Re: [git pull] IOMMU Updates for Linux v5.9

2020-08-11 Thread pr-tracker-bot
The pull request you sent on Tue, 11 Aug 2020 14:47:53 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git > tags/iommu-updates-v5.9 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/952ace797c17d06e50ad2a738babd27159b8d7cc Thank you! --

Re: [PATCH 1/2] soc: qcom: aoss: Don't wait for IRQ if we might be in suspend/resume noirq

2020-08-11 Thread Doug Anderson
Hi, On Thu, Aug 6, 2020 at 10:33 AM Sibi Sankar wrote: > > On 2020-08-06 22:40, Doug Anderson wrote: > > Hi, > > > > On Thu, Aug 6, 2020 at 7:36 AM Sibi Sankar > > wrote: > >> > >> On 2020-08-06 04:32, Stephen Boyd wrote: > >> > +Sibi who wrote the code > >> > > >> > Quoting Doug Anderson

Re: [PATCH] mailmap: Update comments for with format and more detalis

2020-08-11 Thread Kees Cook
On Tue, Aug 11, 2020 at 10:46:14AM -0600, Jonathan Corbet wrote: > On Sat, 8 Aug 2020 00:14:36 -0700 > Kees Cook wrote: > > > Without having first read the git-shortlog man-page first, the format > > of .mailmap may not be immediately obvious. Add comments with pointers > > to the man-page,

Re: [PATCH v3] mm/gup: Allow real explicit breaking of COW

2020-08-11 Thread Peter Xu
On Tue, Aug 11, 2020 at 10:22:00PM +0200, Jann Horn wrote: > On Tue, Aug 11, 2020 at 10:03 PM Peter Xu wrote: > > On Tue, Aug 11, 2020 at 09:07:17PM +0200, Jann Horn wrote: > > > On Tue, Aug 11, 2020 at 8:39 PM Peter Xu wrote: > > > > Starting from commit 17839856fd58 ("gup: document and work

Re: [GIT PULL] Backlight for v5.9

2020-08-11 Thread pr-tracker-bot
The pull request you sent on Tue, 11 Aug 2020 08:50:49 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git > backlight-next-5.9 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/96f970feeb47003a8eba967f188bba4e75875c7a Thank you! --

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-11 Thread Al Viro
On Tue, Aug 11, 2020 at 10:28:31PM +0200, Miklos Szeredi wrote: > On Tue, Aug 11, 2020 at 6:17 PM Casey Schaufler > wrote: > > > Since ab has known meaning, and lots of applications > > play loose with '/', its really dangerous to treat the string as > > special. We only get away with

Re: [PATCH] drm/msm/dpu: fix unitialized variable error

2020-08-11 Thread Sean Paul
On Tue, Aug 11, 2020 at 5:08 PM Rob Clark wrote: > > From: Rob Clark > > drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c:817 dpu_crtc_enable() error: > uninitialized symbol 'request_bandwidth'. > > Reported-by: kernel test robot Reviewed-by: Sean Paul > Signed-off-by: Rob Clark > --- >

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-11 Thread Linus Torvalds
On Tue, Aug 11, 2020 at 1:56 PM Miklos Szeredi wrote: > > So that's where O_ALT comes in. If the application is consenting, > then that should prevent exploits. Or? If the application is consenting AND GETS IT RIGHT it should prevent exploits. But that's a big deal. Why not just do it the

drivers/gpio/gpiolib-cdev.c:795:3: warning: 'strncpy' specified bound 32 equals destination size

2020-08-11 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 00e4db51259a5f936fec1424b884f029479d3981 commit: 925ca36913fc7dfee9d0bb7f36d81dd108a7b80f gpiolib: split character device into gpiolib-cdev date: 7 weeks ago config: arm64-randconfig-r002-20200811

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-11 Thread Andy Lutomirski
On Tue, Aug 11, 2020 at 1:56 PM Miklos Szeredi wrote: > > On Tue, Aug 11, 2020 at 10:37 PM Jann Horn wrote: > > If you change the semantics of path strings, you'd have to be > > confident that the new semantics fit nicely with all the path > > validation routines that exist scattered across

Re: [PATCH 1/2] PM / Domains: Add GENPD_FLAG_SUSPEND_ON flag

2020-08-11 Thread Doug Anderson
Hi, On Tue, Aug 11, 2020 at 12:03 PM Sibi Sankar wrote: > > This is for power domains which needs to stay powered on for suspend > but can be powered on/off as part of runtime PM. This flag is aimed at > power domains coupled to remote processors which enter suspend states > independent to that

Re: [PATCH 2/2] soc: qcom: aoss: Use GENPD_FLAG_SUSPEND_ON flag

2020-08-11 Thread Doug Anderson
Hi, On Tue, Aug 11, 2020 at 12:03 PM Sibi Sankar wrote: > > All the power domains exposed as part of AOSS QMP driver require to stay > powered on for suspend. They are powered on when the remote processors > boots up and powered off on remote processor crash/shutdown. Mark the > power domains

Re: pidfd and O_NONBLOCK

2020-08-11 Thread Josh Triplett
On Tue, Aug 11, 2020 at 10:10:45PM +0200, Christian Brauner wrote: > On Tue, Aug 11, 2020 at 11:12:36AM -0700, Josh Triplett wrote: > > As far as I can tell, O_NONBLOCK has no effect on a pidfd. When calling > > waitid on a pidfd for a running process, it always blocks unless you > > provide

Re: [PATCH v1 0/4] [RFC] Implement Trampoline File Descriptor

2020-08-11 Thread Madhavan T. Venkataraman
I am working on version 2 of trampfd. Will send it out soon. Thanks for all the comments so far! Madhavan On 8/10/20 12:34 PM, Madhavan T. Venkataraman wrote: > Resending because of mailer problems. Some of the recipients did not receive > my email. I apologize. Sigh. > > Here is a

Re: [PATCH] opp: Fix dev_pm_opp_set_rate() to not return early

2020-08-11 Thread Stephen Boyd
Quoting Rajendra Nayak (2020-08-10 00:06:19) > dev_pm_opp_set_rate() can now be called with freq = 0 inorder > to either drop performance or bandwidth votes or to disable > regulators on platforms which support them. > In such cases, a subsequent call to dev_pm_opp_set_rate() with > the same

Re: [RFC-PATCH 1/2] mm: Add __GFP_NO_LOCKS flag

2020-08-11 Thread Paul E. McKenney
On Tue, Aug 11, 2020 at 09:39:10PM +0200, Thomas Gleixner wrote: > Thomas Gleixner writes: > > "Paul E. McKenney" writes: > >> On Tue, Aug 11, 2020 at 04:44:21PM +0200, Thomas Gleixner wrote: > >>> Now RCU creates a new thing which enforces to make page allocation in > >>> atomic context

Re: [PATCH 1/2 v3] rseq/membarrier: add MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ

2020-08-11 Thread Peter Oskolkov
On Mon, Aug 10, 2020 at 11:27 PM Peter Zijlstra wrote: > > On Mon, Aug 10, 2020 at 05:09:58PM -0700, Peter Oskolkov wrote: > > @@ -27,6 +35,12 @@ > > > > static void ipi_mb(void *info) > > { > > The #ifdef wants to behere, otherwise you'll get a compile warning for > !RSEQ builds. Ack. Will do

[PATCH] drm/msm/dpu: fix unitialized variable error

2020-08-11 Thread Rob Clark
From: Rob Clark drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c:817 dpu_crtc_enable() error: uninitialized symbol 'request_bandwidth'. Reported-by: kernel test robot Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

RE: [PATCH 1/2] perf: Add closing sibling events' file descriptors

2020-08-11 Thread David Laight
> On Tue, Aug 11, 2020 at 02:47:03PM +, David Laight wrote: > > From: Andi Kleen > > > On Mon, Aug 10, 2020 at 10:36:32PM +0200, Peter Zijlstra wrote: > > > > On Mon, Aug 10, 2020 at 07:45:18AM -0700, Andi Kleen wrote: > > > > > > > > > Unfortunately we're kind of stuck with the old NFILE=1024

Re: [PATCH v4 1/2] memremap: rename MEMORY_DEVICE_DEVDAX to MEMORY_DEVICE_GENERIC

2020-08-11 Thread David Hildenbrand
On 11.08.20 11:44, Roger Pau Monne wrote: > This is in preparation for the logic behind MEMORY_DEVICE_DEVDAX also > being used by non DAX devices. > > No functional change intended. > > Signed-off-by: Roger Pau Monné > --- > Cc: Dan Williams > Cc: Vishal Verma > Cc: Dave Jiang > Cc: Andrew

Re: [PATCH V2] mm, page_alloc: fix core hung in free_pcppages_bulk()

2020-08-11 Thread David Hildenbrand
On 11.08.20 14:58, Charan Teja Reddy wrote: > The following race is observed with the repeated online, offline and a > delay between two successive online of memory blocks of movable zone. > > P1P2 > > Online the first memory block in > the movable

Re: [dm-devel] [RFC PATCH v5 00/11] Integrity Policy Enforcement LSM (IPE)

2020-08-11 Thread James Morris
On Sat, 8 Aug 2020, Chuck Lever wrote: > My interest is in code integrity enforcement for executables stored > in NFS files. > > My struggle with IPE is that due to its dependence on dm-verity, it > does not seem to able to protect content that is stored separately > from its execution

Re: [PATCH 1/7] regulator: push allocation in regulator_init_coupling() outside of lock

2020-08-11 Thread Dmitry Osipenko
11.08.2020 20:20, Michał Mirosław пишет: > On Tue, Aug 11, 2020 at 07:27:43PM +0300, Dmitry Osipenko wrote: >> 11.08.2020 18:59, Dmitry Osipenko пишет: >>> 11.08.2020 04:07, Michał Mirosław пишет: Allocating memory with regulator_list_mutex held makes lockdep unhappy when memory pressure

[RFC PATCH] coccinelle: misc: add uninitialized_var.cocci script

2020-08-11 Thread Denis Efremov
Commit 63a0895d960a ("compiler: Remove uninitialized_var() macro") and commit 4b19bec97c88 ("docs: deprecated.rst: Add uninitialized_var()") removed uninitialized_var() and deprecated it. The purpose of this script is to prevent new occurrences of open-coded variants of uninitialized_var(). Cc:

drivers/usb/chipidea/usbmisc_imx.c:745 imx7d_charger_data_contact_detect() error: double unlocked 'usbmisc->lock' (orig line 725)

2020-08-11 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 00e4db51259a5f936fec1424b884f029479d3981 commit: 746f316b753a83e366bfc5f936cbf0d72d1c2d1d usb: chipidea: introduce imx7d USB charger detection date: 3 months ago config: h8300-randconfig-m031-20200811

drivers/scsi/mpt3sas/mpt3sas_ctl.c:2172 mpt3sas_send_diag_release() warn: inconsistent indenting

2020-08-11 Thread kernel test robot
-20200811 (attached as .config) compiler: hppa-linux-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot New smatch warnings: drivers/scsi/mpt3sas/mpt3sas_ctl.c:2172 mpt3sas_send_diag_release() warn: inconsistent indenting Old smatch warnings

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-11 Thread Miklos Szeredi
On Tue, Aug 11, 2020 at 10:37 PM Jann Horn wrote: > If you change the semantics of path strings, you'd have to be > confident that the new semantics fit nicely with all the path > validation routines that exist scattered across userspace, and don't > expose new interfaces through file server

Re: [PATCH 14/33] spmi: add hisi-spmi-controller to the building system

2020-08-11 Thread kernel test robot
Hi Mauro, I love your patch! Perhaps something to improve: [auto build test WARNING on lee-mfd/for-mfd-next] [also build test WARNING on regulator/for-next robh/for-next linus/master v5.8 next-20200811] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting

Intro to the architecture of LLVM

2020-08-11 Thread Nick Desaulniers
Sharing a link to a talk I gave recently on the basics of working with LLVM: https://youtu.be/bUTXhcf_aNc -- Thanks, ~Nick Desaulniers

Re: [PATCH v5 4/4] printk: use the lockless ringbuffer

2020-08-11 Thread Nick Desaulniers
>From what I can tell, I think this patch ("printk: use the lockless ringbuffer") breaks lx-dmesg in CONFIG_GDB_SCRIPTS. (gdb) lx-dmesg Python Exception No symbol "log_first_idx" in specified context.: Error occurred in Python: No symbol "log_first_idx" in specified context. This command is

Re: [PATCH v3] mm/gup: Allow real explicit breaking of COW

2020-08-11 Thread Linus Torvalds
On Tue, Aug 11, 2020 at 1:06 PM Linus Torvalds wrote: > > Maybe trying to reuse the page just isn't worth it? Well, the attached patch boots, and hasn't slowed kernel compiles down. But it may do horrible things due to leaving swap cache pages and KSM pages to be reaped by the memory scanner,

Re: [RFC PATCH V2 0/2] Add Xilinx DSI TX driver

2020-08-11 Thread Laurent Pinchart
Hi GVRao, Thank you for the patches. On Tue, Aug 11, 2020 at 06:16:15AM +0530, Venkateshwar Rao Gannavarapu wrote: > Xilinx DSI-TX subsytem consists of DSI controller core, AXI crossbar > and D-PHY as sub blocks. DSI TX subsystem driver supports multiple lanes > upto 4, RGB color formats, video

Re: [RFC PATCH V2 0/2] Add Xilinx DSI TX driver

2020-08-11 Thread Daniel Vetter
On Tue, Aug 11, 2020 at 2:46 AM Venkateshwar Rao Gannavarapu wrote: > > Xilinx DSI-TX subsytem consists of DSI controller core, AXI crossbar > and D-PHY as sub blocks. DSI TX subsystem driver supports multiple lanes > upto 4, RGB color formats, video mode and command modes. > > DSI-TX driver is

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-11 Thread Jann Horn
On Tue, Aug 11, 2020 at 10:29 PM Miklos Szeredi wrote: > On Tue, Aug 11, 2020 at 6:17 PM Casey Schaufler > wrote: > > Since ab has known meaning, and lots of applications > > play loose with '/', its really dangerous to treat the string as > > special. We only get away with '.' and '..'

[no subject]

2020-08-11 Thread Balsa Kokovic
https://bit.ly/33LM4lC Balsa Kokovic

Re: file metadata via fs API (was: [GIT PULL] Filesystem Information)

2020-08-11 Thread Miklos Szeredi
On Tue, Aug 11, 2020 at 6:17 PM Casey Schaufler wrote: > Since ab has known meaning, and lots of applications > play loose with '/', its really dangerous to treat the string as > special. We only get away with '.' and '..' because their behavior > was defined before many of y'all were

Re: [GIT PULL] libnvdimm for v5.9

2020-08-11 Thread pr-tracker-bot
The pull request you sent on Tue, 11 Aug 2020 01:20:48 +: > git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git/ > tags/libnvdimm-for-5.9 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4bf5e3611895ede257d736b7359db669879a109f Thank you! --

Re: [GIT PULL] rpmsg updates for v5.9

2020-08-11 Thread pr-tracker-bot
The pull request you sent on Mon, 10 Aug 2020 22:28:01 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git > tags/rpmsg-v5.9 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/dded87afdacf8fe129fe13fe61d0a21e2afff3f6 Thank you! --

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

2020-08-11 Thread pr-tracker-bot
The pull request you sent on Mon, 10 Aug 2020 22:28:32 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git > tags/rproc-v5.9 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/617e7481d7bfb807273d0f1b1983de032a725220 Thank you! --

Re: [GIT PULL] hwspinlock updates for 5.9

2020-08-11 Thread pr-tracker-bot
The pull request you sent on Mon, 10 Aug 2020 22:29:00 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git > tags/hwlock-v5.9 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c636eef2ee3696f261a35f34989842701a107895 Thank you! --

Re: [PATCH v9 3/5] drm/msm/dp: add support for DP PLL driver

2020-08-11 Thread Randy Dunlap
On 8/11/20 12:49 PM, tan...@codeaurora.org wrote: > On 2020-08-07 13:28, Randy Dunlap wrote: >> On 8/7/20 1:24 PM, Stephen Boyd wrote: >>> Quoting Rob Clark (2020-08-07 08:51:48) On Fri, Aug 7, 2020 at 8:27 AM Randy Dunlap wrote: > > On 8/7/20 12:17 AM, Tanmay Shah wrote: >>

Re: [PATCH v3] mm/gup: Allow real explicit breaking of COW

2020-08-11 Thread Jann Horn
On Tue, Aug 11, 2020 at 10:03 PM Peter Xu wrote: > On Tue, Aug 11, 2020 at 09:07:17PM +0200, Jann Horn wrote: > > On Tue, Aug 11, 2020 at 8:39 PM Peter Xu wrote: > > > Starting from commit 17839856fd58 ("gup: document and work around "COW can > > > break either way" issue", 2020-06-02), explicit

drivers/gpu/drm/ingenic/ingenic-drm-drv.c:(.text.ingenic_drm_bind+0x3a8): undefined reference to `clk_get_parent'

2020-08-11 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 00e4db51259a5f936fec1424b884f029479d3981 commit: fc1acf317b01083d47228c0d21cfc0764f37a04e drm/ingenic: Add support for the IPU date: 4 weeks ago config: mips-randconfig-r015-20200811 (attached as .config

Re: [PATCH] x86/paravirt: Add missing noinstr to arch_local*() helpers

2020-08-11 Thread peterz
On Tue, Aug 11, 2020 at 11:46:51AM +0200, pet...@infradead.org wrote: > So let me once again see if I can't find a better solution for this all. > Clearly it needs one :/ So the below boots without triggering the debug code from Marco -- it should allow nesting local_irq_save/restore under

Re: [PATCH v1] usb: typec: tcpm: Fix TDA 2.2.1.1 and TDA 2.2.1.2 failures

2020-08-11 Thread Guenter Roeck
On 8/11/20 12:39 PM, Badhri Jagan Sridharan wrote: > On Tue, Aug 11, 2020 at 11:45 AM Guenter Roeck wrote: >> >> On Tue, Aug 11, 2020 at 11:24:07AM -0700, Badhri Jagan Sridharan wrote: >>> On Mon, Aug 10, 2020 at 6:51 PM Guenter Roeck wrote: On 8/10/20 6:11 PM, Badhri Jagan Sridharan

Re: [PATCH] sched/fair: Remove the duplicate check from group_has_capacity()

2020-08-11 Thread Valentin Schneider
On 11/08/20 14:12, Qi Zheng wrote: > On 2020/8/11 下午8:48, Valentin Schneider wrote: >> On 11/08/20 12:44, Qi Zheng wrote: >>> In fact, at the beginning, I added unlikely() here to hint the compiler: >>> >>> - if ((sgs->group_capacity * imbalance_pct) < >>> -

Re: [PATCH v2] arch/ia64: Restore arch-specific pgd_offset_k implementation

2020-08-11 Thread Mike Rapoport
On Tue, Aug 11, 2020 at 07:24:57PM +0100, Jessica Clarke wrote: > IA-64 is special and treats pgd_offset_k differently from pgd_offset by > not including the region number, and init_mm's PGD is such that it only > points to the kernel's region's PGD. This was broken in 974b9b2c68 which > unified

Re: [PATCH v4 2/7] pinctrl: qcom: Use return value from irq_set_wake call

2020-08-11 Thread Doug Anderson
Hi, On Tue, Aug 11, 2020 at 12:34 PM Stephen Boyd wrote: > > Quoting Maulik Shah (2020-08-10 04:20:55) > > msmgpio irqchip is not using return value of irq_set_wake call. > > Start using it. > > Does this work when the irq parent isn't setup in a hierarchy? I seem to > recall that this was

Re: [PATCH v4 4/7] genirq: introduce irq_suspend_parent() and irq_resume_parent()

2020-08-11 Thread Doug Anderson
Hi, On Mon, Aug 10, 2020 at 4:21 AM Maulik Shah wrote: > > From: Douglas Anderson > > This goes with the new irq_suspend_one() and irq_resume_one() > callbacks and allow us to easily pass things up to our parent. > > Signed-off-by: Douglas Anderson > Signed-off-by: Maulik Shah > --- >

Re: pidfd and O_NONBLOCK

2020-08-11 Thread Christian Brauner
On Tue, Aug 11, 2020 at 11:12:36AM -0700, Josh Triplett wrote: > As far as I can tell, O_NONBLOCK has no effect on a pidfd. When calling > waitid on a pidfd for a running process, it always blocks unless you > provide WNOHANG. > > I don't think anything depends on that behavior. Would it be

Re: [PATCH 1/2] clk: qcom: gcc: Add genpd active wakeup flag for sc7180

2020-08-11 Thread Sandeep Maheswaram (Temp)
Hi, On 8/8/2020 3:14 AM, Stephen Boyd wrote: Quoting Stephen Boyd (2020-06-11 15:46:58) Quoting Sandeep Maheswaram (2020-06-11 07:28:02) From: Taniya Das The USB client requires the usb30_prim gdsc to be kept active for certain use cases, thus add the GENPD_FLAG_ACTIVE_WAKEUP flag. Can you

Re: [PATCH v4 3/7] genirq: Introduce irq_suspend_one() and irq_resume_one() callbacks

2020-08-11 Thread Doug Anderson
Hi, On Mon, Aug 10, 2020 at 4:21 AM Maulik Shah wrote: > > From: Douglas Anderson > > The "struct irq_chip" has two callbacks in it: irq_suspend() and > irq_resume(). These two callbacks are interesting because sometimes > an irq chip needs to know about suspend/resume, but they are a bit >

[RFC 18/20] drm/nouveau/kms: Don't change EDID when it hasn't actually changed

2020-08-11 Thread Lyude Paul
Currently in nouveau_connector_ddc_detect() and nouveau_connector_detect_lvds(), we start the connector probing process by releasing the previous EDID and informing DRM of the change. However, since commit 5186421cbfe2 ("drm: Introduce epoch counter to drm_connector")

[RFC 15/20] drm/i915/dp: Extract drm_dp_has_sink_count()

2020-08-11 Thread Lyude Paul
Since other drivers are also going to need to be aware of the sink count in order to do proper dongle detection, we might as well steal i915's DP_SINK_COUNT helpers and move them into DRM helpers so that other dirvers can use them as well. Note that this also starts using

[RFC 11/20] drm/nouveau/kms: Move drm_dp_cec_unset_edid() into nouveau_connector_detect()

2020-08-11 Thread Lyude Paul
For whatever reason we currently unset the EDID for DP CEC support when responding to the connector being unplugged, instead of just doing it in nouveau_connector_detect() where we set the CEC EDID. This isn't really needed and could even potentially cause us to forget to unset the EDID if the

[RFC 17/20] drm/nouveau/kms/nv50-: Add support for DP_SINK_COUNT

2020-08-11 Thread Lyude Paul
This is another bit that we never implemented for nouveau: dongle detection. When a "dongle", e.g. an active display adaptor, is hooked up to the system and causes an HPD to be fired, we don't actually know whether or not there's anything plugged into the dongle without checking the sink count. As

Re: [PATCH v3] mm/gup: Allow real explicit breaking of COW

2020-08-11 Thread Linus Torvalds
; On Tue, Aug 11, 2020 at 12:24 PM Linus Torvalds wrote: > > Now I wonder if there's any other case of FOLL_WRITE that is missing. Actually, now I wonder if we really should have tried to handle the wrong-way cow reuse case some other way entirely. When discussing this wrong-way-COW issue

[RFC 20/20] drm/nouveau/kms: Start using drm_dp_read_dpcd_caps()

2020-08-11 Thread Lyude Paul
Now that we've extracted i915's code for reading both the normal DPCD caps and extended DPCD caps into a shared helper, let's start using this in nouveau to enable us to start checking extended DPCD caps for free. Signed-off-by: Lyude Paul --- drivers/gpu/drm/nouveau/nouveau_dp.c | 14

[RFC 16/20] drm/i915/dp: Extract drm_dp_get_sink_count()

2020-08-11 Thread Lyude Paul
And of course, we'll also need to read the sink count from other drivers as well if we're checking whether or not it's supported. So, let's extract the code for this into another helper. Signed-off-by: Lyude Paul --- drivers/gpu/drm/drm_dp_helper.c | 20

[RFC 19/20] drm/i915/dp: Extract drm_dp_read_dpcd_caps()

2020-08-11 Thread Lyude Paul
Since DP 1.3, it's been possible for DP receivers to specify an additional set of DPCD capabilities, which can take precedence over the capabilities reported at DP_DPCD_REV. Basically any device supporting DP is going to need to read these in an identical manner, in particular nouveau, so let's

[RFC 13/20] drm/i915/dp: Extract drm_dp_downstream_read_info()

2020-08-11 Thread Lyude Paul
We're going to be doing the same probing process in nouveau for determining downstream DP port capabilities, so let's deduplicate the work by moving i915's code for handling this into a shared helper: drm_dp_downstream_read_info(). Note that when we do this, we also do make some functional

[RFC 14/20] drm/nouveau/kms/nv50-: Use downstream DP clock limits for mode validation

2020-08-11 Thread Lyude Paul
This adds support for querying the maximum clock rate of a downstream port on a DisplayPort connection. Generally, downstream ports refer to active dongles which can have their own pixel clock limits. Note as well, we also start marking the connector as disconnected if we can't read the DPCD,

[RFC 09/20] drm/i915/dp: Extract drm_dp_has_mst()

2020-08-11 Thread Lyude Paul
Just a tiny drive-by cleanup, we can consolidate i915's code for checking for MST support into a helper to be shared across drivers. Signed-off-by: Lyude Paul --- drivers/gpu/drm/i915/display/intel_dp.c | 18 ++ include/drm/drm_dp_mst_helper.h | 22 ++

[RFC 07/20] drm/nouveau/kms/nv50-: Use drm_dp_dpcd_(readb|writeb)() in nv50_sor_disable()

2020-08-11 Thread Lyude Paul
Just use drm_dp_dpcd_(readb|writeb)() so we get automatic DPCD logging Signed-off-by: Lyude Paul Reviewed-by: Ben Skeggs --- drivers/gpu/drm/nouveau/dispnv50/disp.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/nouveau/dispnv50/disp.c

[RFC 12/20] drm/nouveau/kms: Only use hpd_work for reprobing in HPD paths

2020-08-11 Thread Lyude Paul
Currently we perform both short IRQ handling for DP, and connector reprobing in the HPD IRQ handler. However since we need to grab connection_mutex in order to reprobe a connector, in theory we could accidentally block ourselves from handling any short IRQs until after a modeset completes if a

[RFC 05/20] drm/nouveau/kms: Don't clear DP_MST_CTRL DPCD in nv50_mstm_new()

2020-08-11 Thread Lyude Paul
Since fa3cdf8d0b09 ("drm/nouveau: Reset MST branching unit before enabling") we've been clearing DP_MST_CTRL before we start enabling MST. Since then clearing DP_MST_CTRL in nv50_mstm_new() has been unnecessary and redundant, so let's remove it. Signed-off-by: Lyude Paul Reviewed-by: Ben Skeggs

[RFC 04/20] drm/nouveau/kms/nv50-: Use macros for DP registers in nouveau_dp.c

2020-08-11 Thread Lyude Paul
No functional changes. Signed-off-by: Lyude Paul Reviewed-by: Ben Skeggs --- drivers/gpu/drm/nouveau/nouveau_dp.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_dp.c b/drivers/gpu/drm/nouveau/nouveau_dp.c index

[RFC 10/20] drm/nouveau/kms: Use new drm_dp_has_mst() helper for checking MST caps

2020-08-11 Thread Lyude Paul
Signed-off-by: Lyude Paul --- drivers/gpu/drm/nouveau/nouveau_dp.c | 16 +++- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_dp.c b/drivers/gpu/drm/nouveau/nouveau_dp.c index d701f09aea645..bb85d81c25244 100644 ---

[RFC 08/20] drm/nouveau/kms/nv50-: Refactor and cleanup DP HPD handling

2020-08-11 Thread Lyude Paul
First some backstory here: Currently, we keep track of whether or not we've enabled MST or not by trying to piggy-back off the MST helpers. This means that in order to check whether MST is enabled or not, we actually need to grab drm_dp_mst_topology_mgr.lock. Back when I originally wrote this, I

[RFC 03/20] drm/nouveau/kms/nv50-: Just use drm_dp_dpcd_read() in nouveau_dp.c

2020-08-11 Thread Lyude Paul
Since this actually logs accesses, we should probably always be using this imho… Signed-off-by: Lyude Paul Reviewed-by: Ben Skeggs --- drivers/gpu/drm/nouveau/nouveau_dp.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_dp.c

[RFC 06/20] drm/nouveau/kms: Search for encoders' connectors properly

2020-08-11 Thread Lyude Paul
While the way we find the associated connector for an encoder is just fine for legacy modesetting, it's not correct for nv50+ since that uses atomic modesetting. For reference, see the drm_encoder kdocs. Fix this by removing nouveau_encoder_connector_get(), and replacing it with

[RFC 01/20] drm/nouveau/kms: Fix some indenting in nouveau_dp_detect()

2020-08-11 Thread Lyude Paul
Signed-off-by: Lyude Paul --- drivers/gpu/drm/nouveau/nouveau_dp.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_dp.c b/drivers/gpu/drm/nouveau/nouveau_dp.c index 8a0f7994e1aeb..ee778ddc95fae 100644 ---

[RFC 02/20] drm/nouveau/kms/nv50-: Remove open-coded drm_dp_read_desc()

2020-08-11 Thread Lyude Paul
Noticed this while going through our DP code - we use an open-coded version of drm_dp_read_desc() instead of just using the helper, so change that. This will also let us use quirks in the future if we end up needing them. Signed-off-by: Lyude Paul Reviewed-by: Ben Skeggs ---

Re: [PATCH v4 1/7] pinctrl: qcom: Add msmgpio irqchip flags

2020-08-11 Thread Doug Anderson
Hi, On Mon, Aug 10, 2020 at 4:21 AM Maulik Shah wrote: > > Add irqchip specific flags for msmgpio irqchip to mask non wakeirqs > during suspend and mask before setting irq type. > > Masking before changing type should make sure any spurious interrupt > is not detected during this operation. > >

Re: [PATCH v7 5/7] fs,doc: Enable to enforce noexec mounts or file exec through O_MAYEXEC

2020-08-11 Thread Eric W. Biederman
Mickaël Salaün writes: > Allow for the enforcement of the O_MAYEXEC openat2(2) flag. Thanks to > the noexec option from the underlying VFS mount, or to the file execute > permission, userspace can enforce these execution policies. This may > allow script interpreters to check execution

Re: [PATCH v11 1/2] usb: dwc3: qcom: Add interconnect support in dwc3 driver

2020-08-11 Thread Sandeep Maheswaram (Temp)
Hi Felipe, On 7/28/2020 12:50 AM, Matthias Kaehlcke wrote: On Mon, Jul 27, 2020 at 10:36:36PM +0530, Sandeep Maheswaram wrote: Add interconnect support in dwc3-qcom driver to vote for bus bandwidth. This requires for two different paths - from USB to DDR. The other is from APPS to USB.

Re: [PATCH v1 2/2] kunit: tool: allow generating test results in JSON

2020-08-11 Thread Brendan Higgins
On Tue, Aug 11, 2020 at 12:56 PM Bird, Tim wrote: > > > > > -Original Message- > > From: Brendan Higgins > > Sent: Friday, August 7, 2020 7:17 PM > > > > From: Heidi Fahim > > > > Add a --json flag, which when specified when kunit_tool is run, > > generates JSON formatted test results

[PATCH v2] usb: typec: tcpm: Fix TDA 2.2.1.1 and TDA 2.2.1.2 failures

2020-08-11 Thread Badhri Jagan Sridharan
>From the spec: "7.1.5 Response to Hard Resets Hard Reset Signaling indicates a communication failure has occurred and the Source Shall stop driving VCONN, Shall remove Rp from the VCONN pin and Shall drive VBUS to vSafe0V as shown in Figure 7-9. The USB connection May reset during a Hard Reset

Re: [RFC][PATCH] tty: serial: qcom_geni_serial: Drop __init from qcom_geni_console_setup

2020-08-11 Thread John Stultz
On Tue, Aug 11, 2020 at 10:00 AM Saravana Kannan wrote: > > On Mon, Aug 10, 2020 at 7:50 PM John Stultz wrote: > > > > When booting with heavily modularized config, the serial console > > may not be able to load until after init when modules that > > satisfy needed dependencies have time to

Re: [PATCH v3] mm/gup: Allow real explicit breaking of COW

2020-08-11 Thread Peter Xu
On Tue, Aug 11, 2020 at 09:07:17PM +0200, Jann Horn wrote: > On Tue, Aug 11, 2020 at 8:39 PM Peter Xu wrote: > > Starting from commit 17839856fd58 ("gup: document and work around "COW can > > break either way" issue", 2020-06-02), explicit copy-on-write behavior is > > enforced for private gup

Re: [RFC PATCH V2 0/2] Add Xilinx DSI TX driver

2020-08-11 Thread Sam Ravnborg
Hi Venkateshwar On Tue, Aug 11, 2020 at 06:16:15AM +0530, Venkateshwar Rao Gannavarapu wrote: > Xilinx DSI-TX subsytem consists of DSI controller core, AXI crossbar > and D-PHY as sub blocks. DSI TX subsystem driver supports multiple lanes > upto 4, RGB color formats, video mode and command

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