On Mon, Aug 22, 2016 at 10:52:20PM +0200, Sebastian Reichel wrote:
> Hi,
>
> On Mon, Aug 22, 2016 at 08:32:23PM +0200, Mikko Rapeli wrote:
> > Fixes userspace compilation errors due to missing timespec definition.
> >
> > Signed-off-by: Mikko Rapeli
> > ---
> > include/uapi/linux/hsi/cs-protoco
We get 2 warnings when biuld kernel with W=1:
drivers/iio/common/st_sensors/st_sensors_trigger.c:69:13: warning: no previous
prototype
for 'st_sensors_irq_handler' [-Wmissing-prototypes]
drivers/iio/common/st_sensors/st_sensors_trigger.c:85:13: warning: no previous
prototype
for 'st_sensors_irq_t
hat (public, well-known) commit your patch series was
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]
url:
https://github.com/0day-ci/linux/commits/chengang-emindsoft-com-cn/arch-all-include-asm-bitops-Use-bool-instead-of-int-for-all-bit-test-functions/20160
ons/20160828-134633
config: arm-at91_dt_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
-O ~/bin/make.cross
chmod +x ~/bin/make.cr
We get 1 warning about global functions without a declaration
in the nouveau nv10_fence driver when building with W=1:
drivers/gpu/drm/nouveau/nv10_fence.c:70:1: warning: no previous prototype for
'nv10_fence_context_new' [-Wmissing-prototypes]
In fact, this function is only used in the file in w
>> @@ -2276,7 +2277,10 @@ static int cryptocop_job_setup(struct
>> cryptocop_prio_job **pj, struct cryptocop_
>> (*pj)->iop->ctx_in.saved_data = operation->list_op.inlist;
>> (*pj)->iop->ctx_in.saved_data_buf =
>> operation->list_op.in_data_buf;
>> } else {
>> -
>> +++ b/arch/cris/arch-v32/drivers/cryptocop.c
>> @@ -2469,7 +2469,7 @@ static int cryptocop_ioctl_process(struct inode
>> *inode, struct file *filp, unsig
>> struct page **inpages = NULL;
>> struct page **outpages = NULL;
>> int
We get 1 warning about global functions without a declaration
in the nouveau nouveau_display driver when building with W=1:
drivers/gpu/drm/nouveau/nouveau_display.c:96:1: warning: no previous prototype
for 'nouveau_display_scanoutpos_head' [-Wmissing-prototypes]
In fact, this function is only us
> While elimination of code duplication should be good,
> what it means it you should avoid making changes that
> are merely mechanical and strive to make changes that
> improve code execution speed or reduce overall object
> size while not impacting overall execution speed.
Do other contributors
Hi zijun_hu,
[auto build test ERROR on mmotm/master]
[also build test ERROR on v4.8-rc3 next-20160825]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
[Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for
convenience) to record w
On Sat, Aug 27, 2016 at 09:06:13PM -0400, Levin, Alexander via Ksummit-discuss
wrote:
> 3. This one is somewhat subjective: scripts/checkpatch.pl is a massive blob of
> perl code that a fair amount of people don't know how to deal with. In 4.8
> it's
> 6142 lines, making it the 124th largest sour
We get 1 warning about global functions without a declaration
in the scsi ufshcd driver when building with W=1:
drivers/scsi/ufs/ufshcd.c:1991:5: warning: no previous prototype for
'ufshcd_query_descriptor_retry' [-Wmissing-prototypes]
in fact, this function is implemented in ufshcd.c and exporte
On Sat, Aug 27, 2016 at 4:29 AM, Finn Thain wrote:
> The driver that used the 'nodisconnect' parameter was removed in
> commit 565bae6a4a8f ("[SCSI] 53c7xx: kill driver"). Related documentation
> was cleaned up in commit f37a7238d379 ("[SCSI] 53c7xx: fix removal
> fallout"), except for the remaini
On Sat, Aug 27, 2016 at 4:30 AM, Finn Thain wrote:
> With commit 3a0f64bfa907 ("mac_scsi: Fix pseudo DMA implementation")
> some versions of gcc now warn:
>
> In file included from drivers/scsi/mac_scsi.c:335:
> drivers/scsi/NCR5380.h:295: warning: `NCR5380_poll_politely' declared inline
> after
Hi Finn,
On Sat, Aug 27, 2016 at 4:30 AM, Finn Thain wrote:
> Large PIO transfers are broken up into chunks to try to avoid disabling
> local IRQs for long periods. But IRQs are still disabled for too long
> and this causes SCC FIFO overruns during serial port transfers. This
> patch fixes the pr
On Aug 25, 2016 9:06 PM, "Rik van Riel" wrote:
>
> Subject: x86,mm,sched: make lazy TLB mode even lazier
>
> Lazy TLB mode can result in an idle CPU being woken up for a TLB
> flush, when all it really needed to do was flush %cr3 before the
> next context switch.
>
> This is mostly fine on bare me
On Aug 27, 2016 11:14 PM, "Mickaël Salaün" wrote:
>
>
> On 27/08/2016 22:43, Alexei Starovoitov wrote:
> > On Sat, Aug 27, 2016 at 09:35:14PM +0200, Mickaël Salaün wrote:
> >> On 27/08/2016 20:06, Alexei Starovoitov wrote:
> >>> On Sat, Aug 27, 2016 at 04:06:38PM +0200, Mickaël Salaün wrote:
> >>>
On Aug 27, 2016 8:12 PM, "Alexei Starovoitov"
wrote:
>
> On Sat, Aug 27, 2016 at 12:30:36AM -0700, Andy Lutomirski wrote:
> > > cgroup is the common way to group multiple tasks.
> > > Without cgroup only parent<->child relationship will be possible,
> > > which will limit usability of such lsm to
On Sat, Aug 27, 2016 at 03:08:56PM +0800, Xunlei Pang wrote:
> On 2016/08/18 at 18:43, Chen Yu wrote:
> > Previously we encountered some memory overflow issues due to
> > the bogus sleep time brought by inconsistent rtc, which is
> > triggered when pm_trace is enabled, please refer to:
> > https://
Hi Joe,
It's probably a bug fix that unveils the link errors.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
master
head: af56ff27eba54fceee5f5643e79bf6531f2e1739
commit: cb984d101b30eb7478d32df56a0023e4603cba7f compiler-gcc: integrate the
various compiler-gcc[345]
On Sun, Aug 28, 2016 at 08:55:21AM +0800, Icenowy Zheng wrote:
> + uart1_pins_cts_rts_a: uart1_cts_rts@0 {
> + allwinner,pins = "PG8", "PG9";
> + allwinner,function = "uart1";
> + allwinner,drive
This is fixed by:
commit 2266ffdef5737fdfa96005204fc5606dbd559956
subject: rxrpc: Fix conn-based retransmit
which is in net-next.
David
On Sat, 27 Aug 2016, Joe Perches wrote:
> On Sat, 2016-08-27 at 09:02 +0200, SF Markus Elfring wrote:
> > > If you _really wanted to clear up this code and make it more
> > > robust/better, it'd probably be nicer to convert the
> > > struct list_head **sn_irq_lh to a single struct list_head *
>
Hi,
just saw this while booting rc3+tip/master. Thought I should report it
in case it hasn't been caught and fixed yet.
---
...
[6.257924] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12
[6.280232] iTCO_vendor_support: vendor-support=0
[6.282063] snd_hda_intel :00:1b.0:
On Sat, 27 Aug 2016, Joe Perches wrote:
> On Sat, 2016-08-27 at 20:59 +0200, Julia Lawall wrote:
> > Make sure (of/i2c/platform)_device_id tables are NULL terminated
> > Generated by: scripts/coccinelle/misc/of_table.cocci
>
> Along the same lines, I submitted a manually generated
> patch to ad
On 28/08/2016 10:13, Andy Lutomirski wrote:
> On Aug 27, 2016 11:14 PM, "Mickaël Salaün" wrote:
>>
>>
>> On 27/08/2016 22:43, Alexei Starovoitov wrote:
>>> On Sat, Aug 27, 2016 at 09:35:14PM +0200, Mickaël Salaün wrote:
On 27/08/2016 20:06, Alexei Starovoitov wrote:
> On Sat, Aug 27, 20
From: Markus Elfring
Date: Sun, 28 Aug 2016 11:40:53 +0200
* A multiplication for the size determination of a memory allocation
indicated that an array data structure should be processed.
Thus use the corresponding function "kmalloc_array".
This issue was detected by using the Coccinelle s
Lo! On 08.08.2016 10:29, kernel test robot wrote:
>
> FYI, we noticed a -5.1% regression of pixz.throughput due to commit:
>
> commit e6cbd7f2efb433d717af72aa8510a9db6f7a7e05 ("mm, page_alloc: remove fair
> zone allocation policy")
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
On Sun, 28 Aug 2016, Alexey Dobriyan wrote:
> On Sat, Aug 27, 2016 at 09:06:13PM -0400, Levin, Alexander via
> Ksummit-discuss wrote:
> > 3. This one is somewhat subjective: scripts/checkpatch.pl is a massive blob
> > of
> > perl code that a fair amount of people don't know how to deal with. In
Hello,
The following program triggers use-after-free:
// autogenerated by syzkaller (http://github.com/google/syzkaller)
#include
#include
int main()
{
int fd = syscall(SYS_socket, 0x29ul, 0x5ul, 0x0ul, 0, 0, 0);
syscall(SYS_ioctl, fd, 0x89e2ul, 0x20a98000ul, 0, 0, 0);
return 0;
}
[ 3
Lo! Dave, below report made it to the list of regression for 4.8, but
afaics nothing happened after the initial report. Was it discussed (and
maybe even fixed?) elsewhere? Or is there some reason why it shouldn't
be on the list of regressions at all?
Ciao, Thorsten
On 13.08.2016 14:37, Peter Senn
On Sun, 28 Aug 2016, SF Markus Elfring wrote:
> >> +++ b/arch/cris/arch-v32/drivers/cryptocop.c
> >> @@ -2469,7 +2469,7 @@ static int cryptocop_ioctl_process(struct inode
> >> *inode, struct file *filp, unsig
> >>struct page **inpages = NULL;
> >>struct page
On Sun, 28 Aug 2016, SF Markus Elfring wrote:
> >> @@ -2276,7 +2277,10 @@ static int cryptocop_job_setup(struct
> >> cryptocop_prio_job **pj, struct cryptocop_
> >>(*pj)->iop->ctx_in.saved_data = operation->list_op.inlist;
> >>(*pj)->iop->ctx_in.saved_data_buf =
> >> op
Lo! Kefeng, below report made it to the list of regression for 4.8, but
afaics nothing happened after the initial report. Is there maybe some
reason why it shouldn't be on the list of regressions at all? Or was the
problem discussed elsewhere? Or is it even fixed already? I noticed
https://git.kern
From: Colin Ian King
Trivial fix to spelling mistake in dev_err message.
Signed-off-by: Colin Ian King
---
drivers/net/wan/fsl_ucc_hdlc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wan/fsl_ucc_hdlc.c b/drivers/net/wan/fsl_ucc_hdlc.c
index 6f04445..5fbf83d 1
Hello,
I've git the following use-after-free in collapse_huge_page while
running syzkaller fuzzer. It is in khugepaged, so not reproducible. On
commit 61c04572de404e52a655a36752e696bbcb483cf5 (Aug 25).
==
BUG: KASAN: use-after-free i
From: Colin Ian King
Trivial fix to spelling mistakes in printf messages.
Signed-off-by: Colin Ian King
---
tools/testing/selftests/x86/ptrace_syscall.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/testing/selftests/x86/ptrace_syscall.c
b/tools/testing/selftes
From: Colin Ian King
Trivial fix to spelling mistake in dev_warn message.
Signed-off-by: Colin Ian King
---
drivers/net/ethernet/freescale/ucc_geth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/freescale/ucc_geth.c
b/drivers/net/ethernet/freescale/
From: Chao Yu
When creating new inode, security_inode_init_security will be called for
initializing security info related to the inode, and filename is passed to
security module, it helps security module such as SElinux to know which
rule or label could be applied for the inode with specified nam
From: Colin Ian King
Trivial fix to spelling mistake in dev_warn message.
Signed-off-by: Colin Ian King
---
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
b/drivers/net
Hi Alex,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
master
head: af56ff27eba54fceee5f5643e79bf6531f2e1739
commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation
of a VDSO
date: 10 months ago
config:
From: Colin Ian King
Trivial fix to spelling mistake in dev_warn message and remove
extraneous trailing whitespace at end of the message.
Signed-off-by: Colin Ian King
---
arch/powerpc/platforms/ps3/device-init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/
From: Colin Ian King
Trivial fix to spelling mistakes in dev_err messages.
Signed-off-by: Colin Ian King
---
drivers/usb/phy/phy-ab8500-usb.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/phy/phy-ab8500-usb.c b/drivers/usb/phy/phy-ab8500-usb.c
index 0c
The TOPEET itop is a samsung exnynos 4412 core board, which have
two package versions. This patch add the support for SCP version.
Currently supported are USB3503A HSIC, USB OTG, eMMC, rtc and
PMIC. The future features are in the based board. Also MFC and
watchdog have been enabled.
Signed-off-by
The added the audio codec seems work now, but the audio sounds
still a little different to the original. But I didn't hear the sound
in the Android, I don't know whether it is qualified.
Also it lacks of full pinctrl for the sleep state.
Changelog:
- v3:
- fixing the rtc clock, using clock so
Enable the WM8960 analog audio codec on TOPEET iTop 4412 Elite board.
Signed-off-by: Randy Li
---
arch/arm/boot/dts/exynos4412-itop-elite.dts | 77 +
1 file changed, 77 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4412-itop-elite.dts
b/arch/arm/boot/dts/exynos
The TOPEET itop exynos 4412 have three versions base board. The
Elite version is the cheap one without too much peripheral devices
on it.
Currently supported are serial console, wired networking(USB),
USB OTG in peripheral mode, USB host, SD storage, GPIO buttons,
PWM beeper, ADC and LEDs.
Signed
The is not used for camera, I enabled it just for a colorspace
convertor.
Signed-off-by: Randy Li
---
arch/arm/boot/dts/exynos4412-itop-elite.dts | 16
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4412-itop-elite.dts
b/arch/arm/boot/dts/exynos4412-itop
From: Colin Ian King
trivial fix to spelling mistake in dev_err message
Signed-off-by: Colin Ian King
---
drivers/staging/wilc1000/wilc_spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/wilc1000/wilc_spi.c
b/drivers/staging/wilc1000/wilc_spi.c
index 22c
Hello,
I've got the following WARNING while running syzkaller fuzzer:
[ cut here ]
WARNING: CPU: 1 PID: 16092 at drivers/gpu/drm/drm_pci.c:182
drm_irq_by_busid+0x3c0/0x4a0
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 16092 Comm: syz-executor Not tainted 4.
Hi Guenter,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
master
head: af56ff27eba54fceee5f5643e79bf6531f2e1739
commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error
with binutils 2.24 and earlier
date
From: Colin Ian King
Trivial fix to spelling mistakes in ql_dbg messages.
Signed-off-by: Colin Ian King
---
drivers/scsi/qla2xxx/qla_os.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index 1dd8650..ace65
Hi,
as discussed before:
If a high-scalability locking scheme is built with multiple
spinlocks, then often additional memory barriers are required.
The documentation was not as clear as possible, and memory
barriers were missing / superfluous in the implementation.
Patch 1: Documentation, define
For x86 qspinlocks, no additional memory barrier is required in
smp_mb__after_spin_lock:
Theoretically, for qspinlock we could define two barriers:
- smp_mb__after_spin_lock: Free for x86, not free for powerpc
- smp_mb__between_spin_lock_and_spin_unlock_wait():
Free for all archs, see queu
Right now, the spinlock machinery tries to guarantee barriers even for
unorthodox locking cases, which ends up as a constant stream of updates
as the architectures try to support new unorthodox ideas.
The patch proposes to reverse that:
spin_lock is ACQUIRE, spin_unlock is RELEASE.
spin_unlock_wai
Change the locking for nf_conntrack_lock and nf_conntract_lock_all()
to the approach used by ipc/sem.c:
- use smp_store_mb() instead of a raw smp_mb()
- use smp_mb__after_spin_lock().
- for nf_conntrack_lock, use spin_lock(&global_lock) instead of
spin_unlock_wait(&global_lock) and loop backward
spin_unlock() + spin_lock() together do not form a full memory barrier:
a=1;
spin_unlock(&b);
spin_lock(&c);
+ smp_mb__after_unlock_lock();
d=1;
Without the smp_mb__after_unlock_lock(), other CPUs can observe the
write to d without seeing the write to a.
Signed-off-by: Manfred Spraul
--
Linus,
please pull the latest timers-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
timers-urgent-for-linus
A few updates for timers & co.
- Prevent a livelock in the timekeeping code when debugging is enabled
- Prevent out of bounds access in th
Linus,
please pull the latest irq-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
irq-urgent-for-linus
This lot provides:
- Plug a hotplug race in the new affinity infrastructure
- A fix for the trigger type of chained interrupts
- Plug a potenti
Hi,
On Sun, Aug 28, 2016 at 12:34:06PM +0200, Thorsten Leemhuis wrote:
> Lo! Kefeng, below report made it to the list of regression for 4.8, but
> afaics nothing happened after the initial report. Is there maybe some
> reason why it shouldn't be on the list of regressions at all? Or was the
> prob
Linus,
please pull the latest x86-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
x86-urgent-for-linus
A single bugfix to prevent irq remapping when the ioapic is disabled.
Thanks,
tglx
-->
Wanpeng Li (1):
x86/apic: D
Linus,
please pull the latest perf-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
perf-urgent-for-linus
A few fixes from the perf departement
- Prevent a imbalanced preemption disable in the events teardown code
- Prevent out of bound acces in perf
On Sat, 2016-08-27 at 14:40 +0200, Luca Ceresoli wrote:
Put here few words _why_ you are doing this.
Perhaps, add output of sparse static analyzer.
> Signed-off-by: Luca Ceresoli
> Cc: Greg Kroah-Hartman
> Cc: Bhaktipriya Shridhar
> Cc: Andy Shevchenko
> Cc: Geliang Tang
> Cc: Jakub Sitnicki
On Sat, 2016-08-27 at 15:39 +0800, Zhuo-hao Lee wrote:
> There are several ways to set the SDA hold time for i2c controller,
> including: Device Tree, built-in device properties and ACPI. However,
> if the SDA hold time is not specified by above method, we should
> read the value, where it is prese
Am 28.08.2016 07:59, schrieb Mikko Rapeli:
> On Fri, Aug 26, 2016 at 05:38:00PM +0200, walter harms wrote:
>> perhaps this not tested snipped would make sure that
>> you have included linux/rose.h ?
>>
>> #ifndef ROSE_KERNEL_H
>> #include
>> #endif
>>
>> #include
>
> Sorry, I did not quite get
On Sun 2016-08-28 10:07:10, Chen Yu wrote:
> Hi,
> On Fri, Aug 26, 2016 at 09:56:54PM +0200, Pavel Machek wrote:
> > Hi!
> >
> > > > > > What's the progress of this patch? Looks already have experts
> > > > > > review it.
> > > > > > Why this patch didn't accept?
> > > > > This patch is a little
Except the fact that we have a little bit different format for title
==> "IB/cxgb4: Mark symbols static for _free_qp"
Looks ok,
Reviewed-by: Leon Romanovsky
signature.asc
Description: PGP signature
Hi Andrew,
It's probably a bug fix that unveils the link errors.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
master
head: af56ff27eba54fceee5f5643e79bf6531f2e1739
commit: c60f169202c7643991a8b4bfeea60e06843d5b5a
arch/mn10300/kernel/fpu-nofpu.c: needs asm/elf.h
d
Linux 3.10.103 was just released.
The patch and changelog will appear soon at the following locations:
https://www.kernel.org/pub/linux/kernel/v3.x/
https://www.kernel.org/pub/linux/kernel/v3.x/patch-3.10.103.xz
https://www.kernel.org/pub/linux/kernel/v3.x/patch-3.10.103.gz
https://www.ker
> -Original Message-
> From: Pavel Machek [mailto:pa...@ucw.cz]
> Sent: Sunday, August 28, 2016 8:48 PM
> To: Chen, Yu C
> Cc: joeyli; Rafael J. Wysocki; linux...@vger.kernel.org; linux-
> ker...@vger.kernel.org
> Subject: Re: [PATCH][v6] PM / hibernate: Print the possible panic reason when
Good day dear, i hope this mail meets you well? my name is Jack, from the U.S.
I know this may seem inappropriate so i ask for your forgiveness but i wish to
get to know you better, if I may be so bold. I consider myself an easy-going
man, adventurous, honest and fun loving person but I am curre
[Adding Kees, in case it's of interest]
Below is the list of types of top-level initialized structures and the
number that are const. For quicker reading, here are some that are
sometimes const (numerator), but not always (denominator):
file_operations: 2221/2233
attribute_group: 447/919
irq_chi
On Sun 2016-08-28 13:08:02, Chen, Yu C wrote:
> > -Original Message-
> > From: Pavel Machek [mailto:pa...@ucw.cz]
> > Sent: Sunday, August 28, 2016 8:48 PM
> > To: Chen, Yu C
> > Cc: joeyli; Rafael J. Wysocki; linux...@vger.kernel.org; linux-
> > ker...@vger.kernel.org
> > Subject: Re: [PAT
From: Chao Yu
tests/generic/251 of fstest suit complains us with below message:
[ cut here ]
invalid opcode: [#1] PREEMPT SMP
CPU: 2 PID: 7698 Comm: fstrim Tainted: G O4.7.0+ #21
task: e9f4e000 task.stack: e7262000
EIP: 0060:[] EFLAGS: 00010202 CPU: 2
E
>>> There is plenty of room for at least &(*pj)->iop on the line before.
>>
>> This is true. - Do you prefer an other indentation approach here?
>
> Very much. Most of the kernel code puts as much information on a line as
> possible, unless there is a reason to do otherwise. Then more of the cod
From: cee1
In Case 3 of `sibling == parent->rb_right':
Right rotation will not change color of sl and S in the diagram
(i.e. should not change "sl" to "Sl", "S" to "s")
In Case 3 of `sibling == parent->rb_left':
(p) (p)
/ \ / \
S N--> sr N
/ \
> -Original Message-
> From: Pavel Machek [mailto:pa...@ucw.cz]
> Sent: Sunday, August 28, 2016 9:15 PM
> To: Chen, Yu C
> Cc: joeyli; Rafael J. Wysocki; linux...@vger.kernel.org; linux-
> ker...@vger.kernel.org
> Subject: Re: [PATCH][v6] PM / hibernate: Print the possible panic reason whe
On Sun, Aug 28, 2016 at 01:56:14PM +0200, Manfred Spraul wrote:
> spin_unlock() + spin_lock() together do not form a full memory barrier:
>
> a=1;
> spin_unlock(&b);
> spin_lock(&c);
> + smp_mb__after_unlock_lock();
> d=1;
Better would be s/d=1/r1=d/ above.
Then another process doing thi
From: Chao Yu
When decrypting dirents in ->readdir, fscrypt_fname_disk_to_usr won't
change content of original encrypted dirent, we don't need to allocate
additional buffer for storing mirror of it, so get rid of it.
Signed-off-by: Chao Yu
---
fs/f2fs/dir.c | 7 ---
1 file changed, 7 delet
On Thu, Aug 25, 2016 at 02:20:45PM -0600, Mathieu Poirier wrote:
SNIP
> return NULL;
> }
> +
> +static FILE *cs_device__open_file(const char *name)
> +{
> + struct stat st;
> + char path[PATH_MAX];
> + const char *sysfs;
> +
> + sysfs = sysfs__mountpoint();
> + if (!sys
On Thu, Aug 25, 2016 at 02:20:41PM -0600, Mathieu Poirier wrote:
SNIP
> ARM/CORGI MACHINE SUPPORT
> M: Richard Purdie
> diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config
> index 24803c58049a..72edf83d76b7 100644
> --- a/tools/perf/Makefile.config
> +++ b/tools/perf/Makefil
On Thu, Aug 25, 2016 at 02:20:40PM -0600, Mathieu Poirier wrote:
SNIP
> perf record -e some_event/@cfg1,@cfg2=config/ ...
>
> The above are all valid configuration and will see the strings 'cfg1'
> and 'cfg2=config' sent to the PMU driver for parsing and interpretation
> using the existing ioctl
Hello,
The following program causes a WARNING in idr_remove:
[ cut here ]
WARNING: CPU: 3 PID: 26766 at lib/idr.c:505
idr_remove called for id=1 which is not allocated.
CPU: 3 PID: 26766 Comm: syz-executor Not tainted 4.8.0-rc3+ #33
Hardware name: QEMU Standard PC (i440FX
Signed-off-by: Mike Rapoport
---
tools/testing/selftests/vm/userfaultfd.c | 41 +++-
1 file changed, 25 insertions(+), 16 deletions(-)
diff --git a/tools/testing/selftests/vm/userfaultfd.c
b/tools/testing/selftests/vm/userfaultfd.c
index a5e5808..75540e7 100644
--- a
Hi,
These patches add tests for userfaultfd events used in non-cooperative
scenario.
The tests verify that fork(), mremap() and madvise(MADV_DONTNEED) can be
properly handled when the process that monitors userfaultfd is not the
process that causes the pagefaults.
Mike Rapoport (3):
userfaultfd
With future addition of event tests, copy_page will be called with
different userfault file descriptors
Signed-off-by: Mike Rapoport
---
tools/testing/selftests/vm/userfaultfd.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/tools/testing/selftests/vm/userfaultfd.
Add test for userfaultfd events used in non-cooperative scenario when the
process that monitors the userfaultfd and handles user faults is not the
same process that causes the page faults.
Signed-off-by: Mike Rapoport
---
tools/testing/selftests/vm/userfaultfd.c | 174 +++
tch --base= (or --base=auto for
convenience) to record what (public, well-known) commit your patch series was
built on]
[Check https://git-scm.com/docs/git-format-patch for more information]
url:
https://github.com/0day-ci/linux/commits/Manfred-Spraul/spinlock-Document-memory-barrier-rules/20160
From: Vadim Pasternak
Device driver for Mellanox I2C controller logic, implemented in Lattice
CPLD device.
Device supports:
- Master mode
- One physical bus
- Polling mode
The Kconfig currently controlling compilation of this code is:
drivers/i2c/busses/Kconfig:config I2C_MLXCPLD
Signed-off-
bitops-Use-bool-instead-of-int-for-all-bit-test-functions/20160828-134633
> config: m68k-sun3_defconfig (attached as .config)
> compiler: m68k-linux-gcc (GCC) 4.9.0
> reproduce:
> wget
> https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
> -O ~/bi
From: Vadim Pasternak
This driver allows I2C routing controlled through CPLD select registers on
wide range of Mellanox systems (CPLD Lattice device).
MUX selection is provided by digital and analog HW. Analog part is not
under SW control.
Digital part is under CPLD control (channel selection/de-
We get 1 warning when build kernel with W=1:
drivers/infiniband/hw/cxgb4/qp.c:686:6: warning: no previous prototype for
'_free_qp' [-Wmissing-prototypes]
In fact, this function is only used in the file in which it is declared
and don't need a declaration, but can be made static.
so this patch mar
From: Chen Gang
Also use the same changing to asm-generic, and also use bool variable
instead of int variable for mips, mn10300, parisc and tile related
functions, and also avoid checkpatch.pl to report ERROR.
Include linux/types.h for alpha, arm, arm64, m68k, and openrisc to pass
building.
Ori
Dear Andy,
thanks for your review.
On 28/08/2016 14:28, Andy Shevchenko wrote:
> On Sat, 2016-08-27 at 14:40 +0200, Luca Ceresoli wrote:
>
> Put here few words _why_ you are doing this.
I'm doing it because this function is only used inside rtw_recv.c. Which
is quite logical, since it's a timer
Hi Xing, Elaine,
Am Dienstag, 2. August 2016, 21:34:12 schrieb Xing Zheng:
> From: Elaine Zhang
>
> The goal is that we can configure the most suitable pll params
> automatically.
>
> If setting freq is not supported in rockchip_pll_rate_table
> rk3399_pll_rates[], we can set pll params automat
Hi! Here is my second regression report for Linux 4.8. It lists 11
regressions. 5 of them are new; 5 mentioned in the last report two
weeks ago got fixed.
FWIW: A small detail: I did not include "Regression - SATA disks behind
USB ones on v4.8-rc1, breaking boot. [Re: Who reordered my disks]"
(
On Thu, Aug 25, 2016 at 11:07:01PM +0200, Peter Rosin wrote:
> This makes it trivial to constify them, so do that.
>
> Signed-off-by: Peter Rosin
Acked-by: Daniel Vetter
Feel free to merge through i2c tree.
-Daniel
> ---
> drivers/gpu/drm/drm_dp_helper.c | 10 +++---
> drivers/i2c/i2c-co
On 08/27/16 23:43, Mikko Rapeli wrote:
> Fixes userspace compilation errors like:
>
> linux/dm-log-userspace.h:416:2: error: unknown type name ‘uint64_t’
Reviewed-by: Bart Van Assche
From: Wei Yongjun
Use ATTRIBUTE_GROUPS macro to reduce the number of lines of code.
Generated by Coccinelle semantic patch.
Signed-off-by: Wei Yongjun
---
drivers/staging/fsl-mc/bus/mc-bus.c | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/drivers/staging/fsl-mc/bus/
On some platforms, there is occasional panic triggered when trying to
resume from hibernation, a typical panic looks like:
"BUG: unable to handle kernel paging request at 880085894000
IP: [] load_image_lzo+0x8c2/0xe70"
This is because e820 map has been changed by BIOS across
hibernation, and
1 - 100 of 300 matches
Mail list logo