On Mon, Jun 15, 2020 at 06:17:42PM -0700, Rajat Jain wrote:
> This is needed to allow the userspace to determine when an untrusted
> device has been added, and thus allowing it to bind the driver manually
> to it, if it so wishes. This is being done as part of the approach
> discussed at
Syed-Nayyar-Waris/Introduce-the-for_each_set_clump-macro/20200615-205729
> base:444fc5cde64330661bf59944c43844e7d4c2ccd8
> config: sparc64-randconfig-s032-20200615 (attached as .config)
> compiler: sparc64-linux-gcc (GCC) 9.3.0
> reproduce:
> # apt-get install sparse
> #
Mediatek's LTE modem needs up to 8 ports to connect to PC for logging
and debugging under some scenarios. Hence we suggest to increase the
definition of MAX_U_SERIAL_PORTS to 8 for some complex embedded systems.
Signed-off-by: Macpaul Lin
---
drivers/usb/gadget/function/u_serial.h |2 +-
1
Current clk notification handlers cannot know its new parent in
PRE_RATE_CHANGE event. This patch simply adds parent clk to
clk_notifier_data so the child clk is now able to know its future
parent prior to reparenting.
Change-Id: I099a784d5302a93951bdc6254d85f8df8c770462
Signed-off-by: Ikjoon
On Tue, Jun 16, 2020 at 05:29:41AM +, Sargun Dhillon wrote:
> On Mon, Jun 15, 2020 at 08:25:15PM -0700, Kees Cook wrote:
> > +/**
> > + * __fd_install_received() - Install received file into file descriptor
> > table
> > + *
> > + * @fd: fd to install into (if negative, a new fd will be
On Mon, Jun 15, 2020 at 9:14 AM Petr Mladek wrote:
>
> On Sat 2020-06-13 09:57:27, Jim Cromie wrote:
> > combine flags & mask into a struct, and replace those 2 parameters in
> > 3 functions: ddebug_change, ddebug_parse_flags, ddebug_read_flags,
> > altering the derefs in them accordingly.
> >
>
Convert the i.MX KEYPAD binding to DT schema format using json-schema
Signed-off-by: Anson Huang
---
Changes since V1:
- include matrix-keymap.yaml and "linux,keymap" is unnecessary now,
remove it.
---
.../devicetree/bindings/input/imx-keypad.txt | 53 --
Convert the matrix-keymap binding to DT schema format using json-schema
Signed-off-by: Anson Huang
---
New patch.
---
.../devicetree/bindings/input/matrix-keymap.txt| 28 +
.../devicetree/bindings/input/matrix-keymap.yaml | 46 ++
2 files changed, 47
Hi Dio,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on staging/staging-testing]
[cannot apply to aa5af974127d317071d6225a0f3678c5f520e7ce]
url:
https://github.com/0day-ci/linux/commits/Dio-Putra/staging-android-ashmem-c-Cleanup/20200614-013821
base:
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
master
head: df2fbf5bfa0e7fff8b4784507e4d68f200454318
commit: 7f2a83f1c2a941ebfee53f504ed5fdbc61cfb333 KVM: MIPS: Add CPUCFG
emulation for Loongson-3
date: 9 days ago
:: branch date: 16 hours ago
:: commit
We need to commit dirty metadata and pages to disk
before remounting exfat as read-only.
This fixes a failure in xfstests generic/452
generic/452 does the following:
cp something /
mount -o remount,ro
the /something is corrupted. because while
exfat is remounted as read-only, exfat doesn't
Hi youngjun!
Thank you for your patch.
You asked for guidance about posting patch revisions so let me repeat
my comment in a more clear way (see below).
On Tue, Jun 16, 2020 at 7:46 AM youngjun wrote:
>
When posting a revision of a patch already posted, the practice
is to use the subject
This is UPB(Universal Powerline Bus) PIM(Powerline Interface Module)
which allows for controlling multiple UPB comaptible devices from
Linux.
This device internally uses a Cypress HID->COM interface.
Signed-off-by: James Hilliard
---
drivers/usb/serial/cypress_m8.c | 2 ++
On Mon, Jun 15, 2020 at 08:25:15PM -0700, Kees Cook wrote:
> In preparation for users of the "install a received file" logic outside
> of net/ (pidfd and seccomp), relocate and rename __scm_install_fd() from
> net/core/scm.c to __fd_install_received() in fs/file.c, and provide a
> wrapper named
On 06/16/2020 09:38 AM, Anshuman Khandual wrote:
> zero_pfn variable is required whether __HAVE_COLOR_ZERO_PAGE is enabled
> or not. Also it should not really be declared individually in all functions
> where it gets used. Just move the declaration outside, which also makes it
> available for
On Tue, Jun 16, 2020 at 10:53:48AM +0800, Shengjiu Wang wrote:
> For mono channel, SSI will switch to Normal mode.
>
> In Normal mode and Network mode, the Word Length Control bits
> control the word length divider in clock generator, which is
> different with I2S Master mode (the word length is
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
master
head: f82e7b57b5fc48199e2f26ffafe2f96f7338ad3d
commit: e0d9d30b73548fbfe5c024ed630169bdc9a08aee PCI: pci-bridge-emul: Fix
big-endian support
date: 8 months ago
:: branch date: 2 hours ago
:: commit
On Mon, Jun 15, 2020 at 11:36:22AM +0200, Jann Horn wrote:
> On Sat, Jun 13, 2020 at 9:26 AM Sargun Dhillon wrote:
> > This introduces an extensibility mechanism to receive seccomp
> > notifications. It uses read(2), as opposed to using an ioctl. The listener
> > must be first configured to write
On Mon, 2020-06-15 at 16:12 -0700, Randy Dunlap wrote:
> On 6/15/20 3:42 PM, Steven Rostedt wrote:
> > On Mon, 15 Jun 2020 15:30:41 -0700
> > Randy Dunlap wrote:
> >
> > > > > Please don't infect kernel sources with that style oddity.
> > > >
> > > > What do you mean? It's already "infected"
Hi,
I have removed the cisco tree
(https://github.com/daniel-walker/cisco-linux.git#for-next)
from linux-next because it has not been updated in more than a year.
If you would like it reinstated, please just reply and let me know.
--
Cheers,
Stephen Rothwell
pgpcjFh295WI1.pgp
Description:
Hi,
I have removed the md tree
(git://git.kernel.org/pub/scm/linux/kernel/git/shli/md.gi#for-next)
from linux-next because it has not been updated in more than a year.
If you would like it reinstated, please just reply and let me know.
--
Cheers,
Stephen Rothwell
pgp5kSl9PQV5r.pgp
Hi,
I have removed the sifive tree
(git://git.kernel.org/pub/scm/linux/kernel/git/pjw/sifive.git#for-next)
from linux-next because it has not been updated in more than a year.
If you would like it reinstated, please just reply and let me know.
--
Cheers,
Stephen Rothwell
pgpg4ltc_N53R.pgp
Implement a shutdown callback to ensure ETR hardware is
properly shutdown in reboot/shutdown path. This is required
for ETR which has SMMU address translation enabled like on
SC7180 SoC and few others. If the hardware is still accessing
memory after SMMU translation is disabled as part of SMMU
Hi,
I have removed the c6x tree
(git://linux-c6x.org/git/projects/linux-c6x-upstreaming.git#for-linux-next)
from linux-next because it has not been updated in more than a year.
If you would like it reinstated, please just reply and let me know.
--
Cheers,
Stephen Rothwell
pgpNbJQudE3RW.pgp
Reading TMC mode register without proper coresight power
management can lead to exceptions like the one in the call
trace below in tmc_read_unprepare_etb() when the trace data
is read after the sink is disabled. So fix this by having
a check for coresight sysfs mode before reading TMC mode
On 6/16/2020 1:12 AM, Matthias Kaehlcke wrote:
On Thu, Jun 04, 2020 at 04:16:31AM -0700, Stephen Boyd wrote:
Quoting Sandeep Maheswaram (Temp) (2020-06-04 02:43:09)
On 6/3/2020 11:06 PM, Stephen Boyd wrote:
Quoting Sandeep Maheswaram (2020-03-31 22:15:43)
diff --git
Hi,
I have removed the leaks tree
(https://git.kernel.org/pub/scm/linux/kernel/git/tobin/leaks.git#leaks-next)
from linux-next because it has not been updated in more than a year.
If you would like it reinstated, please just reply and let me know.
--
Cheers,
Stephen Rothwell
pgpNcys1RS6xP.pgp
On Tue, Jun 16, 2020 at 06:57:47AM +0900, Stafford Horne wrote:
> On Mon, Jun 15, 2020 at 12:28:11AM -0700, Atish Patra wrote:
> > Hi,
> > I encountered the following issue while booting 5.8-rc1 on Qemu for RV64.
> > I added additional dump_stack and observed that it's happening in bpf free
> >
Currently, only HDA codec GPIO controlled LED class is supported, and
only via platform specific quirk.
There are systems that control LED via COEF instead of GPIO, and to
support those systems, move the LED class registration to
snd_hda_gen_add_micmute_led(), so all systems can facilitate the
There are two more HP systems control mute LED from HDA and control
micmute LED from SoF. Add IDs to support them.
Signed-off-by: Kai-Heng Feng
---
sound/pci/hda/patch_realtek.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
When "ovl_is_inuse" true case, trap inode reference not put.
plus adding the comment explaining sequence of
ovl_is_inuse after ovl_setup_trap.
Signed-off-by: youngjun
---
fs/overlayfs/super.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/fs/overlayfs/super.c
Hi Linus,
v2 of today's pull request. I considerably reduced the size of the changelog
text for all the patches, while at the same time, pointing people to where
they can read further details about the changes, in case they want/need to.
I also reduced the size and modified the commit message
Hi Luca,
On Thu, Jun 11, 2020 at 11:11:44PM +0200, Luca Ceresoli wrote:
> The INIT_B reports the status during startup and after the end of the
> programming process. However the current driver completely ignores it.
>
> Check the pin status during startup to make sure programming is never
>
On Tue, 2020-06-16 at 00:19 +, Satish Kharat (satishkh) wrote:
> Reviewed-by: Satish Kharat
>
>
> On 6/15/20, 3:49 PM, "Gustavo A. R. Silva" wrote:
>
> Use vzalloc() instead of the vmalloc() and memset. Also, use array_size()
> instead of the open-coded version.
>
> This
On Thu, Jun 11, 2020 at 11:11:40PM +0200, Luca Ceresoli wrote:
> The Xilinx 7-series uses the same protocol, mention that.
>
> Signed-off-by: Luca Ceresoli
Acked-by: Moritz Fischer
> ---
> .../devicetree/bindings/fpga/xilinx-slave-serial.txt | 9 ++---
> 1 file changed, 6
onfig
i386 randconfig-a006-20200615
i386 randconfig-a002-20200615
i386 randconfig-a001-20200615
i386 randconfig-a004-20200615
i386 randconfig-a005-20200615
i386 randconfig-a003-20200615
x86_64 randconfig-a015-20200
Convert the MXS SPI binding to DT schema format using json-schema
Signed-off-by: Anson Huang
Reviewed-by: Rob Herring
---
Changes since V2:
- drop "clock-frequency" property's type.
---
Documentation/devicetree/bindings/spi/mxs-spi.txt | 26 --
-20200615
i386 randconfig-a002-20200615
i386 randconfig-a001-20200615
i386 randconfig-a004-20200615
i386 randconfig-a005-20200615
i386 randconfig-a003-20200615
i386 randconfig-a006-20200616
i386
Convert the i.MX CSPI binding to DT schema format using json-schema,
update compatible, remove obsolete properties "fsl,spi-num-chipselects"
and update the example based on latest DT file.
Signed-off-by: Anson Huang
---
Changes since V2:
- remove redundant "maxItems" in "clocks" and
This patch series converts mxs/imx spi/cspi/lpspi binding to json-schema.
In fsl-imx-cspi.yaml, also update compatible, remove obsolete properties
"fsl,spi-num-chipselects" and update the example based on latest DT file;
In spi-fsl-lpspi.yaml, the original maintainer's email address
Convert the i.MX LPSPI binding to DT schema format using json-schema
Signed-off-by: Anson Huang
---
Changes since V2:
- remove redundant "maxItems" in "clocks" and "clock-names".
---
.../devicetree/bindings/spi/spi-fsl-lpspi.txt | 29 ---
On 15-06-20, 17:55, Quentin Perret wrote:
> +static void cpufreq_get_default_governor(void)
> +{
> + default_governor = cpufreq_parse_governor(cpufreq_param_governor);
> + if (!default_governor) {
> + if (*cpufreq_param_governor)
> + pr_warn("Failed to find
On 15-06-20, 17:55, Quentin Perret wrote:
> Currently, most CPUFreq governors are registered at core_initcall time
> when used as default, and module_init otherwise. In preparation for
> letting users specify the default governor on the kernel command line,
> change all of them to use
On 6/15/2020 5:00 AM, Mark Brown wrote:
> On Fri, Jun 12, 2020 at 04:19:16PM -0700, Wesley Cheng wrote:
>
>> +++ b/drivers/regulator/qcom_usb_vbus-regulator.c
>> @@ -0,0 +1,147 @@
>> +// SPDX-License-Identifier: GPL-2.0-only
>> +/*
>> + * Copyright (c) 2020, The Linux Foundation. All rights
On 6/12/2020 8:28 PM, Randy Dunlap wrote:
> On 6/12/20 4:19 PM, Wesley Cheng wrote:
>> diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
>> index 074a2ef55943..f9165f9f9051 100644
>> --- a/drivers/regulator/Kconfig
>> +++ b/drivers/regulator/Kconfig
>> @@ -797,6 +797,16 @@
Error reporting interrupt is very useful to notify users that some
errors are detected by the hardware. Once users are notified, they
could query hardware logged error states, no need to continuously
poll on these states.
This patch adds interrupt support for fme global error reporting sub
This patch adds introductions of interrupt related interfaces for FME
error reporting, port error reporting and AFU user interrupts features.
Signed-off-by: Luwei Kang
Signed-off-by: Wu Hao
Signed-off-by: Xu Yilun
Reviewed-by: Marcelo Tosatti
Acked-by: Wu Hao
---
v2: Update Documents cause
DFL based FPGA devices could support interrupts for different purposes,
but current DFL framework only supports feature device enumeration with
given MMIO resources information via common DFL headers. This patch
introduces one new API dfl_fpga_enum_info_add_irq for low level bus
drivers (e.g. PCIe
FPGA user applications may be interested in interrupts generated by
DFL features. For example, users can implement their own FPGA
logics with interrupts enabled in AFU (Accelerated Function Unit,
dynamic region of DFL based FPGA). So user applications need to be
notified to handle these
Error reporting interrupt is very useful to notify users that some
errors are detected by the hardware. Once users are notified, they
could query hardware logged error states, no need to continuously
poll on these states.
This patch adds interrupt support for port error reporting sub feature.
It
AFU (Accelerated Function Unit) is dynamic region of the DFL based FPGA,
and always defined by users. Some DFL based FPGA cards allow users to
implement their own interrupts in AFU. In order to support this,
hardware implements a new UINT (AFU Interrupt) private feature with
related capability
Some DFL FPGA PCIe cards (e.g. Intel FPGA Programmable Acceleration
Card) support MSI-X based interrupts. This patch allows PCIe driver
to prepare and pass interrupt resources to DFL via enumeration API.
These interrupt resources could then be assigned to actual features
which use them.
This patchset add interrupt support to FPGA DFL drivers.
With these patches, DFL driver will parse and assign interrupt resources
for enumerated feature devices and their sub features.
This patchset also introduces a set of APIs for user to monitor DFL
interrupts. Three sub features (DFL FME
zero_pfn variable is required whether __HAVE_COLOR_ZERO_PAGE is enabled
or not. Also it should not really be declared individually in all functions
where it gets used. Just move the declaration outside, which also makes it
available for other potential users.
Cc: Arnd Bergmann
Cc:
Suspend to idle was found to not work on Goldmont CPU recently.
And the issue was triggered due to:
1. On Goldmont the CPU in idle can only be woken up via IPIs,
not POLLING mode:
Commit 08e237fa56a1 ("x86/cpu: Add workaround for MONITOR
instruction erratum on Goldmont based CPUs")
2.
On Tue, 9 Jun 2020 18:13:13 +0200, Flavio Suligoi wrote:
> Fix typo: "tigger" --> "trigger"
Applied to 5.9/scsi-queue, thanks!
[1/1] scsi: mpt3sas: Fix spelling mistake
https://git.kernel.org/mkp/scsi/c/896c9b4907c5
--
Martin K. Petersen Oracle Linux Engineering
On Tue, 9 Jun 2020 13:45:53 +0100, Kieran Bingham wrote:
> I wouldn't normally go through spelling fixes, but I caught sight of
> this typo twice, and then foolishly grepped the tree for it, and saw how
> pervasive it was.
>
> so here I am ... fixing a typo globally... but with an addition in
>
Convert the MXS I2C binding to DT schema format using json-schema
Signed-off-by: Anson Huang
---
Changes since V2:
- remove 'clock-frequency' property's typs and use enum for it, as it
ONLY support 100KHz/400KHz.
---
Documentation/devicetree/bindings/i2c/i2c-mxs.txt | 25 ---
On Mon, 15 Jun 2020 15:22:33 +0800, Stanley Chu wrote:
> This series adds trace event for UIC commands and do a small cleanup in
> struct uic_command.
>
> v2 -> v3:
> - Refactor "complete" event hooks in ufshcd_uic_cmd_compl() (Avri Altman)
>
> v1 -> v2:
> - Rename "uic_send" to "send" and
On Mon, 1 Jun 2020 18:46:41 +0800, Stanley Chu wrote:
> This series fixes clk-gating issues and introduces low-power mode for vccq2
> in MediaTek platforms.
>
> v2 -> v3:
> - Fix (add back) linkoff support in patch [4] since previous version
> incorrectly removed linkoff support
>
> v1 ->
Convert the i.MX I2C binding to DT schema format using json-schema,
some improvements applied, such as update example based on latest DT
file, add more compatible for existing SoCs, and remove unnecessary
common property "pinctrl".
Signed-off-by: Anson Huang
---
Changes since V2:
-
On Fri, 12 Jun 2020 09:26:23 +0800, Stanley Chu wrote:
> this series provides some device quirk fixes and cleanups.
>
> v1 -> v2:
> - Sort device quirks in alphabetical order (Alim Akhtar)
>
> Stanley Chu (2):
> scsi: ufs: Add DELAY_BEFORE_LPM quirk for Micron devices
> scsi: ufs: Cleanup
On Wed, 3 Jun 2020 11:19:54 +0200, Bean Huo wrote:
> Resent this patchset since linux-s...@vger.kernel.org and
> linux-kernel@vger.kernel.org rejected my email
>
>
> Cleanup UFS descriptor length initialization, and delete some unnecessary
> code.
>
> Changelog:
> v4 - v5:
> 1. Rebased
On Sat, 13 Jun 2020 08:16:56 +0530, Alim Akhtar wrote:
> This patch-set introduces UFS (Universal Flash Storage) host controller
> support
> for Samsung family SoC. Mostly, it consists of UFS PHY and host specific
> driver.
>
> - Changes since v9
> * fixed the review comments by Rob on ufs dt
On Thu, 11 Jun 2020 18:10:43 +0800, Stanley Chu wrote:
> The UFS load calculation is based on "total_time" and "busy_time" in a
> devfreq window. However, the source of time is different for both
> parameters: "busy_time" is assigned from "jiffies" thus has different
> accuracy from "total_time"
On Fri, 5 Jun 2020 22:05:18 +0200, Bean Huo wrote:
> Cleanup, no functional change
>
> Changelog:
>
> v2 -v3:
> 1. Change SPDX-License-Identifier: GPL-2.0 to
>SPDX-License-Identifier: GPL-2.0-or-later (Eric Biggers)
> v1 - v2:
> 1. Split patch (Tomas Winkler)
>
> [...]
Applied
Hi, Rob
> Subject: Re: [PATCH V2 3/3] dt-bindings: i2c: Convert imx i2c to json-schema
>
> On Thu, Jun 04, 2020 at 09:49:18AM +0800, Anson Huang wrote:
> > Convert the i.MX I2C binding to DT schema format using json-schema,
> > some improvements applied, such as update example based on latest
On Mon, Jun 15, 2020 at 7:43 AM Lorenz Bauer wrote:
>
> On Fri, 12 Jun 2020 at 23:36, Alexei Starovoitov
> wrote:
> >
> > On Fri, Jun 12, 2020 at 9:02 AM Lorenz Bauer wrote:
> > >
> > > Using BPF_PROG_ATTACH on a flow dissector program supports neither flags
> > > nor target_fd but accepts any
Hi all,
Changes since 20200615:
New tree: safesetid
Removed trees: c6x, cisco, leaks, md, sifive (not been updated in over a year)
My fixes tree contains:
4cb4bfffe2c1 ("device_cgroup: Fix RCU list debugging warning")
The drm-intel-fixes tree gained a build failure for which
On Fri, 22 May 2020 12:59:29 +0800, Dinghao Liu wrote:
> When ufs_bsg_alloc_desc_buffer() returns an error code,
> a pairing runtime PM usage counter decrement is needed
> to keep the counter balanced.
Applied to 5.8/scsi-fixes, thanks!
[1/1] scsi: ufs-bsg: Fix runtime PM imbalance on error
Convert the i.MX ESDHC binding to DT schema format using json-schema
Signed-off-by: Anson Huang
---
Changes since V2:
- fix typo of "dealy" to "delay";
- remove unused "Several ranges could be specified." in voltage-ranges
which contradicts
the min/max items.
---
On Tue, Jun 16, 2020 at 11:05:02AM +1000, Herbert Xu wrote:
> On Tue, Jun 16, 2020 at 10:34:40AM +1000, Stephen Rothwell wrote:
> > [Just adding Herbert to cc]
> >
> > On Tue, 16 Jun 2020 10:33:30 +1000 Stephen Rothwell
> > wrote:
> > >
> > > Hi all,
> > >
> > > After merging the vfs tree,
On Mon, Jun 15, 2020 at 09:31:54PM +0200, Peter Zijlstra wrote:
> On Mon, Jun 15, 2020 at 08:40:41PM +0200, Peter Zijlstra wrote:
>
> > > @@ -186,8 +187,10 @@ int cpuidle_enter_s2idle(struct cpuidle_driver *drv,
> > > struct cpuidle_device *dev)
> > >* be frozen safely.
> > >*/
> > >
allmodconfig
powerpc defconfig
powerpc allyesconfig
powerpc rhel-kconfig
powerpc allmodconfig
powerpc allnoconfig
i386 randconfig-a006-20200615
i386
On Mon, Jun 15, 2020 at 09:57:16PM -0400, Waiman Long wrote:
> The kzfree() function is normally used to clear some sensitive
> information, like encryption keys, in the buffer before freeing it back
> to the pool. Memset() is currently used for the buffer clearing. However,
> it is entirely
Hello!
This is a bit of thread-merge between [1] and [2]. tl;dr: add a way for
a seccomp user_notif process manager to inject files into the managed
process in order to handle emulation of various fd-returning syscalls
across security boundaries. Containers folks and Chrome are in need
of the
The user_trap_syscall() helper creates a filter with
SECCOMP_RET_USER_NOTIF. To avoid confusion with SECCOMP_RET_TRAP, rename
the helper to user_notif_syscall().
Additionally fix a redundant "return" after XFAIL.
Signed-off-by: Kees Cook
---
tools/testing/selftests/seccomp/seccomp_bpf.c | 60
The seccomp tests are a bit noisy without CONFIG_CHECKPOINT_RESTORE (due
to missing the kcmp() syscall). The seccomp tests are more accurate with
kcmp(), but it's not strictly required. Refactor the tests to use
alternatives (comparing fd numbers), and provide a central test for
kcmp() so there is
From: Sargun Dhillon
Test whether we can add file descriptors in response to notifications.
This injects the file descriptors via notifications, and then uses
kcmp to determine whether or not it has been successful.
It also includes some basic sanity checking for arguments.
Signed-off-by:
Expand __fd_install_received() with support for replace_fd() for the
coming seccomp "addfd" ioctl(). Add new wrapper fd_replace_received()
for the new mode and update existing wrappers to retain old mode.
Signed-off-by: Kees Cook
---
fs/file.c| 22 --
[AMD Official Use Only - Internal Distribution Only]
Acked-by: Evan Quan
-Original Message-
From: amd-gfx On Behalf Of Aditya Pakki
Sent: Sunday, June 14, 2020 10:21 AM
To: pakki...@umn.edu
Cc: wu000...@umn.edu; David Airlie ; k...@umn.edu;
linux-kernel@vger.kernel.org;
For both pidfd and seccomp, the __user pointer is not used. Update
__fd_install_received() to make writing to ufd optional. (ufd
itself cannot checked for NULL because this changes the SCM_RIGHTS
interface behavior.) In these cases, the new fd needs to be returned
on success. Update the existing
When SECCOMP_IOCTL_NOTIF_ID_VALID was first introduced it had the wrong
direction flag set. While this isn't a big deal as nothing currently
enforces these bits in the kernel, it should be defined correctly. Fix
the define and provide support for the old command until it is no longer
needed for
Duplicate the cleanups from commit 2618d530dd8b ("net/scm: cleanup
scm_detach_fds") into the compat code.
Move the check added in commit 1f466e1f15cf ("net: cleanly handle kernel
vs user buffers for ->msg_control") to before the compat call, even
though it should be impossible for an in-kernel
The sock counting (sock_update_netprioidx() and sock_update_classid()) was
missing from pidfd's implementation of received fd installation. Replace
the open-coded version with a call to the new fd_install_received()
helper.
Fixes: 8649c322f75c ("pid: Implement pidfd_getfd syscall")
This patch is based on discussions[1] with Sargun Dhillon, Christian
Brauner, and David Laight. Instead of building size into the addfd
structure, make it a function of the ioctl command (which is how sizes are
normally passed to ioctls). To support forward and backward compatibility,
just mask
In preparation for users of the "install a received file" logic outside
of net/ (pidfd and seccomp), relocate and rename __scm_install_fd() from
net/core/scm.c to __fd_install_received() in fs/file.c, and provide a
wrapper named fd_install_received_user(), as future patches will change
the
From: Sargun Dhillon
This adds a seccomp notifier ioctl which allows for the listener to
"add" file descriptors to a process which originated a seccomp user
notification. This allows calls like mount, and mknod to be "implemented",
as the return value, and the arguments are data in memory. On
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
master
head: a5dc8300df75e8b8384b4c82225f1e4a0b4d9b55
commit: 7495e22bb165e7030bae4d9c6e84addb5ea17b29 KVM: Move running VCPU from
ARM to common code
date: 5 months ago
config: s390-randconfig-s032-20200615 (attached
On 6/15/2020 11:10 PM, Hillf Danton wrote:
On Mon, 15 Jun 2020 10:10:41 +0200 Vincent Guittot wrote:
Le lundi 15 juin 2020 15:26:59 (+0800), Xing Zhengjun a crit :
On 6/12/2020 7:06 PM, Hillf Danton wrote:
On Fri, 12 Jun 2020 14:36:49 +0800 Xing Zhengjun wrote:
...
I apply the patch
On Tue, Jun 16, 2020 at 6:47 AM Sami Tolvanen wrote:
>
> On Sat, May 23, 2020 at 8:13 AM Masahiro Yamada wrote:
> >
> > Hi Nicholas,
> > (+CC: Sam Ravnborg)
> >
> >
> > On Sat, May 23, 2020 at 7:06 PM Nicholas Piggin wrote:
> > >
> > > Excerpts from Masahiro Yamada's message of May 23, 2020
Drop these unused symbols i.e PTE_TYPE_FAULT and PMD_TYPE_FAULT.
Cc: Russell King
Cc: Thomas Gleixner
Cc: Allison Randal
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Anshuman Khandual
---
Applies on 5.8-rc1. Just found by code inspection and built
On 6/15/2020 4:10 PM, Vincent Guittot wrote:
Hi Xing,
Le lundi 15 juin 2020 à 15:26:59 (+0800), Xing Zhengjun a écrit :
On 6/12/2020 7:06 PM, Hillf Danton wrote:
On Fri, 12 Jun 2020 14:36:49 +0800 Xing Zhengjun wrote:
...
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@
Currently there are three different registered panic notifier blocks. This
unifies all of them into a single one i.e arm64_panic_block, hence reducing
code duplication and required calling sequence during panic. This preserves
the existing dump sequence.
Cc: Catalin Marinas
Cc: Will Deacon
Cc:
On Mon, 2020-06-15 at 15:32 +0100, Mark Brown wrote:
> On Mon, Jun 15, 2020 at 04:05:56PM +1200, Mark Tomlinson wrote:
>
> > When needing to send/receive data in small chunks, make this interrupt
> > driven rather than waiting for a completion event for each small section
> > of data.
>
> Again
On 2020/06/15 Vinod Koul wrote:
> Hi Robin,
>
> On 15-06-20, 08:59, Robin Gong wrote:
> > Hi Vinod,
> > Is there any way to let the device driver to know dma controller is
> > ready (in sdma case is sdma firmware loaded or not)before prep_call?
> > Hence, spi core could map dma buffer or
For mono channel, SSI will switch to Normal mode.
In Normal mode and Network mode, the Word Length Control bits
control the word length divider in clock generator, which is
different with I2S Master mode (the word length is fixed to
32bit), it should be the value of params_width(hw_params).
The
On 6/12/20 7:50 PM, Filipe Manana wrote:
On 11/06/20 10:02, kernel test robot wrote:
Greeting,
FYI, we noticed a -30.7% regression of reaim.jobs_per_min due to commit:
Hello,
In the future, can you please always CC linux-bt...@vger.kernel.org for
btrfs related reports?
Thanks for the
Hello Dinghao,
Thank you for the patch.
On Mon, Jun 08, 2020 at 01:29:19PM +0800, Dinghao Liu wrote:
> pm_runtime_get_sync() increments the runtime PM usage counter even
> when it returns an error code. Thus a pairing decrement is needed on
> the error handling path to keep the counter balanced.
Hi, Bean
>
> On Mon, 2020-06-15 at 16:23 +0900, Daejun Park wrote:
> > +void ufsf_scan_features(struct ufs_hba *hba)
> > +{
> > + int ret;
> > +
> > + init_waitqueue_head(>ufsf.sdev_wait);
> > + atomic_set(>ufsf.slave_conf_cnt, 0);
> > +
> > + if
1 - 100 of 1560 matches
Mail list logo