FYI, we noticed the following commit (built with gcc-7):
commit: db49bdebb1f313fae0c264fe28751cb1a5a49800 ("x86/fixmap: Add debugstore
entries to cpu_entry_area")
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git WIP.x86/pti-upstream
in testcase: boot
on test machine: qemu-system-x86_64
On Thu, Dec 07, 2017 at 10:51:01AM +0530, Kedareswara rao Appana wrote:
> This patch series fixes below bugs in DMA and VDMA IP's
> ---> Added channel idle checks in the driver before submitting the buffer
> descriptor to h/w.
> ---> Fixes bug in Multi frame sotres handling in VDMA
> ---> Fixes is
Hi Rob,
Thank you for your comments!
> -Original Message-
> From: Rob Herring, Sent: Sunday, December 17, 2017 3:05 AM
>
> On Fri, Dec 15, 2017 at 02:45:26PM +0900, Yoshihiro Shimoda wrote:
> > Some R-Car SoCs (e.g. R-Car D3) doesn't have dedicated pins of VBUS
> > and ID. So, they may b
kexec@fedoraproject... is for Fedora kexec scripts discussion, changed it
to ke...@lists.infradead.org
Also add linux-acpi list
On 12/18/17 at 02:31am, Bhupesh Sharma wrote:
> On Fri, Dec 15, 2017 at 3:05 PM, Ard Biesheuvel
> wrote:
> > On 15 December 2017 at 09:59, AKASHI Takahiro
> > wrote:
>
The series is aimed at making input events y2038 safe.
It extends the lifetime of the realtime timestamps in the
events to year 2106.
The series is also a necessary update as glibc is set to provide
64 bit time_t support for 32 bit binaries. glibc plan is detailed
at https://sourceware.org/glibc/wi
Hi,
> On 16 Dec 2017, at 11:05 AM, Matthias Kaehlcke wrote:
> stable branches are currently broken for BTUSB_QCA_ROME with USB
> autosuspend enabled, since the above patch is not included (I only
> checked v4.4 and v4.9), so we probably want to integrate it.
Thanks for this information.
I just
struct timeval is not y2038 safe.
All references to timeval in the kernel will be replaced
by y2038 safe structures.
Replace all references to timeval with y2038 safe
struct timespec64 here.
struct input_event will be changed in a different patch.
Signed-off-by: Deepa Dinamani
Reviewed-by: Arnd
struct timeval which is part of struct input_event to
maintain the event times is not y2038 safe.
Real time timestamps are also not ideal for input_event
as this time can go backwards as noted in the patch
a80b83b7b8 by John Stultz.
The patch switches the timestamps to use monotonic time
from rea
struct timeval is not y2038 safe.
All usage of timeval in the kernel will be replaced by
y2038 safe structures.
The change is also necessary as glibc is introducing support
for 32 bit applications to use 64 bit time_t. Without this
change, many applications would incorrectly interpret values
in the
On Tue, Dec 12, 2017 at 12:58:41PM +0530, venkat.prashanth2...@gmail.com wrote:
> From: Venkat Prashanth B U
>
> Change the name of the function omap_dma_filter_fn to avoid
> the following build error in linux kernel version 4.4 :
>
> drivers/dma/dma-omap.c:1273:6: error:
> redefinition of 'omap
"Tobin C. Harding" writes:
> This set plugs a kernel address leak that occurs if kallsyms symbol
> look up fails. This set was prompted by a leaking address found using
> scripts/leaking_addresses.pl on a PowerPC machine in the wild.
Any details on that? I haven't heard about it.
cheers
When enabling '-b' option in perf record, for example,
perf record -b ...
perf report
and then browsing the annotate browser from perf report, it would
be failed (annotate browser can't be displayed).
It's because the '.add_entry_cb' op of struct report is overwritten
by hist_iter__branch_callba
Hi Yixun,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on robh/for-next]
[also build test ERROR on v4.15-rc4 next-20171215]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
https://github.com/0day-ci/linux/c
On Sun, 17 Dec 2017 20:58:54 -0600
Josh Poimboeuf wrote:
> On Fri, Dec 15, 2017 at 07:40:09PM +1000, Nicholas Piggin wrote:
> > On Tue, 12 Dec 2017 08:05:01 -0600
> > Josh Poimboeuf wrote:
> >
> > > On Tue, Dec 12, 2017 at 12:39:12PM +0100, Torsten Duwe wrote:
> > > > Hi all,
> > > >
> > >
Commit-ID: f785657b0fbe69fb3f5dfb0a7567cdb0777e57d1
Gitweb: https://git.kernel.org/tip/f785657b0fbe69fb3f5dfb0a7567cdb0777e57d1
Author: Mathieu Poirier
AuthorDate: Thu, 14 Dec 2017 10:47:00 -0700
Committer: Ingo Molnar
CommitDate: Mon, 18 Dec 2017 06:26:20 +0100
perf report: Fix regres
Hi Randy,
> -Original Message-
> From: Randy Dunlap [mailto:rdun...@infradead.org]
> Sent: Sunday, December 17, 2017 9:40 AM
> To: Dhaval Rajeshbhai Shah ; a...@arndb.de;
> gre...@linuxfoundation.org; robh...@kernel.org; mark.rutl...@arm.com
> Cc: devicet...@vger.kernel.org; linux-kernel@v
Fix the kexec list address.
On 12/18/17 at 01:40pm, Dave Young wrote:
> On 12/15/17 at 05:59pm, AKASHI Takahiro wrote:
> > On Wed, Dec 13, 2017 at 12:17:22PM +, Ard Biesheuvel wrote:
> > > On 13 December 2017 at 12:16, AKASHI Takahiro
> > > wrote:
> > > > On Wed, Dec 13, 2017 at 10:49:27AM +0
Syzroot reports crash in kvm_irqfd_assign() is caused by use-after-free.
Because kvm_irqfd_assign() and kvm_irqfd_deassign() can't run in parallel
for same eventfd. When assign path hasn't been finished after irqfd
has been added to kvm->irqfds.items list, another thead may deassign the
eventfd and
On Mon, Dec 18, 2017 at 01:16:57PM +0800, Dave Young wrote:
> kexec@fedoraproject... is for Fedora kexec scripts discussion, changed it
> to ke...@lists.infradead.org
>
> Also add linux-acpi list
Thank you.
> On 12/18/17 at 02:31am, Bhupesh Sharma wrote:
> > On Fri, Dec 15, 2017 at 3:05 PM, Ard
On Mon, Dec 18, 2017 at 09:24:47AM +0530, kaiwan.billimo...@gmail.com wrote:
> The script attempts to detect the architecture it's running upon; as of now,
> we explicitly support x86_64, PPC64 and x86_32.
> If it's one of them, we proceed "normally". If we fail to detect the arch,
> we fallback to
This patch fixes the order of mac_up and sgmii_open for the
reasons noted below:
- If open takes more time(if the SGMII block is not responding or
if we want to do some delay based task) in this situation we
will hit NETDEV watchdog
- The main reason : We should signal to upper layers that we
On Mon, Dec 18, 2017 at 04:31:25PM +1100, Michael Ellerman wrote:
> "Tobin C. Harding" writes:
>
> > This set plugs a kernel address leak that occurs if kallsyms symbol
> > look up fails. This set was prompted by a leaking address found using
> > scripts/leaking_addresses.pl on a PowerPC machine
On Sun, 2017-12-17 at 22:00 -0700, Jason Gunthorpe wrote:
> On Sun, Dec 17, 2017 at 03:14:10AM +0100, Knut Omang wrote:
>
> > > I like the ability to add more checkers and keep then in the main
> > > upstream tree. But adding overrides for specific subsystems goes against
> > > the policy that all
Resend to netdev. LKML CCed in case anyone in the wider kernel community
can suggest a way forward. Please CC responses if replying only to LKML.
It seems that this 4+ year old regression in the r8169 driver (documented in
this thread on netdev beginning on 9 March 2013) will never be fixed,
des
last kicked event index must be updated unconditionally:
even if we don't need to kick, we do not want to re-check
the same entry for events.
Signed-off-by: Michael S. Tsirkin
---
Changes from v1:
fix inverted logic in call_used
tools/virtio/ringtest/ring.c | 24 +++
1st patch provide Device Tree binding document for logicoreIP
2nd patch provide the xlnx_vcu logicoreIP driver, Kconfig changes
and Makefile changes for the driver.
Dhaval Shah (2):
Documentation: devicetree: Add DT bindings to xlnx_vcu driver
misc: xlnx_vcu: Add Xilinx ZYNQMP VCU logicoreIP i
Add Device Tree binding document for logicoreIP. This logicoreIP
provides the isolation between the processing system and
programmable logic. Also provides the clock related information.
Signed-off-by: Dhaval Shah
---
Chnages since v5:
No Changes.
Chnages since v4:
No Changes.
Chnages since v3:
Xilinx ZYNQMP logicoreIP Init driver is based on the new
LogiCoreIP design created. This driver provides the processing system
and programmable logic isolation. Set the frequency based on the clock
information get from the logicoreIP register set.
It is put in drivers/misc as there is no subsystem
Hi Wenyou,
Wenyou Yang wrote:
...
> +static int ov7740_start_streaming(struct ov7740 *ov7740)
> +{
> + int ret;
> +
> + if (ov7740->fmt) {
> + ret = regmap_multi_reg_write(ov7740->regmap,
> + ov7740->fmt->regs,
> +
On 12/15/2017 05:08 PM, Maxime Ripard wrote:
Hi,
On Thu, Dec 14, 2017 at 08:24:54AM +0200, Stefan Mavrodiev wrote:
On 12/13/2017 05:40 PM, Maxime Ripard wrote:
Hi,
On Wed, Dec 13, 2017 at 09:44:34AM +0200, Stefan Mavrodiev wrote:
Allwinner A10/A13/A20 SoCs have pinmux for spi0
on port C. The
Am Montag, 18. Dezember 2017, 06:50:01 CET schrieb syzbot:
Hi,
> Hello,
>
> syzkaller hit the following crash on
> 41d8c16909ebda40f7b4982a7f5e2ad102705ade
> git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master
> compiler: gcc (GCC) 7.1.1 20170620
> .config is attached
> Raw
Fix a compiling error:
...
CC util/libunwind/x86_32.o
In file included from util/libunwind/x86_32.c:33:0:
util/libunwind/../../arch/x86/util/unwind-libunwind.c: In function
'libunwind__x86_reg_id':
util/libunwind/../../arch/x86/util/unwind-libunwind.c:110:11: error: 'EINVAL'
undecla
Hi all,
Changes since 20171215:
The staging.current tree lost its build failure.
The tty tree gained a build failure so I used the version from
next-20171215.
The akpm-current tree gained a conflict against the tip tree.
The akpm tree lost a couple of patches that turned up elsewhere.
Non-mer
Am Montag, 18. Dezember 2017, 06:50:01 CET schrieb syzbot:
Hi,
> Hello,
>
> syzkaller hit the following crash on
> 82bcf1def3b5f1251177ad47c44f7e17af039b4b
> git://git.cmpxchg.org/linux-mmots.git/master
> compiler: gcc (GCC) 7.1.1 20170620
> .config is attached
> Raw console output is attached.
Hi guys,
On Sun, Dec 17, 2017 at 10:46:17PM +0100, Miquel RAYNAL wrote:
> > Actually, if things go well it will only be applied to stable
> > releases (I really hope we'll be able to switch to Miquel's driver in
> > 4.16). BTW, if you have some time, maybe you can test Miquel's [1]
> > branch and
Hi,
On Fri, Dec 15, 2017 at 11:39:00PM +0100, Philipp Rossak wrote:
> Signed-off-by: Philipp Rossak
Please add a commit log here.
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
On 2017/12/7 7:32, kan.li...@intel.com wrote:
From: Kan Liang
perf_evlist__mmap_read_catchup and perf_evlist__mmap_read_backward are
only for overwrite mode.
But they read the evlist->mmap buffer which is for non-overwrite mode.
It did not bring any serious problem yet, because there is no o
Hi Vinod,
>
>On Thu, Dec 07, 2017 at 10:51:01AM +0530, Kedareswara rao Appana wrote:
>> This patch series fixes below bugs in DMA and VDMA IP's
>> ---> Added channel idle checks in the driver before submitting the buffer
>descriptor to h/w.
>> ---> Fixes bug in Multi frame sotres handling in VDMA
Hi,
Thanks for the review...
>
>On Thu, Dec 07, 2017 at 10:51:02AM +0530, Kedareswara rao Appana wrote:
>
>> @@ -2029,6 +2006,7 @@ static int xilinx_dma_terminate_all(struct
>> dma_chan *dchan)
>>
>> /* Remove and free all of the descriptors in the lists */
>> xilinx_dma_free_d
On 15 December 2017 at 21:13, Arnd Bergmann wrote:
> On Fri, Dec 15, 2017 at 11:42 AM, Lee Jones wrote:
>
>>> @@ -87,6 +88,30 @@ static struct syscon *of_syscon_register(struct
>>> device_node *np)
>>> if (ret)
>>> reg_io_width = 4;
>>>
>>> + ret = of_hwspin_lock_get_id(n
On 12/18/2017, 04:37 AM, Josh Poimboeuf wrote:
> On Thu, Dec 14, 2017 at 10:58:35PM +0100, Jiri Slaby wrote:
>>> return -EINVAL;
>>
>> Kthreads and idle tasks hit this error as they have no user regs on the
>> stack obviously :).
>
> Doh, sorry, I forgot about that.
FWIW and to be complete, a
On Mon, Dec 18, 2017 at 07:37:15AM +0100, Willy Tarreau wrote:
> > As Boris said, we would really welcome a test of this branch, because
> > you almost have the same setup as Sean in the thread "pxa3xx: wait time
> > out when scanning for bb" and I am running out of explanation for his
> > problem
Hm, the bisect looks funny. Only way I can explain that is that my
patch fixed a pre-existing lockdep splat, and uncovered the issue in
the ww-mutex self tests. That one is uncovered by the new
cross-release lockdep checks in 4.15.
Anyway I think this is an issue with the ww-mutex tests, not my pa
This is the 4th version patchset to add the Linux kernel port for Andes(nds32)
processors. Almost all of the feedbacks from v3 patchseries has been addressed.
Thanks to everyone who provided feedback on the previous version.
This patchset adds core architecture support to Linux for Andestech's
N1
On Mon, Dec 11, 2017 at 10:19:28AM +0100, Daniel Vetter wrote:
> On Fri, Dec 08, 2017 at 11:54:19AM +0100, Peter Zijlstra wrote:
> > On Thu, Dec 07, 2017 at 11:08:49AM +0100, Daniel Vetter wrote:
> > > Since -rc1 we're hitting a bunch of lockdep splats using the new
> > > cross-release stuff around
From: Greentime Hu
This patch includes the kernel startup code. It can get dtb pointer
passed from bootloader. It will create a temp mapping by tlb
instructions at beginning and goto start_kernel.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/kernel/head.S | 189 +++
From: Greentime Hu
This patch includes virtual memory layout, PHYS_OFFSET is defined as 0x0. It
also includes the 4KB/8KB page size configurations and pte operations.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/fixmap.h | 29 +++
arch/nds32/include/a
From: Greentime Hu
It will get the wrong virtual address because port->mapbase is not added
the correct reg-offset yet. We have to update it before earlycon_map()
is called
Signed-off-by: Greentime Hu
---
drivers/tty/serial/earlycon.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
From: Greentime Hu
This patch includes page fault handler, mmap and fixup implementations.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/lib/copy_page.S | 37
arch/nds32/mm/extable.c| 16 ++
arch/nds32/mm/fault.c | 410 ++
From: Greentime Hu
This patch includes copy_thread(), start_thread() implementation and cpu_context
structure definition. nds32 uses $r25 to get current task_struct.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/current.h | 12 ++
arch/nds32/include/
From: Greentime Hu
This patch adds support for signal handling.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/uapi/asm/sigcontext.h | 60 ++
arch/nds32/kernel/signal.c | 337 ++
2 files changed, 397 insertions(+
From: Greentime Hu
This patch adds support for the DMA mapping API. It uses dma_map_ops for
flexibility.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/dma-mapping.h | 14 ++
arch/nds32/kernel/dma.c | 459 ++
From: Greentime Hu
This patch adds support for system calls.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/syscall.h | 188 ++
arch/nds32/include/asm/syscalls.h| 13 +++
arch/nds32/include/asm/unistd.h |6
From: Greentime Hu
This patch introduces some miscellaneous header files.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/delay.h | 38 +++
arch/nds32/include/asm/linkage.h| 11 +
arch/nds32/include/ua
From: Greentime Hu
This patch adds support for loadable modules.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/module.h | 11 ++
arch/nds32/kernel/module.c | 286 +++
2 files changed, 297 insertions(+)
create mo
From: Greentime Hu
This patch adds ptrace support.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/uapi/asm/ptrace.h | 25 +++
arch/nds32/kernel/ptrace.c | 311 ++
2 files changed, 336 insertions(+)
create mode 10064
Sorry, it seems I mustn't have tested the file version of this
patch. That "kvmalloc_node()" was clearly wrong.
This version passes testing.
Thanks,
NeilBrown
"git am" will ignore everything before this line:
-8<-
None of these need to be GFP_NOFS, so use GFP_KER
From: Greentime Hu
This patch is used to support nds32 architecture to use these faraday
mac IP.
Signed-off-by: Greentime Hu
---
drivers/net/ethernet/faraday/Kconfig |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/faraday/Kconfig
b/drivers/net
From: Greentime Hu
This patch adds an irqchip driver document for the Andestech Internal Vector
Interrupt Controller.
Signed-off-by: Rick Chen
Signed-off-by: Greentime Hu
Reviewed-by: Rob Herring
---
.../interrupt-controller/andestech,ativic32.txt| 19 +++
1 file change
From: Greentime Hu
This patch adds Makefile, Kconfig and vmlinux.lds.S files required for building
an nds32 kernel.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/Kconfig | 108
arch/nds32/Kconfig.cpu | 161 +++
From: Rick Chen
VDSO needs real-time cycle count to ensure the time accuracy.
Unlike others, nds32 architecture does not define clock source,
hence VDSO needs atcpit100 offering real-time cycle count
to derive the correct time.
Signed-off-by: Vincent Chen
Signed-off-by: Rick Chen
Signed-off-by
From: Greentime Hu
This patch adds nds32 CPU binding documents.
Signed-off-by: Vincent Chen
Signed-off-by: Rick Chen
Signed-off-by: Zong Li
Signed-off-by: Greentime Hu
Reviewed-by: Rob Herring
---
Documentation/devicetree/bindings/nds32/cpus.txt | 37 ++
1 file change
From: Rick Chen
Add a document to describe Andestech atcpit100 timer and
binding information.
Signed-off-by: Rick Chen
Signed-off-by: Greentime Hu
Acked-by: Rob Herring
---
.../bindings/timer/andestech,atcpit100-timer.txt | 33
1 file changed, 33 insertions(+)
creat
From: Rick Chen
ATCPIT100 is often used on the Andes architecture,
This timer provide 4 PIT channels. Each PIT channel is a
multi-function timer, can be configured as 32,16,8 bit timers
or PWM as well.
For system timer it will set channel 1 32-bit timer0 as clock
source and count downwards until
From: Greentime Hu
This patch adds the Andestech Internal Vector Interrupt Controller
driver. You can find the spec here. Ch4.9 of AndeStar SPA V3 Manual.
http://www.andestech.com/product.php?cls=9
Signed-off-by: Rick Chen
Signed-off-by: Greentime Hu
Reviewed-by: Marc Zyngier
---
drivers/irq
From: Greentime Hu
This patch adds nds32 SoC(AE3XX and AG101P) binding documents.
Signed-off-by: Greentime Hu
Reviewed-by: Rob Herring
---
.../devicetree/bindings/nds32/andestech-boards | 40
1 file changed, 40 insertions(+)
create mode 100644 Documentation/devicet
From: Greentime Hu
Signed-off-by: Greentime Hu
---
MAINTAINERS | 11 +++
1 file changed, 11 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 2f4e462..20284c8 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -857,6 +857,17 @@ X: drivers/iio/*/adjd*
F: drivers/staging/iio/*
From: Greentime Hu
This patch adds nds32 defconfig.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/configs/defconfig | 108 ++
1 file changed, 108 insertions(+)
create mode 100644 arch/nds32/configs/defconfig
diff --git a/arch
From: Greentime Hu
This patch adds support for device tree.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/boot/dts/Makefile |8 +
arch/nds32/boot/dts/ae3xx.dts | 65 +
arch/nds32/kernel/devtree.c | 19
cfs_time_seconds() converts a number of second to the
matching number of jiffies.
The standard way to do this in Linux is "* HZ".
So discard cfs_time_seconds() and use "* HZ" instead.
Signed-off-by: NeilBrown
---
.../lustre/include/linux/libcfs/libcfs_debug.h |4 ++--
.../lustre/include
When the lwi arg has a timeout, but no timeout
callback function, l_wait_event() acts much the same as
wait_event_timeout() - the wait is not interruptible and
simply waits for the event or the timeouts.
The most noticable difference is that the return value is
-ETIMEDOUT or 0, rather than 0 or no
From: Greentime Hu
This patch adds support for timer.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Reviewed-by: Linus Walleij
---
arch/nds32/kernel/time.c | 11 +++
1 file changed, 11 insertions(+)
create mode 100644 arch/nds32/kernel/time.c
diff --git a/arch/nds32/ker
When the lwi arg is full of zeros, l_wait_event() behaves almost
identically to the standard wait_event() interface, so use that
instead.
The only difference in behavior is that l_wait_event() blocks all
signals and uses an TASK_INTERRUPTIBLE wait, while wait_event()
does not block signals, but wa
This flag is never set, so remove checks and remove
the flag.
Signed-off-by: NeilBrown
---
drivers/staging/lustre/lustre/include/lustre_net.h |6 --
drivers/staging/lustre/lustre/ptlrpc/sec_gc.c |4 +---
2 files changed, 1 insertion(+), 9 deletions(-)
diff --git a/drivers/stagi
lustre sometimes wants to wait for an event, but abort if
one of a specific list of signals arrives. This is a little
bit like wait_event_killable(), except that the signals are
identified a different way.
So introduce l_wait_event_abortable() which provides this
functionality.
Having separate fu
When 'back_to_sleep()' is passed as the 'timeout' function,
the effect is to wait indefinitely for the event, polling
on the timeout in case we missed a wake_up.
If LWI_ON_SIGNAL_NOOP is given, then also abort (at the timeout)
if a "fatal" signal is pending.
Make this more obvious is both places "
This wait current wakes up every second to re-test if
imp_flight is zero. If we ensure wakeup is called whenever
imp_flight is decremented to zero, we can just have a simple
wait_event_timeout().
So add a wake_up_all to the one place it is missing, and simplify
the wait_event.
Signed-off-by: Nei
If a signal-callback (lwi_on_signal) is set without lwi_allow_intr, as
is the case in ldlm_completion_ast(), the behavior depends on the
timeout set.
If a timeout is set, then signals are ignored. If the timeout is
reached, the timeout handler is called.
If no timeout is set, then "fatal" signals
If l_wait_event() is given a function to be called on a signal,
but no timeout or timeout handler, then the intr function is simply
called at the end if the wait was aborted by a signal.
So a simpler way to write the code (in the one place this case is
used) it to open-code the body of the function
This use of l_wait_event() is a polling loop that re-checks
every second. Make this more obvious with a while loop
and wait_event_timeout().
Signed-off-by: NeilBrown
---
drivers/staging/lustre/lustre/ptlrpc/niobuf.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --
We can replace l_wait_event() with
wait_event_noload_timeout() here providing we call the
timeout function when wait_event_timeout() returns zero.
Signed-off-by: NeilBrown
---
drivers/staging/lustre/lustre/ptlrpc/client.c | 12
.../staging/lustre/lustre/ptlrpc/ptlrpc_internal
Two places that LWI_TIMEOUT_INTERVAL() is used, the outcome is a
simple polling loop that polls every second for some event (with a
limit).
So write a simple loop to make this more apparent.
Signed-off-by: NeilBrown
---
drivers/staging/lustre/lustre/llite/llite_lib.c | 11 +--
drivers
replace l_wait_event() with wait_event_timeout() and explicit
loop. This approach is easier to understand.
Signed-off-by: NeilBrown
---
drivers/staging/lustre/lustre/ptlrpc/client.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/lustre/lustr
Replace l_wait_event with wait_event_timeout() and call the
handler function explicitly. This makes it more clear
what is happening.
Signed-off-by: NeilBrown
---
drivers/staging/lustre/lustre/ptlrpc/sec.c | 23 +--
1 file changed, 13 insertions(+), 10 deletions(-)
diff --
Rather an using l_wait_event(), use wait_event_timeout()
with an explicit loop so it is easier to see what is happening.
Signed-off-by: NeilBrown
---
drivers/staging/lustre/lustre/ptlrpc/service.c | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/drivers/stagi
This is the last remaining use of l_wait_event().
It is the only use of LWI_TIMEOUT_INTR_ALL() which
has a meaning that timeouts can be interrupted.
Only interrupts by "fatal" signals are allowed, so
introduce l_wait_event_abortable_timeout() to
support this.
Signed-off-by: NeilBrown
---
drivers
Lustre has l_wait_event() which is a complex macro that does
similar things to the wait_event macro family in Linux.
This patch series converts all l_wait_event to something more
familiar to Linux developers.
Some of the conversions are subtle. I think I've understood the code
and got the convers
From: Greentime Hu
This patch add support for various library functions.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/string.h | 17 +++
arch/nds32/include/asm/swab.h| 35 +
arch/nds32/include/asm/uaccess.h | 283
From: Greentime Hu
This patch adds L2 cache support.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/l2_cache.h | 142 +
arch/nds32/kernel/atl2c.c | 64 +
2 files changed, 206 insertions(+)
crea
From: Greentime Hu
This patch adds VDSO support. The VDSO code is currently used for
sys_rt_sigreturn() and optimised gettimeofday() (using the SoC timer counter).
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/vdso.h | 24 +++
arch/nds32/inc
From: Greentime Hu
This patch adds definitions for the ELF format, relocation types, vdso
locations and EXEC_PAGESIZE.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/elf.h | 179 ++
arch/nds32/include/uapi/asm/auxvec
From: Greentime Hu
This patch includes the atomic and futex operations. Many atomic operations use
the load-lock word(llw) and store-condition word(scw) operations.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/barrier.h | 15 ++
arch/nds32/include/a
From: Greentime Hu
This patch introduces ioremap implementations.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/io.h | 83 +++
arch/nds32/mm/ioremap.c | 62
2 files changed, 1
From: Greentime Hu
This patch includes irq related functions and irqchip_init().
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/irqflags.h | 36
arch/nds32/kernel/irq.c |9 +
2 files changed, 45 i
From: Greentime Hu
This patch contains cache and TLB maintenance functions.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/cache.h | 12 +
arch/nds32/include/asm/cache_info.h| 13 +
arch/nds32/include/asm/cacheflush.h| 44 +++
arch/nds
From: Greentime Hu
This patch includes memory initializations and highmem supporting.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/mm/highmem.c | 79 +
arch/nds32/mm/init.c | 277 ++
arch/nds32/mm/mm-nds
From: Greentime Hu
This patch includes the exception/interrupt entries, pt_reg structure and
related accessors.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/ptrace.h | 66 +
arch/nds32/kernel/ex-entry.S| 157 ++
arch/nds32/kernel/ex-exi
From: Greentime Hu
This patch includes assembly macros, bit field definitions used in .S
files across arch/nds32/.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/asm/assembler.h | 39 ++
arch/nds32/include/asm/bitfield.h | 963 ++
Hi Jaegeuk,
Agreed. If Chao agrees with this policy, I will implement it.
Thanks for the comment.
On 12/15/2017 11:06 AM, Jaegeuk Kim wrote:
> On 12/14, Hyunchul Lee wrote:
>> Hi Jaegeuk,
>>
>> I need your comment about the fs_iohint mount option.
>>
>> a) w/o fs_iohint, propagate user hints to
Hello,
This series ensure the build-ids for target binary and debuginfo
are matched. If there is a mismatch, it warns user to check the
package versions.
To reproduce the problematic environment (on Fedora26),
I did following operations;
=
# rpm -q glibc glibc-debuginfo
glibc-2.25-12.f
301 - 400 of 414 matches
Mail list logo