[PATCH rdma-next 0/2] Fix warnings reported by kbuild

2020-07-19 Thread Leon Romanovsky
From: Leon Romanovsky Hi, There are two change as were reported by kbuild. They are not important enough to have Fixes line. Thanks Leon Romanovsky (2): RDMA/uverbs: Remove redundant assignments RDMA/uverbs: Silence shiftTooManyBitsSigned warning drivers/infiniband/core/uverbs_cmd.c |

Re: [PATCH] drivers: staging: media: atomisp: pci: css_2401_system: host: csi_rx.c: fixed a sparse warning by making undeclared symbols static

2020-07-19 Thread Mauro Carvalho Chehab
Em Tue, 14 Jul 2020 09:23:50 -0400 B K Karthik escreveu: > changed symbols N_SHORT_PACKET_LUT_ENTRIES, N_LONG_PACKET_ENTRIES, > N_CSI_RX_FE_CTRL_DLANES, N_CSI_RX_BE_SID_WIDTH to static because they > were not declared earlier. This patch is broken: ERROR: modpost: "N_CSI_RX_FE_CTRL_DLANES"

[git pull] habanalabs fixes pull request for kernel 5.8-rc7

2020-07-19 Thread Oded Gabbay
Hello Greg, This pull request is for 5.8-rc7 and it contains an important bug fix for possible out-of-bounds access error. Details are in the tag message below. Thanks, Oded The following changes since commit b279b1fe5799cf653de3822ca253f5d21639d90a: Merge tag

RE: [PATCH v6 0/5] scsi: ufs: Add Host Performance Booster Support

2020-07-19 Thread Avri Altman
Martin - Can we move forward with this one? Thanks, Avri > > > > v5 -> v6 > > > Change base commit to b53293fa662e28ae0cdd40828dc641c09f133405 > > > > > If no further comments, can this series have your Reviewed-by or Acked-by > > tag, so that this can be taken for 5.9? > > Thanks! > Hey, yes.

Re: [PATCH] staging: kpc2000: Replace depracated MSI API.

2020-07-19 Thread kernel test robot
Hi Suraj, Thank you for the patch! Yet something to improve: [auto build test ERROR on staging/staging-testing] url: https://github.com/0day-ci/linux/commits/Suraj-Upadhyay/staging-kpc2000-Replace-depracated-MSI-API/20200718-213859 base:

RE: [PATCH v3 1/4] scsi: ufs: Add checks before setting clk-gating states

2020-07-19 Thread Avri Altman
> > > Clock gating features can be turned on/off selectively which means its > state information is only important if it is enabled. This change makes > sure that we only look at state of clk-gating if it is enabled. > > Signed-off-by: Can Guo Reviewed-by: Avri Altman

[GIT PULL] dma-mapping fixes for 5.8

2020-07-19 Thread Christoph Hellwig
The following changes since commit 0dc589da873b58b70f4caf4b070fb0cf70fdd1dc: Merge tag 'iommu-fixes-v5.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu (2020-07-13 12:34:05 -0700) are available in the Git repository at: git://git.infradead.org/users/hch/dma-mapping.git

WARNING in do_syscall_64

2020-07-19 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:e9919e11 Merge branch 'for-linus' of git://git.kernel.org/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11dca4cf10 kernel config: https://syzkaller.appspot.com/x/.config?x=e944500a36bc4d55

Re: [PATCH] m68k: Replace HTTP links with HTTPS ones

2020-07-19 Thread Finn Thain
On Sat, 18 Jul 2020, Alexander A. Klimov wrote: > *Sigh* ... yes, doing everything one nice day is better that doing just > something right now. I wasn't saying "do everything possible or else do nothing". I was trying to point to the larger problem. The http links in the kernel source hardly

Re: [PATCH] i2c: iproc: fix race between client unreg and isr

2020-07-19 Thread Rayagonda Kokatanur
On Sun, Jul 19, 2020 at 5:10 AM Dhananjay Phadke wrote: > > When i2c client unregisters, synchronize irq before setting > iproc_i2c->slave to NULL. > > Unable to handle kernel NULL pointer dereference at virtual address > 0318 > > [ 371.020421] pc : bcm_iproc_i2c_isr+0x530/0x11f0 >

[PATCH] habanalabs: use no flags on MMU cache invalidation

2020-07-19 Thread Tomer Tayar
gaudi_mmu_invalidate_cache() doesn't use the flags parameter, and thus it can be set to 0 when the function is called in the gaudi only files. Signed-off-by: Tomer Tayar --- drivers/misc/habanalabs/gaudi/gaudi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH net-next v1] net: phy: at803x: add mdix configuration support for AR9331 and AR8035

2020-07-19 Thread Oleksij Rempel
This patch add MDIX configuration ability for AR9331 and AR8035. Theoretically it should work on other Atheros PHYs, but I was able to test only this two. Since I have no certified reference HW able to detect or configure MDIX, this functionality was confirmed by oscilloscope. Signed-off-by:

Re: [PATCH] habanalabs: use no flags on MMU cache invalidation

2020-07-19 Thread Oded Gabbay
On Sun, Jul 19, 2020 at 11:00 AM Tomer Tayar wrote: > > gaudi_mmu_invalidate_cache() doesn't use the flags parameter, and thus > it can be set to 0 when the function is called in the gaudi only files. > > Signed-off-by: Tomer Tayar > --- > drivers/misc/habanalabs/gaudi/gaudi.c | 3 +-- > 1 file

Re: [v2 1/4] coccinelle: api: extend memdup_user transformation with GFP_USER

2020-07-19 Thread Markus Elfring
>> you do indeed need to put - in front of the second and third lines as well. > > Thanks, Markus, Julia. I will send v3. How do you think about to discuss any remaining open issues already on the current software development version for your transformation approach? Regards, Markus

Re: [PATCH] m68k: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Am 19.07.20 um 09:51 schrieb Finn Thain: On Sat, 18 Jul 2020, Alexander A. Klimov wrote: *Sigh* ... yes, doing everything one nice day is better that doing just something right now. I wasn't saying "do everything possible or else do nothing". I was trying to point to the larger problem.

RE: [PATCH v3 4/4] scsi: ufs: Fix up and simplify error recovery mechanism

2020-07-19 Thread Avri Altman
Hi, > > Current UFS error recovery mechanism has two major problems, and neither > of > them is rare. > > - Error recovery can be invoked from multiple paths, including hibern8 > enter/exit, some vendor vops, ufshcd_eh_host_reset_handler(), resume and > eh_work scheduled from IRQ context.

[PATCH for v5.9] ARM: OMAP2+: PRM: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Turritopsis Dohrnii Teo En Ming’s Marketable Infocomm Technology (ICT) Skillset (Nov 2017 to 19 Jul 2020)

2020-07-19 Thread Turritopsis Dohrnii Teo En Ming
Subject: Turritopsis Dohrnii Teo En Ming’s Marketable Infocomm Technology (ICT) Skillset (Nov 2017 to 19 Jul 2020) Mr. Turritopsis Dohrnii Teo En Ming is an IT Consultant in Singapore. This list is prepared on 19th Jul 2020 Sunday 4.45 PM Singapore Time. This list is NOT exhaustive and could

[PATCH for v5.9] ARM: OMAP2+: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH for v5.9] ARM: OMAP2+: hwmod: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH 1/2] f2fs: add sysfs symbolic link to kobject with volume name

2020-07-19 Thread kernel test robot
to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Daeho-Jeong/f2fs-add-sysfs-symbolic-link-to-kobject-with-volume-name/20200719-134628 base: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev-test

Re: [PATCH v16 18/22] mm/lru: replace pgdat lru_lock with lruvec lock

2020-07-19 Thread Alex Shi
在 2020/7/18 下午10:15, Alex Shi 写道: >>> >>> struct wb_domain *mem_cgroup_wb_domain(struct bdi_writeback *wb); >>> diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h >>> index 14c668b7e793..36c1680efd90 100644 >>> --- a/include/linux/mmzone.h >>> +++ b/include/linux/mmzone.h >>> @@

[GIT PULL] USB driver fixes for 5.8-rc6

2020-07-19 Thread Greg KH
The following changes since commit 9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68: Linux 5.8-rc3 (2020-06-28 15:00:24 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.8-rc6 for you to fetch changes up to

[PATCH for v5.9] ARM: OMAP2+: pm33xx-core: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH] staging: rtl8192e: Fixed the space and indentation coding styles

2020-07-19 Thread Greg KH
On Fri, Jul 17, 2020 at 08:34:51PM +0530, Darshan D V wrote: > rtllib_crypt_ccmp.c: Fixed the error - space required before the > open parenthesis '(' on line #281. > > rtllib_crypt_ccmp.c: Fixed the warning - suspect code indent for > conditional statements on line #338 > > Signed-off-by:

Re: [PATCH] staging: wlan-ng: properly check endpoint types

2020-07-19 Thread Greg KH
On Sat, Jul 18, 2020 at 08:58:36AM -0700, Rustam Kovhaev wrote: > As syzkaller detected, wlan-ng driver submits bulk urb without checking > that the endpoint type is actually bulk, add usb_urb_ep_type_check() > > Reported-and-tested-by: syzbot+c2a1fa67c02faa0de...@syzkaller.appspotmail.com >

Re: [PATCH 2/4] staging: rtl8188eu: include: fixed multiple parentheses coding style issues

2020-07-19 Thread Greg Kroah-Hartman
On Sat, Jul 18, 2020 at 05:16:26AM -0400, B K Karthik wrote: > fixed multiple parentheses coding style issues reported by checkpatch. > > Signed-off-by: B K Karthik > --- > drivers/staging/rtl8188eu/include/ieee80211.h | 4 +-- > .../staging/rtl8188eu/include/osdep_service.h | 4 +-- >

[PATCH for v5.9] ARM: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH 2/4] staging: rtl8188eu: include: fixed multiple parentheses coding style issues

2020-07-19 Thread B K Karthik
On Sun, Jul 19, 2020 at 5:26 AM Greg Kroah-Hartman wrote: > > On Sat, Jul 18, 2020 at 05:16:26AM -0400, B K Karthik wrote: > > fixed multiple parentheses coding style issues reported by checkpatch. > > > > Signed-off-by: B K Karthik > > --- > > drivers/staging/rtl8188eu/include/ieee80211.h | 4

[PATCH] drm/ingenic: Silence uninitialized-variable warning

2020-07-19 Thread Paul Cercueil
Silence compiler warning about used but uninitialized 'ipu_state' variable. In practice, the variable would never be used when uninitialized, but the compiler cannot know that 'priv->ipu_plane' will always be NULL if CONFIG_INGENIC_IPU is disabled. Silence the warning by initializing the value to

[PATCH for v5.9] ARM: SAMSUNG: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH for v5.9] ARM: STM32: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH 01/32] iov_iter: Add ITER_MAPPING

2020-07-19 Thread David Howells
Al Viro wrote: > My main problem here is that your iterate_mapping() assumes that STEP is > safe under rcu_read_lock(), with no visible mentioning of that fact. Yeah, that's probably the biggest objection to this. > Note, BTW, that iov_iter_for_each_range() quietly calls user-supplied >

[PATCH for v5.9] ARM: dts: efm32: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH v6 2/7] pid: use checkpoint_restore_ns_capable() for set_tid

2020-07-19 Thread Adrian Reber
Use the newly introduced capability CAP_CHECKPOINT_RESTORE to allow using clone3() with set_tid set. Signed-off-by: Adrian Reber Signed-off-by: Nicolas Viennot Acked-by: Christian Brauner Reviewed-by: Serge Hallyn --- kernel/pid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v6 0/7] capabilities: Introduce CAP_CHECKPOINT_RESTORE

2020-07-19 Thread Adrian Reber
This is v6 of the 'Introduce CAP_CHECKPOINT_RESTORE' patchset. The changes to v5 are: * split patch dealing with /proc/self/exe into two patches: * first patch to enable changing it with CAP_CHECKPOINT_RESTORE and detailed history in the commit message * second patch changes -EINVAL

[PATCH v6 1/7] capabilities: Introduce CAP_CHECKPOINT_RESTORE

2020-07-19 Thread Adrian Reber
This patch introduces CAP_CHECKPOINT_RESTORE, a new capability facilitating checkpoint/restore for non-root users. Over the last years, The CRIU (Checkpoint/Restore In Userspace) team has been asked numerous times if it is possible to checkpoint/restore a process as non-root. The answer usually

Nice to meet you!

2020-07-19 Thread Monica Render
Please do you speak english?

[PATCH v6 4/7] proc: allow access in init userns for map_files with CAP_CHECKPOINT_RESTORE

2020-07-19 Thread Adrian Reber
Opening files in /proc/pid/map_files when the current user is CAP_CHECKPOINT_RESTORE capable in the root namespace is useful for checkpointing and restoring to recover files that are unreachable via the file system such as deleted files, or memfd files. Signed-off-by: Adrian Reber Signed-off-by:

[PATCH v6 6/7] prctl: exe link permission error changed from -EINVAL to -EPERM

2020-07-19 Thread Adrian Reber
From: Nicolas Viennot This brings consistency with the rest of the prctl() syscall where -EPERM is returned when failing a capability check. Signed-off-by: Nicolas Viennot Signed-off-by: Adrian Reber --- kernel/sys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v6 5/7] prctl: Allow local CAP_CHECKPOINT_RESTORE to change /proc/self/exe

2020-07-19 Thread Adrian Reber
From: Nicolas Viennot Originally, only a local CAP_SYS_ADMIN could change the exe link, making it difficult for doing checkpoint/restore without CAP_SYS_ADMIN. This commit adds CAP_CHECKPOINT_RESTORE in addition to CAP_SYS_ADMIN for permitting changing the exe link. The following describes the

[PATCH v6 7/7] selftests: add clone3() CAP_CHECKPOINT_RESTORE test

2020-07-19 Thread Adrian Reber
This adds a test that changes its UID, uses capabilities to get CAP_CHECKPOINT_RESTORE and uses clone3() with set_tid to create a process with a given PID as non-root. Signed-off-by: Adrian Reber --- tools/testing/selftests/clone3/.gitignore | 1 + tools/testing/selftests/clone3/Makefile

[PATCH v6 3/7] pid_namespace: use checkpoint_restore_ns_capable() for ns_last_pid

2020-07-19 Thread Adrian Reber
Use the newly introduced capability CAP_CHECKPOINT_RESTORE to allow writing to ns_last_pid. Signed-off-by: Adrian Reber Signed-off-by: Nicolas Viennot Acked-by: Christian Brauner Reviewed-by: Serge Hallyn --- kernel/pid_namespace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH -next] net: ena: use NULL instead of zero

2020-07-19 Thread Shay Agroskin
Joe Perches writes: On Sat, 2020-07-18 at 19:56 +0800, Wang Hai wrote: Fix sparse build warning: drivers/net/ethernet/amazon/ena/ena_netdev.c:2193:34: warning: Using plain integer as NULL pointer Better to remove the initialization altogether and move the declaration into the loop.

Re: power-off delay/hang due to commit 6d25be57 (mainline)

2020-07-19 Thread Stephen Berman
On Tue, 14 Jul 2020 16:11:35 +0200 Sebastian Andrzej Siewior wrote: > On 2020-07-14 15:54:57 [+0200], Rafael J. Wysocki wrote: >> On Tue, Jul 14, 2020 at 3:44 PM Sebastian Andrzej Siewior >> wrote:> >> > On 2020-06-24 23:49:52 [+0200], Stephen Berman wrote: >> > >> > Let me summarize the

[PATCH for v5.9] ARM: dts: mxs: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v3 4/4] scsi: ufs: Fix up and simplify error recovery mechanism

2020-07-19 Thread Can Guo
Hi Avri, On 2020-07-19 16:41, Avri Altman wrote: Hi, Current UFS error recovery mechanism has two major problems, and neither of them is rare. - Error recovery can be invoked from multiple paths, including hibern8 enter/exit, some vendor vops, ufshcd_eh_host_reset_handler(), resume and

Re: [patch V3 01/13] entry: Provide generic syscall entry functionality

2020-07-19 Thread Thomas Gleixner
Andy Lutomirski writes: > On Sat, Jul 18, 2020 at 7:16 AM Thomas Gleixner wrote: >> Andy Lutomirski writes: >> > FWIW, TIF_USER_RETURN_NOTIFY is a bit of an odd duck: it's an >> > entry/exit word *and* a context switch word. The latter is because >> > it's logically a per-cpu flag, not a

[PATCH for v5.9] ARM: mach-davinci: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH] drm/ingenic: Silence uninitialized-variable warning

2020-07-19 Thread Sam Ravnborg
Hi Paul. On Sun, Jul 19, 2020 at 11:38:34AM +0200, Paul Cercueil wrote: > Silence compiler warning about used but uninitialized 'ipu_state' > variable. In practice, the variable would never be used when > uninitialized, but the compiler cannot know that 'priv->ipu_plane' will > always be NULL if

[PATCH for v5.9] OMAP2+: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH] x86/idt: Make sure idt_table takes a whole page

2020-07-19 Thread Thomas Gleixner
Arvind Sankar writes: > To repeat the commit message, the problem is not misaligned > bss..page_aligned objects, but symbols in _other_ bss sections, which > can get allocated in the last page of bss..page_aligned, because its end > isn't page-aligned (maybe it should be?) That's the real and

[PATCH for v5.9] ath5k: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH for v5.9] ath9k: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH] rculist: Silence unused-value warning.

2020-07-19 Thread Suraj Upadhyay
The macro __list_check_srcu is used as a statement inside a for loop. __list_check_srcu becomes "true" when CONFIG_PROVE_RCU_LIST is not defined. This results in compiler warning about an unused value ("true"). Silence the compiler warning about the unused value "true" by replacing it with an

[PATCH 2/2] staging: rtl8192e: Fixed a coding style warning

2020-07-19 Thread Darshan D V
rtllib_crypt_ccmp.c: Fixed the warning - suspect code indent for conditional statements on line #338 Signed-off-by: Darshan D V --- drivers/staging/rtl8192e/rtllib_crypt_ccmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 1/2] staging: rtl8192e: Fixed a coding style error

2020-07-19 Thread Darshan D V
rtllib_crypt_ccmp.c: Fixed the error - space required before the open parenthesis '(' on line #281. Signed-off-by: Darshan D V --- drivers/staging/rtl8192e/rtllib_crypt_ccmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH for v5.9] b43: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v3 01/12] ima: Have the LSM free its audit rule

2020-07-19 Thread Mimi Zohar
On Fri, 2020-07-17 at 14:24 -0500, Tyler Hicks wrote: > On 2020-07-17 15:20:22, Nayna wrote: > > > > On 7/9/20 2:19 AM, Tyler Hicks wrote: > > > Ask the LSM to free its audit rule rather than directly calling kfree(). > > > > Is it to be called audit rule or filter rule ?  Likewise in subject

Re: [PATCH 2/4] staging: rtl8188eu: include: fixed multiple parentheses coding style issues

2020-07-19 Thread Greg Kroah-Hartman
On Sun, Jul 19, 2020 at 05:35:04AM -0400, B K Karthik wrote: > On Sun, Jul 19, 2020 at 5:26 AM Greg Kroah-Hartman > wrote: > > > > On Sat, Jul 18, 2020 at 05:16:26AM -0400, B K Karthik wrote: > > > fixed multiple parentheses coding style issues reported by checkpatch. > > > > > > Signed-off-by: B

Re: [PATCH 1/2] staging: rtl8192e: Fixed a coding style error

2020-07-19 Thread Greg KH
On Sun, Jul 19, 2020 at 04:25:56PM +0530, Darshan D V wrote: > rtllib_crypt_ccmp.c: Fixed the error - space required before the > open parenthesis '(' on line #281. What does this mean for a changelog text? And why is it indented? Did you read the section in the submitting patches

Re: [PATCH 2/2] staging: rtl8192e: Fixed a coding style warning

2020-07-19 Thread Greg KH
On Sun, Jul 19, 2020 at 04:25:57PM +0530, Darshan D V wrote: > rtllib_crypt_ccmp.c: Fixed the warning - suspect code indent for > conditional statements on line #338 You can't send two patches that do two different things, yet have the same exact subject: line :(

[tip: x86/urgent] x86/boot: Don't add the EFI stub to targets

2020-07-19 Thread tip-bot2 for Arvind Sankar
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: da05b143a308bd6a7a01f9732678ae63fc70 Gitweb: https://git.kernel.org/tip/da05b143a308bd6a7a01f9732678ae63fc70 Author:Arvind Sankar AuthorDate:Tue, 14 Jul 2020 23:26:31 -04:00

[tip: x86/urgent] x86/entry: Actually disable stack protector

2020-07-19 Thread tip-bot2 for Kees Cook
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 58ac3154b83938515129c20aa76d456a4c9202a8 Gitweb: https://git.kernel.org/tip/58ac3154b83938515129c20aa76d456a4c9202a8 Author:Kees Cook AuthorDate:Fri, 26 Jun 2020 13:34:25 -07:00 Committer:

Re: [PATCH] drm/ingenic: Silence uninitialized-variable warning

2020-07-19 Thread Paul Cercueil
Hi Sam, Le dim. 19 juil. 2020 à 12:23, Sam Ravnborg a écrit : Hi Paul. On Sun, Jul 19, 2020 at 11:38:34AM +0200, Paul Cercueil wrote: Silence compiler warning about used but uninitialized 'ipu_state' variable. In practice, the variable would never be used when uninitialized, but the

[PATCH for v5.9] b43legacy: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH 0/2] task_put batching

2020-07-19 Thread Pavel Begunkov
On 18/07/2020 17:37, Jens Axboe wrote: > On 7/18/20 2:32 AM, Pavel Begunkov wrote: >> For my a bit exaggerated test case perf continues to show high CPU >> cosumption by io_dismantle(), and so calling it io_iopoll_complete(). >> Even though the patch doesn't yield throughput increase for my setup,

Re: INFO: rcu detected stall in iterate_cleanup_work (2)

2020-07-19 Thread syzbot
syzbot has bisected this issue to: commit 5a781ccbd19e4664babcbe4b4ead7aa2b9283d22 Author: Vinicius Costa Gomes Date: Sat Sep 29 00:59:43 2018 + tc: Add support for configuring the taprio scheduler bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=141ed08710 start

[PATCH for v5.9] media: omap: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v16 13/22] mm/lru: introduce TestClearPageLRU

2020-07-19 Thread Alex Shi
在 2020/7/19 下午12:45, Alex Shi 写道: >>> It might make it more readable to pull in the later patch that modifies isolate_lru_pages that has it using TestClearPageLRU. >>> As to this change, It has to do in this patch, since any TestClearPageLRU >>> may >>> cause lru bit miss in the lru

[PATCH for v5.9] net: ieee802154: adf7242: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH] media: atomisp: fix mask and shift operation on ISPSSPM0

2020-07-19 Thread Mauro Carvalho Chehab
Em Thu, 16 Jul 2020 15:51:38 +0100 Colin King escreveu: > From: Colin Ian King > > Currently the check on bits 25:24 on ISPSSPM0 is always 0 because > the mask and shift operations are incorrect. Fix this by shifting > by MRFLD_ISPSSPM0_ISPSSS_OFFSET (24 bits right) and then masking > with

[PATCH for v5.9] net: sched: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH v8 2/2] clocksource: Ingenic: Add support for the Ingenic X1000 OST.

2020-07-19 Thread Zhou Yanjie
X1000 and SoCs after X1000 (such as X1500 and X1830) had a separate OST, it no longer belongs to TCU. This driver will register both a clocksource and a sched_clock to the system. Tested-by: 周正 (Zhou Zheng) Co-developed-by: 漆鹏振 (Qi Pengzhen) Signed-off-by: 漆鹏振 (Qi Pengzhen) Signed-off-by: 周琰杰

[PATCH] staging: rtl8188eu: add spaces around operators in header files

2020-07-19 Thread Michael Straube
Add spaces around operators in the header files to improve readability and clear checkpatch issues. Signed-off-by: Michael Straube --- .../rtl8188eu/include/hal8188e_rate_adaptive.h | 4 ++-- drivers/staging/rtl8188eu/include/odm_types.h| 6 +++---

Re: [PATCH] cpufreq: intel_pstate: Implement passive mode with HWP enabled

2020-07-19 Thread Rafael J. Wysocki
Hi Doug, On Fri, Jul 17, 2020 at 3:37 PM Doug Smythies wrote: > > Hi Rafael, > > Thank you for your reply. > > On 2020.07.16 05:08 Rafael J. Wysocki wrote: > > On Wed, Jul 15, 2020 at 10:39 PM Doug Smythies wrote: > >> On 2020.07.14 11:16 Rafael J. Wysocki wrote: > >> > > >> > From: Rafael J.

Add support for the OST in Ingenic X1000.

2020-07-19 Thread Zhou Yanjie
v7->v8: Revert the changes made in v7, remove the "default MACH_INGENIC" in SYSOST, and modify the bool description in OST to make it consistent with the style of TCU and SYSOST. 周琰杰 (Zhou Yanjie) (2): dt-bindings: timer: Add Ingenic X1000 OST bindings. clocksource: Ingenic: Add support for

[PATCH v8 1/2] dt-bindings: timer: Add Ingenic X1000 OST bindings.

2020-07-19 Thread Zhou Yanjie
Add the OST bindings for the X1 SoC from Ingenic. Tested-by: 周正 (Zhou Zheng) Signed-off-by: 周琰杰 (Zhou Yanjie) Reviewed-by: Paul Cercueil Reviewed-by: Rob Herring --- Notes: v1->v2: No change. v2->v3: Fix wrong parameters in "clocks". v3->v4: 1.Rename

[PATCH for v5.9] netfilter: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH for v5.9] netfilter: xtables: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH 1/2] staging: rtl8192e: add space before open parenthesis

2020-07-19 Thread Darshan D V
rtllib_crypt_ccmp.c: Fix the coding style error by adding a space before open parenthesis '(' in a conditional statement. Signed-off-by: Darshan D V --- drivers/staging/rtl8192e/rtllib_crypt_ccmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v2] smp: Fix a potential usage of stale nr_cpus

2020-07-19 Thread Thomas Gleixner
Muchun Song writes: > When the cmdline of "nr_cpus" is not valid, the @nr_cpu_ids is assigned > a stale value. The nr_cpus is only valid when get_option() return 1. So > check the return value to prevent this. > > Signed-off-by: Muchun Song > --- > changelog in v2: > 1) Rework the commit log.

[PATCH 2/2] staging: rtl8192e: add proper code indent

2020-07-19 Thread Darshan D V
rtllib_crypt_ccmp.c: As the code indent for a conditional statement is not according to the preferred coding style for the linux kernel, add code indent as necessary after a conditional statement. Signed-off-by: Darshan D V --- drivers/staging/rtl8192e/rtllib_crypt_ccmp.c | 2 +- 1 file

[PATCH for v5.9] prism54: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v1 1/1] drm/bridge: nwl-dsi: Drop DRM_BRIDGE_ATTACH_NO_CONNECTOR check.

2020-07-19 Thread Sam Ravnborg
Hi Guido. On Sat, Jul 18, 2020 at 08:26:37PM +0200, Guido Günther wrote: > We don't create a connector but let panel_bridge handle that so there's > no point in rejecting DRM_BRIDGE_ATTACH_NO_CONNECTOR. > > Signed-off-by: Guido Günther Looks good and correct. Reviewed-by: Sam Ravnborg If

[PATCH for v5.9] sch_cake: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH 2/2] kvm: mmu: page_track: Fix RCU list API usage

2020-07-19 Thread Naresh Kamboju
On Sat, 18 Jul 2020 at 05:43, Paul E. McKenney wrote: > > On Sat, Jul 18, 2020 at 12:35:12AM +0530, Naresh Kamboju wrote: > > Hi Paul, > > > > > I am not seeing this here. > > > > Do you notice any warnings while building linux next master > > for x86_64 architecture ? > > Idiot here was failing

[PATCH] x86/perf: Fix a typo

2020-07-19 Thread Hu Haowen
The word "Zhoaxin" is incorrect and the right one is "Zhaoxin". Signed-off-by: Hu Haowen --- arch/x86/events/zhaoxin/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/events/zhaoxin/core.c b/arch/x86/events/zhaoxin/core.c index 898fa1ae9ceb..e68827e604ad 100644

[PATCH for v5.9] staging: Replace HTTP links with HTTPS ones

2020-07-19 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[GIT PULL] perf/urgent improvements and fixes

2020-07-19 Thread Arnaldo Carvalho de Melo
Hi Linus, Please consider pulling, Best regards, - Arnaldo The following changes since commit 8882572675c1bb1cc544f4e229a11661f1fc52e4: Merge tag 'drm-fixes-2020-07-17-1' of git://anongit.freedesktop.org/drm/drm into master (2020-07-16 21:39:51 -0700) are available in the Git

[GIT pull] irq/urgent for v5.8-rc6

2020-07-19 Thread Thomas Gleixner
Linus, please pull the latest irq/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-2020-07-19 up to: baedb87d1b53: genirq/affinity: Handle affinity setting on inactive interrupts correctly Two fixes for the interrupt subsystem: - Make the

[GIT pull] timers/urgent for v5.8-rc6

2020-07-19 Thread Thomas Gleixner
Linus, please pull the latest timers/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-2020-07-19 up to: e2a71bdea816: timer: Fix wheel index calculation on last level Two fixes for the timer wheel: - A timer which is already expired at enqueue

[GIT pull] x86/urgent for v5.8-rc6

2020-07-19 Thread Thomas Gleixner
Linus, please pull the latest x86/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-2020-07-19 up to: da05b143a308: x86/boot: Don't add the EFI stub to targets A pile of fixes for x86: - Fix the I/O bitmap invalidation on XEN PV, which was

[GIT pull] sched/urgent for v5.8-rc6

2020-07-19 Thread Thomas Gleixner
Linus, please pull the latest sched/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-2020-07-19 up to: 01cfcde9c26d: sched/fair: handle case of task_h_load() returning 0 A set of scheduler fixes: - Plug a load average accounting race which was

[PATCH v2] pinctrl: core: print gpio in pins debugfs file

2020-07-19 Thread Drew Fustini
If there is a gpio range mapping for the pin, then print out the gpio number for the pin in the debugfs 'pins' file. Here is an example output on the BeagleBone Black from: /sys/kernel/debug/pinctrl/44e10800.pinmux-pinctrl-single/pins pin 103 (PIN103) GPIO-113 44e1099c 0027 pinctrl-single

Re: [PATCH v2] pinctrl: core: print gpio in pins debugfs file

2020-07-19 Thread Drew Fustini
On Sun, Jul 19, 2020 at 03:22:01PM +0200, Drew Fustini wrote: > If there is a gpio range mapping for the pin, then print out the gpio > number for the pin in the debugfs 'pins' file. > > Here is an example output on the BeagleBone Black from: >

Re: [PATCHv4 2/4] watchdog: add support for adjusting last known HW keepalive time

2020-07-19 Thread Guenter Roeck
On 7/17/20 6:29 AM, Tero Kristo wrote: > Certain watchdogs require the watchdog only to be pinged within a > specific time window, pinging too early or too late cause the watchdog > to fire. In cases where this sort of watchdog has been started before > kernel comes up, we must adjust the watchdog

Re: [PATCHv4 3/4] watchdog: rti-wdt: attach to running watchdog during probe

2020-07-19 Thread Guenter Roeck
On 7/17/20 6:29 AM, Tero Kristo wrote: > If the RTI watchdog is running already during probe, the driver must > configure itself to match the HW. Window size and timeout is probed from > hardware, and the last keepalive ping is adjusted to match it also. > > Signed-off-by: Tero Kristo

Re: [PATCH 16/20] dt-bindings: watchdog: renesas,wdt: Document r8a774e1 support

2020-07-19 Thread Guenter Roeck
On Wed, Jul 15, 2020 at 12:09:06PM +0100, Lad Prabhakar wrote: > RZ/G2H (a.k.a. R8A774E1) watchdog implementation is compatible > with R-Car Gen3, therefore add the relevant documentation. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Geert Uytterhoeven Reviewed-by: Guenter Roeck > --- >

Re: [PATCH] userfaultfd: avoid the duplicated release for userfaultfd_ctx

2020-07-19 Thread Xu, Yanfei
ping Al Viro Could you please help to review this patch? Thanks a lot. Yanfei On 7/15/20 12:12 AM, yanfei...@windriver.com wrote: From: Yanfei Xu when get_unused_fd_flags gets failure, userfaultfd_ctx_cachep will be freed by userfaultfd_fops's release function which is the

  1   2   3   4   5   6   >