Do not use rlimit-based memory accounting for devmap maps.
It has been replaced with the memcg-based memory accounting.
Signed-off-by: Roman Gushchin
---
kernel/bpf/devmap.c | 18 ++
1 file changed, 2 insertions(+), 16 deletions(-)
diff --git a/kernel/bpf/devmap.c b/kernel/bpf/d
Do not use rlimit-based memory accounting for cpumap maps.
It has been replaced with the memcg-based memory accounting.
Signed-off-by: Roman Gushchin
---
kernel/bpf/cpumap.c | 16 +---
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git a/kernel/bpf/cpumap.c b/kernel/bpf/cpum
Since bpf is not using rlimit memlock for the memory accounting
and control, do not change the limit in sample applications.
Signed-off-by: Roman Gushchin
---
samples/bpf/map_perf_test_user.c| 11 ---
samples/bpf/offwaketime_user.c | 2 --
samples/bpf/sockex2_user.c |
Since bpf stopped using memlock rlimit to limit the memory usage,
there is no more reason for bpftool to alter its own limits.
Signed-off-by: Roman Gushchin
---
tools/bpf/bpftool/common.c | 7 ---
tools/bpf/bpftool/feature.c| 2 --
tools/bpf/bpftool/main.h | 2 --
tools/bpf/bpf
Since bpf is not using memlock rlimit for memory accounting,
there are no more reasons to bump the limit.
Signed-off-by: Roman Gushchin
---
tools/bpf/runqslower/runqslower.c | 16
1 file changed, 16 deletions(-)
diff --git a/tools/bpf/runqslower/runqslower.c
b/tools/bpf/runqsl
As rlimit-based memory accounting is not used by bpf anymore,
there are no more reasons to play with memlock rlimit.
Delete bpf_rlimit.h which contained a code to bump the limit.
Signed-off-by: Roman Gushchin
---
samples/bpf/hbm.c | 1 -
tools/testing/selftests/bpf/
As bpf is not using memlock rlimit for memory accounting anymore,
let's remove the related code from libbpf.
Bpf operations can't fail because of exceeding the limit anymore.
Signed-off-by: Roman Gushchin
---
tools/lib/bpf/libbpf.c | 31 +--
tools/lib/bpf/libbpf.h |
Extend xskmap memory accounting to include the memory taken by
the xsk_map_node structure.
Signed-off-by: Roman Gushchin
---
net/xdp/xskmap.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net/xdp/xskmap.c b/net/xdp/xskmap.c
index 8367adbbe9df..e574b22defe5 100644
--- a/ne
Since bpf is not using memlock rlimit for memory accounting,
there are no more reasons to bump the limit.
Signed-off-by: Roman Gushchin
---
tools/testing/selftests/bpf/bench.c | 16 ---
.../selftests/bpf/progs/bpf_iter_bpf_map.c| 5 ++---
tools/testing/selftests/bpf/xd
Include memory used by bpf programs into the memcg-based accounting.
This includes the memory used by programs itself, auxiliary data
and statistics.
Signed-off-by: Roman Gushchin
---
kernel/bpf/core.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/kernel/bpf/core.c
From: Luo bin
Date: Fri, 24 Jul 2020 17:17:31 +0800
> +static int hinic_fw_reporter_dump(struct devlink_health_reporter *reporter,
> + struct devlink_fmsg *fmsg, void *priv_ctx,
> + struct netlink_ext_ack *extack)
> +{
> + int err;
>
> -Original Message-
> From: Intel-wired-lan On Behalf Of
> linmiaohe
> Sent: Monday, July 20, 2020 1:28 AM
> To: Kirsher, Jeffrey T ; da...@davemloft.net;
> k...@kernel.org
> Cc: linmia...@huawei.com; net...@vger.kernel.org; intel-wired-
> l...@lists.osuosl.org; linux-kernel@vger.kernel.o
From: Andrea Righi
Date: Fri, 24 Jul 2020 10:59:10 +0200
> There's a potential race in xennet_remove(); this is what the driver is
> doing upon unregistering a network device:
>
> 1. state = read bus state
> 2. if state is not "Closed":
> 3.request to set state to "Closing"
> 4.w
On Fri, Jul 24 2020, Steven Rostedt wrote:
> On Fri, 24 Jul 2020 18:41:30 +0100
> Matthew Wilcox wrote:
>
>> Great example. Some people definitely go too far with rst markup, and
>> we generally try to discourage it. And I'm pretty sure we take patches
>
> I'd send patches but I suck at markup
From: Dinghao Liu
Date: Fri, 24 Jul 2020 16:06:57 +0800
> If req->ctype does not match any of NIX_AQ_CTYPE_CQ,
> NIX_AQ_CTYPE_SQ or NIX_AQ_CTYPE_RQ, pointer bmap will remain
> uninitialized and be accessed in test_bit(), which can lead
> to kernal crash.
This can never happen.
> Fix this by ret
On Fri, Jul 24, 2020 at 12:38 PM 'Nathan Huckleberry' via Clang Built
Linux wrote:
>
> This patch adds clang-tidy and the clang static-analyzer as make
> targets. The goal of this patch is to make static analysis tools
> usable and extendable by any developer or researcher who is familiar
> with b
Hi Vaibhav,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on block/for-next]
[also build test WARNING on v5.8-rc6 next-20200724]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--bas
ttps://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Bhaumik-Bhatt/Introduce-features-and-debugfs-sysfs-entries-for-MHI/20200724-063954
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
d15be546031cf65a0fc34879beca02fd90fe7ac7
conf
Hi Mani,
On 7/22/20 1:45 AM, Manivannan Sadhasivam wrote:
On Mon, Jul 20, 2020 at 08:40:24PM -0700, Hemant Kumar wrote:
Hi Mani,
On 6/19/20 3:40 AM, Manivannan Sadhasivam wrote:
On Thu, Jun 11, 2020 at 11:13:44AM -0700, Hemant Kumar wrote:
This MHI client driver allows user space clients to
Hi Vitor,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on d43c7fb05765152d4d4a39a8ef957c4ea14d8847]
url:
https://github.com/0day-ci/linux/commits/Vitor-Massaru-Iha/lib-kunit-Convert-test_sort-to-KUnit-test/20200723-081244
base:d43c7fb05765152d4d4a39a8ef
On Fri, Jul 24 2020, Steven Rostedt wrote:
> On Fri, 24 Jul 2020 11:33:25 -0600
> Jonathan Corbet wrote:
>
>> Give people a tool, some of them will make more use of it than you might
>> like. I do my best to push back against excessive markup (which all of the
>> above qualifies as, as far as I'm
Hi Tomasz,
On 2020-07-20 6:10 a.m., Tomasz Figa wrote:
> On Sat, Jul 11, 2020 at 8:17 PM Jonathan Bakker wrote:
>>
>> Hi Tomasz,
>>
>> On 2020-07-07 11:44 a.m., Tomasz Figa wrote:
>>> Hi Jonathan,
>>>
>>> On Sat, Apr 25, 2020 at 07:26:49PM -0700, Jonathan Bakker wrote:
media_pipeline_stop ca
Add Sapphire Rapids and Alder Lake processors to CPU list to enumerate
split lock feature.
Signed-off-by: Fenghua Yu
Reviewed-by: Tony Luck
---
This patch supersedes
https://lore.kernel.org/lkml/1593208534-33721-1-git-send-email-fenghua...@intel.com/
and is applied on top of Alder Lake Intel f
Add support for creating device links out of the following DT bindings:
- interrupts-extended
- nvmem-cells
- phys
- wakeup-parent
Signed-off-by: Saravana Kannan
---
v1->v2: No changes. Just sending again because v2 has changes in Patch 2/2.
drivers/of/property.c | 9 +
1 file changed,
Add support for pinctrl-0 through pinctrl-8 explicitly instead of trying
to add support for pinctrl-%d properties.
Of all the pinctrl-* properties in dts files (20322), only 47% (9531)
are pinctrl-%d properties. Of all the pinctrl-%d properties, 99.5%
(9486) are made up of pinctrl-[0-2]. 'pinctrl-
Hi Mauro,
On 6/8/20 1:13 PM, Daniel W. S. Almeida wrote:
From: "Daniel W. S. Almeida"
This series is work in progress. It represents the current work done on a
virtual DVB driver for the Linux media subsystem. I am new to the media
subsystem and to kernel development in general.
This driver a
On Sat, Jul 25, 2020 at 02:31:16AM +0300, Jarkko Sakkinen wrote:
> On Fri, Jul 24, 2020 at 01:13:02PM +0300, Mike Rapoport wrote:
> > On Fri, Jul 24, 2020 at 01:28:35AM +0300, Jarkko Sakkinen wrote:
> > > On Sat, Jul 18, 2020 at 07:23:59PM +0300, Mike Rapoport wrote:
> > > > On Fri, Jul 17, 2020 at
On Fri, Jul 24, 2020 at 01:27:48PM +0300, Mike Rapoport wrote:
> On Fri, Jul 24, 2020 at 08:05:52AM +0300, Jarkko Sakkinen wrote:
> > Use text_alloc() and text_free() instead of module_alloc() and
> > module_memfree() when an arch provides them.
> >
> > Cc: linux...@kvack.org
> > Cc: Andi Kleen
>
From: Arvind Sankar
Date: Thu, 23 Jul 2020 19:15:44 -0400
> The macro is not used anywhere, so remove the definition.
>
> Signed-off-by: Arvind Sankar
Acked-by: David S. Miller
jun qian writes:
> I have two questions that need to be discussed.
>
> 1. If the __do_sofrirq() is executed in the ksoftirqd, we may not need
> to check the timeout in the loop.
> 2. Both the invoke_softirq() and run_ksoftirqd() will execute
> __do_sofirq, they all execute the same code,
> wh
On Fri, Jul 24, 2020 at 01:13:02PM +0300, Mike Rapoport wrote:
> On Fri, Jul 24, 2020 at 01:28:35AM +0300, Jarkko Sakkinen wrote:
> > On Sat, Jul 18, 2020 at 07:23:59PM +0300, Mike Rapoport wrote:
> > > On Fri, Jul 17, 2020 at 06:04:17AM +0300, Jarkko Sakkinen wrote:
> > > > Introduce functions for
I need to ask the following question to the Linux kernel community as
the AX25 amateur radio community is already having to
work around a few broken commits that were committed 4.1.22+:
Is anyone actually _*testing*_ these proposed changes to make sure
the AX.25 and related ecosystem still
On Fri, Jul 24, 2020 at 10:32 AM Linus Torvalds
wrote:
> Ok, that makes sense. Except you did it on top of the original patch
> without the fix to set WQ_FLAG_WOKEN for the non-wakeup case.
Hmm.
I just realized that one thing we could do is to not even test the
page bit for the shared case in th
On Fri, 24 Jul 2020 15:44:23 -0400 Rich Felker wrote:
> Andrew, could you drop your copy of this
> patch?
I have done so, thanks.
On Sat, Jul 18, 2020 at 08:44:50AM +0300, Ard Biesheuvel wrote:
> On Fri, 17 Jul 2020 at 21:17, Nick Desaulniers
> wrote:
> >
> > On Fri, Jul 17, 2020 at 6:46 AM Arvind Sankar wrote:
> > >
> > > On Tue, Jul 14, 2020 at 08:41:26PM -0400, Arvind Sankar wrote:
> > > > The compressed kernel currentl
Hi Yongqiang:
Yongqiang Niu 於 2020年7月23日 週四 上午10:15寫道:
>
> This patch add support for mediatek SOC MT8183
> 1.ovl_2l share driver with ovl
I think this is done in [1], [2], [3], this patch just add the support
of mt8183-ovl and mt8183-ovl-2l.
[1]
https://git.kernel.org/pub/scm/linux/kernel/git
Hi Rafael,
Please pull the following cpupower update for Linux 5.9-rc1.
This cpupower update for Linux 5.9-rc1 consists of 2 fixes to coccicheck
warnings and one change to replacing HTTP links with HTTPS ones.
diff is attached.
thanks,
-- Shuah
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
master
head: f37e99aca03f63aa3f2bd13ceaf769455d12c4b0
commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to
define address spaces
date: 5 weeks ago
config: arm-randconfig-s032-20200723 (attached a
On Fri, Jul 24, 2020 at 07:16:26AM +, 吳昊澄 Ricky wrote:
> Hi James, Bjorn,
>
> The Card reader(10ec:5287) is a combo chip with Ethernet(10ec:8168),
> we think it is not cause by setting our device config space in idle
> time.
>
> We dis/enable the ASPM(setting config space) at busy/idle time, i
On 7/23/2020 11:25 AM, Rakesh Pillai wrote:
> Hi Rajkumar,
> In linux, the IRQs are directed to the first core which is booted.
> I see that all the IRQs are getting routed to CORE0 even if its heavily
> loaded.
>
You should be able to configure the initial IRQ setup so that they don't
all go
On Fri, Jul 24, 2020 at 1:10 PM Stephen Hemminger
wrote:
> What is the rationale for this change, it may break other code.
>
> A common API model in Windows world where this originated
> is to have a call where caller first
> makes request and then if the requested buffer is not big enough the
> c
On Thu, Jul 23, 2020 at 01:03:17PM +0300, Andy Shevchenko wrote:
> On Thu, Jul 23, 2020 at 04:38:55AM +0300, Serge Semin wrote:
> > GPIO-lib provides a ready-to-use interface to initialize an IRQ-chip on
> > top of a GPIO chip. It's better from maintainability and readability
> > point of view to u
The kbuild bot recently added the W=1 option, which triggered
documentation cleanups to squelch hundreds of kernel-doc warnings.
To make sure new kernel contributions don't add regressions to
kernel-doc descriptors, this patch suggests an option to treat
warnings as errors in CI/automated tests. A
On Thu, 23 Jul 2020, Anchal Agarwal wrote:
> On Wed, Jul 22, 2020 at 04:49:16PM -0700, Stefano Stabellini 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.
> >
> First copy was ok. Second had broken formatting. Both were plaintext
> AFAICT.
It's just that gmail was telling me that it didn't send it to some of
the email addresses because i forgot to check the "Use plain text" in
Gmail.
> Vitej do klubu :-).
Dakujem
> Please double check. Actually, is the series for one chip or for two
> of them? LED framework should is happy to talk to generic pwm driver...
I'm not sure on that one. I will have to talk to some people about that.
I will get back to you on that when i find out h
From: Christoph Hellwig
Date: Thu, 23 Jul 2020 08:08:42 +0200
> setsockopt is the last place in architecture-independ code that still
> uses set_fs to force the uaccess routines to operate on kernel pointers.
>
> This series adds a new sockptr_t type that can contained either a kernel
> or user
On Fri, Jul 24, 2020 at 10:39:20AM +0200, Peter Zijlstra wrote:
> On Fri, Jul 24, 2020 at 09:00:00AM +0200, Marco Elver wrote:
>
> > Marco Elver (8):
> > kcsan: Support compounded read-write instrumentation
> > objtool, kcsan: Add __tsan_read_write to uaccess whitelist
> > kcsan: Skew delay
On Fri 2020-07-24 15:12:33, Marek Behún wrote:
> On Fri, 24 Jul 2020 12:29:01 +0200
> Pavel Machek wrote:
>
> > In future, would you expect having software "1000/100/10/nolink"
> > triggers I could activate on my scrollock LED (or on GPIO controlled
> > LEDs) to indicate network activity?
>
> Lo
[+cc Rafael, in case you can clear up our wakeup confusion]
original patch:
https://lore.kernel.org/r/20200720155714.714114-1-vaibhavgupt...@gmail.com
On Fri, Jul 24, 2020 at 11:16:55PM +0300, Andy Shevchenko wrote:
> On Fri, Jul 24, 2020 at 6:17 PM Vaibhav Gupta
> wrote:
> > On Fri, Jul 24, 202
Hi!
> Is this for phone, btw? If so, which one?
>
> Yes it is. And it's for many many phones actually. I have done this
> mainly for SONY phones (Xperia 10, 10 Plus, XA2, XA2 Plus, XA2 Ultra).
> All of them use these drivers for generating the PWM and controlling the LEDs.
>
> P.S resending bec
Hi!
> > Dalsi cech co hackuje LEDky?
>
> Nie. Slovak.
Vitej do klubu :-).
> > Bindings should go first, they may need to be converted to yml
> > (devicetree people will know).
>
> OK
I'm not 100% sure, please double check.
> > Can generic pwm driver be used here?
>
> I have not tried to do
On 7/23/20 11:20 PM, Rakesh Pillai wrote:
>
>
>> -Original Message-
>> From: Florian Fainelli
>> Sent: Friday, July 24, 2020 12:33 AM
>> To: Rakesh Pillai ; 'Andrew Lunn'
>>
>> Cc: ath...@lists.infradead.org; linux-wirel...@vger.kernel.org; linux-
>> ker...@vger.kernel.org; kv...@codeau
Hi,
Dalsi cech co hackuje LEDky?
Nie. Slovak.
Bindings should go first, they may need to be converted to yml
(devicetree people will know).
OK
Can generic pwm driver be used here?
I have not tried to do that. But considering it's custom chip from
Qualcomm then it's unlikely.
This is for RGB
On Thu, 23 Jul 2020 19:24:32 +0300, Codrin Ciubotariu wrote:
> Enable DSA and KSZ9477 support as modules. Ethernet switches are used by
> the SAMA5D2-ICP board.
Applied, thanks!
[1/3] ARM: configs: at91: sama5: add support for KSZ ethernet switches
commit: 6dadeab7d260eaa410649a48d8368e4d32
From: Murali Karicheri
Date: Fri, 24 Jul 2020 08:27:01 -0400
> If there are no more comments, can we consider merging this to
> net-next? I could re-base and repost if there is any conflict.
I can't apply them until I next merge net into net-next, and I don't
know exactly when that will happen y
On Fri, Jul 17, 2020 at 12:20:39AM -0700, ira.we...@intel.com wrote:
> From: Ira Weiny
>
> This RFC series has been reviewed by Dave Hansen.
>
> Changes from RFC:
> Clean up commit messages based on Peter Zijlstra's and Dave Hansen's
> feedback
> Fix static branch anti-
On Fri, 24 Jul 2020 23:50:03 +0200
pet...@infradead.org wrote:
> - if (producer_fifo < 0)
> + if (producer_fifo)
> + trace_printk("Running Producer at SCHED_FIFO %s\n",
> + consumer_fifo == 1 ? "low" : "high");
I'm going to take cut-and-paste away from
From: Chi Song
Date: Thu, 23 Jul 2020 21:14:26 -0700
> An imbalanced TX indirection table causes netvsc to have low
> performance. This table is created and managed during runtime. To help
> better diagnose performance issues caused by imbalanced tables, it needs
> make TX indirection tables visi
Impose a limit on the number of watches that a user can hold so that they
can't use this mechanism to fill up all the available memory.
This is done by putting a counter in user_struct that's incremented when a
watch is allocated and decreased when it is released. If the number
exceeds the RLIMIT
On 6/13/20 1:21 AM, Álvaro Fernández Rojas wrote:
> BCM6318, BCM6328, BCM6362 and BCM63268 SoCs have a power domain controller
> to enable/disable certain components in order to save power.
>
> v4: Fix device tree bindings documentation.
> v3: Introduce changes suggested by Florian:
> - Use dt-b
Hi!
Dalsi cech co hackuje LEDky?
> This series brings QCOM pwm-lpg and tri-led drivers from 4.14 that is
> required to support pmic-connected notification LED.
> This comes straight from downstream and I'm ready for your comments.
Yeah, so...
Bindings should go first, they may need to be conve
Hi Evgeny,
On Fri, Jul 24, 2020 at 9:00 PM Evgeny Novikov wrote:
>
> Hi Lad,
>
> Yet again I can not demonstrate you a nice error trace corresponding to the
> bug fixed by the patch. Indeed, there is a branch in vpif_probe() that
> explicitly invokes vpif_probe_complete() and the patch targets
Replace the existing /* fall through */ comments and its variants with
the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary
fall-through markings when it is the case.
[1]
https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-
Hi,
On Fri, Jul 24, 2020 at 2:33 PM Stephen Boyd wrote:
>
> Enable the main power supply (vdd) and digital IO power supply (svdd)
> during probe so that the i2c communication and device works properly on
> boards that aggressively power gate these supplies.
>
> Cc: Gwendal Grignou
> Cc: Daniel C
Please pull:
git://linux-nfs.org/~bfields/linux.git tags/nfsd-5.8-2
This is just one fix for a NULL dereference if someone happens to read
/proc/fs/nfsd/client/../state at the wrong moment.
--b.
J. Bruce Fields (1):
nfsd4: fix NULL dereference in nfsd/clients display code
fs/nfsd/nfs4
Hi Arnd, Olof,
On 7/24/20 2:42 PM, Grygorii Strashko wrote:
Since commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the
KSZ9031 PHY") the networking is broken on keystone-k2g-evm board.
The above board have phy-mode = "rgmii-id" and it is worked before because
KSZ9031 PHY started
Hi,
On Fri, Jul 24, 2020 at 2:33 PM Stephen Boyd wrote:
>
> This struct member isn't used. Drop it.
>
> Cc: Gwendal Grignou
> Cc: Daniel Campello
> Cc: Hartmut Knaack
> Cc: Lars-Peter Clausen
> Cc: Peter Meerwald-Stadler
> Cc: Douglas Anderson
> Fixes: 72ad02b15d63 ("iio: Add SEMTECH SX9310
Hi,
On Fri, Jul 24, 2020 at 2:33 PM Stephen Boyd wrote:
>
> This is an unsigned value, actually it's a u8 but regmap doesn't handle
> that easily. Let's make it unsigned throughout so that we don't need to
> worry about signed vs. unsigned comparison behavior.
>
> Cc: Gwendal Grignou
> Cc: Danie
Subject: sched,tracing: Convert to sched_set_fifo()
From: Peter Zijlstra
Date: Mon, 20 Jul 2020 23:49:18 +0200
One module user of sched_setscheduler() was overlooked and is
obviously causing build failures.
Convert ring_buffer_benchmark to use sched_set_fifo_low() when fifo==1
and sched_set_fi
On Fri, 24 Jul 2020 23:39:11 +0200
pet...@infradead.org wrote:
> On Mon, Jul 20, 2020 at 11:49:18PM +0200, Peter Zijlstra wrote:
> > Steve, would this work for you, or would you prefer renaming the
> > parameters as well?
>
> Steve mentioned he's like to have the parameters changes after all.
>
On 7/24/20 2:14 PM, Jacob Keller wrote:
On 7/23/2020 12:35 PM, Eric Dumazet wrote:
On 7/23/20 11:21 AM, Mark Salyzyn wrote:
Many of the nla_get_* inlines fail to check attribute's length before
copying the content resulting in possible out-of-boundary accesses.
Adjust the inlines to perform nl
To perform partial reads, callers of kernel_read_file*() must have a
non-NULL file_size argument and a preallocated buffer. The new "offset"
argument can then be used to seek to specific locations in the file to
fill the buffer to, at most, "buf_size" per call.
Where possible, the LSM hooks can re
From: Scott Branden
Add additional hooks to test_firmware to pass in support
for partial file read using request_firmware_into_buf():
buf_size: size of buffer to request firmware into
partial: indicates that a partial file request is being made
file_offset: to indicate of
Since commit bcf3440c6dd7 ("net: phy: micrel: add phy-mode support for the
KSZ9031 PHY") the networking is broken on keystone-k2g-evm board.
The above board have phy-mode = "rgmii-id" and it is worked before because
KSZ9031 PHY started with default RGMII internal delays configuration (TX
off, RX o
From: Scott Branden
Add request_partial_firmware_into_buf() to allow for portions of a
firmware file to be read into a buffer. This is needed when large firmware
must be loaded in portions from a file on memory constrained systems.
Signed-off-by: Scott Branden
Co-developed-by: Kees Cook
Signed
Instead of passing opt_flags around so much, store it in the private
structure so it can be examined by internals without needing to add more
arguments to functions.
Co-developed-by: Scott Branden
Signed-off-by: Scott Branden
Signed-off-by: Kees Cook
---
drivers/base/firmware_loader/fallback.c
Hi,
On Fri, Jul 24, 2020 at 2:17 PM Stephen Boyd wrote:
>
> From: Stephen Boyd
>
> The busy loop in rpmh_rsc_send_data() is written with the assumption
> that the udelay will be preempted by the tcs_tx_done() irq handler when
> the TCS slots are all full. This doesn't hold true when the calling
The pull request you sent on Fri, 24 Jul 2020 13:09:39 +0200:
> git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git tags/mmc-v5.8-rc5
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b85bcb784fd84ef854f6a6d03a0c48c207d0b0ec
Thank you!
--
Deet-doot-dot, I am a b
The pull request you sent on Fri, 24 Jul 2020 14:47:39 -0300:
> git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git tags/for-linus
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/fcef1046eb1b78c98105e9b68e48df6022c23a06
Thank you!
--
Deet-doot-dot, I am a bot
The pull request you sent on Fri, 24 Jul 2020 10:49:14 -0600:
> git://git.kernel.dk/linux-block.git tags/io_uring-5.8-2020-07-24
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1f68f31b51507e1ad647aa3a43c295eb024490ad
Thank you!
--
Deet-doot-dot, I am a bot.
https://
The pull request you sent on Fri, 24 Jul 2020 19:16:44 +0100:
> git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git fixes
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c953d60b1180c4a59a55b72fecd278d264d60f5b
Thank you!
--
Deet-doot-dot, I am a bot.
https://
The pull request you sent on Fri, 24 Jul 2020 14:56:40 +1000:
> git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2020-07-24
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/88fff0b7dcc132c924d710d75d1401264b6d0ef6
Thank you!
--
Deet-doot-dot, I am a bot.
https://k
The pull request you sent on Fri, 24 Jul 2020 21:27:32 +0200:
> git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-current
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c615035b29c3628a35ece192046e0e6658d96ab3
Thank you!
--
Deet-doot-dot, I am a bo
The pull request you sent on Fri, 24 Jul 2020 13:21:32 +0200:
> git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.8-rc6-tag
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/0669704270e142483d80cfda5c526426c1a89711
Thank you!
--
Deet-doot-dot, I am a
The pull request you sent on Fri, 24 Jul 2020 20:26:44 +0200:
> git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git
> tags/iommu-fix-v5.8-rc6
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/5a0b8af0719fd0710d9d1a9ad83b7fbdf4bfca66
Thank you!
--
Deet-doot-do
The pull request you sent on Fri, 24 Jul 2020 12:52:36 +0100:
> git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git tags/arm64-fixes
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c6d686047456bd3e36dce7de95375890fb8b7dd9
Thank you!
--
Deet-doot-dot, I am a
On Mon, Jul 20, 2020 at 11:49:18PM +0200, Peter Zijlstra wrote:
> Steve, would this work for you, or would you prefer renaming the
> parameters as well?
Steve mentioned he's like to have the parameters changes after all.
How's this then?
---
Subject: sched,tracing: Convert to sched_set_fifo()
Fro
v3:
- add reviews/acks
- add "IMA: Add support for file reads without contents" patch
- trim CC list, in case that's why vger ignored v2
v2: [missing from lkml archives! (CC list too long?) repeating changes here]
- fix issues in firmware test suite
- add firmware partial read patches
- various bug
FIRMWARE_PREALLOC_BUFFER is a "how", not a "what", and confuses the LSMs
that are interested in filtering between types of things. The "how"
should be an internal detail made uninteresting to the LSMs.
Fixes: a098ecd2fa7d ("firmware: support loading into a pre-allocated buffer")
Fixes: fd90bc559bf
From: Fenglin Wu
Add documentation for pwm-qti-lpg
Signed-off-by: Fenglin Wu
Signed-off-by: Martin Botka
---
.../devicetree/bindings/pwm/pwm-qti-lpg.txt | 163 ++
1 file changed, 163 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pwm/pwm-qti-lpg.txt
dif
In preparation for further refactoring of kernel_read_file*(), rename
the "max_size" argument to the more accurate "buf_size", and correct
its type to size_t. Add kerndoc to explain the specifics of how the
arguments will be used. Note that with buf_size now size_t, it can no
longer be negative (an
Hello,
This series brings QCOM pwm-lpg and tri-led drivers from 4.14 that is required
to support pmic-connected notification LED.
This comes straight from downstream and I'm ready for your comments.
Fenglin Wu (6):
pwm: Add different PWM output types support
pwm: core: Add option to config PW
From: Fenglin Wu
QTI TRI_LED module has 3 current sinks at max for LED driver and
each is controlled by a PWM channel used for LED dimming or blinking.
Add the driver to support it.
Signed-off-by: Fenglin Wu
[martin.botka1@@gmail.com: Fast-forward the driver from kernel 4.14 to 5.8]
Signed-off-
In preparation for adding partial read support, add an optional output
argument to kernel_read_file*() that reports the file size so callers
can reason more easily about their reading progress.
Acked-by: Scott Branden
Signed-off-by: Kees Cook
---
drivers/base/firmware_loader/main.c | 1 +
fs/k
These routines are used in places outside of exec(2), so in preparation
for refactoring them, move them into a separate source file,
fs/kernel_read_file.c.
Acked-by: Scott Branden
Signed-off-by: Kees Cook
---
fs/Makefile | 3 +-
fs/exec.c | 132 --
From: Fenglin Wu
Add pwm_chip to support QTI LPG module and export LPG channels as
PWM devices for consumer drivers' usage.
Signed-off-by: Fenglin Wu
[martin.bot...@gmail.com: Fast-forward the driver from kernel 4.14 to 5.8]
Signed-off-by: Martin Botka
---
drivers/pwm/Kconfig | 10 +
From: Fenglin Wu
Add documentation for qti-tri-led
Signed-off-by: Fenglin Wu
Signed-off-by: Martin Botka
---
.../bindings/leds/leds-qti-tri-led.txt| 72 +++
1 file changed, 72 insertions(+)
create mode 100644 Documentation/devicetree/bindings/leds/leds-qti-tri-led.txt
From: Fenglin Wu
Normally, PWM channel has fixed output until software request to change
its settings. There are some PWM devices which their outputs could be
changed autonomously according to a predefined pattern programmed in
hardware. Add pwm_output_type enum type to identify these two differe
From: Fenglin Wu
Currently, PWM core driver provides interfaces for configuring PWM
period and duty length in nanoseconds with an integer data type, so
the max period can be only set to ~2.147 seconds. Add interfaces which
can set PWM period and duty with u64 data type to remove this
limitation.
201 - 300 of 1414 matches
Mail list logo