* Gautham R Shenoy [2020-07-07 16:41:35]:
> From: "Gautham R. Shenoy"
>
> As per the PAPR, each H_CEDE call is associated with a latency-hint to
> be passed in the VPA field "cede_latency_hint". The CEDE states that
> we were implicitly entering so far is CEDE with latency-hint = 0.
>
> This
Hi Pratik,
On Fri, Jul 17, 2020 at 02:48:01PM +0530, Pratik Rajesh Sampat wrote:
> This patch adds support to trace IPI based and timer based wakeup
> latency from idle states
>
> Latches onto the test-cpuidle_latency kernel module using the debugfs
> interface to send IPIs or schedule a timer
Fix the fallthrough warning that is reported by checkpatch.
Signed-off-by: Marian Posteuca
---
drivers/staging/fsl-dpaa2/ethsw/ethsw.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/fsl-dpaa2/ethsw/ethsw.c
b/drivers/staging/fsl-dpaa2/ethsw/ethsw.c
index
From: Qiwu Huang
Interface to control wireless reverse charge.
Supply reverse charge function when enabled.
Signed-off-by: Qiwu Huang
---
Documentation/ABI/testing/sysfs-class-power | 12
drivers/power/supply/power_supply_sysfs.c | 1 +
include/linux/power_supply.h
From: Qiwu Huang
Reports the kind of quick charge type based on
different adapter power.
Signed-off-by: Qiwu Huang
---
Documentation/ABI/testing/sysfs-class-power | 21 +
drivers/power/supply/power_supply_sysfs.c | 1 +
include/linux/power_supply.h| 10
* Gautham R Shenoy [2020-07-07 16:41:34]:
> From: "Gautham R. Shenoy"
>
> Hi,
>
> On pseries Dedicated Linux LPARs, apart from the polling snooze idle
> state, we currently have the CEDE idle state which cedes the CPU to
> the hypervisor with latency-hint = 0.
>
> However, the PowerVM
From: Qiwu Huang
Reports what type of wireless adapter connection is
currently active for the supply.
for example it can show if ADAPTER_PD capable source is attached.
Signed-off-by: Qiwu Huang
---
Documentation/ABI/testing/sysfs-class-power | 28 +
From: Qiwu Huang
quick_charge_type reports quick charge type based on charging power.
tx_adapter shows wireless charging adapter type.
signal_strength shows degree of coupling between tx and rx when wireless
charging.
reverse_chg_mode supply interface to enable/disable wireless reverse
From: Qiwu Huang
reports wireless signal strength.
The value show degree of coupling between tx and rx.
Signed-off-by: Qiwu Huang
---
Documentation/ABI/testing/sysfs-class-power | 10 ++
drivers/power/supply/power_supply_sysfs.c | 1 +
include/linux/power_supply.h|
在 2020/7/19 下午11:14, Alexander Duyck 写道:
>> Compare to move to tail, how about to move it to head of struct, which is
>> close to lru list? Did you have some data of the place change?
> I don't have specific data, just anecdotal evidence from the past that
> usually you want to keep locks away
On 18. 07. 20, 19:44, Christian Brauner wrote:
> On Sat, Jul 18, 2020 at 07:14:07PM +0200, Oleg Nesterov wrote:
>> On 07/18, Jiri Slaby wrote:
>>>
>>> On 17. 07. 20, 14:40, Oleg Nesterov wrote:
please see the updated patch below, lets check ptrace_unfreeze() too.
>>>
>>> Sure, dmesg
On 7/19/20 9:42 PM, Tzung-Bi Shih wrote:
> On Sun, Jul 19, 2020 at 8:30 AM Randy Dunlap wrote:
>>
>> Drop the repeated word "using" in a comment.
>>
>> Signed-off-by: Randy Dunlap
>> Cc: Tzung-Bi Shih
>> Cc: Mark Brown
>> ---
>
> I guess you didn't include the maintainers:
> Benson Leung
On Fri, Jul 17, 2020 at 10:12 PM Daniel Lezcano
wrote:
>
> The initcalls like to play joke. In our case, the thermal-netlink
> initcall is called after the thermal-core initcall but this one sends
> a notification before the former is initialzed. No issue was spotted,
typo: initialized
> but it
>From 4cb977d34227e4bafa95b8da5e47dbd8b6141d26 Mon Sep 17 00:00:00 2001
From: Alex Shi
Date: Mon, 20 Jul 2020 11:50:12 +0800
Subject: [PATCH v2] mm/vmstat: don't do count if no needs
For couple of vmstat account funcs, the caller usually doesn't check the
delta value, if delta == 0, irq or
On Fri, Jul 17, 2020 at 10:12 PM Daniel Lezcano
wrote:
>
> The generic netlink is initialized at subsys_initcall, so far after
> the thermal init routine and the thermal generic netlink family
> initialization.
>
> On ŝome platforms, that leads to a memory corruption.
>
> The fix was sent to
Hi all,
On Tue, 14 Jul 2020 13:50:12 +1000 Stephen Rothwell
wrote:
>
> On Tue, 7 Jul 2020 12:33:01 +1000 Stephen Rothwell
> wrote:
> >
> > On Tue, 30 Jun 2020 12:54:59 +1000 Stephen Rothwell
> > wrote:
> > >
> > > On Mon, 22 Jun 2020 11:37:00 +1000 Stephen Rothwell
> > > wrote:
> >
On Sun, Jul 19, 2020 at 11:12:07PM +0530, Amit Singh Tomar wrote:
> This commit adds uSD support for Cubieboard7 board based on Actions Semi
> S700 SoC. SD0 is connected to uSD slot. Since there is no PMIC support
> added yet, fixed regulator has been used as a regulator node.
>
> Signed-off-by:
On Mon, Jul 20, 2020 at 10:46 AM Finn Thain wrote:
>
> On Sun, 24 Nov 2019, Masahiro Yamada wrote:
>
> > Collect the ignored patterns to is_ignored_symbol().
> >
> > Signed-off-by: Masahiro Yamada
>
> This commit (887df76de67f5) caused a regression in my powerpc builds as it
> causes symbol
On Wed, Jul 15, 2020 at 1:11 PM Daniel Lezcano
wrote:
>
> The generic netlink is initialized far after the netlink protocol
> itself at subsys_initcall. The devlink is initialized at the same
> level, but after, as shown by a disassembly of the vmlinux:
>
> [ ... ]
> 374 8000115f22c0
On Wed, Jul 15, 2020 at 2:46 PM Hao Luo wrote:
>
> Extend ksyms.c selftest to make sure BTF enables direct loads of ksyms.
>
> Note that test is done against the kernel btf extended with kernel VARs.
>
> Signed-off-by: Hao Luo
> ---
> tools/testing/selftests/bpf/prog_tests/ksyms.c | 2 ++
>
usb_free_coherent() is safe with NULL addr and this check is
not required.
Signed-off-by: Xu Wang
---
drivers/usb/misc/appledisplay.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/usb/misc/appledisplay.c b/drivers/usb/misc/appledisplay.c
index
Hi all,
Today's linux-next merge of the staging tree got a conflict in:
drivers/iio/magnetometer/ak8974.c
between commit:
0187294d227d ("iio: magnetometer: ak8974: Fix runtime PM imbalance on error")
from Linus' tree and commit:
d3be83244c7d ("iio: remove explicit IIO device parent
For couple of vmstat account funcs, the caller usually doesn't check the
delta value, if delta == 0, irq or atomic operator is a waste. That's
better to be skipped.
Signed-off-by: Alex Shi
Cc: Andrew Morton
Cc: linux...@kvack.org
Cc: linux-kernel@vger.kernel.org
---
mm/vmstat.c | 24
On Wed, Jul 15, 2020 at 2:45 PM Hao Luo wrote:
>
> Previous commits:
>
> commit 1c0c7074fefd ("libbpf: Add support for extracting kernel symbol
> addresses")
> commit 2e33efe32e01 ("libbpf: Generalize libbpf externs support")
>
> have introduced a new type of extern variable ksyms to access
On Mon, Jul 20, 2020 at 12:12:30PM +0800, Jason Wang wrote:
>
> On 2020/7/19 上午3:49, Eli Cohen wrote:
> >On Fri, Jul 17, 2020 at 04:57:29PM +0800, Jason Wang wrote:
> >>>Looks like checking intialized is enough. Will fix this.
> >+
> >+static void mlx5_vdpa_set_vq_ready(struct vdpa_device
On Sun, 19 Jul 2020 at 17:34, Alexander A. Klimov
wrote:
> diff --git a/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt
> b/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt
> index 86446074e206..4f3cf91b3b7f 100644
> --- a/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt
> +++
Hi Sameer
> >> diff --git a/sound/soc/generic/audio-graph-card.c
> >> b/sound/soc/generic/audio-graph-card.c
> >> index 1e20562..b1903f9 100644
> >> --- a/sound/soc/generic/audio-graph-card.c
> >> +++ b/sound/soc/generic/audio-graph-card.c
> >> @@ -201,8 +201,7 @@ static void
Since there is slight difference in AMD RV based soc in misc
clk architecture. The fmw property will help in differentiating
the SoCs.
Signed-off-by: Akshu Agrawal
---
drivers/acpi/acpi_apd.c | 4
include/linux/platform_data/clk-fch.h | 1 +
2 files changed, 5 insertions(+)
AMD SoC general pupose clk is present in new platforms with
same MMIO mappings. We can reuse the same clk handler support
for other platforms. Hence, changing name from ST(SoC) to FCH(IP)
Signed-off-by: Akshu Agrawal
---
drivers/acpi/acpi_apd.c| 14 +++---
There is minor difference between previous family of SoC and
the current one. Which is the there is only 48Mh fixed clk.
There is no mux and no option to select another freq as there in previous.
Signed-off-by: Akshu Agrawal
---
v2: Consolidated the loops in remove.
drivers/clk/x86/clk-fch.c |
AMD SoC general pupose clk is present in new platforms with
minor differences. We can reuse the same clk driver for other
platforms. Hence, changing name from ST(SoC) to FCH(IP)
Signed-off-by: Akshu Agrawal
---
drivers/clk/x86/Makefile| 2 +-
drivers/clk/x86/{clk-st.c =>
On Fri, Jul 17, 2020 at 02:48:00PM +0530, Pratik Rajesh Sampat wrote:
> Fire directed smp_call_function_single IPIs from a specified source
> CPU to the specified target CPU to reduce the noise we have to wade
> through in the trace log.
> The module is based on the idea written by Srivatsa Bhat
On 7/16/2020 6:12 AM, Stephen Boyd wrote:
Quoting Akshu Agrawal (2020-07-12 17:59:50)
diff --git a/drivers/clk/x86/clk-st.c b/drivers/clk/x86/clk-fch.c
similarity index 73%
rename from drivers/clk/x86/clk-st.c
rename to drivers/clk/x86/clk-fch.c
index 25d4b97aff9b..b252f0cf0628 100644
---
On 7/16/2020 6:33 AM, Stephen Boyd wrote:
Quoting Akshu Agrawal (2020-07-12 17:59:52)
There is minor difference between previous family of SoC and
the current one. Which is the there is only 48Mh fixed clk.
There is no mux and no option to select another freq as there in previous.
From: Joonsoo Kim
There is a well-defined migration target allocation callback. Use it.
Acked-by: Vlastimil Babka
Acked-by: Michal Hocko
Signed-off-by: Joonsoo Kim
---
mm/gup.c | 54 ++
1 file changed, 6 insertions(+), 48 deletions(-)
From: Joonsoo Kim
new_non_cma_page() in gup.c requires to allocate the new page that is not
on the CMA area. new_non_cma_page() implements it by using allocation
scope APIs.
However, there is a work-around for hugetlb. Normal hugetlb page
allocation API for migration is
From: Joonsoo Kim
Currently, preventing cma area in page allocation is implemented by using
current_gfp_context(). However, there are two problems of this
implementation.
First, this doesn't work for allocation fastpath. In the fastpath,
original gfp_mask is used since current_gfp_context() is
From: Joonsoo Kim
We have well defined scope API to exclude CMA region.
Use it rather than manipulating gfp_mask manually. With this change,
we can now restore __GFP_MOVABLE for gfp_mask like as usual migration
target allocation. It would result in that the ZONE_MOVABLE is also
searched by page
On Sun, Jul 19, 2020 at 05:58:45PM +0200, Alexander A. Klimov wrote:
> Rationale:
> Reduces attack surface on kernel devs opening the links for MITM
> as HTTPS traffic is much harder to manipulate.
>
> Deterministic algorithm:
> For each file:
> If not .svg:
> For each line:
> If
Hi Sameer
> >> +_admaif {
> >> + admaif_port: port {
> >> + admaif0: endpoint@0 {
> >> + remote-endpoint = <_admaif0>;
> >> + };
> >> + admaif1: endpoint@1 {
> >> + remote-endpoint = <_admaif1>;
> >> +
On Sun, Jul 19, 2020 at 8:15 PM Shawn Guo wrote:
>
> On Wed, Jul 15, 2020 at 02:22:27PM -0700, Chris Healy wrote:
> > Disable Ethernet switch reset GPIO with ZII platforms that have it
> > enabled to sync up with existing ZII platforms that already have
> > it disabled.
>
> I do not follow it.
On Mon, 20 Jul 2020, Alex Shi wrote:
> 在 2020/7/19 下午11:23, Hugh Dickins 写道:
> > I noticed that 5.8-rc5, with lrulock v16 applied, took significantly
> > longer to run loads than without it applied, when there should have been
> > only slight differences in system time. Comparing /proc/vmstat,
On Sun, 19 Jul 2020 at 22:13, Guenter Roeck wrote:
>
> On Fri, May 01, 2020 at 10:08:32AM -0500, Eddie James wrote:
> > The P10 OCC has a different SRAM address for the command and response
> > buffers. In addition, the SBE commands to access the SRAM have changed
> > format. Add versioning to
On Sun, Jul 19, 2020 at 8:30 AM Randy Dunlap wrote:
>
> Drop the repeated word "using" in a comment.
>
> Signed-off-by: Randy Dunlap
> Cc: Tzung-Bi Shih
> Cc: Mark Brown
> ---
I guess you didn't include the maintainers:
Benson Leung (maintainer:CHROMEOS EC SUBDRIVERS)
Enric Balletbo i Serra
On 7/17/20 10:48 AM, Sowjanya Komatineni wrote:
On 7/17/20 10:38 AM, Sowjanya Komatineni wrote:
On 7/17/20 10:23 AM, Sowjanya Komatineni wrote:
On 7/17/20 10:08 AM, Hans Verkuil wrote:
On 17/07/2020 18:34, Sowjanya Komatineni wrote:
On 7/17/20 3:54 AM, Hans Verkuil wrote:
Hi Sowjanya,
Qian Cai writes:
> On Mon, Jul 20, 2020 at 03:32:59AM +, Huang, Ying wrote:
>> Thanks! Can you try the dbg patch attached? That will print more debugging
>> information when abnormal PTE pointer is detected.
>
> Here with both of your patches applied,
>
> [ 183.627876][ T3959] ra_info:
Hi Nick,
On 7/13/20 11:22 AM, Nicholas Piggin wrote:
Excerpts from Pratik Rajesh Sampat's message of July 10, 2020 3:22 pm:
Additional registers DAWR0, DAWRX0 may be lost on Power 10 for
stop levels < 4.
Therefore save the values of these SPRs before entering a "stop"
state and restore their
On 7/18/2020 12:26 AM, Rob Herring wrote:
On Thu, Jul 16, 2020 at 11:52 PM Rajendra Nayak wrote:
On 7/17/2020 1:29 AM, Rob Herring wrote:
On Thu, Jul 16, 2020 at 11:12:16AM +0530, Rajendra Nayak wrote:
Add an optional power domain which when specified can be used for
setting the
Hi Pratik,
On 7/10/20 10:52 AM, Pratik Rajesh Sampat wrote:
Additional registers DAWR0, DAWRX0 may be lost on Power 10 for
stop levels < 4.
p10 has one more pair DAWR1/DAWRX1. Please include that as well.
Ravi
Hi Johnson,
On Mon, 20 Jul 2020 03:46:15 + Johnson CH Chen (陳昭勳)
wrote:
>
> > On Fri, 17 Jul 2020 09:49:05 -0700 Randy Dunlap
> > wrote:
> > > on x86_64:
> > > # CONFIG_WATCHDOG is not set
> > >
>
> Thanks for your information.
>
> It seems RTC_DRV_DS1374_WDT should be depended on
On 7/20/2020 5:40 AM, Kuninori Morimoto wrote:
External email: Use caution opening links or attachments
Hi Sameer
+_admaif {
+ admaif_port: port {
+ admaif0: endpoint@0 {
+ remote-endpoint = <_admaif0>;
+ };
+ admaif1: endpoint@1
In the current xarray code, the negative value -1 and -4095 represented
as an error.
xa_is_err(xa_mk_internal(-4095)) and xa_is_err(xa_mk_internal(-1))
are all return true.
This patch update the document.
Signed-off-by: Wang Long
---
include/linux/xarray.h | 2 +-
1 file changed, 1
On 7/20/2020 5:07 AM, Kuninori Morimoto wrote:
External email: Use caution opening links or attachments
Hi Sameer
If a Codec port has multiple endpoints, only first endpoint gets parsed
and remaining are ignored. This can be fixed by removing 'dup_codec' flag
passed to
Hi,
> On Jul 1, 2020, at 5:32 AM, Vineeth Remanan Pillai
> wrote:
>
> From: Peter Zijlstra
>
> When a sibling is forced-idle to match the core-cookie; search for
> matching tasks to fill the core.
>
> rcu_read_unlock() can incur an infrequent deadlock in
> sched_core_balance(). Fix this by
On 2020/7/16 下午6:25, Eli Cohen wrote:
On Thu, Jul 16, 2020 at 05:35:18PM +0800, Jason Wang wrote:
On 2020/7/16 下午4:21, Eli Cohen wrote:
On Thu, Jul 16, 2020 at 04:11:00PM +0800, Jason Wang wrote:
On 2020/7/16 下午3:23, Eli Cohen wrote:
Currently, get_vq_state() is used only to pass the
usb_free_coherent() is safe with NULL addr and this check is
not required.
Signed-off-by: Xu Wang
---
drivers/media/usb/b2c2/flexcop-usb.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/media/usb/b2c2/flexcop-usb.c
b/drivers/media/usb/b2c2/flexcop-usb.c
index
On 2020/7/19 上午3:49, Eli Cohen wrote:
On Fri, Jul 17, 2020 at 04:57:29PM +0800, Jason Wang wrote:
Looks like checking intialized is enough. Will fix this.
+
+static void mlx5_vdpa_set_vq_ready(struct vdpa_device *vdev, u16 idx, bool
ready)
+{
+ struct mlx5_vdpa_dev *mvdev =
On 7/19/20 20:58, Wang Long wrote:
> xa_is_error(xa_mk_internal(-4095)) and xa_is_error(xa_mk_internal(-1))
> are all return true.
's/xa_is_error()/xa_is_err()/` ?
Reviewed-by: Chaitanya Kulkarni
Hi Uros,
On Fri, 17 Jul 2020 09:31:18 +0200 Uros Bizjak wrote:
>
> Please find attached the incremental patch that puts back integer
> parts of inst.h. This resolves the conflict with the tip tree.
The tip tree change needs the XMM parts kept as well, sorry.
So I ended up just removing the
Hi Sam,
On 19-07-20, 19:18, Sam Ravnborg wrote:
> Hi Vinod.
>
> Three trivial points below.
> The rest looks good.
>
> With these fixed you can add:
> Reviewed-by: Sam Ravnborg
Thanks, I will send an update with nits fixed
--
~Vinod
Merged into cifs-2.6.git for-next
On Sun, Jul 19, 2020 at 7:14 PM Randy Dunlap wrote:
>
> Drop repeated words in multiple comments.
> (be, use, the, See)
>
> Signed-off-by: Randy Dunlap
> Cc: Steve French
> Cc: linux-c...@vger.kernel.org
> Cc: samba-techni...@lists.samba.org
> ---
>
In the current xarray code, the negative value -1 and -4095 represented
as an error.
xa_is_error(xa_mk_internal(-4095)) and xa_is_error(xa_mk_internal(-1))
are all return true.
This patch update the document.
Signed-off-by: Wang Long
---
include/linux/xarray.h | 2 +-
1 file changed, 1
Were you able to patch my driver successfully?
-Original Message-
From: Shreyas Joshi
Sent: Saturday, 11 July 2020 7:17 AM
To: broo...@kernel.org; linux-...@vger.kernel.org; shreyasjosh...@gmail.com
Cc: linux-kernel@vger.kernel.org; Shreyas Joshi
Subject: [PATCH] spi: spi-cadence: add
On Mon, Jul 20, 2020 at 03:32:59AM +, Huang, Ying wrote:
> Thanks! Can you try the dbg patch attached? That will print more debugging
> information when abnormal PTE pointer is detected.
Here with both of your patches applied,
[ 183.627876][ T3959] ra_info: 8, 3, 4, aabe3209
[
On Sat, Jul 18, 2020 at 01:36:16AM +0200, Thomas Gleixner wrote:
> Vineeth, Joel!
Hi Thomas,
> Vineeth Remanan Pillai writes:
> > From: "Joel Fernandes (Google)"
> >
> > Lastly, we also check in the schedule loop if we are about to schedule
> > an untrusted process while the core is in such a
Hi David, Jakub,
This patch series addresses the overloading of a DSA CPU/management
interface's netdev_ops for the purpose of providing useful information
from the switch side.
Up until now we had duplicated the existing netdev_ops structure and
added specific function pointers to return
Make the core net_device code call into our ndo_do_ioctl() and
ndo_get_phys_port_name() functions via the wrappers defined previously
Signed-off-by: Florian Fainelli
---
net/core/dev.c | 5 +
net/core/dev_ioctl.c | 5 +
2 files changed, 10 insertions(+)
diff --git
Now that we have all the infrastructure in place for calling into the
dsa_ptr->netdev_ops function pointers, install them when we configure
the DSA CPU/management interface and tear them down. The flow is
unchanged from before, but now we preserve equality of tests when
network device drivers do
In preparation for adding another layer of call into a DSA stacked ops
singleton, wrap the ndo_do_ioctl() call into dev_do_ioctl().
Reviewed-by: Andrew Lunn
Signed-off-by: Florian Fainelli
---
net/core/dev_ioctl.c | 24 +---
1 file changed, 17 insertions(+), 7 deletions(-)
Add definitions for the dsa_netdevice_ops structure which is a subset of
the net_device_ops structure for the specific operations that we care
about overlaying on top of the DSA CPU port net_device and provide
inline stubs that take core managing whether DSA code is reachable.
Signed-off-by:
Hi,
thanks for the new RC.
I wonder why there is a time gap between tagging v5.8-rc6 in [1]
(first) and [2] (15-16mins later).
Can you explain that?
( Here it is UTC+2 means 9 hours ahead of your local-time - I started
my build 01:02 a.m. local-time. )
Thanks.
Regards,
- Sedat -
[1]
Hi Stephen,
> From: Stephen Rothwell
> Sent: Saturday, July 18, 2020 9:39 AM
> To: Randy Dunlap
> Cc: Linux Next Mailing List ; Linux Kernel Mailing
> List ; linux-...@vger.kernel.org; Alessandro
> Zummo ; Alexandre Belloni
> ; Scott Wood ;
> Johnson CH Chen (陳昭勳)
> Subject: Re: linux-next:
On Fri, Jul 17, 2020 at 2:11 PM Ravi Bangoria
wrote:
>
> So far Book3S Powerpc supported only one watchpoint. Power10 is
> introducing 2nd DAWR. Enable 2nd DAWR support for Power10.
> Availability of 2nd DAWR will depend on CPU_FTR_DAWR1.
>
> Signed-off-by: Ravi Bangoria
> ---
>
In the current xarray code, the negative value -1 and -4095 represented
as an error.
xa_is_error(xa_mk_internal(-4095)) and xa_is_error(xa_mk_internal(-1))
are all return true.
This patch update the document.
Signed-off-by: Wang Long
---
include/linux/xarray.h | 2 +-
1 file changed, 1
> On Wed, 2020-07-15 at 00:51 +, Peter Chen wrote:
> >
> > > The Toradex Colibri iMX6ULL board has a special USB hardware design.
> > > With runtime-pm enabled USB reset itself continuously. Furthermore
> > > the OTG port is also not enumerating devices if the Chipidea IP is
> > > in runtime
When application provided buffer size less than sockaddr_storage, then
kernel will overwrite some memory area which may cause memory corruption,
e.g.: in recvmsg case, let msg_name=malloc(8) and msg_namelen=8, then
usually application can call recvmsg successful but actually application
memory get
On 7/17/20 2:29 PM, Josh Poimboeuf wrote:
Use of the new -flive-patching flag was introduced with the following
commit:
43bd3a95c98e ("kbuild: use -flive-patching when CONFIG_LIVEPATCH is enabled")
This flag has several drawbacks:
[ ... snip ... ]
- While there *is* a distro which relies
Thanks! Can you try the dbg patch attached? That will print more debugging
information when abnormal PTE pointer is detected.
Best Regards,
Huang, Ying
From: Qian Cai [c...@lca.pw]
Sent: Monday, July 20, 2020 10:12 AM
To: Huang, Ying
Cc: Linux-MM; LKML;
The return value of populate_vma_page_range() is consistent with
__get_user_pages(), and so is the function comment of return value.
Signed-off-by: Tang Yizhou
---
mm/gup.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mm/gup.c b/mm/gup.c
index 2cc5eba44362..a55f1ec712e9
On Fri, Jul 17, 2020 at 01:33:52PM +0530, Suniel Mahesh wrote:
> From: Michael Trimarchi
>
> The current pin muxing scheme muxes GPIO_1 pad for USB_OTG_ID
> because of which when card is inserted, usb otg is enumerated
> and the card is never detected.
>
> [ 64.492645] cfg80211: failed to
On Wed, Jul 15, 2020 at 03:07:58PM -0700, Chris Healy wrote:
> Add I2C child node for switch watchdog present on SPU3
>
> Signed-off-by: Chris Healy
Applied, thanks.
Remove unnecassary casts in the argument to kfree.
Signed-off-by: Xu Wang
---
drivers/net/ethernet/neterion/vxge/vxge-main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/neterion/vxge/vxge-main.c
b/drivers/net/ethernet/neterion/vxge/vxge-main.c
On Wed, Jul 15, 2020 at 02:31:48PM -0700, Chris Healy wrote:
> esdhc0 is connected to an eMMC, so it is safe to pass the "no-sdio"/"no-sd"
> properties.
>
> esdhc1 is wired to a standard SD socket, so pass the "no-sdio" property.
>
> Signed-off-by: Chris Healy
> Reviewed-by: Fabio Estevam
Hi Adrian,
Adrian Pop 于2020年7月19日周日 下午10:54写道:
>
> Hello Hua,
>
> Thank you for your review,
>
> On Tue, Jul 14, 2020 at 6:37 AM Hua Dillon wrote:
> >
> > Hi, Adrian,
> >
> > Just one suggestion for you.
> >
> > Adrian Pop 于2020年7月3日周五 上午1:30写道:
> > >
> > > STM32f769-disco features a 4" MIPI
mark staging/media/usbvision as obsolete so
checkpatch tells people not to send patches.
Signed-off-by: B K Karthik
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index a88bf0759c90..82120c2fcedd 100644
--- a/MAINTAINERS
+++
On Wed, Jul 15, 2020 at 02:22:27PM -0700, Chris Healy wrote:
> Disable Ethernet switch reset GPIO with ZII platforms that have it
> enabled to sync up with existing ZII platforms that already have
> it disabled.
I do not follow it. The reset GPIO is part of hardware description. We
shouldn't
On Mon, 2020-07-20 at 10:53 +0800, Wang Hai wrote:
> Fix sparse build warning:
>
> drivers/net/ethernet/amazon/ena/ena_netdev.c:2193:34: warning:
> Using plain integer as NULL pointer
[]
> diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.c
> b/drivers/net/ethernet/amazon/ena/ena_netdev.c
On Sun, Jul 19, 2020 at 3:22 PM Guenter Roeck wrote:
>
> On Fri, Jul 10, 2020 at 12:42:58AM +, Chu Lin wrote:
> > Problem:
> > adm1272 and adm1278 supports temperature sampling. The
> > current way of enabling it requires the user manually unbind the device
> > from the driver, flip the
Excerpts from Mathieu Desnoyers's message of July 17, 2020 11:42 pm:
> - On Jul 16, 2020, at 7:26 PM, Nicholas Piggin npig...@gmail.com wrote:
> [...]
>>
>> membarrier does replace barrier instructions on remote CPUs, which do
>> order accesses performed by the kernel on the user address
在 2020/7/19 下午11:23, Hugh Dickins 写道:
> I noticed that 5.8-rc5, with lrulock v16 applied, took significantly
> longer to run loads than without it applied, when there should have been
> only slight differences in system time. Comparing /proc/vmstat, something
> that stood out was "pgrotated 0"
Fix sparse build warning:
drivers/net/ethernet/amazon/ena/ena_netdev.c:2193:34: warning:
Using plain integer as NULL pointer
Reported-by: Hulk Robot
Signed-off-by: Wang Hai
Suggested-by: Joe Perches
Acked-by: Shay Agroskin
---
v1->v2:
Improve code readability based on Joe Perches's
Excerpts from Zefan Li's message of July 20, 2020 12:02 pm:
>> +static int vmap_pages_range_noflush(unsigned long start, unsigned long end,
>> +pgprot_t prot, struct page **pages,
>> +unsigned int page_shift)
>> +{
>> +if
On Fri, Jul 17, 2020 at 8:02 PM Cheng-Yi Chiang wrote:
> diff --git a/sound/soc/qcom/sc7180.c b/sound/soc/qcom/sc7180.c
> new file mode 100644
> index ..cbe6b487d432
> --- /dev/null
> +++ b/sound/soc/qcom/sc7180.c
> @@ -0,0 +1,410 @@
> +// SPDX-License-Identifier: GPL-2.0-only
> +/*
>
This patch intends to implement intmux PM.
ChangeLogs:
V1->V2:
1. add more detailed commit message.
2. use u32 for 32bit HW registers.
3. fix kbuild failures.
4. move trivial functions into their respective callers.
5. squash two patches together.
Joakim
On Sun, Jul 19, 2020 at 12:10:08PM +0200, Alexander A. Klimov wrote:
> Rationale:
> Reduces attack surface on kernel devs opening the links for MITM
> as HTTPS traffic is much harder to manipulate.
>
> Deterministic algorithm:
> For each file:
> If not .svg:
> For each line:
> If
When system suspended, we could explicitly disable clock to save power.
And we need save registers' state since it could be lost after power
off.
Implement PM which will:
1) Without CONFIG_PM, clock is always on after probe stage.
2) With CONFIG_PM, clock is off after probe stage.
3) Disable
On Tue, Jul 14, 2020 at 03:08:28PM +0800, Biwen Li wrote:
> From: Biwen Li
>
> Fix value of shunt-resistor property.
> The LX2160A-RDB has 500 uOhm shunt for
> the INA220, not 1000 uOhm. Unless
> it will get wrong power consumption(1/2)
>
> Signed-off-by: Biwen Li
Applied, thanks.
Hi Marc,
On 2020/7/17 19:07, Marc Zyngier wrote:
On Thu, 09 Jul 2020 14:49:59 +0100,
Zenghui Yu wrote:
The GICv4.1 spec tells us that it's CONSTRAINED UNPREDICTABLE to issue a
register-based invalidation operation for a vPEID not mapped to that RD,
or another RD within the same CommonLPIAff
To avoid mixup of packets from differnt ftrace packets simultaneously,
use different channel for packets from different CPU.
Signed-off-by: Tingwei Zhang
---
drivers/hwtracing/stm/ftrace.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/hwtracing/stm/ftrace.c
Only function traces can be exported to other destinations currently.
This patch exports event trace as well.
Signed-off-by: Tingwei Zhang
---
kernel/trace/trace.c | 24 +---
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/kernel/trace/trace.c
1 - 100 of 522 matches
Mail list logo