5.0-stable review patch. If anyone has any objections, please let me know.
--
From: Miaohe Lin
[ Upstream commit a843dc4ebaecd15fca1f4d35a97210f72ea1473b ]
In func check_6rd,tunnel->ip6rd.relay_prefixlen may equal to
32,so UBSAN complain about it.
UBSAN: Undefined behaviour i
5.0-stable review patch. If anyone has any objections, please let me know.
--
From: Soheil Hassas Yeganeh
[ Upstream commit 6466e715651f9f358e60c5ea4880e4731325827f ]
Returning 0 as inq to userspace indicates there is no more data to
read, and the application needs to wait for
5.0-stable review patch. If anyone has any objections, please let me know.
--
From: Eric Dumazet
[ Upstream commit 95d6ebd53c79522bf9502dbc7e89e0d63f94dae4 ]
In case of failure x25_connect() does a x25_neigh_put(x25->neighbour)
but forgets to clear x25->neighbour pointer, thus
5.0-stable review patch. If anyone has any objections, please let me know.
--
From: Masaru Nagai
[ Upstream commit ae9819e339b451da7a86ab6fe38ecfcb6814e78a ]
Hardware has the CBS (Credit Based Shaper) which affects only Q3
and Q2. When updating the CBS settings, even if the dr
5.0-stable review patch. If anyone has any objections, please let me know.
--
From: Eric Dumazet
[ Upstream commit ee74d0bd4325efb41e38affe5955f920ed973f23 ]
In case x25_connect() fails and frees the socket neighbour,
we also need to undo the change done to x25->state.
Before
5.0-stable review patch. If anyone has any objections, please let me know.
--
From: Xin Long
[ Upstream commit ee60ad219f5c7c4fb2f047f88037770063ef785f ]
The race occurs in __mkroute_output() when 2 threads lookup a dst:
CPU A CPU B
find_exception()
5.0-stable review patch. If anyone has any objections, please let me know.
--
From: Xin Long
[ Upstream commit 9417d81f4f8adfe20a12dd1fadf73a618cbd945d ]
sk_setup_caps() is called to set sk->sk_dst_cache in pptp_connect,
so we have to dst_release(sk->sk_dst_cache) in pptp_sock
5.0-stable review patch. If anyone has any objections, please let me know.
--
From: Li RongQing
[ Upstream commit 6d2b0f02f5a07a4bf02e4cbc90d7eaa85cac2986 ]
proc_exit_connector() uses ->real_parent lockless. This is not
safe that its parent can go away at any moment, so use RC
On Mär 15 2019, Yash Shah wrote:
> Use the open-source FSBL from:
> https://github.com/sifive/freedom-u540-c000-bootloader
>
> Modify the fsbl/ux00_fsbl.dts file and re-build the fsbl.bin
That doesn't even compile.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 01
On Sun, Mar 17, 2019 at 12:34:24AM +0800, Jin Yao wrote:
> The 'percore' event qualifier which sums up the event counts for both
> hardware threads in a core. For example,
>
> perf stat -e cpu/event=0,umask=0x3,percore=1/,cpu/event=0,umask=0x3/
>
> In this example, we count the event 'ref-cycles'
Hi Lucas,
I'm going to resend a new version on this DT. I have to move this region
elsewhere.
However I didn't get your feedback about statement I did.
Would it be possible to have your feelings ?
Thanks :)
On 2/25/19 4:57 PM, Pierre Yves MORDRET wrote:
> Hi again,
>
> On 2/15/19 5:14 PM, Luc
On Sun, Mar 17, 2019 at 12:34:25AM +0800, Jin Yao wrote:
SNIP
> static bool config_term_shrinked;
> @@ -950,6 +951,7 @@ config_term_avail(int term_type, struct
> parse_events_error *err)
> case PARSE_EVENTS__TERM_TYPE_CONFIG2:
> case PARSE_EVENTS__TERM_TYPE_NAME:
> case PARSE_
On Fri, Mar 15, 2019 at 03:06:37PM -0700, Nick Desaulniers wrote:
> On Fri, Mar 15, 2019 at 1:54 PM Matthias Kaehlcke wrote:
> >
> > The compiler may emit calls to __lshrti3 from the compiler runtime
> > library, which results in undefined references:
> >
> > arch/x86/kvm/x86.o: In function `mul_u
On Mon, Mar 18, 2019 at 5:06 PM Gregory Farnum wrote:
>
> On Mon, Mar 18, 2019 at 2:32 PM Yan, Zheng wrote:
> > After reading the code carefully. I feel a little uncomfortable with
> > the "lookup_ino" in get_quota_realm. how about populating directories
> > above the 'mount subdir' during mount
On Thu, Feb 21, 2019 at 04:28:58PM +0100, Thierry Reding wrote:
> On Thu, Feb 21, 2019 at 04:25:53PM +0100, Thierry Reding wrote:
> > From: Philipp Zabel
> >
> > There are cases where a driver needs explicit control over a reset line
> > that is exclusively conneted to its device, but this contro
On Sun, Mar 17, 2019 at 10:36:03PM +0200, Andy Shevchenko wrote:
> On Fri, Mar 15, 2019 at 6:58 PM Heikki Krogerus
> wrote:
> >
> > Software nodes provide two features that we will need later.
> > 1) Software nodes can have references to other software nodes.
> > 2) Software nodes can exist before
Hello
shrink_page_list() returns , number of pages reclaimed, when pages is
unevictable it returns VM_BUG_ON_PAGE(PageLRU(page) ||
PageUnevicatble(page),page);
We can add the unevictable pages in reclaim list in shrink_page_list(), return
total number of reclaim pages including unevictable p
On Mon, Mar 18, 2019 at 9:46 AM Masahiro Yamada
wrote:
>
> Hi Arnd,
>
> I saw several commits from you
> fixing -Wint-in-bool-context warnings.
> Thanks!
>
>
> I guess we are almost ready to remove
>
> KBUILD_CFLAGS += $(call cc-disable-warning, int-in-bool-context)
>
>
> In there any concern ab
On Mon, Mar 18, 2019 at 2:32 PM Yan, Zheng wrote:
> After reading the code carefully. I feel a little uncomfortable with
> the "lookup_ino" in get_quota_realm. how about populating directories
> above the 'mount subdir' during mounting (similar to cifs_get_root ).
Isn't that going to be a proble
On Tue, Mar 12, 2019 at 10:22 PM Luis Henriques wrote:
>
> The CephFS kernel client does not enforce quotas set in a directory that
> isn't visible from the mount point. For example, given the path
> '/dir1/dir2', if quotas are set in 'dir1' and the filesystem is mounted with
>
> mount -t ceph
On Fri, Mar 15, 2019 at 04:18:31PM -0700, h...@zytor.com wrote:
> Note: it is also probably no reason to use -Os/-Oz for the vdso.
Is anyone actually using -Os and CONFIG_CC_OPTIMIZE_FOR_SIZE ? I've been
staring at compiler output a lot lately and -Os really generates
atrocious crap.
That is, sho
The element field is an array in struct circular_queue to keep track of locks
in the search. Making it the same type as the locks avoids type cast. Also
fix a typo.
No functional change.
Signed-off-by: Yuyang Du
---
kernel/locking/lockdep.c | 23 +--
1 file changed, 13 inse
After BFS searching, we check whether there is an error. These checks are
exclusive, so we can use "else if" instead of "if", which results in a bit
optimized code.
No functional change.
Signed-off-by: Yuyang Du
---
kernel/locking/lockdep.c | 18 +-
1 file changed, 9 insertions(
In search of a dependency in the lock graph, there is contant check for
forward or backward search. Use a function pointer to avoid that check.
No functional change.
Signed-off-by: Yuyang Du
---
kernel/locking/lockdep.c | 27 +++
1 file changed, 15 insertions(+), 12 dele
check_prev_add() always has save_trace() as an input argument, which is
unnecessary.
Signed-off-by: Yuyang Du
---
kernel/locking/lockdep.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c
index 250ba64..de731b8 10
On Mon, Mar 18, 2019 at 04:45:19PM +0800, Chen-Yu Tsai wrote:
> On Mon, Mar 18, 2019 at 4:42 PM Maxime Ripard
> wrote:
> >
> > Hi,
> >
> > On Mon, Mar 18, 2019 at 03:33:52PM +0800, Chen-Yu Tsai wrote:
> > > From: Chen-Yu Tsai
> > >
> > > Originally the SID e-fuses were thought to be in big-endia
The lock usage bit characters are defined and determined with tricks. Use a
macro and add some explanation to make it a bit clearer. Then adjust the
logic to check the usage, which optimizes the code a bit.
No functional change.
Signed-off-by: Yuyang Du
---
kernel/locking/lockdep.c |
Since chains are separated by irq context, so when printing a chain the
depth should be consistent with it.
Signed-off-by: Yuyang Du
---
kernel/locking/lockdep.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c
index 3
held_lock->class_idx is used to point to the class of the held lock. The
index is shifted by 1 to make index 0 mean no class, which results in class
index shifting back and forth but is not worth doing so.
The reason is: (1) there will be no "no-class" held_lock to begin with, and
(2) index 0 seem
Despite that there is a lockdep_init_task() which does nothing, lockdep
initiates tasks by assigning lockdep fields and does so inconsistently. Fix
this by using lockdep_init_task().
Signed-off-by: Yuyang Du
---
include/linux/lockdep.h | 7 ++-
init/init_task.c | 2 ++
kernel/fork
Its lockdep_map argument is not used, remove it.
Signed-off-by: Yuyang Du
---
kernel/locking/lockdep.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c
index e8871f2..dcff644 100644
--- a/kernel/locking/lockdep
The breadth-first search is implemented as flat-out non-recursive now, but
the comments are still describing it as recursive, update the comments in
that regard.
Signed-off-by: Yuyang Du
---
kernel/locking/lockdep.c | 21 ++---
1 file changed, 10 insertions(+), 11 deletions(-)
d
These two functions are essentially duplicates, combine them.
No functional change.
Signed-off-by: Yuyang Du
---
kernel/locking/lockdep.c | 29 ++---
1 file changed, 10 insertions(+), 19 deletions(-)
diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c
index
__cq_empty() can be embeded in __cq_dequeue(), removing it. We get slightly
simpler code. No functional change.
Signed-off-by: Yuyang Du
---
kernel/locking/lockdep.c | 31 +--
1 file changed, 17 insertions(+), 14 deletions(-)
diff --git a/kernel/locking/lockdep.c b/k
Chain keys are computed using Jenkins hash function, which needs an initial
hash to start with. Dedicate a macro to make this clear and configurable. A
later patch changes this initial chain key.
Signed-off-by: Yuyang Du
---
include/linux/lockdep.h | 1 +
init/init_task.c | 2 +-
kern
Being paranoid to see function arguments lines are aligned.
Signed-off-by: Yuyang Du
---
kernel/locking/lockdep.c | 63 +++-
1 file changed, 30 insertions(+), 33 deletions(-)
diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c
index dea49
An out-of-nowhere comment is removed. While at it, add more explanatory
comments. Such a trivial patch!
Signed-off-by: Yuyang Du
---
kernel/locking/lockdep.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c
index
Since none of the print_*() function's return value is necessary, change
their return type to void. No functional change.
In cases where an invariable return value is used, this change slightly
improves readability, i.e.:
print_x();
return 0;
is definitely better than:
r
The lock_chain struct definition has outdated comment, update it.
Signed-off-by: Yuyang Du
---
include/linux/lockdep.h | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h
index 79c3873..1258a62 100644
--- a/include/linux/lock
Since #defined(CONFIG_PROVE_LOCKING) is used in the scope of #ifdef
CONFIG_PROVE_LOCKING, it can be removed.
Signed-off-by: Yuyang Du
---
kernel/locking/lockdep.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c
index d
More words are added to lockdep design document regarding key concepts,
which helps people understand the design as well as read the reports.
Signed-off-by: Yuyang Du
---
Documentation/locking/lockdep-design.txt | 89 +++-
1 file changed, 64 insertions(+), 25 deletion
Hi Peter,
I recently looked at some system hang issues. While at it, I tried to use
and understand lockdep. These patches are made as a result. I believe they
should have helped me, so hopefully they do for others as well.
Change from v1:
- Rebased the patch series.
- Added more no-functional-cha
Hi Thierry,
On 21/02/19 9:16 PM, Thierry Reding wrote:
> From: Thierry Reding
>
> This series adds support for Tegra186 to the XUSB pad controller driver.
> Patch 1 extends the device tree bindings with support for Tegra186 while
> patches 2-4 are preparatory work for the final patch 5 that adds
Hello
shrink_page_list() returns , number of pages reclaimed, when pages is
unevictable it returns VM_BUG_ON_PAGE(PageLRU(page) ||
PageUnevicatble(page),page);
We can add the unevictable pages in reclaim list in shrink_page_list(), return
total number of reclaim pages including unevictable pag
On Fri, Mar 15, 2019 at 11:00:14AM -0700, kan.li...@linux.intel.com wrote:
> From: Kan Liang
>
> Perf fails to parse uncore event alias, for example:
>
> #perf stat -e unc_m_clockticks -a --no-merge sleep 1
> event syntax error: 'unc_m_clockticks'
>\___ parser error
>
Hi,
Colin is obvously right with that.
But my guess is that the error occured because the
pattern (from, to) is brocken here. Also
Maybe the maintainer can fix that.
just my 2 cents,
re,
wh
Am 18.03.2019 00:09, schrieb Colin King:
> From: Colin Ian King
>
> The function link_file declarati
Hi Arnd,
I saw several commits from you
fixing -Wint-in-bool-context warnings.
Thanks!
I guess we are almost ready to remove
KBUILD_CFLAGS += $(call cc-disable-warning, int-in-bool-context)
In there any concern about re-enabling
this warning?
When I asked 0-day bot to test it some days ag
On 2019/3/15 22:17, Waiman Long wrote:
On 03/15/2019 05:25 AM, Peter Zijlstra wrote:
On Thu, Mar 14, 2019 at 04:42:12PM +0800, Zhenzhong Duan wrote:
This reverts commit f99fd22e4d4bc84880a8a3117311bbf0e3a6a9dc.
It's unnecessory after commit "acpi_pm: Fix bootup softlockup due to PMTMR
counte
On Mon, Mar 18, 2019 at 4:42 PM Maxime Ripard wrote:
>
> Hi,
>
> On Mon, Mar 18, 2019 at 03:33:52PM +0800, Chen-Yu Tsai wrote:
> > From: Chen-Yu Tsai
> >
> > Originally the SID e-fuses were thought to be in big-endian format.
> > Later sources show that they are in fact native or little-endian.
>
From: Ben Ho
Add basic chip support for Mediatek 8183, include
uart node with correct uart clocks, pwrap device
Add clock controller nodes, include topckgen, infracfg,
apmixedsys and subsystem.
Signed-off-by: Ben Ho
Signed-off-by: Erin Lo
Signed-off-by: Seiya Wang
Signed-off-by: Weiyi Lu
Si
MT8183 is a SoC based on 64bit ARMv8 architecture.
It contains 4 CA53 and 4 CA73 cores.
MT8183 share many HW IP with MT65xx series.
This patchset was tested on MT8183 evaluation board and use correct clock to
shell.
Based on v5.1-rc1 and
http://lists.infradead.org/pipermail/linux-mediatek/2019-Ma
On 3/15/19 11:11 AM, Pankaj Suryawanshi wrote:
>
> [ cc Aneesh kumar, Anshuman, Hillf, Vlastimil]
Can you send a proper patch with changelog explaining the change? I
don't know the context of this thread.
> From: Pankaj Suryawanshi
> Sent: 15 March 2019 11:35:05
> To: Kirill Tkhai; Michal Hocko
On 17/03/2019 23:49, Richard Weinberger wrote:
> Am Montag, 18. März 2019, 00:09:09 CET schrieb Colin King:
>> From: Colin Ian King
>>
>> The function link_file declaration in the header file has the order
>> of the two arguments (from, to) swapped when compared to the definition
>> arguments of (
From: Honghui Zhang
The "num-lanes" property for PCIe is not used, remove it.
Signed-off-by: Honghui Zhang
---
arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi
i
Greetings Paul,
On 3/15/19 12:19 AM, Paul E. McKenney wrote:
> On Thu, Mar 14, 2019 at 10:36:19AM -0700, Tejun Heo wrote:
>> On Wed, Mar 13, 2019 at 04:11:55PM -0700, Paul E. McKenney wrote:
>>> commit 34f67df09cc0c6bf082a7cfca435373caeeb8d82
>>> Author: Paul E. McKenney
>>> Date: Wed Mar 13 16
On 18.03.2019 08:41, Anson Huang wrote:
> Add i.MX TPM(Low Power Timer/Pulse Width Modulation Module) PWM binding.
>
> Signed-off-by: Anson Huang
> ---
> No changes.
> ---
> Documentation/devicetree/bindings/pwm/imx-tpm-pwm.txt | 19
> +++
> 1 file changed, 19 insertions(+)
> c
On Mon, Mar 18, 2019 at 07:41:02AM +, Anson Huang wrote:
> Hi,Uwe
> > > + val &= ~PWM_IMX_TPM_SC_CMOD;
> > > + writel(val, tpm->base + PWM_IMX_TPM_SC);
> >
> > As this interrupts the output, please only do it if necessary.
>
> OK, will do it ONLY when it is enabled previously.
I think you on
Add regs_get_argument() which returns N th argument of the function
call. On arm64, it supports up to 8th argument.
Note that this chooses most probably assignment, in some case
it can be incorrect (e.g. passing data structure or floating
point etc.)
This enables ftrace kprobe events to access ker
On Fri, Mar 15, 2019 at 7:35 AM Enrico Weigelt, metux IT consult
wrote:
>
> Instead of fetching out data from a struct resource for passing
> it to devm_ioremap(), directly use devm_ioremap_resource()
>
> Signed-off-by: Enrico Weigelt, metux IT consult
> ---
NACK.
This patch would break my dr
It fixes the below issue.
1. Large size buffer allocation using cma_alloc successful with unevictable
pages.
cma_alloc of current kernel will fail due to unevictable pages.
Solved the below issue of cma_alloc
---
ping
On 06/03/2019 11.32, Rasmus Villemoes wrote:
> The MPC8309 has a dedicated signal, SPISEL_BOOT, usually used as chip
> select for the flash device from which the bootloader is loaded. It is
> not an ordinary gpio, but is simply controlled via the SPI_CS register
> in the system configuration.
This patch adds i.MX7ULP EVK board MIPI-DSI backlight
support.
Signed-off-by: Anson Huang
---
No changes.
---
arch/arm/boot/dts/imx7ulp-evk.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/imx7ulp-evk.dts
b/arch/arm/boot/dts/imx7ulp-evk.dts
index 3f5ea18..f90f2f
Add i.MX7ULP EVK board PWM0 support.
Signed-off-by: Anson Huang
---
No changes.
---
arch/arm/boot/dts/imx7ulp-evk.dts | 12
arch/arm/boot/dts/imx7ulp.dtsi| 10 ++
2 files changed, 22 insertions(+)
diff --git a/arch/arm/boot/dts/imx7ulp-evk.dts
b/arch/arm/boot/dts/imx7u
Add i.MX TPM(Low Power Timer/Pulse Width Modulation Module) PWM binding.
Signed-off-by: Anson Huang
---
No changes.
---
Documentation/devicetree/bindings/pwm/imx-tpm-pwm.txt | 19 +++
1 file changed, 19 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pwm/imx-t
Select CONFIG_PWM_IMX_TPM by default to support i.MX7ULP
TPM PWM.
Signed-off-by: Anson Huang
---
No changes.
---
arch/arm/configs/imx_v6_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/imx_v6_v7_defconfig
b/arch/arm/configs/imx_v6_v7_defconfig
index 5586a50..57
Hi,Uwe
Best Regards!
Anson Huang
> -Original Message-
> From: Uwe Kleine-König [mailto:u.kleine-koe...@pengutronix.de]
> Sent: 2019年3月15日 17:36
> To: Anson Huang
> Cc: thierry.red...@gmail.com; robh...@kernel.org; mark.rutl...@arm.com;
> shawn...@kernel.org; s.ha...@pengutronix.de; ker..
i.MX7ULP EVK board has MIPI-DSI display, its backlight is supplied by
TPM PWM module, this patch set enables i.MX7ULP TPM PWM driver support
and also add backlight support for MIPI-DSI display.
Anson Huang (5):
dt-bindings: pwm: Add i.MX TPM PWM binding
pwm: Add i.MX TPM PWM driver support
A
i.MX7ULP has TPM(Low Power Timer/Pulse Width Modulation Module)
inside, add TPM PWM driver support.
Signed-off-by: Anson Huang
---
Changes since V4:
- improve register read/write using bit field operations;
- correct some logic issue;
- ONLY disable clock when PWM is NOT i
On Mon, Mar 04, 2019 at 09:51:45AM +0100, Oscar Salvador wrote:
> RFC -> V1:
> - Split up the patch
> - Added Michal's Acked-by
>
> The RFC version of this patch was discussed here [1], and it did not find any
> objection.
> I decided to split up the former patch because one of the cha
Swap mapping->host is NULL, so let us protect __dump_page() for such cases.
Fixes: 1c6fb1d89e73c ("mm: print more information about mapping in __dump_page")
Signed-off-by: Oscar Salvador
Acked-by: Michal Hocko
---
mm/debug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm
Le 15/03/2019 à 18:16, Kangjie Lu a écrit :
> In case dmaengine_prep_dma_cyclic fails, the fix returns a proper
> error code to avoid NULL pointer dereference.
>
> Signed-off-by: Kangjie Lu
> Fixes: 34df42f59a60 ("serial: at91: add rx dma support")
Acked-by: Richard Genoud
>
> ---
> V2: simpli
On Sat, Mar 16, 2019 at 04:55:30AM +0530, Anup Patel wrote:
> On Fri, Mar 15, 2019 at 9:52 PM Anup Patel wrote:
> >
> > On Fri, Mar 15, 2019 at 9:28 PM Mike Rapoport wrote:
> > >
> > > I still don't get why it is that important to relax alignment of the
> > > kernel
> > > load address. Provided
901 - 972 of 972 matches
Mail list logo