Lock usage bit initialization is consolidated into one function
mark_usage(). Trivial readability improvement. No functional change.
Signed-off-by: Yuyang Du
---
kernel/locking/lockdep.c | 22 ++
1 file changed, 14 insertions(+), 8 deletions(-)
diff --git
With the change, we can slightly adjust the code to iterate the queue in BFS
search, which simplifies the code. No functional change.
Signed-off-by: Yuyang Du
---
kernel/locking/lockdep.c | 21 +
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git
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(-)
The new bit can be any possible lock usage except it is garbage, so the
cases in switch can be made simpler. Warn early on if wrong usage bit is
passed without taking locks. No functional change.
Signed-off-by: Yuyang Du
---
kernel/locking/lockdep.c | 21 +++--
1 file changed, 7
These two functions now handle different check results themselves. A new
check_path function is added to check whether there is a path in the
dependency graph. No functional change.
Signed-off-by: Yuyang Du
---
kernel/locking/lockdep.c | 98 +++-
1
The bitmaps keep track of which locks are irqsafe. Update the bitmaps
when there is new irqsafe usage and when an irqsafe lock is zapped.
Signed-off-by: Yuyang Du
---
kernel/locking/lockdep.c | 39 ++-
1 file changed, 38 insertions(+), 1 deletion(-)
diff
The read-write locks make checks much more complex, we elaborate on all
possible cases in the following two tables, one for marking a new IRQ
usage and the other for adding a new dependency.
When reasoning all the cases in checking, these two factors are taken
into consideration. Firstly, if a
The forward and backward dependencies consume the same number of
list_entries. Since backward dependencies are removed, the max number of
list_entries can be halved safely: MAX_LOCKDEP_ENTRIES /= 2, which goes
from 16384 to 8192 or 32768 to 16384.
Besides memory space reduction, the performance
Since the backward dependencies are always empty, remove the
locks_before field in lock_class struct and its occurrences.
Signed-off-by: Yuyang Du
---
include/linux/lockdep.h | 5 ++---
kernel/locking/lockdep.c | 15 +++
2 files changed, 5 insertions(+), 15 deletions(-)
diff
Since there is no need for backward dependecy searching, remove this
extra function layer.
Signed-off-by: Yuyang Du
---
kernel/locking/lockdep.c | 40 +++-
1 file changed, 7 insertions(+), 33 deletions(-)
diff --git a/kernel/locking/lockdep.c
From: swkhack
The function lkdtm_WRITE_AFTER_FREE calls kfree(base) to free the memory
of base. However, following kfree(base),
it write the memory which base point to via base[offset] = 0x0abcdef0. This may
result in a
use-after-free bug. This patch moves kfree(base) after the write.
Commit-ID: d4645d30b50d1691c26ff0f8fa4e718b08f8d3bb
Gitweb: https://git.kernel.org/tip/d4645d30b50d1691c26ff0f8fa4e718b08f8d3bb
Author: Sebastian Andrzej Siewior
AuthorDate: Wed, 24 Apr 2019 10:52:53 +0200
Committer: Ingo Molnar
CommitDate: Wed, 24 Apr 2019 12:17:08 +0200
smpboot:
In mark_lock_irq(), the following checks are performed:
--
| -> | unsafe | read unsafe |
|--|
| safe | F B |F* B*|
|--|
| read safe | F? B* | - |
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 and elaborate the comment above struct circular_queue.
No functional change.
Signed-off-by: Yuyang Du
Reviewed-by: Bart Van Assche
More words are added to lockdep design document regarding key concepts,
which should help people without lockdep experience read and understand
lockdep reports.
Signed-off-by: Yuyang Du
---
Documentation/locking/lockdep-design.txt | 74
1 file changed, 56
The irq usage and lock dependency rules that if violated a deacklock may
happen are explained in more detail.
Signed-off-by: Yuyang Du
---
Documentation/locking/lockdep-design.txt | 33 ++--
1 file changed, 23 insertions(+), 10 deletions(-)
diff --git
In check_deadlock(), the third argument read comes from the second
argument hlock so that it can be removed. No functional change.
Signed-off-by: Yuyang Du
---
kernel/locking/lockdep.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/kernel/locking/lockdep.c
The lock usage bit characters are defined and determined with tricks.
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 | 21 -
The @nested is not used in __release_lock so remove it despite that it
is not used in lock_release in the first place.
Signed-off-by: Yuyang Du
---
kernel/locking/lockdep.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/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
On Wed, Apr 24, 2019 at 10:43:04AM +0800, WANG Chao wrote:
> It looks good to me. Thanks for a better fix.
Latest version:
https://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git/commit/?h=tip-ras-core-cec=aad216775348c4aaf467069c2e5fbf7ff6c27695
I'll post soon after I've hammered more on
* Oleg Nesterov wrote:
> Turn DEFINE_STATIC_PERCPU_RWSEM() into __DEFINE_PERCPU_RWSEM() with the
> additional "is_static" argument to introduce DEFINE_PERCPU_RWSEM().
>
> Change cgroup.c to use DEFINE_PERCPU_RWSEM(cgroup_threadgroup_rwsem).
>
> Signed-off-by: Oleg Nesterov
> ---
>
On Wed, Apr 24, 2019 at 12:19:02PM +0200, Jan Kiszka wrote:
> > I think what you want is "GPIO signaled ACPI event". It works so that
> > you declare _AEI method below the GPIO controller listing the GPIOs you
> > want to trigger events for and then either _Lxx, _Exx or _EVT method for
> > each of
Hello folks,
here're some fixes for libata to make NVME and TCG OPAL work:
* fix a little build break in nvme (forgotten include and Kconfig select)
* introduce sysctl knob for enabling tpm stuff at runtime
(sed-util expects since several years, so it seems that piece just might
have been
libata tpm functionality, needed for self encrypted devices (OPAL, ...),
is currently disabled per default and needs to be enabled via kernel
command line.
This patch allows enabling it via sysctl.
The implementation might look a bit 'naive', as there aren't any locks
or barriers, etc. As we're
Build breaks:
drivers/nvme/target/core.c: In function 'nvmet_req_alloc_sgl':
drivers/nvme/target/core.c:939:12: error: implicit declaration of \
function 'sgl_alloc'; did you mean 'bio_alloc'? \
[-Werror=implicit-function-declaration]
req->sg = sgl_alloc(req->transfer_len,
Register a sysctl directory for libata, so upcoming knobs
can be added here.
Signed-off-by: Enrico Weigelt, metux IT consult
---
drivers/ata/libata-core.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index
Hi Raphaël,
I think you could split the patch in at least 3:
- Handling the split instructions
- Handling the jump offset
- Dynamic jumps/switch table
On 09/04/2019 14:52, Raphael Gault wrote:
> Since the way the initial stack frame when entering a function is different
> that what is done
* Andy Lutomirski wrote:
> > Or am I missing some complication?
>
> Seems like a great idea to me.
>
> BTW, what the heck is up with get_gate_page()? I'm struggling to
> understand what it's even trying to do. If there's an architecture
> that allows a user program to mremap() or otherwise
On 24.04.19 12:33, Mika Westerberg wrote:
On Wed, Apr 24, 2019 at 12:19:02PM +0200, Jan Kiszka wrote:
I think what you want is "GPIO signaled ACPI event". It works so that
you declare _AEI method below the GPIO controller listing the GPIOs you
want to trigger events for and then either _Lxx,
On Wed, 24 Apr 2019, Petr Mladek wrote:
> WARN_ON_ONCE() could not be called safely under rq lock because
> of console deadlock issues. Fortunately, simple printk_deferred()
> is enough because the warning is printed from a well defined
> location and context.
>
> Also klp_try_switch_task() is
Hi Raphaël,
On 09/04/2019 14:52, Raphael Gault wrote:
> Signed-off-by: Raphael Gault
Even there is not much to say, we include a commit message to explain
what the patch does and/or why we want it.
> ---
> arch/arm64/include/asm/assembler.h | 18 ++
> 1 file changed, 18
On Wed, Mar 27, 2019 at 11:15 AM Kirill Smelkov wrote:
>
> FUSE filesystem server and kernel client negotiate during initialization
> phase, what should be the maximum write size the client will ever issue.
> Correspondingly the filesystem server then queues sys_read calls to read
> requests with
On Wed, Apr 24, 2019 at 12:39:35PM +0200, Jan Kiszka wrote:
> On 24.04.19 12:33, Mika Westerberg wrote:
> > On Wed, Apr 24, 2019 at 12:19:02PM +0200, Jan Kiszka wrote:
> > > > I think what you want is "GPIO signaled ACPI event". It works so that
> > > > you declare _AEI method below the GPIO
Hi Jonathan,
On Mon, Apr 22, 2019 at 12:34:26PM +0100, Jonathan Cameron wrote:
> On Sun, 21 Apr 2019 20:12:49 -0700
> Ronald Tschalär wrote:
>
> > The iBridge device provides access to several devices, including:
> > - the Touch Bar
> > - the iSight webcam
> > - the light sensor
> > - the
On Wed, Apr 24, 2019 at 10:09 AM Fabien Dessenne wrote:
> It is not guaranteed that the IRQ controller driver is probed before
> the pin controller driver gets probed.
> Considering this, check for the irq domain availability during probe
> and return EPROBE_DEFER if needed.
>
> Signed-off-by:
On 19.04.19 09:40, Dmitry Torokhov wrote:
> Hi Enrico,
>
> On Tue, Apr 16, 2019 at 09:57:22PM +0200, Enrico Weigelt, metux IT consult
> wrote:
>> Little helper macro that declares an oftree module device table,
>> if CONFIG_OF is enabled. Otherwise it's just noop.
>>
>> This is also helpful if
On Wed, Mar 27, 2019 at 11:44 AM Kirill Smelkov wrote:
>
> A FUSE filesystem server queues /dev/fuse sys_read calls to get
> filesystem requests to handle. It does not know in advance what would be
> that request as it can be anything that client issues - LOOKUP, READ,
> WRITE, ... Many requests
On Wed 2019-04-24 11:54:31, Pavel Machek wrote:
> On Tue 2019-04-23 07:55:05, Jens Axboe wrote:
> > On 4/23/19 4:22 AM, Pavel Machek wrote:
> > > Hi!
> > >
> > >>> It boots ok (unlike mainline -- I'm debugging that), and I can suspend
> > >>> and resume... but then cursor in X is moving and I can
On Tue, Apr 23, 2019 at 5:14 PM Ian Abbott wrote:
>
> On 23/04/2019 13:55, Miklos Szeredi wrote:
> > On Fri, Mar 1, 2019 at 6:08 PM Ian Abbott wrote:
> >>
> >> Currently, a CUSE server running on a 64-bit kernel can tell when an
> >> ioctl request comes from a process running a 32-bit ABI, but
On 19.04.19 09:48, Dmitry Torokhov wrote:
> I would prefer if gpiod API could parse static board data/gpio lookup
> tables for child nodes, instead of adding this to gpio-keys. Now that
> Heikki Krogerus work on software nodes has landed I need to resurrect
> my patch to gpiolib.
Of course, a
On 24/04/2019 10:05, Pankaj Dubey wrote:
On 4/10/19 4:32 AM, Robin Murphy wrote:
On 2019-04-09 3:56 am, Sriram Dash wrote:
On Tue, Apr 2, 2019 at 9:53 PM Pankaj Dubey
wrote:
On Tue, 2 Apr 2019 at 15:34, Robin Murphy wrote:
On 02/04/2019 10:40, Pankaj Dubey wrote:
From: Sriram Dash
On 04/24, Ingo Molnar wrote:
>
> > -#define DEFINE_STATIC_PERCPU_RWSEM(name) \
> > +#define __DEFINE_PERCPU_RWSEM(name, is_static)
> > \
> > static DEFINE_PER_CPU(unsigned int, __percpu_rwsem_rc_##name);
> > \
> > -static struct
* Oleg Nesterov wrote:
> On 04/24, Ingo Molnar wrote:
> >
> > > -#define DEFINE_STATIC_PERCPU_RWSEM(name) \
> > > +#define __DEFINE_PERCPU_RWSEM(name, is_static)
> > > \
> > > static DEFINE_PER_CPU(unsigned int, __percpu_rwsem_rc_##name);
Little helper macro that declares an oftree module device table,
if CONFIG_OF is enabled. Otherwise it's just noop.
This is also helpful if some drivers can be built w/ or w/o
oftree support.
Signed-off-by: Enrico Weigelt, metux IT consult
---
include/linux/mod_devicetable.h | 9 +
1
Commit-ID: 29da93fea3ea39ab9b12270cc6be1b70ef201c9e
Gitweb: https://git.kernel.org/tip/29da93fea3ea39ab9b12270cc6be1b70ef201c9e
Author: Peter Zijlstra
AuthorDate: Wed, 24 Apr 2019 09:19:25 +0200
Committer: Ingo Molnar
CommitDate: Wed, 24 Apr 2019 12:19:45 +0200
mm/uaccess: Use
Commit-ID: 6ae865615fc43d014da2fd1f1bba7e81ee622d1b
Gitweb: https://git.kernel.org/tip/6ae865615fc43d014da2fd1f1bba7e81ee622d1b
Author: Peter Zijlstra
AuthorDate: Wed, 24 Apr 2019 09:19:24 +0200
Committer: Ingo Molnar
CommitDate: Wed, 24 Apr 2019 12:19:45 +0200
x86/uaccess: Dont leak
On Tue, Apr 23, 2019 at 07:15:44PM -0700, Davidlohr Bueso wrote:
> On Wed, 03 Apr 2019, Daniel Jordan wrote:
>
> > On Wed, Apr 03, 2019 at 06:58:45AM +0200, Christophe Leroy wrote:
> > > Le 02/04/2019 à 22:41, Daniel Jordan a écrit :
> > > > With locked_vm now an atomic, there is no need to take
Commit-ID: a65c88e16f32aa9ef2e8caa68ea5c29bd5eb0ff0
Gitweb: https://git.kernel.org/tip/a65c88e16f32aa9ef2e8caa68ea5c29bd5eb0ff0
Author: Jiri Kosina
AuthorDate: Wed, 24 Apr 2019 09:04:57 +0200
Committer: Ingo Molnar
CommitDate: Wed, 24 Apr 2019 12:21:35 +0200
x86/mm: Remove in_nmi()
* Christoph Hellwig wrote:
> Is anyone going to pick this patch up?
Sure, I've picked it up with Bjorn's Acked-by and will push it out after
a bit of testing.
Thanks,
Ingo
Commit-ID: 3855f11d54a07256cc4a6fb85c692000208a73a7
Gitweb: https://git.kernel.org/tip/3855f11d54a07256cc4a6fb85c692000208a73a7
Author: Nick Desaulniers
AuthorDate: Tue, 23 Apr 2019 14:15:53 -0700
Committer: Ingo Molnar
CommitDate: Wed, 24 Apr 2019 12:22:33 +0200
x86/um/vdso: Drop
Commit-ID: 392bef709659abea614abfe53cf228e7a59876a4
Gitweb: https://git.kernel.org/tip/392bef709659abea614abfe53cf228e7a59876a4
Author: Kees Cook
AuthorDate: Tue, 23 Apr 2019 11:38:27 -0700
Committer: Ingo Molnar
CommitDate: Wed, 24 Apr 2019 12:27:47 +0200
x86/build: Move _etext to
> Is this one missed? Or fixed with a better impl?
>
> The boot up CPUs don't match the possible cpu map, so the not onlined
> CPU rq->core are not initialized, which causes NULL pointer dereference
> panic in online_fair_sched_group():
>
Thanks for pointing this out. I think the ideal fix would
>-Original Message-
>From: linux-pm-ow...@vger.kernel.org [mailto:linux-pm-
>ow...@vger.kernel.org] On Behalf Of Zhang Rui
>Sent: Monday, April 22, 2019 2:26 PM
>To: Shevchenko, Andriy ; Pawnikar, Sumeet R
>
>Cc: edubez...@gmail.com; daniel.lezc...@linaro.org;
On Wed, Apr 24, 2019 at 03:22:18PM +0800, Daniel Drake wrote:
> Hi,
>
> In drivers/mmc/alcor.c we're working with a MMC controller which
> supports DMA transfers split up into page-sized chunks.
Keep in mind that sg_page_iter_page splits into PAGE_SIZE chuncks, so
if you HW needs exactly a 4k
Hi Thanks,
On Wed, 2019-04-24 at 07:32 +0800, Wen Yang wrote:
> The refcount of fw_np has already been decreased by of_find_matching_node()
> so it shouldn't be used anymore.
> This patch adds an of_node_get() before of_find_matching_node() to avoid
> the use-after-free problem.
>
> Fixes:
On Thu, Apr 18, 2019 at 12:27:56PM +0200, Ulf Hansson wrote:
> A genpd provider that uses the ->attach_dev() callback to lookup resources
> for a device, fails to do so when the device has multiple PM domains. This
> is because when genpd invokes the ->attach_dev() callback, it passes the
>
On Thu, Apr 18, 2019 at 12:27:55PM +0200, Ulf Hansson wrote:
> It's not correct to call kfree(dev) when device_register(dev) has failed.
> Fix this by calling put_device(dev) instead.
>
> Fixes: 3c095f32a92b ("PM / Domains: Add support for multi PM domains per
> device to genpd")
>
On Thu, Apr 18, 2019 at 12:27:57PM +0200, Ulf Hansson wrote:
> If a call to dev_pm_domain_attach() succeeds to attach a device to its
> single PM domain, the important point is to prevent following calls to
nit: s/prevent/ensure/
> dev_pm_domain_attach_by_name|id() to fail. This is managed by
On Tue, Apr 23, 2019 at 12:13:54AM -0700, Christoph Hellwig wrote:
> On Sun, Apr 21, 2019 at 10:16:04PM +0100, Mel Gorman wrote:
> > 32-bit NUMA systems should be non-existent in practice. The last NUMA
> > system I'm aware of that was both NUMA and 32-bit only died somewhere
> > between 2004 and
On 04/23, Paul E. McKenney wrote:
>
> I wordsmithed the commit log and merged in the RCU-bh and RCU checks
> to rcu_sync_is_idle(), with the result shown below. Does that work
> OK, or did I mess something up?
Yes, thanks!
the additional RCU-bh and RCU checks matches the "or introduce
When building bytcht_es8316 the following warning shows up:
../sound/soc/intel/boards/bytcht_es8316.c: In function
‘snd_byt_cht_es8316_mc_probe’:
../sound/soc/intel/boards/bytcht_es8316.c:508:11: warning: cast from pointer to
integer of different size [-Wpointer-to-int-cast]
quirk =
On Mon, 22 Apr 2019 10:27:20 -0300
Mauro Carvalho Chehab wrote:
> Convert all text files with s390 documentation to ReST format.
>
> Tried to preserve as much as possible the original document
> format. Still, some of the files required some work in order
> for it to be visible on both plain
Hi,
Sorry for the delay - Easter holidays + I was trying to arrange my brain around
proposed options.
Here what I think our options are with regards to the source of randomness:
1) rdtsc or variations based on it (David proposed some CRC-based variants for
example)
2) prandom-based options
On Tue 23-04-19 21:05:22, Amir Goldstein wrote:
> On Tue, Apr 23, 2019 at 7:27 PM Jan Kara wrote:
> >
> > On Fri 19-04-19 12:33:02, Amir Goldstein wrote:
> > > On Thu, Apr 18, 2019 at 8:14 PM syzbot
> > > wrote:
> > > >
> > > > syzbot has bisected this bug to:
> > > >
> > > > commit
Hello,
This patchset adds pinctrl support for Bitmain BM1880 SoC and
Sophon Edge board. BM1880 SoC can only handle pinmux functionality,
hence the driver has no pinconf support.
This patchset has been tested on 96Boards Sophon Edge board.
Thanks,
Mani
Manivannan Sadhasivam (5):
dt-bindings:
Add pinctrl binding for Bitmain BM1880 SoC. The SoC is not capable
of handling pinconf, thereby supporting only pinmux and this limitation
is documented.
Signed-off-by: Manivannan Sadhasivam
---
.../pinctrl/bitmain,bm1880-pinctrl.txt| 98 +++
1 file changed, 98
Add pinctrl support for Bitmain BM1880 SoC. This SoC only supports
pinmuxing and the pinctrl registers are part of the sctrl block.
Signed-off-by: Manivannan Sadhasivam
---
arch/arm64/boot/dts/bitmain/bm1880.dtsi | 14 ++
1 file changed, 14 insertions(+)
diff --git
Currently menu blocks start with a pretty header but end with nothing in
the generated config. So next config options stick together with the
options from the menu block.
Let's terminate menu blocks in the generated config with a comment and
a newline if needed. Example:
...
Add pinctrl support for Bitmain BM1880 SoC. The driver only handles
pinmuxing as the SoC is not capable of handling pinconf.
Signed-off-by: Manivannan Sadhasivam
---
drivers/pinctrl/Kconfig | 7 +
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/pinctrl-bm1880.c | 965
Add MAINTAINERS entry for Bitmain BM1880 SoC pinctrl.
Signed-off-by: Manivannan Sadhasivam
---
MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 3671fdea5010..8b5fcb89a8a4 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1416,7 +1416,9 @@ M:
Add pinctrl support for UARTs exposed on the Sophon Edge board.
Signed-off-by: Manivannan Sadhasivam
---
.../boot/dts/bitmain/bm1880-sophon-edge.dts | 29 +++
1 file changed, 29 insertions(+)
diff --git a/arch/arm64/boot/dts/bitmain/bm1880-sophon-edge.dts
On 24.04.2019 13:09, Masahiro Yamada wrote:
> On Sat, Apr 20, 2019 at 4:12 AM Alexander Popov wrote:
>>
>> Currently menu blocks start with a pretty header but end with nothing in
>> the generated config. So next config options stick together with the
>> options from the menu block.
>>
>> Let's
On Wed, 24 Apr 2019 09:38:02 +0800
Leo Yan wrote:
> The traceevnt lib is used by perf tool, when execute 'perf test -v 6' it
> outputs error log on ARM64 platform:
>
> running test 33 '*:*'trace-cmd: No such file or directory
>
> [...]
>
> trace-cmd: Invalid argument
>
> The trace
On Tue, 23 Apr 2019 10:57:40 +0200
Alexandre wrote:
Hi Alexandre,
> Hi Jonathan,
>
> On 4/22/19 10:42, Jonathan Cameron wrote:
> > On Tue, 16 Apr 2019 14:49:19 +0200
> > Alexandre wrote:
> >
> >> Hello Jonathan,
> >>
> >> On 4/7/19 12:20, Jonathan Cameron wrote:
> >>> Hi Alexandre,
> >>>
On Wed, Apr 24, 2019 at 02:11:43PM +0900, Jiada Wang wrote:
> There are issues with interrupt handling in rcar_gen3_thermal driver.
>
> Currently IRQ is remain enabled after .remove, later if device is probed,
> IRQ is requested before .thermal_init, this may cause IRQ function be
> triggered but
On 4/23/2019 4:36 PM, Al Viro wrote:
On Tue, Apr 23, 2019 at 08:49:44AM +, dmitry.torok...@gmail.com wrote:
On Tue, Apr 23, 2019 at 12:51:13PM +0530, Mukesh Ojha wrote:
I have taken care this case from ioctl and release point of view.
Even if the release gets called first it will make
On Wed, Apr 24, 2019 at 12:44:50PM +0200, Miklos Szeredi wrote:
> On Wed, Mar 27, 2019 at 11:15 AM Kirill Smelkov wrote:
> >
> > FUSE filesystem server and kernel client negotiate during initialization
> > phase, what should be the maximum write size the client will ever issue.
> >
Hi Paul,
Thank you for your detail explanation. There are few observations below.
The 04/19/2019 20:55, Paul Burton wrote:
> External E-Mail
>
>
> Hi Horatiu,
>
> On Tue, Apr 16, 2019 at 12:18:20PM +0200, Horatiu Vultur wrote:
> > When the bootloader passes arguments to linux kernel through
On Wed, 24 Apr 2019 17:23:26 +0800
Matt Ranostay wrote:
> On Mon, Apr 22, 2019 at 6:48 PM Jonathan Cameron wrote:
> >
> > On Thu, 18 Apr 2019 16:23:51 -0700
> > Matt Ranostay wrote:
> >
> > > See comments inline
> > >
> > > On Wed, Apr 17, 2019 at 11:15 AM Mohan Kumar
> > > wrote:
> > >
On Wed, Apr 24, 2019 at 1:56 PM Kirill Smelkov wrote:
> I assume you are meaning this:
>
> --- a/fs/fuse/dev.c
> +++ b/fs/fuse/dev.c
> @@ -1745,15 +1745,15 @@ static int fuse_retrieve(struct fuse_conn
> *fc, struct inode *inode,
> unsigned int offset;
>
On 04/24/2019 12:17 PM, claudiu.bez...@microchip.com wrote:
> From: Claudiu Beznea
>
> atmel_qspi objects are kept in spi_controller objects, so, first get
> pointer to spi_controller object and then get atmel_qspi object from
> spi_controller object.
>
> Fixes: 2d30ac5ed633 ("mtd: spi-nor:
On Wed, Apr 24, 2019 at 02:33:53PM +0300, Mike Rapoport wrote:
> On Tue, Apr 23, 2019 at 12:13:54AM -0700, Christoph Hellwig wrote:
> > On Sun, Apr 21, 2019 at 10:16:04PM +0100, Mel Gorman wrote:
> > > 32-bit NUMA systems should be non-existent in practice. The last NUMA
> > > system I'm aware of
Hi,
On Wed, Apr 24, 2019 at 05:59:52PM +0800, Weikang shi wrote:
> From: swkhack
>
> The function lkdtm_READ_AFTER_FREE calls kfree(base) to free the memory
> of base. However, following kfree(base),
> it access the memory which base point to via base[offset]. This may result in
> a
>
On Wed, Apr 24, 2019 at 06:21:03PM +0800, Weikang shi wrote:
> From: swkhack
>
> The function lkdtm_WRITE_AFTER_FREE calls kfree(base) to free the memory
> of base. However, following kfree(base),
> it write the memory which base point to via base[offset] = 0x0abcdef0. This
> may result in a
>
On Wed, Apr 24, 2019 at 12:48:36PM +0200, Miklos Szeredi wrote:
> On Wed, Mar 27, 2019 at 11:44 AM Kirill Smelkov wrote:
> >
> > A FUSE filesystem server queues /dev/fuse sys_read calls to get
> > filesystem requests to handle. It does not know in advance what would be
> > that request as it can
On Wed, Apr 24, 2019 at 05:22:37AM -0400, Brian Masney wrote:
> Convert the tsl2772 device tree bindings to the new YAML format.
>
> Signed-off-by: Brian Masney
> ---
> Changes since v1:
> - Dropped description from reg and interrupts properties.
> - Dropped $ref from led-max-microamp,
On Tue, 23 Apr 2019 03:38:55 -0700
"Life is hard, and then you die" wrote:
> Hi Jonathan, Peter,
>
> On Mon, Apr 22, 2019 at 01:01:38PM +0100, Jonathan Cameron wrote:
> > On Mon, 22 Apr 2019 11:17:27 +0200 (CEST)
> > Peter Meerwald-Stadler wrote:
> >
> > > On Sun, 21 Apr 2019, Ronald
Manage the -EPROBE_DEFER error case for the wake IRQ.
Signed-off-by: Fabien Dessenne
---
drivers/rtc/rtc-stm32.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/rtc/rtc-stm32.c b/drivers/rtc/rtc-stm32.c
index c5908cf..8e6c9b3 100644
---
On Wed, Apr 24, 2019 at 02:11:44PM +0900, Jiada Wang wrote:
> Currently IRQF_SHARED type interrupt line is allocated, but it
> is not appropriate, as the interrupt line isn't shared between
> different devices, instead IRQF_ONESHOT is the proper type.
>
> By changing interrupt type to
Le lun. 1 avr. 2019 à 11:19, Philippe CORNU a écrit :
>
>
> On 3/29/19 4:48 PM, Yannick Fertré wrote:
> > Interrupt register must be disabled before call of
> > devm_request_threaded_irq function to avoid dummy interruption.
> >
> > Signed-off-by: Yannick Fertré
> > ---
> >
Initial introduction of Lenovo Hr630 family equipped with
Aspeed 2500 BMC SoC. Hr630 is a x86 server development kit
with a ASPEED ast2500 BMC manufactured by Lenovo.
Specifically, This adds the Hr630 platform device tree file
used by the Hr630 BMC machines.
This also adds an entry of Hr630
On Wed, Apr 24, 2019 at 02:11:45PM +0900, Jiada Wang wrote:
> Currently IRQ remains enabled after .remove, later if device is probed,
> IRQ is requested before .thermal_init, this may cause IRQ function be
> called before device is initialized.
>
> this patch disables interrupt in .remove, to
The main idea of this patchset was to add the dt-based GPIOs support
in i2c-mux-gpio driver. In particular we needed to have the full GPIOs
specifier being handled including the dt-flags like GPIO_ACTIVE_HIGH,
GPIO_ACTIVE_LOW, etc. Due to using a legacy GPIO interface the former
driver
We can unpin a code specific for i2c-mux-gpio device declared
as platform device. In this case the platform data just needs to be
copied to the private storage and if GPIO chip pointer is referring to
a valid GPIO chip descriptor save it' base number for further GPIOs
request and initialization.
In case if the idle state has been specified in the data structure,
the idle variable is left untouched as before, so to keep a default
channel number enabled in the mux idle state. But if a platform doesn't
specify which channel is going to be enabled by default, we as before
don't setup the
The GPIOs request loop can be safely moved to a separate function.
First of all it shall improve the code readability. Secondly the
initialization loop at this point is used for both of- and
platform_data-based initialization paths, but it will be changed in
the next patch, so by isolating the
Most modern platforms provide a dts with description of the devices
available in the system. It may also include i2c-gpio-mux'es.
Up until now the i2c-mux-gpio driver supported it' dts nodes, but
performed the GPIOs request by means of legacy GPIO API, which by design
and due to being legacy
It's pointless and might be even errors prone to proceed with further
initialization if neither of- no platform-based settings were discovered.
Just return an error in this case.
Signed-off-by: Serge Semin
---
drivers/i2c/muxes/i2c-mux-gpio.c | 12 +++-
1 file changed, 7 insertions(+),
On Tue, 23 Apr 2019 06:38:44 +
"Ardelean, Alexandru" wrote:
> On Mon, 2019-04-22 at 23:06 +0200, Greg KH wrote:
> >
> >
> > On Mon, Apr 22, 2019 at 11:32:56AM +0300, Alexandru Ardelean wrote:
> > > This helper is similar to __sysfs_match_string() with the exception
> > > that it
> > >
1 - 100 of 1588 matches
Mail list logo