Re: linux tooling mailing list

2020-09-30 Thread Nick Desaulniers
Hi David, Apologies if this request has crossed your desk already; I know my unreads in my inbox seems to have doubled this week somehow...(should I send them all to /dev/null? I think I should.) >From Linux Plumbers conf Binutils BoF, Peter had the idea of setting a toolchain agnostic email list,

Re: [PATCH 00/18] use semicolons rather than commas to separate statements

2020-09-30 Thread Joe Perches
On Tue, 2020-09-29 at 12:37 +0100, Mark Brown wrote: > On Mon, Sep 28, 2020 at 05:45:24PM -0700, Joe Perches wrote: > > On Mon, 2020-09-28 at 20:35 +0100, Mark Brown wrote: > > > [1/1] regmap: debugfs: use semicolons rather than commas to separate > > > statements > > > commit: 7f4a122d0b50b

[PATCH v2 06/12] dt-bindings: arm: fsl: document VF boards

2020-09-30 Thread Krzysztof Kozlowski
Document and adjust the compatibles for VF500 and VF600 based boards. The Toradex Colibri Evaluation Boards use multiple compatibles. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Changes since v1: 1. Fix VF610 Toradex compatibles. 2. Add Review (assuming changes are not sign

Re: [PATCH V9 2/4] fuse: Trace daemon creds

2020-09-30 Thread Antonio SJ Musumeci
On 9/30/2020 2:45 PM, Miklos Szeredi wrote: On Thu, Sep 24, 2020 at 3:13 PM Alessio Balsini wrote: Add a reference to the FUSE daemon credentials, so that they can be used to temporarily raise the user credentials when accessing lower file system files in passthrough. Hmm, I think it would be

Re: [PATCH v4 04/17] x86/acrn: Introduce hypercall interfaces

2020-09-30 Thread Peter Zijlstra
On Wed, Sep 30, 2020 at 12:14:03PM -0700, Nick Desaulniers wrote: > On Wed, Sep 30, 2020 at 10:13 AM Peter Zijlstra wrote: > > > > On Wed, Sep 30, 2020 at 11:10:36AM -0500, Segher Boessenkool wrote: > > > > > Since this variable is a local register asm, on entry to the asm the > > > compiler guara

Re: [PATCH v3 4/7] drivers: leds: Add the iEi WT61P803 PUZZLE LED driver

2020-09-30 Thread Pavel Machek
Hi! > +static int iei_wt61p803_puzzle_led_brightness_set_blocking(struct > led_classdev *cdev, > + enum led_brightness brightness) > +{ > + struct iei_wt61p803_puzzle_led *priv = > cdev_to_iei_wt61p803_puzzle_led(cdev); > + unsigned char *resp_buf = priv->response_buffer; > +

Re: [PATCH 4.4 00/85] 4.4.238-rc1 review

2020-09-30 Thread Shuah Khan
On 9/29/20 4:59 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.238 release. There are 85 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [WARNING] kernel/rcu/tree.c:1058 rcu_irq_enter+0x15/0x20

2020-09-30 Thread Steven Rostedt
On Wed, 30 Sep 2020 21:22:42 +0200 Peter Zijlstra wrote: > On Wed, Sep 30, 2020 at 03:10:26PM -0400, Steven Rostedt wrote: > > On Wed, 30 Sep 2020 20:13:23 +0200 > > Peter Zijlstra wrote: > > > > > diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h > > > > index 6a584b3e5c74..3

Re: [PATCH 20/22] kvm: mmu: NX largepage recovery for TDP MMU

2020-09-30 Thread Paolo Bonzini
On 30/09/20 20:15, Sean Christopherson wrote: > On Fri, Sep 25, 2020 at 02:23:00PM -0700, Ben Gardon wrote: >> +/* >> + * Clear non-leaf SPTEs and free the page tables they point to, if those >> SPTEs >> + * exist in order to allow execute access on a region that would otherwise >> be >> + * mapp

Re: [PATCH v3 11/18] dmaengine: idxd: ims setup for the vdcm

2020-09-30 Thread Thomas Gleixner
On Tue, Sep 15 2020 at 16:28, Dave Jiang wrote: > diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig > index a39392157dc2..115a8f49aab3 100644 > --- a/drivers/dma/Kconfig > +++ b/drivers/dma/Kconfig > @@ -301,6 +301,7 @@ config INTEL_IDXD_MDEV > depends on INTEL_IDXD > depends on VF

Re: [PATCH v4 04/17] x86/acrn: Introduce hypercall interfaces

2020-09-30 Thread Arvind Sankar
On Wed, Sep 30, 2020 at 12:14:03PM -0700, Nick Desaulniers wrote: > On Wed, Sep 30, 2020 at 10:13 AM Peter Zijlstra wrote: > > > > On Wed, Sep 30, 2020 at 11:10:36AM -0500, Segher Boessenkool wrote: > > > > > Since this variable is a local register asm, on entry to the asm the > > > compiler guara

Re: [REGRESSION] hwmon: (applesmc) avoid overlong udelay()

2020-09-30 Thread Arnd Bergmann
On Wed, Sep 30, 2020 at 6:44 PM Guenter Roeck wrote: > > On Wed, Sep 30, 2020 at 10:54:42AM +0200, Andreas Kemnade wrote: > > Hi, > > > > after the $subject patch I get lots of errors like this: > > For reference, this refers to commit fff2d0f701e6 ("hwmon: (applesmc) > avoid overlong udelay()").

RE: [EXT] Re: [PATCH 17/22] mpool: add mpool lifecycle management ioctls

2020-09-30 Thread Nabeel Meeramohideen Mohamed (nmeeramohide)
Hi Randy, On Tuesday, September 29, 2020 6:13 PM, Randy Dunlap wrote: > On 9/28/20 9:45 AM, nmeeramoh...@micron.com wrote: > > + if (_IOC_TYPE(cmd) != MPIOC_MAGIC) > Hi, > > MPIOC_MAGIC is defined in patch 01/22. > It should also be added to Documentation/userspace-api/ioctl/ioctl-number.rst.

Re: [PATCH] kunit: tool: fix display of make errors

2020-09-30 Thread Brendan Higgins
On Wed, Sep 30, 2020 at 11:32 AM Daniel Latypov wrote: > > CalledProcessError stores the output of the failed process as `bytes`, > not a `str`. > > So when we log it on build error, the make output is all crammed into > one line with "\n" instead of actually printing new lines. > > After this cha

Re: [PATCH v4 04/17] x86/acrn: Introduce hypercall interfaces

2020-09-30 Thread Arvind Sankar
On Wed, Sep 30, 2020 at 03:59:15PM -0400, Arvind Sankar wrote: > On Wed, Sep 30, 2020 at 12:14:03PM -0700, Nick Desaulniers wrote: > > On Wed, Sep 30, 2020 at 10:13 AM Peter Zijlstra > > wrote: > > > > > > On Wed, Sep 30, 2020 at 11:10:36AM -0500, Segher Boessenkool wrote: > > > > > > > Since thi

Re: [PATCH 2/2] MIPS: process: include exec.h header in process.c

2020-09-30 Thread Thomas Bogendoerfer
On Tue, Sep 29, 2020 at 05:30:47PM +0800, Pujin Shi wrote: > arch/mips/kernel/process.c:696:15: error: no previous prototype for > 'arch_align_stack' [-Werror=missing-prototypes] > > Signed-off-by: Pujin Shi > --- > arch/mips/kernel/process.c | 1 + > 1 file changed, 1 insertion(+) applied t

Re: [PATCH 1/2] MIPS: process: Add prototype for function arch_dup_task_struct

2020-09-30 Thread Thomas Bogendoerfer
On Tue, Sep 29, 2020 at 05:30:46PM +0800, Pujin Shi wrote: > This commit adds a prototype to fix warning at W=1: > > arch/mips/kernel/process.c:95:5: error: no previous prototype for > 'arch_dup_task_struct' [-Werror=missing-prototypes] > > Signed-off-by: Pujin Shi > --- > arch/mips/include/

[PATCH] Bluetooth: btqca: Add valid le states quirk

2020-09-30 Thread Abhishek Pandit-Subedi
WCN3991 supports connectable advertisements so we need to add the valid le states quirk so the 'central-peripheral' role is exposed in userspace. Signed-off-by: Abhishek Pandit-Subedi --- Example result showing the central-peripheral role correctly. localhost # bluetoothctl show Controller 3C:28

Re: [PATCH] MAINTAINERS: exclude char maintainers from things they do not maintain

2020-09-30 Thread Joe Perches
On Wed, 2020-09-30 at 18:28 +0200, Greg Kroah-Hartman wrote: > On Wed, Sep 30, 2020 at 08:36:56AM -0500, Corey Minyard wrote: > > On Wed, Sep 30, 2020 at 02:10:07PM +0200, Greg Kroah-Hartman wrote: > > > There are a number of subdirectories and files in drivers/char/ that > > > have their own maint

[PATCH] fs: nfs: return per memcg count for xattr shrinkers

2020-09-30 Thread Yang Shi
The list_lru_count() returns the pre node count, but the new xattr shrinkers are memcg aware, so the shrinkers should return per memcg count by calling list_lru_shrink_count() instead. Otherwise over-shrink might be experienced. The problem was spotted by visual code inspection. Cc: Trond Mykleb

Re: [PATCH v4 0/9] Update to zstd-1.4.6

2020-09-30 Thread Nick Terrell
> On Sep 29, 2020, at 11:53 PM, Christoph Hellwig wrote: > > As you keep resend this I keep retelling you that should not do it. > Please provide a proper Linux API, and switch to that. Versioned APIs > have absolutely no business in the Linux kernel. The API is not versioned. We provide a st

Re: [PATCH 4.19 144/245] serial: uartps: Wait for tx_empty in console setup

2020-09-30 Thread Pavel Machek
Hi! > From: Raviteja Narayanam > > [ Upstream commit 42e11948ddf68b9f799cad8c0ddeab0a39da33e8 ] > > On some platforms, the log is corrupted while console is being > registered. It is observed that when set_termios is called, there > are still some bytes in the FIFO to be transmitted. > > So, w

Re: [RFC] net: phy: add shutdown hook to struct phy_driver

2020-09-30 Thread Florian Fainelli
On 9/30/2020 12:09 PM, Andrew Lunn wrote: On Wed, Sep 30, 2020 at 05:47:43PM +0800, Jisheng Zhang wrote: Hi, A GE phy supports pad isolation which can save power in WOL mode. But once the isolation is enabled, the MAC can't send/receive pkts to/from the phy because the phy is "isolated". To

Re: [PATCH v3 3/3] iommu/tegra-smmu: Add PCI support

2020-09-30 Thread Nicolin Chen
On Wed, Sep 30, 2020 at 05:53:20PM +0300, Dmitry Osipenko wrote: > ... > > +#ifdef CONFIG_PCI > > + if (!iommu_present(&pci_bus_type)) { > > > In the previous reply you said that you're borrowing this check from the > arm-smmu driver, but arm-smmu also has a similar check for > platform_bus_typ

Re: [RFC] net: phy: add shutdown hook to struct phy_driver

2020-09-30 Thread Andrew Lunn
On Wed, Sep 30, 2020 at 01:07:19PM -0700, Florian Fainelli wrote: > > > On 9/30/2020 12:09 PM, Andrew Lunn wrote: > > On Wed, Sep 30, 2020 at 05:47:43PM +0800, Jisheng Zhang wrote: > > > Hi, > > > > > > A GE phy supports pad isolation which can save power in WOL mode. But > > > once the > > > i

Re: [PATCH v6 3/6] mm: introduce memfd_secret system call to create "secret" memory areas

2020-09-30 Thread Edgecombe, Rick P
On Wed, 2020-09-30 at 13:35 +0300, Mike Rapoport wrote: > On Tue, Sep 29, 2020 at 08:06:03PM +, Edgecombe, Rick P wrote: > > On Tue, 2020-09-29 at 16:06 +0300, Mike Rapoport wrote: > > > On Tue, Sep 29, 2020 at 04:58:44AM +, Edgecombe, Rick P > > > wrote: > > > > On Thu, 2020-09-24 at 16:29

Re: [PATCH 3/4] mmap locking API: Don't check locking if the mm isn't live yet

2020-09-30 Thread Jann Horn
On Wed, Sep 30, 2020 at 2:50 PM Jann Horn wrote: > On Wed, Sep 30, 2020 at 2:30 PM Jason Gunthorpe wrote: > > On Tue, Sep 29, 2020 at 06:20:00PM -0700, Jann Horn wrote: > > > In preparation for adding a mmap_assert_locked() check in > > > __get_user_pages(), teach the mmap_assert_*locked() helper

[PATCH 2/2] certs: Add ability to preload revocation certs

2020-09-30 Thread Eric Snowberg
Add a new Kconfig option called SYSTEM_REVOCATION_KEYS. If set, this option should be the filename of a PEM-formated file containing X.509 certificates to be included in the default blacklist keyring. Signed-off-by: Eric Snowberg --- certs/Kconfig | 8 certs/Makefile

[PATCH 0/2] Preloaded revocation keys

2020-09-30 Thread Eric Snowberg
The Secure Boot Forbidden Signature Database, dbx, contains a list of now revoked signatures and keys previously approved to boot with UEFI Secure Boot enabled. Currently EFI_CERT_X509_SHA256_GUID and EFI_CERT_SHA256_GUID can be preloaded (at build time) into the system blacklist keyring. Add the

Re: [PATCH v3 0/2] Add support for F3A

2020-09-30 Thread Lyude Paul
For the whole series: Reviewed-by: Lyude Paul On Wed, 2020-09-30 at 17:41 +0800, Vincent Huang wrote: > RMI4 F3A supports the touchpad GPIO function, it's designed to support > more GPIOs and used on newer touchpads. The patches add support of > touchpad buttons and rename f30_data to avoid conf

BUG: amdgpu: NULL pointer dereference introduced in 5.9-rc1

2020-09-30 Thread Dirk Gouders
Commit c1cf79ca5ced46 (drm/amdgpu: use IP discovery table for renoir) introduced a NULL pointer dereference when booting with amdgpu.discovery=0. For amdgpu.discovery=0 that commit effectively removed the call of vega10_reg_base_init(adev), so I tested the correctness of the bisect session by rest

[PATCH 1/2] certs: Move load_system_certificate_list to a common function

2020-09-30 Thread Eric Snowberg
Move functionality within load_system_certificate_list to a common function, so it can be reused in the future. Signed-off-by: Eric Snowberg --- certs/Makefile | 2 +- certs/common.c | 56 ++ certs/common.h | 9 +++ certs/syst

Re: [PATCH v4 1/2] dt-bindings: usb: Add binding for discrete onboard USB hubs

2020-09-30 Thread Rob Herring
On Wed, Sep 30, 2020 at 10:28 AM Doug Anderson wrote: > > Hi, > > On Wed, Sep 30, 2020 at 7:44 AM Rob Herring wrote: > > > > On Wed, Sep 30, 2020 at 7:49 AM Matthias Kaehlcke wrote: > > > > > > Hi Alan, > > > > > > On Tue, Sep 29, 2020 at 09:32:29PM -0400, Alan Stern wrote: > > > > On Tue, Sep 2

Re: [RFC] net: phy: add shutdown hook to struct phy_driver

2020-09-30 Thread Florian Fainelli
On 9/30/2020 1:11 PM, Andrew Lunn wrote: On Wed, Sep 30, 2020 at 01:07:19PM -0700, Florian Fainelli wrote: On 9/30/2020 12:09 PM, Andrew Lunn wrote: On Wed, Sep 30, 2020 at 05:47:43PM +0800, Jisheng Zhang wrote: Hi, A GE phy supports pad isolation which can save power in WOL mode. But on

Re: [Intel-gfx] [PATCH] i915: Introduce quirk for shifting eDP brightness.

2020-09-30 Thread Lyude Paul
On Tue, 2020-09-29 at 13:32 -0600, Kevin Chowski wrote: > Thank you for the reply. And in regards to digging into it further, > thanks for requesting that I do some more due diligence here :) > > Also if you did get around to it, thanks for double-checking with > Bill! Let me know if you'd like me

RE: [PATCH v4 47/52] docs: mei.rst: fix a C expression markup

2020-09-30 Thread Winkler, Tomas
> Sphinx 3.x doesn't allow expressions using :c:func markup: > > ./Documentation/driver-api/mei/mei.rst:41: WARNING: Unparseable > C cross-reference: 'close(int fd)' > Invalid C declaration: Expected end of definition. [error at 5] > close(int fd) > -^ > > So, co

Re: [PATCH v2 3/7] drivers: hwmon: Add the iEi WT61P803 PUZZLE HWMON driver

2020-09-30 Thread Guenter Roeck
On Sat, Sep 26, 2020 at 03:55:10PM +0200, Luka Kovacic wrote: > Add the iEi WT61P803 PUZZLE HWMON driver, that handles the fan speed > control via PWM, reading fan speed and reading on-board temperature > sensors. > > The driver registers a HWMON device and a simple thermal cooling device to > ena

[PATCH net-next] net: dsa: Support bridge 802.1Q while untagging

2020-09-30 Thread Florian Fainelli
The intent of 412a1526d067 ("net: dsa: untag the bridge pvid from rx skbs") is to transparently untag the bridge's default_pvid when the Ethernet switch can only support egress tagged of that default_pvid towards the CPU port. Prior to this commit, users would have to configure an 802.1Q upper on

Re: [PATCH v3 1/4] mm: memcontrol: use helpers to access page's memcg data

2020-09-30 Thread Johannes Weiner
On Tue, Sep 29, 2020 at 04:59:17PM -0700, Roman Gushchin wrote: > Currently there are many open-coded reads and writes of the > page->mem_cgroup pointer, as well as a couple of read helpers, > which are barely used. > > It creates an obstacle on a way to reuse some bits of the pointer > for storin

Re: [PATCH v2] of: address: Work around missing device_type property in pcie nodes

2020-09-30 Thread Rob Herring
On Wed, Sep 30, 2020 at 12:37 PM Niklas Söderlund wrote: > > Hi Marc, > > On 2020-09-30 18:23:21 +0100, Marc Zyngier wrote: > > Hi Niklas, > > > > [+ Samuel] > > > > On 2020-09-30 17:27, Niklas Söderlund wrote: > > > Hi Marc, > > > > > > I'm afraid this commit breaks booting my rk3399 device. > >

Re: For review: seccomp_user_notif(2) manual page

2020-09-30 Thread Michael Kerrisk (man-pages)
Hi Tycho, Thanks for taking time to look at the page! On 9/30/20 5:03 PM, Tycho Andersen wrote: > On Wed, Sep 30, 2020 at 01:07:38PM +0200, Michael Kerrisk (man-pages) wrote: >>2. In order that the supervisor process can obtain notifications >> using the listening file desc

Re: [RFC-PATCH 2/4] mm: Add __rcu_alloc_page_lockless() func.

2020-09-30 Thread Uladzislau Rezki
On Wed, Sep 30, 2020 at 06:46:00PM +0200, Michal Hocko wrote: > On Wed 30-09-20 15:39:54, Uladzislau Rezki wrote: > > On Wed, Sep 30, 2020 at 02:44:13PM +0200, Michal Hocko wrote: > > > On Wed 30-09-20 14:35:35, Uladzislau Rezki wrote: > > > > On Wed, Sep 30, 2020 at 11:27:32AM +0200, Michal Hocko

Re: Expose 'array_length()' macro in or

2020-09-30 Thread Alejandro Colomar
On 2020-09-30 17:58, Joseph Myers wrote: For some reason http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2529.pdf doesn't seem to have reached the agenda of a WG14 meeting yet, but adding a language feature like that to the standard would be another approach. Hi Joseph, Yes, that would be

Re: [PATCH v2] srcu: avoid escaped section names

2020-09-30 Thread Paul E. McKenney
On Tue, Sep 29, 2020 at 12:25:49PM -0700, Nick Desaulniers wrote: > The stringification operator, `#`, in the preprocessor escapes strings. > For example, `# "foo"` becomes `"\"foo\""`. GCC and Clang differ in how > they treat section names that contain \". > > The portable solution is to not use

Re: [PATCH v3 2/3] iommu/tegra-smmu: Rework .probe_device and .attach_dev

2020-09-30 Thread Nicolin Chen
On Wed, Sep 30, 2020 at 05:31:31PM +0200, Thierry Reding wrote: > On Wed, Sep 30, 2020 at 01:42:57AM -0700, Nicolin Chen wrote: > > Previously the driver relies on bus_set_iommu() in .probe() to call > > in .probe_device() function so each client can poll iommus property > > in DTB to configure fws

Re: [PATCH net-next] net: dsa: Support bridge 802.1Q while untagging

2020-09-30 Thread Vladimir Oltean
On Wed, Sep 30, 2020 at 01:31:03PM -0700, Florian Fainelli wrote: > While we are it, call __vlan_find_dev_deep_rcu() which makes use the > VLAN group array which is faster. Not just "while at it", but I do wonder whether it isn't, in fact, called "deep" for a reason: /*

Re: [PATCH v4 10/29] treewide: remove DISABLE_LTO

2020-09-30 Thread Kees Cook
On Tue, Sep 29, 2020 at 02:46:12PM -0700, Sami Tolvanen wrote: > This change removes all instances of DISABLE_LTO from > Makefiles, as they are currently unused, and the preferred > method of disabling LTO is to filter out the flags instead. > > Suggested-by: Kees Cook > Signed-off-by: Sami Tolva

Re: [PATCH v3] HID: add vivaldi HID driver

2020-09-30 Thread Jiri Kosina
On Wed, 9 Sep 2020, Sean O'Brien wrote: > Add vivaldi HID driver. This driver allows us to read and report the top > row layout of keyboards which provide a vendor-defined (Google) HID > usage. > > Signed-off-by: Sean O'Brien Queued in hid.git#for-5.10/vivaldi. Thanks, -- Jiri Kosina SUSE Lab

Re: [PATCH 4/5] clk: qcom: Add SDM660 GPU Clock Controller (GPUCC) driver

2020-09-30 Thread kernel test robot
Hi, Thank you for the patch! Yet something to improve: [auto build test ERROR on clk/clk-next] [also build test ERROR on robh/for-next linux/master linus/master v5.9-rc7 next-20200930] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest

Re: [PATCH] fs: nfs: return per memcg count for xattr shrinkers

2020-09-30 Thread Frank van der Linden
On Sun, Sep 27, 2020 at 04:42:20AM -0700, Yang Shi wrote: > > The list_lru_count() returns the pre node count, but the new xattr > shrinkers are memcg aware, so the shrinkers should return per memcg > count by calling list_lru_shrink_count() instead. Otherwise over-shrink > might be experienced.

Re: [v5] mm: khugepaged: recalculate min_free_kbytes after memory hotplug as expected by khugepaged

2020-09-30 Thread Vijay Balakrishna
On 9/30/2020 11:20 AM, Mike Kravetz wrote: On 9/29/20 9:49 AM, Vijay Balakrishna wrote: When memory is hotplug added or removed the min_free_kbytes should be recalculated based on what is expected by khugepaged. Currently after hotplug, min_free_kbytes will be set to a lower default and high

Re: [PATCH 1/5] clk: qcom: Add SDM660 Multimedia Clock Controller (MMCC) driver

2020-09-30 Thread kernel test robot
Hi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on clk/clk-next] [also build test WARNING on robh/for-next linux/master linus/master v5.9-rc7 next-20200930] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we

[PATCH] mm: Remove src/dst mm parameter in copy_page_range()

2020-09-30 Thread Peter Xu
Both of the mm pointers are not needed after commit 7a4830c380f3 ("mm/fork: Pass new vma pointer into copy_page_range()"). Reported-by: Kirill A. Shutemov Signed-off-by: Peter Xu --- include/linux/mm.h | 3 +-- kernel/fork.c | 2 +- mm/memory.c| 43 ++-

Re: [GIT PULL][PATCH v4 0/9] Update to zstd-1.4.6

2020-09-30 Thread Nick Terrell
> On Sep 29, 2020, at 11:53 PM, Nick Terrell wrote: > > From: Nick Terrell It has been brought to my attention that patch 3 hasn’t made it to patchwork, likely because it is too large. I’ll include a pull request in the next cover letter, together with the patches (if needed). Please pull fro

Re: [PATCH v3] x86/asm: Replace __force_order with memory clobber

2020-09-30 Thread Kees Cook
*thread ping* Can an x86 maintainer please take this for -next? Getting this landed for v5.10 would be very helpful! :) -Kees On Wed, Sep 02, 2020 at 07:21:52PM -0400, Arvind Sankar wrote: > The CRn accessor functions use __force_order as a dummy operand to > prevent the compiler from reordering

Re: [PATCH] leds: aw2013: fix leak of device node iterator

2020-09-30 Thread Tobias Jordan
On 2020-09-30 19:10, Pavel Machek wrote: Hi Pavel, > > In the error path of the for_each_available_child_of_node loop in > > aw2013_probe_dt, add missing call to of_node_put to avoid leaking > > the iterator. > > > > Fixes: 59ea3c9faf32 ("leds: add aw2013 driver") > > Signed-off-by: Tobias Jordan

Re: [PATCH v3 0/2] add Intel MAX 10 BMC MFD driver & hwmon sub driver

2020-09-30 Thread Guenter Roeck
On Mon, Sep 21, 2020 at 02:17:49PM +0800, Xu Yilun wrote: > I recently realized that maintainers may have trouble to apply patches to > their trees if the patches depend on other being-reviewed patches. So I'm > trying to wrapper the 2 patches into one patchset and let all the > maintainers see the

Re: [PATCH v1 01/12] fpga: fpga security manager class driver

2020-09-30 Thread Russ Weight
On 9/16/20 1:16 PM, Moritz Fischer wrote: > Hi Russ, > > On Fri, Sep 04, 2020 at 04:52:54PM -0700, Russ Weight wrote: >> Create the Intel Security Manager class driver. The security >> manager provides interfaces to manage secure updates for the >> FPGA and BMC images that are stored in FLASH. T

Re: [PATCH v2] srcu: avoid escaped section names

2020-09-30 Thread Nick Desaulniers
On Wed, Sep 30, 2020 at 1:40 PM Paul E. McKenney wrote: > > On Tue, Sep 29, 2020 at 12:25:49PM -0700, Nick Desaulniers wrote: > > The stringification operator, `#`, in the preprocessor escapes strings. > > For example, `# "foo"` becomes `"\"foo\""`. GCC and Clang differ in how > > they treat sect

Re: [PATCH 2/2] certs: Add ability to preload revocation certs

2020-09-30 Thread Jarkko Sakkinen
On Wed, Sep 30, 2020 at 04:15:08PM -0400, Eric Snowberg wrote: > Add a new Kconfig option called SYSTEM_REVOCATION_KEYS. If set, > this option should be the filename of a PEM-formated file containing > X.509 certificates to be included in the default blacklist keyring. > > Signed-off-by: Eric Snow

Re: [PATCH v3 2/3] iommu/tegra-smmu: Rework .probe_device and .attach_dev

2020-09-30 Thread Nicolin Chen
On Wed, Sep 30, 2020 at 06:09:43PM +0300, Dmitry Osipenko wrote: > ... > > static int tegra_smmu_attach_dev(struct iommu_domain *domain, > > struct device *dev) > > { > > + struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev); > > struct tegra_smmu *smmu = de

Re: [PATCH v2 RESEND 1/1] PCI: pcie_bus_config can be set at build time

2020-09-30 Thread Jim Quinlan
On Tue, Sep 29, 2020 at 5:31 PM Bjorn Helgaas wrote: > > On Mon, Sep 28, 2020 at 03:46:51PM -0400, Jim Quinlan wrote: > > The Kconfig is modified so that the pcie_bus_config setting can be done at > > build time in the same manner as the CONFIG_PCIEASPM_ choice. The > > pci_bus_config setting

[tip:master 30/30] ld.lld: warning: arch/arm/built-in.a(mm/init.o):(".discard.ksym") is being placed in '".discard.ksym"'

2020-09-30 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master head: e9542fdb89751d93026a48a5fba66facc22df6fd commit: e9542fdb89751d93026a48a5fba66facc22df6fd [30/30] Merge branch 'core/build' config: arm-randconfig-r016-20200930 (attached as .config) compiler: clang vers

[PATCH v7 3/4] arm64: Store IMA log information in kimage used for kexec

2020-09-30 Thread Lakshmi Ramasubramanian
Address and size of the buffer containing the IMA measurement log need to be passed from the current kernel to the next kernel on kexec. Add address and size fields to "struct kimage_arch" for ARM64 platform to hold the address and size of the IMA measurement log buffer. Define an architecture spe

[PATCH v7 0/3] Carry forward IMA measurement log on kexec on ARM64

2020-09-30 Thread Lakshmi Ramasubramanian
On kexec file load Integrity Measurement Architecture (IMA) subsystem may verify the IMA signature of the kernel and initramfs, and measure it. The command line parameters passed to the kernel in the kexec call may also be measured by IMA. A remote attestation service can verify the measurement thr

[PATCH v7 4/4] arm64: Add IMA kexec buffer to DTB

2020-09-30 Thread Lakshmi Ramasubramanian
Any existing FDT_PROP_IMA_KEXEC_BUFFER property in the device tree needs to be removed and its corresponding memory reservation in the currently running kernel needs to be freed. The address and size of the current kernel's IMA measurement log need to be added to the device tree's IMA kexec buffer

[PATCH v7 1/4] powerpc: Refactor kexec functions to move arch independent code to kernel

2020-09-30 Thread Lakshmi Ramasubramanian
The functions remove_ima_buffer() and delete_fdt_mem_rsv() that handle carrying forward the IMA measurement logs on kexec for powerpc do not have architecture specific code, but they are currently defined for powerpc only. remove_ima_buffer() and delete_fdt_mem_rsv() are used to remove the IMA log

[PATCH v7 2/4] powerpc: Refactor kexec functions to move arch independent code to ima

2020-09-30 Thread Lakshmi Ramasubramanian
The functions ima_get_kexec_buffer() and ima_free_kexec_buffer(), that handle carrying forward the IMA measurement logs on kexec for powerpc do not have architecture specific code, but they are currently defined for powerpc only. Move ima_get_kexec_buffer() and ima_free_kexec_buffer() to IMA subsy

Re: [tip:master 30/30] ld.lld: warning: arch/arm/built-in.a(mm/init.o):(".discard.ksym") is being placed in '".discard.ksym"'

2020-09-30 Thread Nick Desaulniers
> head: e9542fdb89751d93026a48a5fba66facc22df6fd > commit: e9542fdb89751d93026a48a5fba66facc22df6fd [30/30] Merge branch > 'core/build' > config: arm-randconfig-r016-20200930 (attached as .config) > compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project > bcd055

[PATCH][next] mtd: rawnand: Replace one-element array with flexible-array member

2020-09-30 Thread Gustavo A. R. Silva
There is a regular need in the kernel to provide a way to declare having a dynamically sized set of trailing elements in a structure. Kernel code should always use “flexible array members”[1] for these cases. The older style of one-element or zero-length arrays should no longer be used[2]. Refacto

Re: [PATCH v3 4/4] mm: convert page kmemcg type to a page memcg flag

2020-09-30 Thread Johannes Weiner
On Tue, Sep 29, 2020 at 04:59:20PM -0700, Roman Gushchin wrote: > @@ -3087,7 +3087,7 @@ int __memcg_kmem_charge_page(struct page *page, gfp_t > gfp, int order) > ret = __memcg_kmem_charge(memcg, gfp, 1 << order); > if (!ret) { > set_page_memcg(page

RE: [PATCH v5] Introduce support for Systems Management Driver over WMI for Dell Systems

2020-09-30 Thread Limonciello, Mario
> > + possible_values:A file that can be read to obtain the > > possible > > + values of the . Values are > > separated using > > + semi-colon (``;``). > why not use set notation from math classes assuming inter

Re: [PATCH 1/2] certs: Move load_system_certificate_list to a common function

2020-09-30 Thread Jarkko Sakkinen
On Wed, Sep 30, 2020 at 04:15:07PM -0400, Eric Snowberg wrote: > Move functionality within load_system_certificate_list to a common > function, so it can be reused in the future. > > Signed-off-by: Eric Snowberg I rather think now rather than the future. I think this should be part of a patch se

Re: [PATCH v4 31/52] docs: device_link.rst: remove duplicated kernel-doc include

2020-09-30 Thread Saravana Kannan
On Wed, Sep 30, 2020 at 6:25 AM Mauro Carvalho Chehab wrote: > > The infrastructure.rst file already includes the external > symbols from drivers/base/core.c. > > Duplicating 3 functions there causes namespace collisions: > > Documentation/driver-api/device_link.rst: WARNING: Duplicate C

[tip:efi/core] BUILD SUCCESS 963fabf37f6a94214a823df0a785e653cb8ad6ea

2020-09-30 Thread kernel test robot
allmodconfig powerpc allnoconfig i386 randconfig-a003-20200930 i386 randconfig-a002-20200930 i386 randconfig-a006-20200930 i386 randconfig-a005-20200930 i386 randconfig-a004

[tip:x86/urgent] BUILD SUCCESS bc21a291fc11bbd60868c45b9f5a79ceed97fd4e

2020-09-30 Thread kernel test robot
allnoconfig i386 randconfig-a003-20200930 i386 randconfig-a002-20200930 i386 randconfig-a006-20200930 i386 randconfig-a005-20200930 i386 randconfig-a004-20200930 i386 randconfig-a001

Re: [PATCH v3 4/4] mm: convert page kmemcg type to a page memcg flag

2020-09-30 Thread Johannes Weiner
On Tue, Sep 29, 2020 at 04:59:20PM -0700, Roman Gushchin wrote: > @@ -449,6 +455,36 @@ static inline void clear_page_memcg(struct page *page) > page->memcg_data = 0; > } > > +/* > + * PageMemcgKmem - check if the page has MemcgKmem flag set > + * @page: a pointer to the page struct > + * >

Re: [Intel-gfx] [PATCH] i915: Introduce quirk for shifting eDP brightness.

2020-09-30 Thread Lyude Paul
On Wed, 2020-09-30 at 16:25 -0400, Lyude Paul wrote: > On Tue, 2020-09-29 at 13:32 -0600, Kevin Chowski wrote: > > Thank you for the reply. And in regards to digging into it further, > > thanks for requesting that I do some more due diligence here :) > > > > Also if you did get around to it, thank

Re: [PATCH v4 00/29] Add support for Clang LTO

2020-09-30 Thread Kees Cook
On Tue, Sep 29, 2020 at 02:46:02PM -0700, Sami Tolvanen wrote: > Furthermore, patches 4-8 include Peter's patch for generating > __mcount_loc with objtool, and build system changes to enable it on > x86. With these patches, we no longer need to annotate functions > that have non-call references to

Re: [PATCH][next] mtd: rawnand: Replace one-element array with flexible-array member

2020-09-30 Thread Jann Horn
On Wed, Sep 30, 2020 at 11:02 PM Gustavo A. R. Silva wrote: > There is a regular need in the kernel to provide a way to declare having > a dynamically sized set of trailing elements in a structure. Kernel code > should always use “flexible array members”[1] for these cases. The older > style of on

Re: [PATCH 1/2] certs: Move load_system_certificate_list to a common function

2020-09-30 Thread Eric Snowberg
> On Sep 30, 2020, at 3:02 PM, Jarkko Sakkinen > wrote: > > On Wed, Sep 30, 2020 at 04:15:07PM -0400, Eric Snowberg wrote: >> Move functionality within load_system_certificate_list to a common >> function, so it can be reused in the future. >> >> Signed-off-by: Eric Snowberg > > I rather th

[PATCH v2 0/3] drm: commit_work scheduling

2020-09-30 Thread Rob Clark
From: Rob Clark The android userspace treats the display pipeline as a realtime problem. And arguably, if your goal is to not miss frame deadlines (ie. vblank), it is. (See https://lwn.net/Articles/809545/ for the best explaination that I found.) But this presents a problem with using workqueue

[PATCH v2 1/3] drm/crtc: Introduce per-crtc kworker

2020-09-30 Thread Rob Clark
From: Rob Clark This will be used for non-block atomic commits. Signed-off-by: Rob Clark --- drivers/gpu/drm/drm_crtc.c | 11 +++ include/drm/drm_crtc.h | 8 2 files changed, 19 insertions(+) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index aecd

Re: [PATCH 1/4] mm/gup_benchmark: Take the mmap lock around GUP

2020-09-30 Thread John Hubbard
On 9/29/20 6:19 PM, Jann Horn wrote: To be safe against concurrent changes to the VMA tree, we must take the mmap lock around GUP operations (excluding the GUP-fast family of operations, which will take the mmap lock by themselves if necessary). This code is only for testing, and it's only reach

[PATCH v2 3/3] drm: Expose CRTC's kworker task id

2020-09-30 Thread Rob Clark
From: Rob Clark This will allow userspace to control the scheduling policy and priority. In particular if the userspace half of the display pipeline is SCHED_FIFO then it will want to use the same scheduling policy and an appropriate priority to ensure that it is not preempting commit_work. Sign

[PATCH v2 2/3] drm/atomic: Use kthread worker for nonblocking commits

2020-09-30 Thread Rob Clark
From: Rob Clark This will allow us to more easily switch scheduling rules based on what userspace wants. Signed-off-by: Rob Clark --- drivers/gpu/drm/drm_atomic_helper.c | 13 include/drm/drm_atomic.h| 31 + 2 files changed, 40 insertions(+)

Re: [PATCH net-next] net: macb: move pdata to private header

2020-09-30 Thread David Miller
From: Alexandre Belloni Date: Wed, 30 Sep 2020 12:50:59 +0200 > struct macb_platform_data is only used by macb_pci to register the platform > device, move its definition to cadence/macb.h and remove platform_data/macb.h > > Signed-off-by: Alexandre Belloni Applied, thank you.

Re: [PATCH net-next v4 0/5] net/ravb: Add support for explicit internal clock delay configuration

2020-09-30 Thread David Miller
From: Geert Uytterhoeven Date: Wed, 30 Sep 2020 14:21:30 +0200 > Is there anything still blocking this series? If it's not active in networking patchwork, it needs to be resubmitted or similar.

Re: [PATCH] MIPS: remove the obsolete RM7000 extended interrupts handler

2020-09-30 Thread Thomas Bogendoerfer
On Wed, Sep 30, 2020 at 03:34:25PM +0100, Maciej W. Rozycki wrote: > On Fri, 18 Sep 2020, Thomas Bogendoerfer wrote: > > > > IRQ_CPU_RM7K has been a non-visible config selected nowhere since > > > PMC-Sierra Yosemite support has been removed with commit bdf20507da11 > > > ("MIPS: PMC-Sierra Yosemi

Re: [PATCH v3 seccomp 1/5] x86: Enable seccomp architecture tracking

2020-09-30 Thread Kees Cook
On Wed, Sep 30, 2020 at 10:19:12AM -0500, YiFei Zhu wrote: > From: Kees Cook > > Provide seccomp internals with the details to calculate which syscall > table the running kernel is expecting to deal with. This allows for > efficient architecture pinning and paves the way for constant-action > bit

Re: [PATCH v4 33/52] docs: net: statistics.rst: remove a duplicated kernel-doc

2020-09-30 Thread David Miller
From: Mauro Carvalho Chehab Date: Wed, 30 Sep 2020 15:24:56 +0200 > include/linux/ethtool.h is included twice with kernel-doc, > both to document ethtool_pause_stats(). The first one is > at statistics.rst, and the second one at ethtool-netlink.rst. > > Replace one of the references to use the n

Re: [PATCH v4 25/52] docs: net: ieee802154.rst: fix C expressions

2020-09-30 Thread David Miller
From: Mauro Carvalho Chehab Date: Wed, 30 Sep 2020 15:24:48 +0200 > There are some warnings produced with Sphinx 3.x: > > Documentation/networking/ieee802154.rst:29: WARNING: Error in > declarator or parameters > Invalid C declaration: Expecting "(" in parameters. [error at 7] >

Re: [PATCH v3 2/3] iommu/tegra-smmu: Rework .probe_device and .attach_dev

2020-09-30 Thread Dmitry Osipenko
... >> It looks to me like the only reason why you need this new global API is >> because PCI devices may not have a device tree node with a phandle to >> the IOMMU. However, SMMU support for PCI will only be enabled if the >> root complex has an iommus property, right? In that case, can't we >> si

Re: [GIT PULL] clk fixes for v5.9-rc7

2020-09-30 Thread pr-tracker-bot
The pull request you sent on Wed, 30 Sep 2020 11:57:42 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git > tags/clk-fixes-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/60e720931556fc1034d0981460164dcf02697679 Thank you! -- Deet-doot-

Re: fbcon: remove soft scrollback code (missing Doc. patch)

2020-09-30 Thread Maciej W. Rozycki
On Fri, 18 Sep 2020, Adam Borowski wrote: > > > Note that scrollback hasn't actually gone away entirely - the original > > > scrollback supported by _hardware_ still exists. > > > > > > Of course, that's really just the old-fashioned text VGA console, but > > > that one actually scrolls not by mo

Re: [PATCH v3 01/11] xen/manage: keep track of the on-going suspend mode

2020-09-30 Thread Anchal Agarwal
On Mon, Sep 28, 2020 at 02:49:56PM -0400, boris.ostrov...@oracle.com wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you can confirm the sender and know the > content is safe. > > > > On 9/25/20 6:28 PM, Anchal Agarwal w

Re: [PATCH][next] mtd: rawnand: Replace one-element array with flexible-array member

2020-09-30 Thread Gustavo A. R. Silva
On Wed, Sep 30, 2020 at 11:10:43PM +0200, Jann Horn wrote: > On Wed, Sep 30, 2020 at 11:02 PM Gustavo A. R. Silva > wrote: > > There is a regular need in the kernel to provide a way to declare having > > a dynamically sized set of trailing elements in a structure. Kernel code > > should always use

Re: [PATCH v3 seccomp 3/5] seccomp/cache: Lookup syscall allowlist for fast path

2020-09-30 Thread Kees Cook
On Wed, Sep 30, 2020 at 10:19:14AM -0500, YiFei Zhu wrote: > From: YiFei Zhu > > The fast (common) path for seccomp should be that the filter permits > the syscall to pass through, and failing seccomp is expected to be > an exceptional case; it is not expected for userspace to call a > denylisted

Re: [PATCH v3 seccomp 1/5] x86: Enable seccomp architecture tracking

2020-09-30 Thread Jann Horn
On Wed, Sep 30, 2020 at 11:21 PM Kees Cook wrote: > On Wed, Sep 30, 2020 at 10:19:12AM -0500, YiFei Zhu wrote: > > From: Kees Cook > > > > Provide seccomp internals with the details to calculate which syscall > > table the running kernel is expecting to deal with. This allows for > > efficient ar

Re: [PATCH v3 2/3] iommu/tegra-smmu: Rework .probe_device and .attach_dev

2020-09-30 Thread Nicolin Chen
On Thu, Oct 01, 2020 at 12:24:25AM +0300, Dmitry Osipenko wrote: > ... > >> It looks to me like the only reason why you need this new global API is > >> because PCI devices may not have a device tree node with a phandle to > >> the IOMMU. However, SMMU support for PCI will only be enabled if the >

<    5   6   7   8   9   10   11   12   13   14   >