Re: [PATCH v2] x86: Fix x32 System V message queue syscalls

2020-10-31 Thread Rich Felker
On Sun, Nov 01, 2020 at 01:27:35AM +, Jessica Clarke wrote: > On 1 Nov 2020, at 01:22, Rich Felker wrote: > > On Sat, Oct 31, 2020 at 04:30:44PM -0700, Andy Lutomirski wrote: > >> cc: some libc folks > >> > >> On Mon, Oct 12, 2020 at 6:45 AM Jessica Clarke wrote: > >>> > >>> POSIX specifies

Re: [PATCH v2 2/2] reboot: fix parsing of reboot cpu number

2020-10-31 Thread Matteo Croce
On Fri, Oct 30, 2020 at 3:30 PM Petr Mladek wrote: > > On Tue 2020-10-27 14:35:45, Matteo Croce wrote: > > From: Matteo Croce > > > > The kernel cmdline reboot= argument allows to specify the CPU used > > for rebooting, with the syntax `s` among the other flags, e.g. > > > > reboot=soft,s4

Re: [PATCH net-next] selftests/net: timestamping: add ptp v2 support

2020-10-31 Thread Richard Cochran
On Sat, Oct 31, 2020 at 11:40:40AM -0700, Jakub Kicinski wrote: > On Thu, 29 Oct 2020 21:09:31 +0200 Grygorii Strashko wrote: > > The timestamping tool is supporting now only PTPv1 (IEEE-1588 2002) while > > modern HW often supports also/only PTPv2. > > > > Hence timestamping tool is still useful

Re: [PATCH] net: ethernet: ti: cpsw: disable PTPv1 hw timestamping advertisement

2020-10-31 Thread Richard Cochran
On Sat, Oct 31, 2020 at 11:40:42AM -0700, Jakub Kicinski wrote: > On Thu, 29 Oct 2020 21:09:10 +0200 Grygorii Strashko wrote: > > The TI CPTS does not natively support PTPv1, only PTPv2. But, as it > > happens, the CPTS can provide HW timestamp for PTPv1 Sync messages, because > > CPTS HW parser lo

Re: [PATCH 1/5] arm64: dts: imx8mn: Enable Asynchronous Sample Rate Converter

2020-10-31 Thread Shawn Guo
On Mon, Oct 19, 2020 at 12:45:24PM -0500, Adam Ford wrote: > The driver exists for the Enhanced Asynchronous Sample Rate Converter > (EASRC) Controller, but there isn't a device tree entry for it. > > On the vendor kernel, they put this on a spba-bus for SDMA support. > > Add the the node for the

[PATCH] arm64: dts: meson: add watchdog to g12-common dtsi

2020-10-31 Thread Christian Hewitt
G12 vendor kernels show the watchdog on the same address as AXG so add the node to meson-g12-common.dtsi. GX boards inherit the same from meson-gx.dtsi. v2 fix typo in node name (s/wtd/wdt) Signed-off-by: Christian Hewitt --- arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 6 ++ 1 file

Re: [PATCH] USB: gadget: hidg: fix use-after-free in f_hidg

2020-10-31 Thread Kyungtae Kim
On Wed, Oct 28, 2020 at 4:13 PM Kyungtae Kim wrote: > > FuzzUSB (a variant of syzkaller) found the bug > when accessing a freed instance of struct f_hidg. > > Reference: https://www.spinics.net/lists/linux-usb/msg195103.html > > The fix uses reference count to ensure the right access to instance o

Re: KASAN: use-after-free Read in do_set_interface

2020-10-31 Thread Kyungtae Kim
It cannot be reproducible, unfortunately. Thanks, Kyungtae Kim On Sat, Oct 31, 2020 at 9:40 PM Alan Stern wrote: > > On Wed, Oct 28, 2020 at 04:51:09PM -0400, Kyungtae Kim wrote: > > We report a bug (in linux-5.8.13) found by FuzzUSB (a modified version > > of syzkaller). > > > > The bug happene

[PATCH] asm-generic: barrier.h: fix ALPHA builds when SMP is not enabled

2020-10-31 Thread Randy Dunlap
uses barrier() but needs to #include to get a generic definition of it to fix build errors in arch/alpha/ builds when CONFIG_SMP is not enabled. Fixes build errors like this (there are several like this): [49 in the kernel config that was supplied by the 0day bot] In file included from ../arch/

From the kindness of our heart!! You have been selected to receive (£1,000,000.00 British Pound)

2020-10-31 Thread Patrick and Frances Connolly
Dear Beneficiary, You have been selected to receive (£1,000,000.00 British Pound) as charity donation/grant from Patrick and Frances Connolly. Therefore, you are required to contact her through email for more details patrickcon2...@gmail.com -- This email has been checked for viruses

Business Opportunity Urgent Response

2020-10-31 Thread A_h_m_e_d _K_o_b_a_n_i
Good Day My Good Brother. Let me start by introducing myself I am Mr. Ahmed Kobani from Burkina Faso, I am writing you this letter based on latest development in my bank which I we like to bring you in. The sum of Fifteen Million Five Hundred Thousand United State Dollars ($ 15.5Million) this is

Re: [PATCH v2 00/15] timers: clean up ARCH_GETTIMEOFFSET, LEGACY_TIMER_TICK

2020-10-31 Thread Finn Thain
On Fri, 30 Oct 2020, Arnd Bergmann wrote: > CONFIG_ARCH_GETTIMEOFFSET has been gradually phased out from all > platforms, with only ARM EBSA110 recently. As this has no more known > users, the first three patches remove EBSA110 along with one platform > specific driver and the ARCH_GETTIMEOFFSE

Re: [PATCH] arm64: qcom: sc7180: trogdor: Add ADC nodes and thermal zone for charger thermistor

2020-10-31 Thread kernel test robot
. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Matthias-Kaehlcke/arm64-qcom-sc7180-trogdor-Add-ADC-nodes-and-thermal-zone-for-charger-thermistor/20201031-222833 bas

Re: [PATCH v2 31/39] docs: ABI: cleanup several ABI documents

2020-10-31 Thread Dmitry Torokhov
On Fri, Oct 30, 2020 at 08:40:50AM +0100, Mauro Carvalho Chehab wrote: > There are some ABI documents that, while they don't generate > any warnings, they have issues when parsed by get_abi.pl script > on its output result. > > Address them, in order to provide a clean output. > ... > .../ABI/

Re: [PATCH 5/5] crypto: hisilicon/hpre - add 'CURVE25519' algorithm

2020-10-31 Thread kernel test robot
-base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Meng-Yu/crypto-hisilicon-hpre-add-something-for-Kunpeng-930/20201031-143748 base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master conf

[PATCH] btrfs: fix boolreturn.cocci warnings

2020-10-31 Thread kernel test robot
From: kernel test robot fs/btrfs/space-info.c:810:9-10: WARNING: return of 0/1 in function 'need_preemptive_reclaim' with return type bool Return statements in functions returning bool should use true/false instead of 1/0. Generated by: scripts/coccinelle/misc/boolreturn.cocci Fixes: fc96d37

Re: [PATCH v5 05/15] mm/frame-vector: Use FOLL_LONGTERM

2020-10-31 Thread John Hubbard
On 10/31/20 7:45 AM, Daniel Vetter wrote: On Sat, Oct 31, 2020 at 3:55 AM John Hubbard wrote: On 10/30/20 3:08 AM, Daniel Vetter wrote: ... By removing this check from this location, and changing from pin_user_pages_locked() to pin_user_pages_fast(), I *think* we end up losing the check entir

[RESEND PATCH v2] usb: gadget: configfs: Fix use-after-free issue with udc_name

2020-10-31 Thread Macpaul Lin
From: Eddie Hung There is a use-after-free issue, if access udc_name in function gadget_dev_desc_UDC_store after another context free udc_name in function unregister_gadget. Context 1: gadget_dev_desc_UDC_store()->unregister_gadget()-> free udc_name->set udc_name to NULL Context 2: gadget_dev_d

Re: KASAN: use-after-free Read in decode_session6

2020-10-31 Thread syzbot
syzbot has bisected this issue to: commit bcd623d8e9fa5f82bbd8cd464dc418d24139157b Author: Xin Long Date: Thu Oct 29 07:05:05 2020 + sctp: call sk_setup_caps in sctp_packet_transmit instead bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=14df9cb850 start commit: 68b

[PATCH v3] perf tools: Support -x for perf stat report

2020-10-31 Thread Andi Kleen
Add support for the -x, option to enable CSV output with perf stat report. Useful to parse the information with other programs. % perf stat record --quiet -a -I 1000 sleep 5 % perf stat report -x, 1.000838672,4003.55,msec,cpu-clock,4003548736,100.00,, 1.000838672,11243,,context-switches,

Re: [PATCH] USB: gadget: hidg: fix use-after-free in f_hidg

2020-10-31 Thread Greg KH
On Sat, Oct 31, 2020 at 10:16:05PM -0400, Kyungtae Kim wrote: > On Wed, Oct 28, 2020 at 4:13 PM Kyungtae Kim wrote: > > > > FuzzUSB (a variant of syzkaller) found the bug You sent this 3 days ago. Please give us a chance, at least 2 weeks, to get to a patch when submitted. thanks, greg k-h

Re: [PATCH] staging: fbtft: fb_watterott: fix usleep_range is preferred over udelay

2020-10-31 Thread Greg KH
On Sun, Nov 01, 2020 at 02:20:10AM +0200, Hassan Shahbazi wrote: > Fix the checkpath.pl issue on fb_watterott.c. write_vmem and > write_vmem_8bit functions are within non-atomic context and can > safely use usleep_range. > see Documentation/timers/timers-howto.txt > > Signed-off-by: Hassan Shahbaz

<    1   2   3   4   5   6