aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-23[PATCH net-next] net: phy: fix issue with loading PHY driver w/o initramfsalphaManivannan Sadhasivam
It was reported that on a system with nfsboot and w/o initramfs network fails because trying to load the PHY driver returns -ENOENT. Reason was that due to missing initramfs the modprobe binary isn't available. So we have to ignore error code -ENOENT. Fixes: 13d0ab6750b2 ("net: phy: check return code when requesting PHY driver module") Reported-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx> Signed-off-by: Heiner Kallweit <hkallweit1@xxxxxxxxx> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
2019-01-23arm64: dts: freescale: imx8qxp: Add reg property to power domain nodeManivannan Sadhasivam
In order to maintain the compatibility with downstream u-boot, the reg property needs to be added to the power domain node of IMX8QXP. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
2019-01-23arm64: dts: freescale: 96Boards Alpha supportManivannan Sadhasivam
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
2019-01-18Add linux-next specific files for 20190118Stephen Rothwell
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
2019-01-18Merge branch 'akpm/master'Stephen Rothwell
2019-01-18drivers/media/platform/sti/delta/delta-ipc.c: fix read buffer overflowAndi Kleen
The single caller passes a string to delta_ipc_open, which copies with a fixed size larger than the string. So it copies some random data after the original string the ro segment. If the string was at the end of a page it may fault. Just copy the string with a normal strcpy after clearing the field. Found by a LTO build (which errors out) because the compiler inlines the functions and can resolve the string sizes and triggers the compile time checks in memcpy. In function `memcpy', inlined from `delta_ipc_open.constprop' at linux/drivers/media/platform/sti/delta/delta-ipc.c:178:0, inlined from `delta_mjpeg_ipc_open' at linux/drivers/media/platform/sti/delta/delta-mjpeg-dec.c:227:0, inlined from `delta_mjpeg_decode' at linux/drivers/media/platform/sti/delta/delta-mjpeg-dec.c:403:0: /home/andi/lsrc/linux/include/linux/string.h:337:0: error: call to `__read_overflow2' declared with attribute error: detected read beyond size of object passed as 2nd parameter __read_overflow2(); Link: http://lkml.kernel.org/r/20171222001212.1850-1-andi@firstfloor.org Signed-off-by: Andi Kleen <ak@linux.intel.com> Cc: Hugues FRUCHET <hugues.fruchet@st.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
2019-01-18kernel/fork.c: remove duplicated includeYueHaibing
Remove duplicated include. Link: http://lkml.kernel.org/r/20181209062952.17736-1-yuehaibing@huawei.com Signed-off-by: YueHaibing <yuehaibing@huawei.com> Reviewed-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
2019-01-18locking/atomics: build atomic headers as requiredMark Rutland
Andrew and Ingo report that the check-atomics.sh script is simply too slow to run for every kernel build, and it's impractical to make it faster without rewriting it in something other than shell. Rather than committing the generated headers, let's regenerate these as-required for a pristine tree. That ensures they're always up-to-date, allows them to be built in parallel, and avoid redundant rebuilds, which is a 2-8s saving per incremental build. Since the results are not committed, it's very obvious that they should not be modified directly. If we need to generate more headers in future, it's easy to extend Makefile.genheader to permit this. I've verified that this works in the cases we previously had issues with (out-of-tree builds and where scripts have no execute permissions), and have tested these cases for both x86_64 and arm64. The diffstat looks nice, at least... Link: http://lkml.kernel.org/r/20181123153321.8561-1-mark.rutland@arm.com Signed-off-by: Mark Rutland <mark.rutland@arm.com> Cc: Boqun Feng <boqun.feng@gmail.com> Cc: Borislav Petkov <bp@suse.de> Cc: Ingo Molnar <mingo@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
2019-01-18include/linux/sched/signal.h: replace `tsk' with `task'Andrei Vagin
This file uses "task" 85 times and "tsk" 25 times. It is better to be consistent. Link: http://lkml.kernel.org/r/20181129180547.15976-1-avagin@gmail.com Signed-off-by: Andrei Vagin <avagin@gmail.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Oleg Nesterov <oleg@redhat.com> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
2019-01-18scripts/atomic/check-atomics.sh: don't assume that scripts are executableAndrew Morton
patch(1) doesn't set the x bit on files. So if someone downloads and applies patch-4.21.xz, their kernel won't build. Fix that by executing /bin/sh. Cc: Mark Rutland <mark.rutland@arm.com> Cc: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Boqun Feng <boqun.feng@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
2019-01-18Merge branch 'akpm-current/current'Stephen Rothwell
2019-01-18Revert "drm/imx: Allow building under COMPILE_TEST"Stephen Rothwell
This reverts commit 97144d12df00cbfcc6de3e7be6a5596c1551b1f7.
2019-01-18Merge remote-tracking branch 'pidfd/for-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'kgdb-dt/kgdb/for-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'xarray/xarray'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'nvmem/for-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'slimbus/for-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'cisco/for-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'kspp/for-next/kspp'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'ntb/ntb-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'at24/at24/for-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'nvdimm/libnvdimm-for-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'rtc/rtc-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'coresight/next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'livepatching/for-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'random/dev'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'userns/for-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'pwm/for-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'pinctrl/for-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'gpio-brgl/gpio/for-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'gpio/for-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'rpmsg/for-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'vhost/linux-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'scsi-mkp/for-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'scsi/for-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'cgroup/for-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'slave-dma/next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'icc/icc-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'mux/for-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'staging/staging-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'char-misc/char-misc-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'tty/tty-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'phy-next/next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'usb/usb-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'driver-core/driver-core-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'ipmi/for-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'leds/for-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'percpu/for-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'xen-tip/linux-next'Stephen Rothwell
2019-01-18Merge remote-tracking branch 'rcu/rcu/next'Stephen Rothwell