[tip: core/rcu] torture: Allow alternative forms of kvm.sh command-line arguments

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: a5136f4ffb44f8c1a80406c5bfd4d233433398e6 Gitweb: https://git.kernel.org/tip/a5136f4ffb44f8c1a80406c5bfd4d233433398e6 Author:Paul E. McKenney AuthorDate:Thu, 24 Sep 2020 08:52:33 -07:00 Committ

[tip: core/rcu] x86/cpu: Avoid cpuinfo-induced IPI pileups

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: f4deaf90212c18d4b6d0687f0cba4c22d90b3391 Gitweb: https://git.kernel.org/tip/f4deaf90212c18d4b6d0687f0cba4c22d90b3391 Author:Paul E. McKenney AuthorDate:Wed, 02 Sep 2020 13:19:12 -07:00 Committ

[tip: core/rcu] kcsan: Fix encoding masks and regain address bit

2020-12-13 Thread tip-bot2 for Marco Elver
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 1d094cefc37e5ed4dec44a41841c8628f6b548a2 Gitweb: https://git.kernel.org/tip/1d094cefc37e5ed4dec44a41841c8628f6b548a2 Author:Marco Elver AuthorDate:Fri, 06 Nov 2020 10:34:56 +01:00 Committer:

RE: [PATCH v1 0/4] cpufreq: Allow drivers to receive more information from the governor

2020-12-13 Thread Doug Smythies
On 2020.12.08 11:15 Doug wrote: > On 2020.12.08 09:14 Rafael J. Wysocki wrote: > > On Tue, Dec 8, 2020 at 5:31 PM Giovanni Gherdovich > > wrote: > >> On Mon, 2020-12-07 at 17:25 +0100, Rafael J. Wysocki wrote: > >> I'd like to test this patch, as I have concerns on how it performs against > >> t

Re: [PATCH] MIPS: Ingenic: Disable HPTLB for D0 XBurst CPUs too

2020-12-13 Thread Zhou Yanjie
Hi Paul, On 2020/12/12 上午8:03, Paul Cercueil wrote: The JZ4760 has the HPTLB as well, but has a XBurst CPU with a D0 CPUID. Disable the HPTLB for all XBurst CPUs with a D0 CPUID. In the case where there is no HPTLB (e.g. for older SoCs), this won't have any side effect. Fixes: b02efeb05699 ("M

[tip: core/rcu] rcu: Implement rcu_segcblist_is_offloaded() config dependent

2020-12-13 Thread tip-bot2 for Frederic Weisbecker
The following commit has been merged into the core/rcu branch of tip: Commit-ID: e3771c850d3b9349b48449c9a91c98944a08650c Gitweb: https://git.kernel.org/tip/e3771c850d3b9349b48449c9a91c98944a08650c Author:Frederic Weisbecker AuthorDate:Mon, 21 Sep 2020 14:43:40 +02:00 Comm

[tip: core/rcu] torture: Periodically pause in stutter_wait()

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 19012b786ecccb29a9fa20c4ec0a67e2cdfbc010 Gitweb: https://git.kernel.org/tip/19012b786ecccb29a9fa20c4ec0a67e2cdfbc010 Author:Paul E. McKenney AuthorDate:Tue, 01 Sep 2020 16:58:41 -07:00 Committ

[tip: core/rcu] docs/rcu: Update the call_rcu() API

2020-12-13 Thread tip-bot2 for Hui Su
The following commit has been merged into the core/rcu branch of tip: Commit-ID: c386e29d43728778ddd642fa73cc582bee684171 Gitweb: https://git.kernel.org/tip/c386e29d43728778ddd642fa73cc582bee684171 Author:Hui Su AuthorDate:Thu, 15 Oct 2020 22:13:34 +08:00 Committer: Pa

[tip: core/rcu] torture: Exclude "NOHZ tick-stop error" from fatal errors

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 8d68e68a781db80606c8e8f3e4383be6974878fd Gitweb: https://git.kernel.org/tip/8d68e68a781db80606c8e8f3e4383be6974878fd Author:Paul E. McKenney AuthorDate:Wed, 16 Sep 2020 10:10:10 -07:00 Committ

[tip: core/rcu] rcuscale: Prevent hangs for invalid arguments

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 2f2214d43ccd27ac6d124287107c136a0f7c6053 Gitweb: https://git.kernel.org/tip/2f2214d43ccd27ac6d124287107c136a0f7c6053 Author:Paul E. McKenney AuthorDate:Thu, 17 Sep 2020 10:30:46 -07:00 Committ

[tip: core/rcu] torture: Accept time units on kvm.sh --duration argument

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 7de1ca35269ee20e40c35666c810cbaea528c719 Gitweb: https://git.kernel.org/tip/7de1ca35269ee20e40c35666c810cbaea528c719 Author:Paul E. McKenney AuthorDate:Tue, 22 Sep 2020 17:20:11 -07:00 Committ

[tip: core/rcu] refscale: Bounds-check module parameters

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 0c6d18d84db11840dd0f3f65750c6ea0bb6b8e0d Gitweb: https://git.kernel.org/tip/0c6d18d84db11840dd0f3f65750c6ea0bb6b8e0d Author:Paul E. McKenney AuthorDate:Thu, 27 Aug 2020 09:58:19 -07:00 Committ

[tip: core/rcu] tools/nolibc: Fix a spelling error in a comment

2020-12-13 Thread tip-bot2 for Bhaskar Chowdhury
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 06dc8d4591b8d8ce0ece94474718b53f0a5c5de3 Gitweb: https://git.kernel.org/tip/06dc8d4591b8d8ce0ece94474718b53f0a5c5de3 Author:Bhaskar Chowdhury AuthorDate:Tue, 20 Oct 2020 21:22:56 +02:00 Commit

[tip: core/rcu] x86/cpu: Avoid cpuinfo-induced IPIing of idle CPUs

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 3fcd6a230fa7d03bffcb831a81b40435c146c12b Gitweb: https://git.kernel.org/tip/3fcd6a230fa7d03bffcb831a81b40435c146c12b Author:Paul E. McKenney AuthorDate:Thu, 03 Sep 2020 15:23:29 -07:00 Committ

[tip: core/rcu] rcutorture: Prevent hangs for invalid arguments

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 4994684ce10924a0302567c315c91b0a64eeef46 Gitweb: https://git.kernel.org/tip/4994684ce10924a0302567c315c91b0a64eeef46 Author:Paul E. McKenney AuthorDate:Fri, 18 Sep 2020 13:30:33 -07:00 Committ

[tip: core/rcu] locktorture: Ignore nreaders_stress if no readlock support

2020-12-13 Thread tip-bot2 for Hou Tao
The following commit has been merged into the core/rcu branch of tip: Commit-ID: e5ace37d83af459bd491847df570b6763c602344 Gitweb: https://git.kernel.org/tip/e5ace37d83af459bd491847df570b6763c602344 Author:Hou Tao AuthorDate:Fri, 18 Sep 2020 19:44:24 +08:00 Committer: P

[tip: core/rcu] refscale: Prevent hangs for invalid arguments

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: bc80d353b3f565138cda7e95ed4020e6e69360b2 Gitweb: https://git.kernel.org/tip/bc80d353b3f565138cda7e95ed4020e6e69360b2 Author:Paul E. McKenney AuthorDate:Thu, 17 Sep 2020 10:37:10 -07:00 Committ

[tip: core/rcu] locktorture: Prevent hangs for invalid arguments

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 6b74fa0a776e3715d385b23d29db469179c825b0 Gitweb: https://git.kernel.org/tip/6b74fa0a776e3715d385b23d29db469179c825b0 Author:Paul E. McKenney AuthorDate:Fri, 18 Sep 2020 11:18:06 -07:00 Committ

[tip: core/rcu] tools/rcutorture: Fix BUG parsing of console.log

2020-12-13 Thread tip-bot2 for Anna-Maria Behnsen
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 01f9e708d9eae6335ae9ff25ab09893c20727a55 Gitweb: https://git.kernel.org/tip/01f9e708d9eae6335ae9ff25ab09893c20727a55 Author:Anna-Maria Behnsen AuthorDate:Mon, 02 Nov 2020 18:12:20 +01:00 Commi

[tip: core/rcu] rcutorture: Small code cleanups

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 293b93d66f149a9bd124aae195f048268e11870c Gitweb: https://git.kernel.org/tip/293b93d66f149a9bd124aae195f048268e11870c Author:Paul E. McKenney AuthorDate:Wed, 23 Sep 2020 16:46:36 -07:00 Committ

[tip: core/rcu] tools/memory-model: Add types to litmus tests

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 1947bfcf81a905e84a58b423063e81034a90efed Gitweb: https://git.kernel.org/tip/1947bfcf81a905e84a58b423063e81034a90efed Author:Paul E. McKenney AuthorDate:Thu, 05 Nov 2020 13:20:56 -08:00 Committ

[tip: core/rcu] torture: Make kvm-check-branches.sh use --allcpus

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 5be7d80deb80ceef50a6bd86d83c8fd62264778a Gitweb: https://git.kernel.org/tip/5be7d80deb80ceef50a6bd86d83c8fd62264778a Author:Paul E. McKenney AuthorDate:Thu, 15 Oct 2020 11:42:17 -07:00 Committ

[tip: core/rcu] rcu/tree: Add a warning if CPU being onlined did not report QS already

2020-12-13 Thread tip-bot2 for Joel Fernandes (Google)
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 9f866dac94292f93d3b6bf8dbe860a44b954e555 Gitweb: https://git.kernel.org/tip/9f866dac94292f93d3b6bf8dbe860a44b954e555 Author:Joel Fernandes (Google) AuthorDate:Tue, 29 Sep 2020 15:29:27 -04:00

[tip: core/rcu] torture: Force weak-hashed pointers on console log

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: c1e06287583e5ec496e4c02bf5b319e5e41a1fd2 Gitweb: https://git.kernel.org/tip/c1e06287583e5ec496e4c02bf5b319e5e41a1fd2 Author:Paul E. McKenney AuthorDate:Mon, 21 Sep 2020 13:18:48 -07:00 Committ

[tip: core/rcu] rcu-tasks: Convert rcu_tasks_wait_gp() for-loop to while-loop

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 77dc174103fdb121c47621e9856d73704b7eddd2 Gitweb: https://git.kernel.org/tip/77dc174103fdb121c47621e9856d73704b7eddd2 Author:Paul E. McKenney AuthorDate:Tue, 15 Sep 2020 15:41:50 -07:00 Committ

[tip: core/rcu] list.h: Update comment to explicitly note circular lists

2020-12-13 Thread tip-bot2 for Asif Rasheed
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 1eafe075bf9cb4db575be4ddf1b1c8256758714a Gitweb: https://git.kernel.org/tip/1eafe075bf9cb4db575be4ddf1b1c8256758714a Author:Asif Rasheed AuthorDate:Sun, 20 Sep 2020 17:31:54 +04:00 Committer:

Re: [PATCH] netfilter: conntrack: fix -Wformat

2020-12-13 Thread Tom Rix
On 12/2/20 2:34 PM, Nick Desaulniers wrote: > On Tue, Nov 10, 2020 at 2:04 PM Joe Perches wrote: >> On Tue, 2020-11-10 at 14:00 -0800, Nick Desaulniers wrote: >> >>> Yeah, we could go through and remove %h and %hh to solve this, too, right? >> Yup. >> >> I think one of the checkpatch improvement

[tip: core/rcu] locktorture: Invoke percpu_free_rwsem() to do percpu-rwsem cleanup

2020-12-13 Thread tip-bot2 for Hou Tao
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 0d7202876bcb968a68f5608b9ff7a824fbc7e94d Gitweb: https://git.kernel.org/tip/0d7202876bcb968a68f5608b9ff7a824fbc7e94d Author:Hou Tao AuthorDate:Thu, 24 Sep 2020 22:18:54 +08:00 Committer: P

[tip: core/rcu] x86/smpboot: Move rcu_cpu_starting() earlier

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 29368e09392123800e5e2bf0f3eda91f16972e52 Gitweb: https://git.kernel.org/tip/29368e09392123800e5e2bf0f3eda91f16972e52 Author:Paul E. McKenney AuthorDate:Tue, 20 Oct 2020 21:13:55 -07:00 Committ

[tip: core/rcu] rcu: Panic after fixed number of stalls

2020-12-13 Thread tip-bot2 for chao
The following commit has been merged into the core/rcu branch of tip: Commit-ID: dfe564045c653d9e6969ccca57a8a04771d333f7 Gitweb: https://git.kernel.org/tip/dfe564045c653d9e6969ccca57a8a04771d333f7 Author:chao AuthorDate:Sun, 30 Aug 2020 23:41:17 -07:00 Committer: Paul

[tip: core/rcu] rcu: Allow rcu_irq_enter_check_tick() from NMI

2020-12-13 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 6dbce04d8417ae706596366e16841d77c454ba52 Gitweb: https://git.kernel.org/tip/6dbce04d8417ae706596366e16841d77c454ba52 Author:Peter Zijlstra AuthorDate:Mon, 16 Nov 2020 13:10:12 +01:00 Committer

[tip: core/rcu] rcu: Prevent RCU_LOCKDEP_WARN() from swallowing the condition

2020-12-13 Thread tip-bot2 for Jakub Kicinski
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 65e9eb1ccfe56b41a0d8bfec651ea014968413cb Gitweb: https://git.kernel.org/tip/65e9eb1ccfe56b41a0d8bfec651ea014968413cb Author:Jakub Kicinski AuthorDate:Wed, 16 Sep 2020 11:45:28 -07:00 Committer

[tip: core/rcu] kcsan: Never set up watchpoints on NULL pointers

2020-12-13 Thread tip-bot2 for Marco Elver
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 55a2346c7ac4bbf6ee6972394237bf31e29a1c05 Gitweb: https://git.kernel.org/tip/55a2346c7ac4bbf6ee6972394237bf31e29a1c05 Author:Marco Elver AuthorDate:Thu, 22 Oct 2020 13:45:53 +02:00 Committer:

[tip: core/rcu] srcu: Use a more appropriate lockdep helper

2020-12-13 Thread tip-bot2 for Jakub Kicinski
The following commit has been merged into the core/rcu branch of tip: Commit-ID: f505d4346f6129d4708338491cf23ca9cf1d8f2a Gitweb: https://git.kernel.org/tip/f505d4346f6129d4708338491cf23ca9cf1d8f2a Author:Jakub Kicinski AuthorDate:Wed, 16 Sep 2020 11:45:26 -07:00 Committer

[tip: core/rcu] net: sched: Remove broken definitions and un-hide for !LOCKDEP

2020-12-13 Thread tip-bot2 for Jakub Kicinski
The following commit has been merged into the core/rcu branch of tip: Commit-ID: a72e9d5472055ca53faed106dc9a11c6b656e66d Gitweb: https://git.kernel.org/tip/a72e9d5472055ca53faed106dc9a11c6b656e66d Author:Jakub Kicinski AuthorDate:Wed, 16 Sep 2020 11:45:25 -07:00 Committer

[tip: core/rcu] rcu: Un-hide lockdep maps for !LOCKDEP

2020-12-13 Thread tip-bot2 for Jakub Kicinski
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 891cd1f99dd94746f0caf5eea0121079178ee9bf Gitweb: https://git.kernel.org/tip/891cd1f99dd94746f0caf5eea0121079178ee9bf Author:Jakub Kicinski AuthorDate:Wed, 16 Sep 2020 11:45:23 -07:00 Committer

[tip: core/rcu] doc: Present the role of READ_ONCE()

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 86b5a7381b12b1d1d5558d8087e5bbd04b7cf702 Gitweb: https://git.kernel.org/tip/86b5a7381b12b1d1d5558d8087e5bbd04b7cf702 Author:Paul E. McKenney AuthorDate:Thu, 24 Sep 2020 20:53:25 -07:00 Committ

[tip: core/rcu] lockdep: Provide dummy forward declaration of *_is_held() helpers

2020-12-13 Thread tip-bot2 for Jakub Kicinski
The following commit has been merged into the core/rcu branch of tip: Commit-ID: cd539cff9470fe1dacf0bf5ab3f54f37b854d6fc Gitweb: https://git.kernel.org/tip/cd539cff9470fe1dacf0bf5ab3f54f37b854d6fc Author:Jakub Kicinski AuthorDate:Wed, 16 Sep 2020 11:45:27 -07:00 Committer

[tip: core/rcu] rcutorture/nolibc: Fix a typo in header file

2020-12-13 Thread tip-bot2 for Samuel Hernandez
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 6c5b9de2c63b2f513a580c6c80d455350012e99b Gitweb: https://git.kernel.org/tip/6c5b9de2c63b2f513a580c6c80d455350012e99b Author:Samuel Hernandez AuthorDate:Sun, 11 Oct 2020 14:22:31 -04:00 Committ

[tip: core/rcu] rcutorture: Make preemptible TRACE02 enable lockdep

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: e1eb075ccf3766860b7aa3f104ca29dcb8a46ed0 Gitweb: https://git.kernel.org/tip/e1eb075ccf3766860b7aa3f104ca29dcb8a46ed0 Author:Paul E. McKenney AuthorDate:Tue, 15 Sep 2020 14:33:38 -07:00 Committ

[tip: core/rcu] srcu: Take early exit on memory-allocation failure

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 50edb988534c621a56ca103c0c16ac59e7399f01 Gitweb: https://git.kernel.org/tip/50edb988534c621a56ca103c0c16ac59e7399f01 Author:Paul E. McKenney AuthorDate:Thu, 10 Sep 2020 11:54:42 -07:00 Committ

[tip: core/rcu] rcu: Prevent lockdep-RCU splats on lock acquisition/release

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 4d60b475f858ebdb06c1339f01a890f287b5e587 Gitweb: https://git.kernel.org/tip/4d60b475f858ebdb06c1339f01a890f287b5e587 Author:Paul E. McKenney AuthorDate:Tue, 13 Oct 2020 12:39:23 -07:00 Committ

[tip: core/rcu] rcu: Do not report strict GPs for outgoing CPUs

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: bfb3aa735f82c8d98b32a669934ee7d6b346264d Gitweb: https://git.kernel.org/tip/bfb3aa735f82c8d98b32a669934ee7d6b346264d Author:Paul E. McKenney AuthorDate:Fri, 30 Oct 2020 13:11:24 -07:00 Committ

[tip: core/rcu] rcuscale: Avoid divide by zero

2020-12-13 Thread tip-bot2 for Paul E. McKenney
The following commit has been merged into the core/rcu branch of tip: Commit-ID: 45c7b962014da36c2ac1aee6e5014b644ba37a84 Gitweb: https://git.kernel.org/tip/45c7b962014da36c2ac1aee6e5014b644ba37a84 Author:Paul E. McKenney AuthorDate:Wed, 09 Sep 2020 22:24:57 -07:00 Committ

Re: [PATCH 5/6] iio:common:ms_sensors:ms_sensors_i2c: add support for alternative PROM layout

2020-12-13 Thread Alexandre Belloni
On 13/12/2020 17:20:42+, Jonathan Cameron wrote: > > +/** > > + * ms_sensors_tp_crc_valid_112() - CRC check function for > > + * Temperature and pressure devices for 112bit PROM. > > + * This function is only used when reading PROM coefficients > > + * > > + * @prom: pointer to PROM co

Re: [PATCH] powerpc/ps3: use dma_mapping_error()

2020-12-13 Thread Geoff Levand
On 12/13/20 10:26 AM, Vincent Stehlé wrote: > The DMA address returned by dma_map_single() should be checked with > dma_mapping_error(). Fix the ps3stor_setup() function accordingly. > > Fixes: 80071802cb9c ("[POWERPC] PS3: Storage Driver Core") > Signed-off-by: Vincent Stehlé > Cc: Geoff Levand

Re: [GIT pull] x86/urgent for 5.10

2020-12-13 Thread pr-tracker-bot
The pull request you sent on Sun, 13 Dec 2020 16:04:02 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > x86-urgent-2020-12-13 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ec6f5e0e5ca0764b4bc522c9f9d5abf876a0e3e3 Thank you! -- Deet-doot-dot, I

Re: [PATCH] powerpc/ps3: use dma_mapping_error()

2020-12-13 Thread Geert Uytterhoeven
On Sun, Dec 13, 2020 at 8:06 PM Vincent Stehlé wrote: > The DMA address returned by dma_map_single() should be checked with > dma_mapping_error(). Fix the ps3stor_setup() function accordingly. > > Fixes: 80071802cb9c ("[POWERPC] PS3: Storage Driver Core") > Signed-off-by: Vincent Stehlé Reviewed

Re: [PATCH] mm/vmalloc: Fix unlock order in s_stop()

2020-12-13 Thread Waiman Long
On 12/13/20 1:39 PM, Uladzislau Rezki wrote: On Sun, Dec 13, 2020 at 01:08:43PM -0500, Waiman Long wrote: When multiple locks are acquired, they should be released in reverse order. For s_start() and s_stop() in mm/vmalloc.c, that is not the case. s_start: mutex_lock(&vmap_purge_lock); spin_

Re: [PATCH] leds: Use DEVICE_ATTR_{RW, RO, WO} macros

2020-12-13 Thread Miguel Ojeda
On Sun, Dec 13, 2020 at 7:21 PM Joe Perches wrote: > > clang-format is not a tool to rewrite code only neaten its layout. > > coccinelle _might_ be able to do this for limited cases where the > show function is in the same compilation unit/file, but even then > it would not be a trivial script. +

Re: [PATCH 2/6] iio:pressure:ms5637: introduce hardware differentiation

2020-12-13 Thread Alexandre Belloni
On 13/12/2020 17:12:37+, Jonathan Cameron wrote: > > static const int ms5637_samp_freq[6] = { 960, 480, 240, 120, 60, 30 }; > > /* String copy of the above const for readability purpose */ > > static const char ms5637_show_samp_freq[] = "960 480 240 120 60 30"; > > @@ -128,6 +133,7 @@ static

Re: [PATCH] MIPS: Ingenic: Disable HPTLB for D0 XBurst CPUs too

2020-12-13 Thread Paul Cercueil
Hi Zhou, Le lun. 14 déc. 2020 à 3:12, Zhou Yanjie a écrit : Hi Paul, On 2020/12/12 上午8:03, Paul Cercueil wrote: The JZ4760 has the HPTLB as well, but has a XBurst CPU with a D0 CPUID. Disable the HPTLB for all XBurst CPUs with a D0 CPUID. In the case where there is no HPTLB (e.g. for old

Re: WARNING in yurex_write/usb_submit_urb

2020-12-13 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:a256e240 usb: phy: convert comma to semicolon git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing console output: https://syzkaller.appspot.com/x/log.txt?x=147b6adf50 kernel config

[PATCH] drm/rockchip: dsi: move all lane config except LCDC mux to bind()

2020-12-13 Thread Thomas Hebb
When we first enable the DSI encoder, we currently program some per-chip configuration that we look up in rk3399_chip_data based on the device tree compatible we match. This data configures various parameters of the MIPI lanes, including on RK3399 whether DSI1 is slaved to DSI0 in a dual-mode confi

[RESEND PATCH] drm/rockchip: dsi: remove extra component_del() call

2020-12-13 Thread Thomas Hebb
commit cf6d100dd238 ("drm/rockchip: dsi: add dual mipi support") added this devcnt field and call to component_del(). However, these both appear to be erroneous changes left over from an earlier version of the patch. In the version merged, nothing ever modifies devcnt, meaning component_del() runs

[RESEND PATCH] drm/rockchip: dsi: move all lane config except LCDC mux to bind()

2020-12-13 Thread Thomas Hebb
When we first enable the DSI encoder, we currently program some per-chip configuration that we look up in rk3399_chip_data based on the device tree compatible we match. This data configures various parameters of the MIPI lanes, including on RK3399 whether DSI1 is slaved to DSI0 in a dual-mode confi

INFO: task hung in fuse_simple_request

2020-12-13 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:7b1b868e Merge tag 'for-linus' of git://git.kernel.org/pub.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17e1713750 kernel config: https://syzkaller.appspot.com/x/.config?x=3416bb960d5c705d das

Re: [PATCH v2] mtd:ubi: Remove useless code in bytes_str_to_int

2020-12-13 Thread Richard Weinberger
On Fri, Dec 11, 2020 at 4:38 AM Chengsong Ke wrote: > > I just send the v1 with the wrong module name 'ubifs'. > > [PATCH] ubifs: Remove useless code in bytes_str_to_int > > :-) > > Thanks, > > //Chengsong Ke > ping Both patches are in my next tree and should appear soon on linux-next. Thanks fo

Re: linux-next: Fixes tag needs some work in the uml tree

2020-12-13 Thread Richard Weinberger
Stephen, On Fri, Dec 11, 2020 at 11:21 AM Stephen Rothwell wrote: > > Hi all, > > In commit > > 1aa1cfc19405 ("um: Remove use of asprinf in umid.c") > > Fixes tag > > Fixes: 492edce1306f (um: remove uses of variable length arrays) > > has these problem(s): > > - Target SHA1 does not exist >

[tip:timers/core] BUILD SUCCESS 3cabca87b329cbcbdf295be0094adbd72c7b1f67

2020-12-13 Thread kernel test robot
allnoconfig x86_64 randconfig-a003-20201213 x86_64 randconfig-a006-20201213 x86_64 randconfig-a002-20201213 x86_64 randconfig-a005-20201213 x86_64 randconfig-a004-20201213 x86_64 randconfig-a001-20201213 i386

RE: [PATCH v2] dma-mapping: add unlikely hint for error path in dma_mapping_error

2020-12-13 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Heiner Kallweit [mailto:hkallwe...@gmail.com] > Sent: Monday, December 14, 2020 5:33 AM > To: Christoph Hellwig ; Marek Szyprowski > ; Robin Murphy ; Song Bao Hua > (Barry Song) > Cc: open list:AMD IOMMU (AMD-VI) ; Linux > Kernel Mailing List > Subject: [PAT

RE: [PATCH] hv_netvsc: Validate number of allocated sub-channels

2020-12-13 Thread Michael Kelley
From: Andrea Parri (Microsoft) Sent: Wednesday, November 18, 2020 7:33 AM > > Lack of validation could lead to out-of-bound reads and information > leaks (cf. usage of nvdev->chan_table[]). Check that the number of > allocated sub-channels fits into the expected range. > > Suggested-by: Saruha

Re: [PATCH] mm/vmalloc: Fix unlock order in s_stop()

2020-12-13 Thread Matthew Wilcox
On Sun, Dec 13, 2020 at 07:39:36PM +0100, Uladzislau Rezki wrote: > On Sun, Dec 13, 2020 at 01:08:43PM -0500, Waiman Long wrote: > > When multiple locks are acquired, they should be released in reverse > > order. For s_start() and s_stop() in mm/vmalloc.c, that is not the > > case. > > > > s_sta

RE: [PATCH v4] hv_utils: Add validation for untrusted Hyper-V values

2020-12-13 Thread Michael Kelley
From: Andrea Parri (Microsoft) Sent: Monday, November 9, 2020 2:07 AM > > For additional robustness in the face of Hyper-V errors or malicious > behavior, validate all values that originate from packets that Hyper-V > has sent to the guest in the host-to-guest ring buffer. Ensure that > invalid

Re: [RFC 0/2] nocopy bvec for direct IO

2020-12-13 Thread Pavel Begunkov
On 09/12/2020 16:53, Jens Axboe wrote: > On 12/8/20 7:19 PM, Pavel Begunkov wrote: >> The idea is to avoid copying, merging, etc. bvec from iterator to bio >> in direct I/O and use the one we've already got. Hook it up for io_uring. >> Had an eye on it for a long, and it also was brought up by Matt

Re: [PATCH 1/2] iov: introduce ITER_BVEC_FLAG_FIXED

2020-12-13 Thread Pavel Begunkov
On 09/12/2020 18:24, Matthew Wilcox wrote: > On Wed, Dec 09, 2020 at 05:55:53PM +, Christoph Hellwig wrote: >> On Wed, Dec 09, 2020 at 01:37:05PM +, Pavel Begunkov wrote: >>> Yeah, I had troubles to put comments around, and it's still open. >>> >>> For current cases it can be bound to kiocb

UBSAN: shift-out-of-bounds in hash_mac_create

2020-12-13 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:a9e26cb5 Add linux-next specific files for 20201208 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=16f0512350 kernel config: https://syzkaller.appspot.com/x/.config?x=e259434a8eaf0206 dashboard

[tip:irq/core 56/60] ERROR: modpost: ".irq_to_desc" undefined!

2020-12-13 Thread kernel test robot
Hi Thomas, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core head: 3bda84519c6c2d57e7378417ac116f61d50abae1 commit: f07147b162a1cec348d8a9a7e7e73fdf7ce5f88b [56/60] genirq: Remove export of irq_to_desc() config: powerpc-allmodc

Re: [PATCH] mtd: remove redundant assignment to pointer eb

2020-12-13 Thread Richard Weinberger
On Fri, Sep 11, 2020 at 5:59 PM Miquel Raynal wrote: > > Hi Colin, > > Colin King wrote on Fri, 11 Sep 2020 > 11:23:21 +0100: > > > From: Colin Ian King > > > > Pointer eb is being assigned a value that is never read, the assignment > > is redundant and can be removed. > > > > Addresses-Coverity

Re: [PATCH v2] dma-mapping: add unlikely hint for error path in dma_mapping_error

2020-12-13 Thread Heiner Kallweit
Am 13.12.2020 um 22:27 schrieb Song Bao Hua (Barry Song): > > >> -Original Message- >> From: Heiner Kallweit [mailto:hkallwe...@gmail.com] >> Sent: Monday, December 14, 2020 5:33 AM >> To: Christoph Hellwig ; Marek Szyprowski >> ; Robin Murphy ; Song Bao Hua >> (Barry Song) >> Cc: open l

Re: [PATCH] KVM/SVM: add support for SEV attestation command

2020-12-13 Thread James Bottomley
On Wed, 2020-12-09 at 21:25 -0600, Brijesh Singh wrote: > Noted, I will send v2 with these fixed. I ran a test on this. It turns out for rome systems you need firmware md_sev_fam17h_model3xh_0.24b0A (or later) installed to get this and the QEMU patch with the base64 decoding fixed, but with that

Re: [PATCH v3 2/2] perf-stat: enable counting events for BPF programs

2020-12-13 Thread Jiri Olsa
On Thu, Dec 10, 2020 at 12:15:16AM +, Song Liu wrote: > > > > On Dec 9, 2020, at 9:03 AM, Jiri Olsa wrote: > > > > On Tue, Dec 08, 2020 at 10:16:46AM -0800, Song Liu wrote: > >> Introduce perf-stat -b option, which counts events for BPF programs, like: > >> > >> [root@localhost ~]# ~/perf

bcachefs-for-review

2020-12-13 Thread Kent Overstreet
Since last posting: The main change for upstreaming is that I've added deadlock avoidance code for the page cache coherency lock, and moved all of that code into fs/bcachefs/ for now - besides adding faults_disabled_mapping to task struct. See https://lore.kernel.org/linux-fsdevel/2020191011.ge

Re: [PATCH 2/2] iov_iter: optimise iter type checking

2020-12-13 Thread Pavel Begunkov
On 11/12/2020 02:01, Al Viro wrote: > On Thu, Nov 19, 2020 at 05:12:44PM +, Pavel Begunkov wrote: >> On 19/11/2020 17:03, Christoph Hellwig wrote: >>> On Thu, Nov 19, 2020 at 03:29:43PM +, Pavel Begunkov wrote: The problem here is that iov_iter_is_*() helpers check types for equal

Re: [PATCH 18/18] ipu3: Add driver for dummy INT3472 ACPI device

2020-12-13 Thread Daniel Scally
On 01/12/2020 18:49, Andy Shevchenko wrote: + table_entry = (struct gpiod_lookup)GPIO_LOOKUP_IDX(acpi_dev_name(adev), + ares->data.gpio.pin_table[0], + func, 0, GPIO_A

Re: [PATCH] s390/vfio-ap: Clean up vfio_ap resources when KVM pointer invalidated

2020-12-13 Thread Halil Pasic
On Fri, 11 Dec 2020 15:52:55 -0500 Tony Krowiak wrote: > > > On 12/7/20 7:01 PM, Halil Pasic wrote: > > On Mon, 7 Dec 2020 13:50:36 -0500 > > Tony Krowiak wrote: > > > >> On 12/4/20 2:05 PM, Halil Pasic wrote: > >>> On Fri, 4 Dec 2020 09:43:59 -0500 > >>> Tony Krowiak wrote: > >>> > >>

Re: [PATCH v2] proc: Allow pid_revalidate() during LOOKUP_RCU

2020-12-13 Thread Paul Moore
On Sun, Dec 13, 2020 at 11:30 AM Matthew Wilcox wrote: > On Sun, Dec 13, 2020 at 08:22:32AM -0600, Eric W. Biederman wrote: > > Matthew Wilcox writes: > > > > > On Thu, Dec 03, 2020 at 04:02:12PM -0800, Stephen Brennan wrote: > > >> -void pid_update_inode(struct task_struct *task, struct inode *i

Re: [PATCH 2/2] perf evlist: Support pipe mode display

2020-12-13 Thread Jiri Olsa
On Thu, Dec 10, 2020 at 03:13:02PM +0900, Namhyung Kim wrote: > Likewise, perf evlist command should print event attributes by reading > PERF_RECORD_HEADER_ATTR records. > > Before: > $ perf record -o- true | ./perf evlist -i- > (prints nothing) > > After: > $ perf record -o- true | ./perf

Re: [PATCH 1/2] perf report: Support --header-only for pipe mode

2020-12-13 Thread Jiri Olsa
On Thu, Dec 10, 2020 at 03:13:01PM +0900, Namhyung Kim wrote: > The --header-only checks file header and prints the feature data. But > as pipe mode doesn't have it in the header it prints almost nothing. > Change it to process first few records until it founds HEADER_FEATURE. > > Before: > $ p

Linux 5.10

2020-12-13 Thread Linus Torvalds
Ok, here it is - 5.10 is tagged and pushed out. I pretty much always wish that the last week was even calmer than it was, and that's true here too. There's a fair amount of fixes in here, including a few last-minute reverts for things that didn't get fixed, but nothing makes me go "we need another

Re: [PATCH] s390/vfio-ap: Clean up vfio_ap resources when KVM pointer invalidated

2020-12-13 Thread Halil Pasic
On Fri, 11 Dec 2020 16:08:53 -0500 Tony Krowiak wrote: > >>> +static void vfio_ap_mdev_put_kvm(struct ap_matrix_mdev *matrix_mdev) > >>> +{ > >>> + if (matrix_mdev->kvm) { > >>> + kvm_arch_crypto_clear_masks(matrix_mdev->kvm); > >>> + matrix_mdev->kvm->arch.crypto.pqap_hook = NULL

Re: [PATCH v6 1/5] counter: Internalize sysfs interface code

2020-12-13 Thread David Lechner
On 11/22/20 2:29 PM, William Breathitt Gray wrote: 14 files changed, 1806 insertions(+), 2546 deletions(-) It would be really nice if we could break this down into smaller pieces and start getting it merged. It is really tough to keep reviewing this much code in one patch over and over again

Re: [PATCH v6 0/5] Introduce the Counter character device interface

2020-12-13 Thread David Lechner
On 11/22/20 2:29 PM, William Breathitt Gray wrote: 1. Should standard Counter component data types be defined as u8 or u32? Many standard Counter component types such COUNTER_COMP_SIGNAL_LEVEL have standard values defined (e.g. COUNTER_SIGNAL_LEVEL_LOW and COUNTER_SIGNAL_LEVEL_HIGH)

Re: [PATCH v3 1/3] UBI: Do not zero out EC and VID on ECC-ed NOR flashes

2020-12-13 Thread Richard Weinberger
On Tue, Dec 8, 2020 at 7:17 PM Pratyush Yadav wrote: > > Richard, > > On 01/12/20 03:57PM, Pratyush Yadav wrote: > > For NOR flashes EC and VID are zeroed out before an erase is issued to > > make sure UBI does not mistakenly treat the PEB as used and associate it > > with an LEB. > > > > But on s

Re: [PATCH] netfilter: conntrack: fix -Wformat

2020-12-13 Thread Joe Perches
On Sun, 2020-12-13 at 11:21 -0800, Tom Rix wrote: > On 12/2/20 2:34 PM, Nick Desaulniers wrote: > > On Tue, Nov 10, 2020 at 2:04 PM Joe Perches wrote: > > > On Tue, 2020-11-10 at 14:00 -0800, Nick Desaulniers wrote: > > > > > > > Yeah, we could go through and remove %h and %hh to solve this, too,

RE: [RFC PATCH v8] sched/fair: select idle cpu from idle cpumask for task wakeup

2020-12-13 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Li, Aubrey [mailto:aubrey...@linux.intel.com] > Sent: Saturday, December 12, 2020 4:25 AM > To: Vincent Guittot > Cc: Ingo Molnar ; Peter Zijlstra ; > Juri Lelli ; Mel Gorman ; > Valentin Schneider ; Qais Yousef > ; Dietmar Eggemann ; Steven > Rostedt ; Ben S

Re: [PATCH] netfilter: conntrack: fix -Wformat

2020-12-13 Thread Tom Rix
On 12/13/20 3:25 PM, Joe Perches wrote: > On Sun, 2020-12-13 at 11:21 -0800, Tom Rix wrote: >> On 12/2/20 2:34 PM, Nick Desaulniers wrote: >>> On Tue, Nov 10, 2020 at 2:04 PM Joe Perches wrote: On Tue, 2020-11-10 at 14:00 -0800, Nick Desaulniers wrote: > Yeah, we could go through a

Re: [PATCH] gpio: aspeed: Lock GPIO pin used as IRQ

2020-12-13 Thread Andrew Jeffery
On Fri, 11 Dec 2020, at 00:44, Andy Shevchenko wrote: > On Thu, Dec 10, 2020 at 9:36 AM Troy Lee wrote: > > > > GPIO pins can be used as IRQ indicators. When they do, > > those pins should be flaged with locks to avoid kernel > > flagged > > > warning message. > > ... > > > @@ -651,6 +651,1

UBSAN: shift-out-of-bounds in snto32

2020-12-13 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:a9e26cb5 Add linux-next specific files for 20201208 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1198c93750 kernel config: https://syzkaller.appspot.com/x/.config?x=e259434a8eaf0206 dashboard

[PATCH v2 1/2] kconfig.h: Add IF_ENABLED() macro

2020-12-13 Thread Paul Cercueil
IF_ENABLED(CONFIG_FOO, ptr) evaluates to (ptr) if CONFIG_FOO is set to 'y' or 'm', NULL otherwise. The (ptr) argument must be a pointer. The IF_ENABLED() macro can be very useful to help GCC drop dead code. For instance, consider the following: #ifdef CONFIG_FOO_SUSPEND static int foo_su

[PATCH v2 2/2] pinctrl: ingenic: Only support SoCs enabled in config

2020-12-13 Thread Paul Cercueil
Tested on a JZ4740 system (ARCH=mips make qi_lb60_defconfig), this saves about 14 KiB, by allowing the compiler to garbage-collect all the functions and tables that correspond to SoCs that were disabled in the config. Signed-off-by: Paul Cercueil --- Notes: v2: Drop include drivers/pinctr

Re: [PATCH v6 3/5] counter: Add character device interface

2020-12-13 Thread David Lechner
On 11/22/20 2:29 PM, William Breathitt Gray wrote: This patch introduces a character device interface for the Counter subsystem. Device data is exposed through standard character device read operations. Device data is gathered when a Counter event is pushed by the respective Counter device driver

[PATCH 4/4] arm64: dts: allwinner: h6: Use RSB for AXP805 PMIC connection

2020-12-13 Thread Samuel Holland
On boards where the only peripheral connected to PL0/PL1 is an X-Powers PMIC, configure the connection to use the RSB bus rather than the I2C bus. Compared to the I2C controller that shares the pins, the RSB controller allows a higher bus frequency, and it is more CPU-efficient. Signed-off-by: Sam

[PATCH 0/4] Allwinner H6 RSB support

2020-12-13 Thread Samuel Holland
The Allwinner H6 SoC contains an RSB controller. It is almost completely undocumented, so it was missed when doing the initial SoC bringup. This series adds the clock/reset, pin configuration, and device tree node needed to use the RSB controller. Since RSB is faster, simpler, and generally more r

[PATCH 1/4] clk: sunxi-ng: h6-r: Add R_APB2_RSB clock and reset

2020-12-13 Thread Samuel Holland
While no information about the H6 RSB controller is included in the datasheet or manual, the vendor BSP and power management blob both reference the RSB clock parent and register address. These values were verified by experimentation. Since this clock/reset are added late, the specifier is added a

[PATCH 2/4] pinctrl: sunxi: h6-r: Add s_rsb pin functions

2020-12-13 Thread Samuel Holland
As there is an RSB controller in the H6 SoC, there should be some pin configuration for it. While no such configuration is documented, the "s_i2c" pins are suspiciously on the "alternate" function 3, with no primary function 2 given. This suggests the primary function for these pins is actually RSB

[PATCH 3/4] arm64: dts: allwinner: h6: Add RSB controller node

2020-12-13 Thread Samuel Holland
The H6 SoC contains an undocumented but fully functional RSB controller. Add support for it. The MMIO register address matches other SoCs of the same generation, and the IRQ matches a hole in the documented IRQ list. Signed-off-by: Samuel Holland --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi

[PATCH] counter:ti-eqep: remove floor

2020-12-13 Thread David Lechner
The hardware doesn't support this. QPOSINIT is an initialization value that is triggered by other things. When the counter overflows, it always wraps around to zero. Fixes: f213729f6796 "counter: new TI eQEP driver" Signed-off-by: David Lechner --- drivers/counter/ti-eqep.c | 35

Loan Offer

2020-12-13 Thread Shell Federal
We give out xmas loan bonaza as low as 1% interest please contact us for more details

Re: [PATCH v2, 15/17] soc: mediatek: mmsys: add mt8192 mmsys support

2020-12-13 Thread Yongqiang Niu
On Mon, 2020-12-14 at 00:02 +0800, Chun-Kuang Hu wrote: > Hi, Yongqiang: > > Yongqiang Niu 於 2020年12月12日 週六 下午12:22寫道: > > > > add mt8192 mmsys support > > > > Signed-off-by: Yongqiang Niu > > --- > > drivers/soc/mediatek/mmsys/Makefile | 1 + > > drivers/soc/mediatek/mmsys/mt8192-mmsys

<    1   2   3   4   5   >