On Thu, Nov 12, 2020 at 05:13:46PM +0100, Uwe Kleine-König wrote:
> Hello Thierry,
>
> On Sun, Dec 29, 2019 at 08:05:39AM +, Yangtao Li wrote:
> > Use devm_platform_ioremap_resource() to simplify code.
> >
> > Signed-off-by: Yangtao Li
> > ---
> > drivers/pwm/pwm-sun4i.c | 4 +---
> > 1 fil
On Thu, Nov 12, 2020 at 05:22:00PM +0100, David Hildenbrand wrote:
> On 10.11.20 19:06, Mike Rapoport wrote:
> > On Tue, Nov 10, 2020 at 06:17:26PM +0100, David Hildenbrand wrote:
> > > On 10.11.20 16:14, Mike Rapoport wrote:
> > > > From: Mike Rapoport
> > > >
> > > > It will be used by the upco
The pull request you sent on Thu, 12 Nov 2020 16:58:55 +0100:
> git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm-5.10-rc4
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/fcfb67918c0bc26c595c424b14f736205a49328a
Thank you!
--
Deet-doot-dot, I am a
The pull request you sent on Thu, 12 Nov 2020 17:00:05 +0100:
> git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git
> acpi-5.10-rc4
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/af5043c89a8ef6b6949a245fff355a552eaed240
Thank you!
--
Deet-doot-dot, I
On Thu, Nov 12, 2020 at 05:41:50PM +, Matthew Wilcox wrote:
> On Wed, Oct 28, 2020 at 09:50:56AM +0200, Mike Rapoport wrote:
> > > @@ -2074,8 +2074,8 @@ EXPORT_SYMBOL(find_get_pages_contig);
> > > * @nr_pages:the maximum number of pages
> > > * @pages: where the resulting pages ar
: Lukas Bulwahn
---
applies cleanly on current master and next-20201112
I did some basic compile testing...
Alan, Greg, please pick this minor non-urgent clean-up patch.
drivers/usb/storage/transport.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/storage/transp
On Wed Nov 11, 2020 at 3:22 PM PST, Andrii Nakryiko wrote:
> On Wed, Nov 11, 2020 at 2:46 PM Daniel Xu wrote:
> >
> > 6ae08ae3dea2 ("bpf: Add probe_read_{user, kernel} and probe_read_{user,
> > kernel}_str helpers") introduced a subtle bug where
> > bpf_probe_read_user_str() would potentially copy
On Thu, 12 Nov 2020 20:41:06 +0200 Georgi Djakov
wrote:
> From: Liam Mark
>
> Collect the time for each allocation recorded in page owner so that
> allocation "surges" can be measured.
>
> Record the pid for each allocation recorded in page owner so that
> the source of allocation "surges" ca
The recent changes to store the MSI irqdomain pointer in struct device
missed that Intel DMAR does not register virtual function devices. Due to
that a VF device gets the plain PCI-MSI domain assigned and then issues
compat MSI messages which get caught by the interrupt remapping unit.
Cure that
12.11.2020 20:16, Mark Brown пишет:
> On Thu, Nov 12, 2020 at 07:59:36PM +0300, Dmitry Osipenko wrote:
>> 11.11.2020 14:55, Mark Brown пишет:
>>> On Wed, Nov 11, 2020 at 12:23:41AM +0300, Dmitry Osipenko wrote:
>
I already changed that code to use regulator_get_optional() for v2.
>
>>> That
On Thu, Nov 12, 2020 at 9:37 AM Will Deacon wrote:
> On Tue, Nov 10, 2020 at 10:51:46AM -0800, John Stultz wrote:
> > On Tue, Nov 10, 2020 at 5:35 AM Linus Walleij
> > wrote:
> > > On Fri, Nov 6, 2020 at 5:27 AM John Stultz wrote:
> > >
> > > > Allow the qcom_scm driver to be loadable as a perm
On x86 Chromebooks, we have observed this issue for a long time now -
when the system is powered off or rebooted, ACPI PM is not invoked and
this results in PowerResource _OFF methods not being invoked for any
of the devices. The _OFF methods are invoked correctly in case of
suspend-to-idle (S0ix)
On Thu, Nov 12, 2020 at 05:13:30PM +, John Boero wrote:
> Sorry header was generated by git email and I should have
> paid closer attention to it before sending.
> Long time listener, first time caller.
>
> Yes the patch is backwards sorry. Testing alt proposal from
> st...@rowland.harvard.ed
On Thu, Nov 12, 2020 at 11:13 AM Daniel Xu wrote:
>
> On Wed Nov 11, 2020 at 3:22 PM PST, Andrii Nakryiko wrote:
> > On Wed, Nov 11, 2020 at 2:46 PM Daniel Xu wrote:
> > >
> > > 6ae08ae3dea2 ("bpf: Add probe_read_{user, kernel} and probe_read_{user,
> > > kernel}_str helpers") introduced a subtle
Hi!
> I'm announcing the release of the 4.19.157 kernel.
>
> Please see the 5.9.8 announcement if you are curious if you should
> upgrade or not:
> https://lore.kernel.org/lkml/1605041246232...@kroah.com/
Quoting:
# Hint, if you are using SGX, then upgrade. And then possibly
# reconsider
On Thu, Nov 12, 2020 at 06:15:08PM +, John Boero wrote:
> Then why does line 278 right below it check for NULL?
Are you asking about line 278 in drivers/usb/core/usb.c? The statement
which says:
if (!config)
return NULL;
This is because it is perfectly valid for con
et *act_len
> to 0 in those paths. That makes clang-analyzer happy.
>
> Proposal was discussed in this mail thread:
>
> Link:
> https://lore.kernel.org/linux-usb/alpine.DEB.2.21.202146110.13119@felia/
>
> Signed-off-by: Lukas Bulwahn
> ---
> applies cleanly on c
From: Rafael J. Wysocki
Avoid doing the same assignment in both branches of a conditional,
do it after the whole conditional instead.
Signed-off-by: Rafael J. Wysocki
---
drivers/cpufreq/intel_pstate.c |9 -
1 file changed, 4 insertions(+), 5 deletions(-)
Index: linux-pm/drivers/c
From: Rafael J. Wysocki
Rearrange a conditional to make it more straightforward.
Signed-off-by: Rafael J. Wysocki
---
kernel/sched/cpufreq_schedutil.c |8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
Index: linux-pm/kernel/sched/cpufreq_schedutil.c
On Thu, Nov 12, 2020 at 4:16 PM Alexander Potapenko wrote:
>
> On Wed, Nov 11, 2020 at 7:52 PM 'Andrey Konovalov' via kasan-dev
> wrote:
> >
> > On Wed, Nov 11, 2020 at 4:09 PM Alexander Potapenko
> > wrote:
> > >
> > > On Tue, Nov 10, 2020 at 11:11 PM Andrey Konovalov
> > > wrote:
> > > >
>
On Thu, Nov 12, 2020 at 07:00:25PM +, Lee Jones wrote:
> Fixes the following W=1 kernel build warning(s):
>
> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c:283:6: warning: no previous
> prototype for ‘atmel_hlcdc_plane_setup_scaler’ [-Wmissing-prototypes]
>
> Cc: Sam Ravnborg
> Cc: Boris
On Thu, Nov 12, 2020 at 07:00:22PM +, Lee Jones wrote:
> And fix-up a misnamed member description.
>
> Fixes the following W=1 kernel build warning(s):
>
> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c:33: warning: cannot
> understand function prototype: 'struct atmel_hlcdc_crtc_state '
>
On Thu, Nov 12, 2020 at 07:00:26PM +, Lee Jones wrote:
> Fixes the following W=1 kernel build warning(s):
>
> drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c:283:6: warning: no previous
> prototype for ‘atmel_hlcdc_plane_setup_scaler’ [-Wmissing-prototypes]
> drivers/gpu/drm/atmel-hlcdc/atm
On Thu, Nov 12, 2020 at 7:13 AM Moore, Robert wrote:
>
>
>
> -Original Message-
> From: Nick Desaulniers
> Sent: Wednesday, November 11, 2020 10:48 AM
> To: Moore, Robert
> Cc: Kaneda, Erik ; Wysocki, Rafael J
> ; Gustavo A . R . Silva ;
> clang-built-li...@googlegroups.com; Len Brown
On Thu, Nov 12, 2020 at 07:00:10PM +, Lee Jones wrote:
> The comment about them (also removed) says:
>
> /* fb_rsrc and aper_rsrc aren't really used currently, but still exist
> * in case we decide we need information on the BAR for BSD in the
> * future.
> */
>
> Well that was written
On 12/11/20 18:01, Qian Cai wrote:
> On Thu, 2020-11-12 at 17:26 +, Valentin Schneider wrote:
>> On 12/11/20 16:38, Qian Cai wrote:
>> > Some syscall fuzzing from an unprivileged user starts to trigger this below
>> > since this commit first appeared in the linux-next today. Does it ring any
.monster snip..
> 4. Using CPUID to detect running as guest. But as Thomas pointed out, this
> approach is less reliable as not all hypervisors do this way.
Is that truly true? It is the first time I see the argument that extra
steps are needed and that checking for X86_FEATURE_HYPERVISOR is not
On Thu, Oct 22, 2020 at 02:35:40PM -0700, Guru Das Srinagesh wrote:
> Some MFD chips do not have the register space for their peripherals
> mapped out with a fixed stride. Add peripheral address offsets to the
> framework to support such address spaces.
> In this new scheme, the regmap-irq client
On Thu, 12 Nov 2020 09:43:26 +0800, xuyuqing wrote:
> Use compatible string to let machine driver handle the case
> where ALC5682 headset codec is replaced with ADAU7002 dmic codec
>
> xuyuqing (2):
> ASoC: google: dt-bindings: add new compatible for sc7180-coachz
> ASoC: qcom: sc7180: Add mac
On Thu, Nov 12, 2020 at 10:51 AM Catalin Marinas
wrote:
>
> On Tue, Nov 10, 2020 at 11:20:08PM +0100, Andrey Konovalov wrote:
> > There's a config option CONFIG_KASAN_STACK that has to be enabled for
> > KASAN to use stack instrumentation and perform validity checks for
> > stack variables.
> >
>
On Thu, 12 Nov 2020 15:02:17 +, Lucas Tanure wrote:
> _regmap_write can trigger a _regmap_select_page, which will call
> another _regmap_write that will be executed first, but the log shows
> the inverse order
>
> Also, keep consistency with _regmap_read which only logs in case of
> success
A
On Tue, 27 Oct 2020 10:57:22 +0100, Oleksij Rempel wrote:
> changes v2:
> - add SPI_MODE_X_MASK macro
> - ads7846: clear SPI_MODE_X_MASK bits to set driver specific mode.
>
> Oleksij Rempel (2):
> spi: introduce SPI_MODE_X_MASK macro
> Input: ads7846: do not overwrite spi->mode flags set by sp
On Thu, 2020-11-12 at 19:31 +, Valentin Schneider wrote:
> One thing I don't get: that trace shows refcount_dec_and_test()
> (kernel/sched/core.c:2263) happening before the wait_for_completion(). It's
> not the case in the below trace.
Yes, that is normal. Sometimes, the decoding is a bit off
On Wed, Nov 11, 2020 at 6:49 PM Marco Elver wrote:
>
> On Tue, Nov 10, 2020 at 11:20PM +0100, Andrey Konovalov wrote:
> > Currently kasan_unpoison_memory() is used as both an external annotation
> > and as an internal memory poisoning helper. Rename external annotation to
> > kasan_unpoison_data()
On 11/12/20 11:02 AM, Lee Jones wrote:
On Thu, 12 Nov 2020, santosh.shilim...@oracle.com wrote:
On 11/12/20 5:21 AM, Lee Jones wrote:
On Thu, 12 Nov 2020, Tero Kristo wrote:
On 12/11/2020 12:31, Lee Jones wrote:
Cc:ing a few people I know.
On Tue, 03 Nov 2020, Lee Jones wrote:
Fixes the
On Wed, 2020-11-11 at 12:43 +0530, Naveen Mamindlapalli wrote:
> From: Subbaraya Sundeep
>
> Add debugfs support to dump the MCAM rules installed using
> NPC_INSTALL_FLOW mbox message. Debugfs file can display mcam
> entry, counter if any, flow type and counter hits.
>
> Ethtool will dump the nt
Hi,
On Wed, Nov 11, 2020 at 08:52:00AM +0200, Mike Rapoport wrote:
> Hi,
>
> On Tue, Nov 10, 2020 at 03:36:20PM -0800, Minchan Kim wrote:
> > On Tue, Nov 10, 2020 at 06:21:55PM +0200, Mike Rapoport wrote:
> > > On Tue, Nov 10, 2020 at 12:21:11PM +0100, Arnd Bergmann wrote:
> > > > On Tue, Nov 10,
On Wed, Nov 11, 2020 at 03:33:18PM +0100, Arnd Bergmann wrote:
> On Wed, Nov 11, 2020 at 2:39 PM Thomas Bogendoerfer
> wrote:
> > On Wed, Nov 11, 2020 at 11:57:02AM +0100, Arnd Bergmann wrote:
> > > On Wed, Nov 11, 2020 at 11:26 AM Mike Rapoport wrote:
> > > >
> > > > On Wed, Nov 11, 2020 at 10:3
On Thu, 12 Nov 2020 at 20:45, Andrey Konovalov wrote:
>
> On Wed, Nov 11, 2020 at 6:49 PM Marco Elver wrote:
> >
> > On Tue, Nov 10, 2020 at 11:20PM +0100, Andrey Konovalov wrote:
> > > Currently kasan_unpoison_memory() is used as both an external annotation
> > > and as an internal memory poison
On Wed, Nov 11, 2020 at 7:29 PM Marco Elver wrote:
>
> > +#include
> > +#include
>
> This should include -- although the rest of the
> kernel seems to also inconsistently use on or the other. Since the name,
> as referred to also by macros are "static keys", perhaps the
> static_key.h header is
On Thu, Nov 12, 2020 at 1:55 PM Catalin Marinas wrote:
>
> On Thu, Nov 12, 2020 at 12:53:58PM +0100, Marco Elver wrote:
> > On Thu, 12 Nov 2020 at 12:35, Catalin Marinas
> > wrote:
> > >
> > > On Tue, Nov 10, 2020 at 11:20:15PM +0100, Andrey Konovalov wrote:
> > > > Hardware tag-based KASAN mode
11.11.2020 14:38, Ulf Hansson пишет:
> On Sun, 8 Nov 2020 at 13:19, Dmitry Osipenko wrote:
>>
>> 05.11.2020 18:22, Dmitry Osipenko пишет:
>>> 05.11.2020 12:45, Ulf Hansson пишет:
>>> ...
I need some more time to review this, but just a quick check found a
few potential issues...
>>>
>>>
On Wed, 2020-11-11 at 12:43 +0530, Naveen Mamindlapalli wrote:
> From: Stanislaw Kardach
>
> The current default Key Extraction(KEX) profile can only use RX
> packet fields while generating the MCAM search key. The profile
> can't be used for matching TX packet fields. This patch modifies
> the d
On Thu, Nov 12, 2020 at 07:12:54PM +0100, Marco Elver wrote:
> On Thu, Nov 12, 2020 at 09:54AM -0800, Paul E. McKenney wrote:
> > On Thu, Nov 12, 2020 at 05:14:39PM +0100, Marco Elver wrote:
> > > On Thu, Nov 12, 2020 at 01:49PM +0100, Marco Elver wrote:
> > > > On Thu, 12 Nov 2020 at 01:11, Paul E
On Thu, Nov 12, 2020 at 10:16:14PM +0300, Dmitry Osipenko wrote:
> 12.11.2020 20:16, Mark Brown пишет:
> > On Thu, Nov 12, 2020 at 07:59:36PM +0300, Dmitry Osipenko wrote:
> >> Also, some device-trees won't have that regulator anyways because board
> >> schematics isn't available, and thus, we can
Hi!
> From: Dan Carpenter
>
> [ Upstream commit fd22781648080cc400772b3c68aa6b059d2d5420 ]
>
> Callers are generally not supposed to check the return values from
> debugfs functions. Debugfs functions never return NULL so this error
> handling will never trigger. (Historically debugfs functio
Hi Andrew,
How should we proceed this problem?
On Sat, Nov 07, 2020 at 12:39:39AM -0800, Minchan Kim wrote:
> Hi Andrew,
>
> On Fri, Nov 06, 2020 at 05:59:33PM -0800, Andrew Morton wrote:
> > On Thu, 5 Nov 2020 09:02:49 -0800 Minchan Kim wrote:
> >
> > > This reverts commit e47110e90584a22e99
On 12.11.20 16:28, Joel Fernandes wrote:
On Thu, Nov 12, 2020 at 03:52:32PM +0100, Alexander Graf wrote:
On 12.11.20 14:40, Joel Fernandes wrote:
On Wed, Nov 11, 2020 at 11:29:37PM +0100, Alexander Graf wrote:
On 11.11.20 23:15, Joel Fernandes wrote:
On Wed, Nov 11, 2020 at 5:13 PM
On Tue, Nov 10, 2020 at 11:22 PM Naveen Mamindlapalli
wrote:
>
> From: Stanislaw Kardach
>
> The current default Key Extraction(KEX) profile can only use RX
> packet fields while generating the MCAM search key. The profile
> can't be used for matching TX packet fields. This patch modifies
> the d
On Thu, Nov 12, 2020 at 7:48 PM Andrii Nakryiko
wrote:
>
> On Thu, Nov 12, 2020 at 9:20 AM KP Singh wrote:
> >
> > From: KP Singh
> >
> > Update the set of sleepable hooks with the ones that do not trigger
> > a warning with might_fault() when exercised with the correct kernel
> > config options
From: KP Singh
Sleepable hooks are never called from an NMI/interrupt context, so it is
safe to use the bpf_d_path helper in LSM programs attaching to these
hooks.
The helper is not restricted to sleepable programs and merely uses the
list of sleeable hooks as the initial subset of LSM hooks whe
From: KP Singh
Update the set of sleepable hooks with the ones that do not trigger
a warning with might_fault() when exercised with the correct kernel
config options enabled, i.e.
DEBUG_ATOMIC_SLEEP=y
LOCKDEP=y
PROVE_LOCKING=y
This means that a sleepable LSM eBPF program
From: KP Singh
# v1 -> v2
* Fixed typos and formatting errors.
* Added Andrii's ack.
KP Singh (2):
bpf: Augment the set of sleepable LSM hooks
bpf: Expose bpf_d_path helper to sleepable LSM hooks
include/linux/bpf_lsm.h | 7 +++
kernel/bpf/bpf_lsm.c | 121 ++
On Tue, Nov 10, 2020 at 11:18 PM Naveen Mamindlapalli
wrote:
>
> From: Subbaraya Sundeep
>
> This patch adds support to verify the channel number sent by
> mailbox requester before writing MCAM entry for Ingress packets.
> Similarly for Egress packets, verifying the PF_FUNC sent by the
> mailbox
This patch replaces 6 IWMMXT instructions Clang's integrated assembler
does not support in iwmmxt.S using macros, while making sure GNU
assembler still emit the same instructions. This should be easier than
providing full IWMMXT support in Clang. This is one of the last bits of
kernel code that co
On Thu, 12 Nov 2020, santosh.shilim...@oracle.com wrote:
> On 11/12/20 11:02 AM, Lee Jones wrote:
> > On Thu, 12 Nov 2020, santosh.shilim...@oracle.com wrote:
> >
> > > On 11/12/20 5:21 AM, Lee Jones wrote:
> > > > On Thu, 12 Nov 2020, Tero Kristo wrote:
> > > >
> > > > > On 12/11/2020 12:31, Le
Clang warns:
drivers/crypto/amcc/crypto4xx_core.c:921:60: warning: operator '?:' has
lower precedence than '|'; '|' will be evaluated first
[-Wbitwise-conditional-parentheses]
(crypto_tfm_alg_type(req->tfm) == CRYPTO_ALG_TYPE_AEAD) ?
~~
On Thu, 12 Nov 2020, Sam Ravnborg wrote:
> On Thu, Nov 12, 2020 at 07:00:10PM +, Lee Jones wrote:
> > The comment about them (also removed) says:
> >
> > /* fb_rsrc and aper_rsrc aren't really used currently, but still exist
> > * in case we decide we need information on the BAR for BSD in
In some devices difference in chip-id should be enough to pick
the right BDF. Add another support for chip-id based BDF selection.
With this new option, ath10k supports 2 fallback options.
The board name with chip-id as option looks as follows
board name 'bus=snoc,qmi-board-id=ff,qmi-chip-id=320'
From: Florent Revest
Iterators are currently used to expose kernel information to userspace
over fast procfs-like files but iterators could also be used to
initialize local storage. For example, the task_file iterator could be
used to store associations between processes and sockets.
This expose
From: Florent Revest
eBPF programs can already check whether a file is a socket using
file->f_op == &socket_file_ops but they can not convert file->private_data
into a struct socket with BTF information. For that, we need a new
helper that is essentially just a wrapper for sock_from_file.
sock_f
This patch extends ath10k_core_create_board_name function to support chip id
based BDF selection and not add provision for fallback_boardname2, thus
introducing lesser lines of code.
(no changes since v1)
Abhishek Kumar (1):
ath10k: add option for chip-id based BDF selection
drivers/net/wirel
On 12.11.20 15:40, Joel Fernandes wrote:
On Thu, Nov 12, 2020 at 08:40:05AM -0500, Joel Fernandes wrote:
On Wed, Nov 11, 2020 at 11:29:37PM +0100, Alexander Graf wrote:
On 11.11.20 23:15, Joel Fernandes wrote:
On Wed, Nov 11, 2020 at 5:13 PM Joel Fernandes wrote:
On Wed, Nov 11, 2020
syzbot has found a reproducer for the following issue on:
HEAD commit:57cde551 Merge 5.10-rc3 into usb-next
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
usb-testing
console output: https://syzkaller.appspot.com/x/log.txt?x=154eb18150
kernel config: https
On Thu, Nov 12, 2020 at 12:06 AM Marco Elver wrote:
>
> > + /* Limit it with KMALLOC_MAX_SIZE (relevant for SLAB only). */
> > + if (optimal_size > KMALLOC_MAX_SIZE)
> > + optimal_size = KMALLOC_MAX_SIZE;
> > + /* Use optimal size if the size with added metas is not large e
o is okay (sounds like it is based on the
other thread), this is a reasonable fix.
Reviewed-by: Nathan Chancellor
> ---
> applies cleanly on current master and next-20201112
>
> I did some basic compile testing...
>
> Alan, Greg, please pick this minor non-urgent clean-
> Am 12.11.2020 um 20:08 schrieb Mike Rapoport :
>
> On Thu, Nov 12, 2020 at 05:22:00PM +0100, David Hildenbrand wrote:
>>> On 10.11.20 19:06, Mike Rapoport wrote:
>>> On Tue, Nov 10, 2020 at 06:17:26PM +0100, David Hildenbrand wrote:
On 10.11.20 16:14, Mike Rapoport wrote:
> From: Mik
On Wed, 2020-11-11 at 12:43 +0530, Naveen Mamindlapalli wrote:
> This patch series adds support for ethtool ntuple filters, unicast
> address filtering, VLAN offload and SR-IOV ndo handlers. All of the
> above features are based on the Admin Function(AF) driver support to
> install and delete the l
Hi Lee,
On Thu, Nov 12, 2020 at 07:00:36PM +, Lee Jones wrote:
> Fixes the following W=1 kernel build warning(s):
>
> drivers/gpu/drm/sti/sti_hdmi.h:36:40: warning: ‘colorspace_mode_names’
> defined but not used [-Wunused-const-variable=]
> 36 | static const struct drm_prop_enum_list colors
On Thu, 2020-11-12 at 11:30 -0800, Nick Desaulniers wrote:
> On Thu, Nov 12, 2020 at 7:13 AM Moore, Robert wrote:
> > -Original Message-
> > From: Nick Desaulniers
> > On Wed, Nov 11, 2020 at 7:15 AM Moore, Robert
> > wrote:
> > > Yes, but: isn't the "fallthrough" keyword compiler-speci
Hi Lee,
On Thu, Nov 12, 2020 at 07:00:11PM +, Lee Jones wrote:
> The precedent has already been set by other macros in the same file.
>
> Fixes the following W=1 kernel build warning(s):
>
> drivers/gpu/drm/vkms/vkms_drv.c:55:19: warning: variable ‘crtc’ set but not
> used [-Wunused-but-se
Lot of sunxi boards has a Realtek PHY, so let's enable it.
Signed-off-by: Corentin Labbe
---
arch/arm/configs/sunxi_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig
index 244126172fd6..05f7f4ed8ded 100644
--- a/arch
Hi Lee,
On Thu, Nov 12, 2020 at 07:00:13PM +, Lee Jones wrote:
> Fixes the following W=1 kernel build warning(s):
>
> drivers/gpu/drm/via/via_dma.c: In function ‘via_cmdbuf_jump’:
> drivers/gpu/drm/via/via_dma.c:596:11: warning: variable ‘agp_base’ set but
> not used [-Wunused-but-set-varia
On Thu, Nov 12, 2020 at 09:09:44PM +0100, Florent Revest wrote:
> From: Florent Revest
>
> eBPF programs can already check whether a file is a socket using
> file->f_op == &socket_file_ops but they can not convert file->private_data
> into a struct socket with BTF information. For that, we need a
On Thu, Nov 12, 2020 at 9:03 PM KP Singh wrote:
>
> From: KP Singh
>
> # v1 -> v2
>
> * Fixed typos and formatting errors.
> * Added Andrii's ack.
Oops, I sent an older patch file which does not have Andrii's ack.
From: Jostar Yang
The Broadcom PHY is used in switches, so add the ID, and hook it up.
This upstreams the Linux kernel patch from the network operating system
SONiC from Februar 2020 [1].
[1]: https://github.com/Azure/sonic-linux-kernel/pull/122
Signed-off-by: Jostar Yang
Signed-off-by: Guoha
330] INFO: task trinity-c4:60050 blocked for more than 245
seconds.
[ 1235.052540][ T330] Not tainted 5.10.0-rc3-next-20201112+ #2
[ 1235.058774][ T330] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[ 1235.067392][ T330] task:trinity-c4 state:D
Em Thu, Nov 12, 2020 at 12:57:10PM +0100, Jiri Olsa escreveu:
> On Wed, Nov 11, 2020 at 09:00:46AM -0800, Andi Kleen wrote:
> > On Mon, Nov 09, 2020 at 10:54:15PM +0100, Jiri Olsa wrote:
> > > Adding --buildid-mmap option to enable build id in mmap2 events.
> > > It will only work if there's kernel
The default IMA template used for all policy rules is the value set
for CONFIG_IMA_DEFAULT_TEMPLATE if the policy rule does not specify
a template. The default IMA template for buffer measurements should be
'ima-buf' - so that the measured buffer is correctly included in the IMA
measurement log ent
On Thu, Nov 12, 2020 at 10:57:27PM +0300, Dmitry Osipenko wrote:
> 11.11.2020 14:38, Ulf Hansson пишет:
> > On Sun, 8 Nov 2020 at 13:19, Dmitry Osipenko wrote:
> >>
> >> 05.11.2020 18:22, Dmitry Osipenko пишет:
> >>> 05.11.2020 12:45, Ulf Hansson пишет:
> >>> ...
> I need some more time to re
From: Sven Van Asbroeck
On arm imx6, when opening the chip's netdev, the whole Linux
kernel intermittently hangs/freezes.
This is caused by a bug in the driver code which tests if pcie
interrupts are working correctly, using the software interrupt:
1. open: enable the software interrupt
2. open
On Mon, Nov 2, 2020 at 2:36 PM Rob Herring wrote:
>
> From: Sameer Pujar
>
> Convert device tree bindings of graph to YAML format. Currently graph.txt
> doc is referenced in multiple files and all of these need to use schema
> references. For now graph.txt is updated to refer to graph.yaml.
>
> F
Hi,
This patch series simplifies the code, makes stacked access-control more
consistent (from the user point of view), properly handles memory
allocation errors, and adds more tests (covering layered ruleset corner
cases). Most of these changes were sent as a separate patch series:
https://lore.k
On 11/12/20 7:27 PM, Jacopo Mondi wrote:
> Use the newly introduced 'maxim,maxim,initial-reverse-channel-mV'
"maxim," repeated twice.
> property to specify the initial reverse channel amplitude when the
> remote serializers are not pre-programmed with noise immunity threshold
> enabled.
>
>
From: Mickaël Salaün
A Landlock object enables to identify a kernel object (e.g. an inode).
A Landlock rule is a set of access rights allowed on an object. Rules
are grouped in rulesets that may be tied to a set of processes (i.e.
subjects) to enforce a scoped access-control (i.e. a domain).
Be
From: Mickaël Salaün
Test all Landlock system calls, ptrace hooks semantic and filesystem
access-control.
Test coverage for security/landlock/ is 94.8% of lines. The code not
covered only deals with internal kernel errors (e.g. memory allocation)
and race conditions.
Cc: James Morris
Cc: Jann
From: Mickaël Salaün
Using ptrace(2) and related debug features on a target process can lead
to a privilege escalation. Indeed, ptrace(2) can be used by an attacker
to impersonate another task and to remain undetected while performing
malicious activities. Thanks to ptrace_may_access(), variou
From: Mickaël Salaün
This documentation can be built with the Sphinx framework.
Cc: James Morris
Cc: Jann Horn
Cc: Kees Cook
Cc: Serge E. Hallyn
Signed-off-by: Mickaël Salaün
Reviewed-by: Vincent Dagonneau
---
Changes since v23:
* Explain limitations for the maximum number of stacked rule
From: Mickaël Salaün
Wire up the following system calls for all architectures:
* landlock_create_ruleset(2)
* landlock_add_rule(2)
* landlock_enforce_ruleset_current(2)
Cc: Arnd Bergmann
Cc: James Morris
Cc: Jann Horn
Cc: Kees Cook
Cc: Serge E. Hallyn
Signed-off-by: Mickaël Salaün
---
Cha
From: Mickaël Salaün
Thanks to the Landlock objects and ruleset, it is possible to identify
inodes according to a process's domain. To enable an unprivileged
process to express a file hierarchy, it first needs to open a directory
(or a file) and pass this file descriptor to the kernel through
la
From: Mickaël Salaün
The sb_delete security hook is called when shutting down a superblock,
which may be useful to release kernel objects tied to the superblock's
lifetime (e.g. inodes).
This new hook is needed by Landlock to release (ephemerally) tagged
struct inodes. This comes from the unpri
From: Mickaël Salaün
These 3 system calls are designed to be used by unprivileged processes
to sandbox themselves:
* landlock_create_ruleset(2): Creates a ruleset and returns its file
descriptor.
* landlock_add_rule(2): Adds a rule (e.g. file hierarchy access) to a
ruleset, identified by the
From: Mickaël Salaün
Add a basic sandbox tool to launch a command which can only access a
whitelist of file hierarchies in a read-only or read-write way.
Cc: James Morris
Cc: Jann Horn
Cc: Kees Cook
Cc: Serge E. Hallyn
Signed-off-by: Mickaël Salaün
---
Changes since v23:
* Re-add hints to
From: Casey Schaufler
Move management of the superblock->sb_security blob out of the
individual security modules and into the security infrastructure.
Instead of allocating the blobs from within the modules, the modules
tell the infrastructure how much space is required, and the space is
allocate
From: Mickaël Salaün
Process's credentials point to a Landlock domain, which is underneath
implemented with a ruleset. In the following commits, this domain is
used to check and enforce the ptrace and filesystem security policies.
A domain is inherited from a parent to its child the same way a t
From: Mickaël Salaün
A Landlock ruleset is mainly a red-black tree with Landlock rules as
nodes. This enables quick update and lookup to match a requested
access, e.g. to a file. A ruleset is usable through a dedicated file
descriptor (cf. following commit implementing syscalls) which enables a
On Thu, Nov 12, 2020 at 8:52 PM Marco Elver wrote:
>
> On Thu, 12 Nov 2020 at 20:45, Andrey Konovalov wrote:
> >
> > On Wed, Nov 11, 2020 at 6:49 PM Marco Elver wrote:
> > >
> > > On Tue, Nov 10, 2020 at 11:20PM +0100, Andrey Konovalov wrote:
> > > > Currently kasan_unpoison_memory() is used as
On Sat, Nov 07, 2020 at 11:16:25AM -0800, Dave Hansen wrote:
Good afternoon, I hope the week is going well for everyone.
> On 11/7/20 7:09 AM, Dr. Greg wrote:
> > In all of these discussions there hasn't been a refutation of my point
> > that the only reason this hook is needed is to stop the pot
Hi all,
In commit
3d4ee0b42f65 ("usb: cdns3: gadget: initialize link_trb as NULL")
Fixes tag
Fixes: 4e218882eb5a ("usb: cdns3: gadget: improve the dump TRB operation
has these problem(s):
- Subject has leading but no trailing parentheses
- Subject has leading but no trailing quotes
P
Hi all,
In commit
5f85b351d3d6 ("fix return values of seq_read_iter()")
Fixes tag
Fixes: d4d50710a8b (seq_file: add seq_read_iter)
has these problem(s):
- SHA1 should be at least 12 digits long
Can be fixed by setting core.abbrev to 12 (or more) or (for git v2.11
or later) just
901 - 1000 of 1451 matches
Mail list logo