RE: [PATCH] perf arm pmu: fix build error on MUSL libc

2020-12-08 Thread Chanho Park
Hi Namhyung and Jiri, > -Original Message- > From: Jiri Olsa > Sent: Monday, December 7, 2020 10:29 PM > To: Namhyung Kim > Cc: Chanho Park ; Will Deacon ; > Chanho Park ; mathieu.poir...@linaro.org; > suzuki.poul...@arm.com; coresi...@lists.linaro.org; linux-arm- > ker...@lists.infradea

Re: [PATCH 2/7] net: batman-adv: remove unneeded MODULE_VERSION() usage

2020-12-08 Thread Sven Eckelmann
On Tuesday, 8 December 2020 08:48:56 CET Enrico Weigelt, metux IT consult wrote: > > Is there some explanation besides an opinion? Some kind goal which you want > > to > > achieve with it maybe? > > Just a cleanup. I've been under the impression that this version is just > an relic from oot time

Re: [PATCH bpf-next v4 06/11] bpf: Add BPF_FETCH field / create atomic_fetch_add instruction

2020-12-08 Thread Brendan Jackman
On Mon, Dec 07, 2020 at 09:31:40PM -0800, John Fastabend wrote: > Brendan Jackman wrote: > > The BPF_FETCH field can be set in bpf_insn.imm, for BPF_ATOMIC > > instructions, in order to have the previous value of the > > atomically-modified memory location loaded into the src register > > after an

Re: [PATCH v5 2/3] usb: serial: xr_serial: Add gpiochip support

2020-12-08 Thread Johan Hovold
On Sat, Dec 05, 2020 at 11:21:09PM +0100, Linus Walleij wrote: > On Tue, Dec 1, 2020 at 4:50 PM Johan Hovold wrote: > > On Tue, Dec 01, 2020 at 03:37:38PM +0100, Linus Walleij wrote: > > > On Sun, Nov 22, 2020 at 6:08 PM Manivannan Sadhasivam > > > wrote: > > > > You know the names of the pins.

[PATCH v3 1/3] erofs: get rid of magical Z_EROFS_MAPPING_STAGING

2020-12-08 Thread Gao Xiang
Previously, we played around with magical page->mapping for short-lived temporary pages since we need to identify different types of pages in the same pcluster but both invalidated and short-lived temporary pages can have page->mapping == NULL. It was considered as safe because that temporary pages

Re: [PATCH] arm64/irq: report bug if NR_IPI greater than max SGI during compile time

2020-12-08 Thread Pingfan Liu
On Tue, Dec 8, 2020 at 5:51 PM Marc Zyngier wrote: > > On 2020-12-08 09:43, Pingfan Liu wrote: > > On Tue, Dec 8, 2020 at 5:31 PM Marc Zyngier wrote: > >> > >> On 2020-12-08 09:21, Pingfan Liu wrote: > >> > Although there is a runtime WARN_ON() when NR_IPR > max SGI, it had > >> > better > >> > d

[PATCH v3 3/3] erofs: simplify try_to_claim_pcluster()

2020-12-08 Thread Gao Xiang
simplify try_to_claim_pcluster() by directly using cmpxchg() here (the retry loop caused more overhead.) Also, move the chain loop detection in and rename it to z_erofs_try_to_claim_pcluster(). Reviewed-by: Chao Yu Signed-off-by: Gao Xiang --- fs/erofs/zdata.c | 51 +++--

[PATCH v3 2/3] erofs: insert to managed cache after adding to pcl

2020-12-08 Thread Gao Xiang
Previously, it could be some concern to call add_to_page_cache_lru() with page->mapping == Z_EROFS_MAPPING_STAGING (!= NULL). In contrast, page->private is used instead now, so partially revert commit 5ddcee1f3a1c ("erofs: get rid of __stagingpage_alloc helper") with some adaption for simplicity.

Re: [PATCH 2/4] sched/fair: Do not replace recent_used_cpu with the new target

2020-12-08 Thread Dietmar Eggemann
On 07/12/2020 10:15, Mel Gorman wrote: > After select_idle_sibling, p->recent_used_cpu is set to the > new target. However on the next wakeup, prev will be the same as I'm confused here. Isn't current->recent_used_cpu set to 'cpu = smp_processor_id()' after sis()? Looking at v5.10-rc6. [...] > d

Re: [PATCH v5 0/2] MTE support for KVM guest

2020-12-08 Thread Marc Zyngier
On 2020-12-08 09:51, Haibo Xu wrote: On Mon, 7 Dec 2020 at 22:48, Steven Price wrote: [...] Sounds like you are making good progress - thanks for the update. Have you thought about how the PROT_MTE mappings might work if QEMU itself were to use MTE? My worry is that we end up with MTE in a

Re: linux-next: build failure after merge of the scsi-mkp tree

2020-12-08 Thread Stephen Rothwell
Hi Christoph, On Tue, 8 Dec 2020 10:30:39 +0100 Christoph Hellwig wrote: > > On Tue, Dec 08, 2020 at 08:28:53PM +1100, Stephen Rothwell wrote: > > Hi all, > > > > After merging the scsi-mkp tree, today's linux-next build (sparc64 > > defconfig) failed like this: > > > > drivers/mtd/nand/raw/int

Re: [PATCH] arm64: cpufeature: fix unused function warning

2020-12-08 Thread Will Deacon
On Mon, Dec 07, 2020 at 06:19:31PM +, Catalin Marinas wrote: > On Fri, Dec 04, 2020 at 09:59:10AM +, Will Deacon wrote: > > On Thu, Dec 03, 2020 at 11:32:11PM +0100, Arnd Bergmann wrote: > > > From: Arnd Bergmann > > > > > > The __system_matches_cap() function is now only used in an #ifde

Re: [PATCH] x86/apic: Fix CPU devicetree-node lookups

2020-12-08 Thread Johan Hovold
On Tue, Nov 24, 2020 at 02:42:47PM +0100, Johan Hovold wrote: > Fix CPU devicetree-node lookups by implementing > arch_match_cpu_phys_id(). > > This allows using of_get_cpu_node() and of_cpu_device_node_get() to look > up CPU devicetree nodes and specifically makes sure that CPU struct > devices a

Re: [PATCH 4/4] phy: freescale: phy-fsl-imx8-mipi-dphy: Add i.MX8qxp LVDS PHY mode support

2020-12-08 Thread Liu Ying
On Tue, 2020-12-08 at 10:24 +0100, Guido Günther wrote: > Hi Liu, > some minor comments inline: > > On Fri, Dec 04, 2020 at 03:33:44PM +0800, Liu Ying wrote: > > i.MX8qxp SoC embeds a Mixel MIPI DPHY + LVDS PHY combo which supports > > either a MIPI DSI display or a LVDS display. The PHY mode is

Re: [PATCH v5 0/2] MTE support for KVM guest

2020-12-08 Thread Haibo Xu
On Tue, 8 Dec 2020 at 00:44, Dr. David Alan Gilbert wrote: > > * Steven Price (steven.pr...@arm.com) wrote: > > On 07/12/2020 15:27, Peter Maydell wrote: > > > On Mon, 7 Dec 2020 at 14:48, Steven Price wrote: > > > > Sounds like you are making good progress - thanks for the update. Have > > > > y

Re: [PATCH v4 2/7] Input: use input_device_enabled()

2020-12-08 Thread Marek Szyprowski
Hi Andrzej, On 07.12.2020 16:50, Andrzej Pietrasiewicz wrote: > Hi Marek, > > W dniu 07.12.2020 o 14:32, Marek Szyprowski pisze: >> Hi Andrzej, >> >> On 08.06.2020 13:22, Andrzej Pietrasiewicz wrote: >>> Use the newly added helper in relevant input drivers. >>> >>> Signed-off-by: Andrzej Pietrasie

Re: [PATCH v3 0/5] Allwinner V3 SL631 Action Camera Support and Related Fixes

2020-12-08 Thread Maxime Ripard
On Sun, Dec 06, 2020 at 05:51:26PM +0100, Paul Kocialkowski wrote: > This series adds support for the Allwinner V3-based SL631 family of > Action Cameras, starting with the IMX179 fashion. > > A few fixes to V3 support are added along the way, most notably support > for the NMI IRQ controller whic

Re: [PATCH v2 5/5] locking/rwsem: Remove reader optimistic spinning

2020-12-08 Thread Peter Zijlstra
On Fri, Nov 20, 2020 at 11:14:16PM -0500, Waiman Long wrote: > @@ -1032,40 +901,16 @@ rwsem_down_read_slowpath(struct rw_semaphore *sem, int > state, long count) >* >* We can take the read lock directly without doing >* rwsem_optimistic_spin() if the conditions are right.

Re: [PATCH 1/4] sched/fair: Remove SIS_AVG_CPU

2020-12-08 Thread Dietmar Eggemann
On 07/12/2020 10:15, Mel Gorman wrote: > SIS_AVG_CPU was introduced as a means of avoiding a search when the > average search cost indicated that the search would likely fail. It > was a blunt instrument and disabled by 4c77b18cf8b7 ("sched/fair: Make > select_idle_cpu() more aggressive") and later

[PATCH v1] apparmor: Remove duplicate macro list_entry_is_head()

2020-12-08 Thread Andy Shevchenko
Strangely I hadn't had noticed the existence of the list_entry_is_head() in apparmor code when added the same one in the list.h. Luckily it's fully identical and didn't break builds. In any case we don't need a duplicate anymore, thus remove it from apparmor code. Signed-off-by: Andy Shevchenko -

Re: [PATCH v4 17/26] kvm: arm64: Add offset for hyp VA <-> PA conversion

2020-12-08 Thread David Brazdil
Hi Qian, > > +/* > > + * Store a hyp VA <-> PA offset into a hyp-owned variable. > > + */ > > +static void init_hyp_physvirt_offset(void) > > +{ > > + extern s64 kvm_nvhe_sym(hyp_physvirt_offset); > > + u64 kern_va, hyp_va; > > + > > + /* Compute the offset from the hyp VA and PA of a random

Re: [PATCH v2 2/2] drivers: gpio: add virtio-gpio guest driver

2020-12-08 Thread Michal Suchánek
Hello On Sat, Dec 05, 2020 at 02:32:04PM -0500, Michael S. Tsirkin wrote: > On Sat, Dec 05, 2020 at 08:59:55AM +0100, Enrico Weigelt, metux IT consult > wrote: > > On 04.12.20 04:35, Jason Wang wrote: > > > > > > > > Let's use select, since there's no prompt for VIRTIO and it doesn't have > > >

kernel/trace/trace_events_hist.c:4729:12: warning: stack frame size of 1328 bytes in function 'hist_show'

2020-12-08 Thread kernel test robot
ago config: powerpc64-randconfig-r025-20201208 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a2f922140f5380571fb74179f2bf622b3b925697) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross

Re: [PATCH v5 0/2] MTE support for KVM guest

2020-12-08 Thread Haibo Xu
On Tue, 8 Dec 2020 at 18:01, Marc Zyngier wrote: > > On 2020-12-08 09:51, Haibo Xu wrote: > > On Mon, 7 Dec 2020 at 22:48, Steven Price wrote: > >> > > [...] > > >> Sounds like you are making good progress - thanks for the update. Have > >> you thought about how the PROT_MTE mappings might work i

Re: [PATCH v3 1/3] power: reset: new driver regulator-poweroff

2020-12-08 Thread Maxime Ripard
On Mon, Dec 07, 2020 at 03:27:54PM +0100, Michael Klein wrote: > This driver registers a pm_power_off function to disable a set of > regulators defined in the devicetree to turn off the board. > > Signed-off-by: Michael Klein > --- > drivers/power/reset/Kconfig | 7 ++ > drivers/p

Re: [PATCH v4 1/4] pwm: pca9685: Switch to atomic API

2020-12-08 Thread Clemens Gruber
Hello Uwe, On Tue, Dec 08, 2020 at 10:10:33AM +0100, Uwe Kleine-König wrote: > Hello Clemens, > > On Tue, Dec 08, 2020 at 12:13:44AM +0100, Clemens Gruber wrote: > > On Mon, Dec 07, 2020 at 11:00:25PM +0100, Uwe Kleine-König wrote: > > > On Mon, Dec 07, 2020 at 08:36:27PM +0100, Clemens Gruber wr

Re: [PATCH v3 2/3] Documentation: DT: binding documentation for regulator-poweroff

2020-12-08 Thread Maxime Ripard
On Mon, Dec 07, 2020 at 03:27:55PM +0100, Michael Klein wrote: > Add devicetree binding documentation for regulator-poweroff driver. > > Signed-off-by: Michael Klein > --- > .../power/reset/regulator-poweroff.yaml | 53 +++ > 1 file changed, 53 insertions(+) > create mode

Re: [PATCH platform 0/2] platform/x86: mlx-platform: Fix item counter assignment

2020-12-08 Thread Hans de Goede
Hi, On 12/7/20 6:47 PM, Vadim Pasternak wrote: > Fix array names to match assignments for data items and data items > counter for power and fan attributes. > > Patch #1: Provide fixes for system types MSN2700, MSN24xx. > Patch #1: Provide fixes for system type MSN2700/ComEx. Thank you for your p

Re: [PATCH v2 6/6] dt-binding: display: mantix: Add compatible for panel from YS

2020-12-08 Thread Guido Günther
Hi, On Mon, Dec 07, 2020 at 03:32:06PM -0600, Rob Herring wrote: > On Wed, 18 Nov 2020 09:29:53 +0100, Guido Günther wrote: > > This panel from Shenzhen Yashi Changhua Intelligent Technology Co > > uses the same driver IC but a different LCD. > > > > Signed-off-by: Guido Günther > > Reviewed-by:

Re: [Regression] Can only do S3 once after "tpm: take TPM chip power gating out of tpm_transmit()"

2020-12-08 Thread Jarkko Sakkinen
On Mon, Dec 07, 2020 at 12:42:53PM +0800, Kai-Heng Feng wrote: > Hi Jarkko, > > A user report that the system can only do S3 once. Subsequent S3 fails after > commit a3fbfae82b4c ("tpm: take TPM chip power gating out of tpm_transmit()"). > > Dmesg with the issue, collected under 5.10-rc2: > http

Re: [PATCH] x86/platform: classmate-laptop: add WiFi media button

2020-12-08 Thread Hans de Goede
Hi, On 12/8/20 7:11 AM, Chris Chiu wrote: > From: Carlo Caione > > The WiFi media button on the Quanta NL3 reports keycodes 0x8b and 0x9b > to the platform driver. Add the mapping to support these codes. > > Signed-off-by: Carlo Caione > Reviewed-by: Chris Chiu Thank you for your patch, I've

Re: [PATCH 01/12] media: atomsip: Convert comments to C99 initializers

2020-12-08 Thread Dan Carpenter
On Mon, Dec 07, 2020 at 08:26:27PM +0100, Philipp Gerlesberger wrote: > The struct initalizers have been changed as recommended on > https://kernelnewbies.org/KernelJanitors/Todo > > Co-developed-by: Andrey Khlopkov > Signed-off-by: Andrey Khlopkov > Signed-off-by: Philipp Gerlesberger > --- >

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

2020-12-08 Thread Jiri Olsa
On Tue, Dec 08, 2020 at 01:36:57AM +, Song Liu wrote: SNIP > > > > I'm still getting > > > > [root@dell-r440-01 perf]# ./perf stat -b 38 > > libbpf: elf: skipping unrecognized data section(9) .eh_frame > > libbpf: elf: skipping relo section(15) .rel.eh_frame for section(9) > > .eh_frame >

Re: [PATCH v2 00/10] allow unprivileged overlay mounts

2020-12-08 Thread Tetsuo Handa
On 2020/12/08 1:32, Miklos Szeredi wrote: > A general observation is that overlayfs does not call security_path_*() > hooks on the underlying fs. I don't see this as a problem, because a > simple bind mount done inside a private mount namespace also defeats the > path based security checks. Maybe

Re: [PATCH V2 06/12] perf mem: Clean up output format

2020-12-08 Thread Jiri Olsa
On Mon, Dec 07, 2020 at 03:19:06PM -0500, Liang, Kan wrote: > > > On 12/4/2020 6:27 PM, Jiri Olsa wrote: > > On Mon, Nov 30, 2020 at 09:27:57AM -0800, kan.li...@linux.intel.com wrote: > > > > SNIP > > > > > @@ -172,7 +172,7 @@ dump_raw_samples(struct perf_tool *tool, > > > { > > > s

[RFC lockdep 3/4] rcu/lockdep: Annotate the rcu_callback_map with proper wait contexts

2020-12-08 Thread Boqun Feng
rcu_callback_map is a virtual lock to annotate a context where RCU callbacks are executed. RCU callbacks are required in softirq disable contexts because with some config combination (use_softirq is true and nocb is disabled) RCU callbacks only execute in softirq contexts. Therefore wait context an

[RFC lockdep 1/4] lockdep/selftest: Make HARDIRQ context threaded

2020-12-08 Thread Boqun Feng
Since we now use spinlock_t instead of raw_spinlock_t in lockdep self tests, we should make the emulated HARDIRQ context threaded, otherwise, spinlock_t cannot be used in the HARDIRQ context and some test cases will fail because of wait context checking when PROVE_RAW_LOCK_NESTING=y. Signed-off-by

[RFC lockdep 0/4] Fixes and self testcases for wait context detection

2020-12-08 Thread Boqun Feng
Hi Peter, Recently I looked into the wait context check feature and found some places could use fixes, besides a suite of test cases is also added to verify these fixes and future development. Note: I'm not 100% sure all the expected results of the test cases are correct, please do have a look at

[RFC lockdep 2/4] lockdep: Allow wait context checking with empty ->held_locks

2020-12-08 Thread Boqun Feng
Currently, the guard for !curr->lockdep_depth in check_wait_context() is unnecessary, because the code will work well without it. Moreover, there are cases that we will miss if we skip for curr->lockdep_depth == 0. For example: some_irq_handler(): // curr->lockdep_depth

Re: [PATCH V2 00/12] Add the page size in the perf record (user tools)

2020-12-08 Thread Jiri Olsa
On Mon, Nov 30, 2020 at 09:27:51AM -0800, kan.li...@linux.intel.com wrote: > From: Kan Liang > > Changes since V1: > - Fix the compile warning with GCC 10 > - Add Acked-by from Namhyung Kim > > Current perf can report both virtual addresses and physical addresses, > but not the page size. Withou

[RFC lockdep 4/4] lockdep/selftest: Add wait context selftests

2020-12-08 Thread Boqun Feng
These tests are added for two purposes: * Test the implementation of wait context checks and related annotations. * Semi-document the rules for wait context nesting when PROVE_RAW_LOCK_NESTING=y. The test cases are only avaible for PROVE_RAW_LOCK_NESTING=y, as wait co

Re: [PATCH] arm64: enable GENERIC_FIND_FIRST_BIT

2020-12-08 Thread Will Deacon
On Mon, Dec 07, 2020 at 05:59:16PM -0800, Yury Norov wrote: > (CC: Alexey Klimov) > > On Mon, Dec 7, 2020 at 3:25 AM Will Deacon wrote: > > > > On Sat, Dec 05, 2020 at 08:54:06AM -0800, Yury Norov wrote: > > > ARM64 doesn't implement find_first_{zero}_bit in arch code and doesn't > > > enable it

[PATCH] net: dsa: sja1105: Remove an unprofessional word from the code comments

2020-12-08 Thread Aswin C
Remove the word 'retarded' from the code comments with a more professional word 'erroneous' to make it less profane. --- drivers/net/dsa/sja1105/sja1105_dynamic_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/dsa/sja1105/sja1105_dynamic_config.c b/drivers/

linux-next: Tree for Dec 8

2020-12-08 Thread Stephen Rothwell
Hi all, Changes since 20201207: The v4l-dvb tree gained a conflict against the arm-soc tree. The wireless-drivers-next tree gained a build failure for which I applied a patch. The nand tree gained a build failure so I used the version from next-20201207. The drm tree gained a conflict against

Re: [PATCH] mtd: spi-nor: winbond: Add support for w25m512jw

2020-12-08 Thread Lad, Prabhakar
Hi Tudor, On Mon, Dec 7, 2020 at 5:27 PM wrote: > > Hi, Lad, > > On 10/16/20 2:55 PM, Lad Prabhakar wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > > content is safe > > > > This chip is (nearly) identical to the Winbond w25m512jv which is > > already supp

RE: [PATCH V4 01/10] regulator: Update DA9121 dt-bindings

2020-12-08 Thread Adam Ward
On Mon, Dec 07, 2020 at 17:58PM, Rob Herring wrote: > > +properties: > > + regulator-mode: > > +maxItems: 1 > > +description: Defined in > > include/dt-bindings/regulator/dlg,da9121- > regulator.h > > 'regulator-mode' is defined as a property of a > 'regul

Re: [PATCH v5 0/5] Add PCIe support for SM8250 SoC

2020-12-08 Thread Manivannan Sadhasivam
Hi Lorenzo, On Tue, Dec 08, 2020 at 09:47:12AM +, Lorenzo Pieralisi wrote: > On Tue, Oct 27, 2020 at 10:30:28PM +0530, Manivannan Sadhasivam wrote: > > Hello, > > > > This series adds PCIe support for Qualcomm SM8250 SoC with relevant PHYs. > > There are 3 PCIe instances on this SoC each with

Re: [PATCH v2 2/4] spi: Add devicetree bindings documentation for Loongson SPI

2020-12-08 Thread zhangqing
Hi Sergei Shtylyov, On 12/08/2020 04:40 PM, Sergei Shtylyov wrote: Hello! On 08.12.2020 10:44, Qing Zhang wrote: Add spi-ls7a binding documentation. Signed-off-by: Qing Zhang --- Documentation/devicetree/bindings/spi/spi-ls7a.txt | 31 ++ 1 file changed, 31 inserti

Re: [PATCH v5 0/3] Add support for MaxLinear/Exar USB to serial converters

2020-12-08 Thread Manivannan Sadhasivam
On Sun, Nov 22, 2020 at 10:38:19PM +0530, Manivannan Sadhasivam wrote: > From: Manivannan Sadhasivam > > Hello, > > This series adds support for MaxLinear/Exar USB to serial converters. > This driver only supports XR21V141X series but it can easily be extended > to other series in future. > > T

Re: [PATCH v2 1/3] scsi: ufs: Add "wb_on" sysfs node to control WB on/off

2020-12-08 Thread Bean Huo
On Tue, 2020-12-08 at 15:13 +0800, Can Guo wrote: > > + if (ufshcd_is_clkscaling_supported(hba)) { > > + /* If the platform supports > > UFSHCD_CAP_AUTO_BKOPS_SUSPEND, turn > > + * WB on/off will be done while clock scaling > > up/down. > > + */ > > Double

Re: [PATCH v4 3/4] scmi-cpufreq: get opp_shared_cpus from opp-v2 for EM

2020-12-08 Thread Nicola Mazzucato
On 12/8/20 7:26 AM, Viresh Kumar wrote: > On 08-12-20, 07:22, Nicola Mazzucato wrote: >> On 12/8/20 5:50 AM, Viresh Kumar wrote: >>> On 02-12-20, 17:23, Nicola Mazzucato wrote: nr_opp = dev_pm_opp_get_opp_count(cpu_dev); if (nr_opp <= 0) { - dev_dbg(cpu_dev, "OPP ta

Linux 4.14.211

2020-12-08 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.14.211 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser

Linux 4.19.162

2020-12-08 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.19.162 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser

Re: Linux 4.14.211

2020-12-08 Thread Greg Kroah-Hartman
diff --git a/Documentation/devicetree/bindings/net/nfc/nxp-nci.txt b/Documentation/devicetree/bindings/net/nfc/nxp-nci.txt index 92486733df71..8ebc5200032a 100644 --- a/Documentation/devicetree/bindings/net/nfc/nxp-nci.txt +++ b/Documentation/devicetree/bindings/net/nfc/nxp-nci.txt @@ -26,7 +26,7

Re: Linux 5.4.82

2020-12-08 Thread Greg Kroah-Hartman
diff --git a/Documentation/devicetree/bindings/net/can/tcan4x5x.txt b/Documentation/devicetree/bindings/net/can/tcan4x5x.txt index 27e1b4cebfbd..9cb3560756d0 100644 --- a/Documentation/devicetree/bindings/net/can/tcan4x5x.txt +++ b/Documentation/devicetree/bindings/net/can/tcan4x5x.txt @@ -33,7 +3

Linux 5.9.13

2020-12-08 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.9.13 kernel. All users of the 5.9 kernel series must upgrade. The updated 5.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 5.9.13

2020-12-08 Thread Greg Kroah-Hartman
diff --git a/Documentation/devicetree/bindings/net/can/tcan4x5x.txt b/Documentation/devicetree/bindings/net/can/tcan4x5x.txt index 3613c2c8f75d..0968b40aef1e 100644 --- a/Documentation/devicetree/bindings/net/can/tcan4x5x.txt +++ b/Documentation/devicetree/bindings/net/can/tcan4x5x.txt @@ -33,7 +3

Re: Pass modules to Linux kernel without initrd

2020-12-08 Thread Paul Menzel
Dear Enrico, Am 08.12.20 um 10:38 schrieb Enrico Weigelt, metux IT consult: On 08.12.20 10:24, Paul Menzel wrote: Similar to passing firmware and microcode update files to Linux or building these into the Linux kernel image, would it be possible to append the required modules to the Linux ker

Re: [PATCH 1/4] sched/fair: Remove SIS_AVG_CPU

2020-12-08 Thread Mel Gorman
On Tue, Dec 08, 2020 at 11:07:19AM +0100, Dietmar Eggemann wrote: > On 07/12/2020 10:15, Mel Gorman wrote: > > SIS_AVG_CPU was introduced as a means of avoiding a search when the > > average search cost indicated that the search would likely fail. It > > was a blunt instrument and disabled by 4c77b

Re: Linux 4.19.162

2020-12-08 Thread Greg Kroah-Hartman
diff --git a/Documentation/devicetree/bindings/net/nfc/nxp-nci.txt b/Documentation/devicetree/bindings/net/nfc/nxp-nci.txt index cfaf88998918..9e4dc510a40a 100644 --- a/Documentation/devicetree/bindings/net/nfc/nxp-nci.txt +++ b/Documentation/devicetree/bindings/net/nfc/nxp-nci.txt @@ -25,7 +25,7

Linux 5.4.82

2020-12-08 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.4.82 kernel. All users of the 5.4 kernel series must upgrade. The updated 5.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y and can be browsed at the normal kernel.org git web browser:

[PATCH v6] drm/bridge: add it6505 driver

2020-12-08 Thread allen
This adds support for the iTE IT6505. This device can convert DPI signal to DP output. From: Allen Chen Signed-off-by: Jitao Shi Signed-off-by: Pi-Hsun Shih Signed-off-by: Yilun Lin Signed-off-by: Hermes Wu Signed-off-by: Allen Chen --- drivers/gpu/drm/bridge/Kconfig |7 + drivers/

Re: [PATCH v4 3/4] scmi-cpufreq: get opp_shared_cpus from opp-v2 for EM

2020-12-08 Thread Viresh Kumar
On 08-12-20, 10:58, Nicola Mazzucato wrote: > > > On 12/8/20 7:26 AM, Viresh Kumar wrote: > > On 08-12-20, 07:22, Nicola Mazzucato wrote: > >> On 12/8/20 5:50 AM, Viresh Kumar wrote: > >>> On 02-12-20, 17:23, Nicola Mazzucato wrote: > nr_opp = dev_pm_opp_get_opp_count(cpu_dev); > >>

Re: [PATCH][RFC] tpm: Rework open/close/shutdown to avoid races

2020-12-08 Thread Jarkko Sakkinen
On Fri, Dec 04, 2020 at 01:18:05PM +0300, Sergey Temerkhanov wrote: > Avoid race condition at shutdown by shutting downn the TPM 2.0 > devices synchronously. This eliminates the condition when the > shutdown sequence sets chip->ops to NULL leading to the following: > > [ 1586.593561][ T8669] tpm2_

Re: [PATCH 2/4] sched/fair: Do not replace recent_used_cpu with the new target

2020-12-08 Thread Mel Gorman
On Tue, Dec 08, 2020 at 10:57:29AM +0100, Dietmar Eggemann wrote: > On 07/12/2020 10:15, Mel Gorman wrote: > > After select_idle_sibling, p->recent_used_cpu is set to the > > new target. However on the next wakeup, prev will be the same as > > I'm confused here. Isn't current->recent_used_cpu set

Re: [PATCH v3 3/6] remoteproc: pru: Add support for PRU specific interrupt configuration

2020-12-08 Thread Lee Jones
On Mon, 07 Dec 2020, Mathieu Poirier wrote: > On Fri, Dec 04, 2020 at 09:18:04PM +0100, Grzegorz Jaszczyk wrote: > > The firmware blob can contain optional ELF sections: .resource_table > > section and .pru_irq_map one. The second one contains the PRUSS > > interrupt mapping description, which nee

Re: [PATCH 01/17] wil6210: wmi: Correct misnamed function parameter 'ptr_'

2020-12-08 Thread Lee Jones
On Wed, 02 Dec 2020, Kalle Valo wrote: > Lee Jones wrote: > > > Fixes the following W=1 kernel build warning(s): > > > > drivers/net/wireless/ath/wil6210/wmi.c:279: warning: Function parameter or > > member 'ptr_' not described in 'wmi_buffer_block' > > drivers/net/wireless/ath/wil6210/wmi.c

Re: [PATCH v2 04/10] ovl: make ioctl() safe

2020-12-08 Thread Amir Goldstein
On Mon, Dec 7, 2020 at 6:36 PM Miklos Szeredi wrote: > > ovl_ioctl_set_flags() does a capability check using flags, but then the > real ioctl double-fetches flags and uses potentially different value. > > The "Check the capability before cred override" comment misleading: user > can skip this chec

Re: [PATCH] tty: Remove dead termiox code

2020-12-08 Thread Christoph Hellwig
On Fri, Dec 04, 2020 at 09:20:39AM +0100, Jiri Slaby wrote: > > > > Delete this dead code; but leave the definition of struct termiox in the > > > > UAPI headers intact. > > > > > > I am thinking -- can/should we mark the structure as deprecated so that > > > userspace stops using it eventually? >

Re: [PATCH v2 1/3] KVM: x86: implement KVM_{GET|SET}_TSC_STATE

2020-12-08 Thread Maxim Levitsky
On Mon, 2020-12-07 at 11:29 -0600, Oliver Upton wrote: > On Thu, Dec 3, 2020 at 11:12 AM Maxim Levitsky wrote: > > These two new ioctls allow to more precisly capture and > > restore guest's TSC state. > > > > Both ioctls are meant to be used to accurately migrate guest TSC > > even when there is

Re: tick/sched: Make jiffies update quick check more robust

2020-12-08 Thread Peter Zijlstra
On Mon, Dec 07, 2020 at 03:41:47PM +0100, Thomas Gleixner wrote: > On Mon, Dec 07 2020 at 10:59, Peter Zijlstra wrote: > >> + if (IS_ENABLED(CONFIG_64BIT)) { > >> + if (ktime_before(now, smp_load_acquire(&tick_next_period))) > >> + return; > > > > Explicit ACQUIRE > > > >

Teo En Ming’s Guide to Configuring FreePBX 15 and Asterisk 16 VoIP PBX SIP Server in Singapore with DIDLogic SIP Trunk Provider

2020-12-08 Thread Turritopsis Dohrnii Teo En Ming
Subject: Teo En Ming’s Guide to Configuring FreePBX 15 and Asterisk 16 VoIP PBX SIP Server in Singapore with DIDLogic SIP Trunk Provider Author: Mr. Turritopsis Dohrnii Teo En Ming (TARGETED INDIVIDUAL) Country: Singapore Date: 7th December 2020 Monday Singapore Time Type of Publication: PDF Man

Re: [PATCH v4 3/4] scmi-cpufreq: get opp_shared_cpus from opp-v2 for EM

2020-12-08 Thread Sudeep Holla
On Tue, Dec 08, 2020 at 12:56:11PM +0530, Viresh Kumar wrote: > On 08-12-20, 07:22, Nicola Mazzucato wrote: > > On 12/8/20 5:50 AM, Viresh Kumar wrote: > > > On 02-12-20, 17:23, Nicola Mazzucato wrote: > > >> nr_opp = dev_pm_opp_get_opp_count(cpu_dev); > > >> if (nr_opp <= 0) { >

Re: [PATCH v4 3/4] scmi-cpufreq: get opp_shared_cpus from opp-v2 for EM

2020-12-08 Thread Sudeep Holla
On Tue, Dec 08, 2020 at 04:31:48PM +0530, Viresh Kumar wrote: > On 08-12-20, 10:58, Nicola Mazzucato wrote: > > > > > > On 12/8/20 7:26 AM, Viresh Kumar wrote: > > > On 08-12-20, 07:22, Nicola Mazzucato wrote: > > >> On 12/8/20 5:50 AM, Viresh Kumar wrote: > > >>> On 02-12-20, 17:23, Nicola Mazzu

Re: [PATCH] drm/tidss: Use the new api devm_drm_irq_install

2020-12-08 Thread kernel test robot
applied to the wrong git tree, kindly drop us a note. 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/Tian-Tao/drm-tidss-Use-the-new-api-devm_drm_irq_install/20201208-155323 b

Re: [PATCH] tty: Remove dead termiox code

2020-12-08 Thread Jiri Slaby
On 08. 12. 20, 12:13, Christoph Hellwig wrote: On Fri, Dec 04, 2020 at 09:20:39AM +0100, Jiri Slaby wrote: Delete this dead code; but leave the definition of struct termiox in the UAPI headers intact. I am thinking -- can/should we mark the structure as deprecated so that userspace stops using

Re: [PATCH v2 1/3] KVM: x86: implement KVM_{GET|SET}_TSC_STATE

2020-12-08 Thread Maxim Levitsky
On Mon, 2020-12-07 at 10:04 -0800, Andy Lutomirski wrote: > > On Dec 7, 2020, at 9:00 AM, Maxim Levitsky wrote: > > > > On Mon, 2020-12-07 at 08:53 -0800, Andy Lutomirski wrote: > > > > > On Dec 7, 2020, at 8:38 AM, Thomas Gleixner > > > > > wrote: > > > > > > > > On Mon, Dec 07 2020 at 14:1

Re: [sparc64] current git kernel networking is broken

2020-12-08 Thread Anatoly Pugachev
On Tue, Dec 8, 2020 at 3:42 AM Al Viro wrote: > > On Tue, Dec 08, 2020 at 03:09:47AM +0300, Anatoly Pugachev wrote: > > Hello! > > > > Sorry for the late report, being 5.10-rc7 is out, but current git > > kernel > > (git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git) > > is bro

[BUG] iwlwifi: card unusable after firmware crash

2020-12-08 Thread Rui Salvaterra
Hi, everyone, I'm running Linux 5.10-rc7 with this firmware/hardware: [1.431878] iwlwifi :02:00.0: loaded firmware version 29.198743027.0 7265D-29.ucode op_mode iwlmvm [1.431899] iwlwifi :02:00.0: Detected Intel(R) Dual Band Wireless AC 3165, REV=0x210 Most of the time, after dis

Re: [PATCH v2 08/10] ovl: do not fail because of O_NOATIME

2020-12-08 Thread Amir Goldstein
On Mon, Dec 7, 2020 at 6:37 PM Miklos Szeredi wrote: > > In case the file cannot be opened with O_NOATIME because of lack of > capabilities, then clear O_NOATIME instead of failing. > > Signed-off-by: Miklos Szeredi > --- > fs/overlayfs/file.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 dele

Re: [PATCH v2 1/3] reset: hisilicon: correct vendor prefix

2020-12-08 Thread Leizhen (ThunderTown)
On 2020/12/8 17:25, Philipp Zabel wrote: > Hi Zhen, > > On Fri, 2020-12-04 at 09:42 +0800, Zhen Lei wrote: >> The vendor prefix of "Hisilicon Limited" is "hisilicon", it is clearly >> stated in "vendor-prefixes.yaml". >> >> Fixes: 1527058736fa ("reset: hisilicon: add reset-hi3660") >> Fixes: 35

Re: [PATCH 06/12] media: atomisp: Add parentheses

2020-12-08 Thread Dan Carpenter
On Mon, Dec 07, 2020 at 08:26:33PM +0100, Philipp Gerlesberger wrote: > ERROR:COMPLEX_MACRO: Macros with complex values should be > enclosed in parentheses > > Co-developed-by: Andrey Khlopkov > Signed-off-by: Andrey Khlopkov > Signed-off-by: Philipp Gerlesberger > --- > .../media/atomisp/pci/

Re: [PATCH v4 3/4] scmi-cpufreq: get opp_shared_cpus from opp-v2 for EM

2020-12-08 Thread Lukasz Luba
On 12/8/20 11:20 AM, Sudeep Holla wrote: On Tue, Dec 08, 2020 at 12:56:11PM +0530, Viresh Kumar wrote: On 08-12-20, 07:22, Nicola Mazzucato wrote: On 12/8/20 5:50 AM, Viresh Kumar wrote: On 02-12-20, 17:23, Nicola Mazzucato wrote: nr_opp = dev_pm_opp_get_opp_count(cpu_dev);

[PATCH 1/1] mwifiex: Fix possible buffer overflows in mwifiex_uap_bss_param_prepare

2020-12-08 Thread Xiaohui Zhang
From: Zhang Xiaohui mwifiex_uap_bss_param_prepare() calls memcpy() without checking the destination size may trigger a buffer overflower, which a local user could use to cause denial of service or the execution of arbitrary code. Fix it by putting the length check before calling memcpy(). Signed

Re: [RFC PATCH] blk-mq: Clean up references when freeing rqs

2020-12-08 Thread John Garry
On 03/12/2020 09:26, John Garry wrote: On 03/12/2020 00:55, Ming Lei wrote: Hi Ming, Yeah, so I said that was another problem which you mentioned there, which I'm not addressing, but I don't think that I'm making thing worse here. The thing is that this patch does not fix the issue completel

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

2020-12-08 Thread Stephen Rothwell
Hi all, In commit 4812d516af55 ("ARM: 9027/1: head.S: explicitly map DT even if it lives in the first physical section") Fixes tag Fixes: 149a3ffe62b9dbc3 ("9012/1: move device tree mapping out of linear region") has these problem(s): - Target SHA1 does not exist Maybe you meant Fix

Re: [PATCH v5 0/5] Add PCIe support for SM8250 SoC

2020-12-08 Thread Lorenzo Pieralisi
On Tue, Dec 08, 2020 at 04:15:57PM +0530, Manivannan Sadhasivam wrote: > Hi Lorenzo, > > On Tue, Dec 08, 2020 at 09:47:12AM +, Lorenzo Pieralisi wrote: > > On Tue, Oct 27, 2020 at 10:30:28PM +0530, Manivannan Sadhasivam wrote: > > > Hello, > > > > > > This series adds PCIe support for Qualcom

Re: linux-next: manual merge of the drm tree with the pci tree

2020-12-08 Thread Mika Westerberg
Hi, On Tue, Dec 08, 2020 at 01:27:54PM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the drm tree got a conflict in: > > drivers/gpu/vga/vga_switcheroo.c > > between commit: > > 99efde6c9bb7 ("PCI/PM: Rename pci_wakeup_bus() to pci_resume_bus()") > > from the pc

Re: [PATCH v3] Bluetooth: hci_qca: Add support to read FW build version for WCN3991 BTSoC

2020-12-08 Thread gubbaven
Hi Marcel, On 2020-12-03 19:28, Marcel Holtmann wrote: Hi Venkata, Add support to read FW build version from debugfs node. This info can be read from /sys/kernel/debug/bluetooth/hci0/ibs/fw_build_info Signed-off-by: Venkata Lakshmi Narayana Gubba --- drivers/bluetooth/btqca.c | 48 +

Re: [PATCH v8 0/4] Introduce TEE based Trusted Keys support

2020-12-08 Thread Sumit Garg
Hi Jarkko, Apologies for the delay in my response as I was busy with other high priority work. On Fri, 4 Dec 2020 at 10:46, Jarkko Sakkinen wrote: > > On Fri, Nov 06, 2020 at 04:52:52PM +0200, Jarkko Sakkinen wrote: > > On Fri, Nov 06, 2020 at 03:02:41PM +0530, Sumit Garg wrote: > > > On Thu, 5

Re: [PATCH v6 01/18] docs: acrn: Introduce ACRN

2020-12-08 Thread Borislav Petkov
On Tue, Dec 01, 2020 at 05:38:36PM +0800, shuo.a@intel.com wrote: > From: Shuo Liu > > Add documentation on the following aspects of ACRN: Thanks for doing this! > +=== > +ACRN CPUID bits > +=== > + > +A guest VM running on an ACRN hypervisor, can check some of its f

Re: [PATCH v3 04/20] dmaengine: ti: k3-udma-glue: Add function to get device pointer for DMA API

2020-12-08 Thread Grygorii Strashko
On 08/12/2020 11:04, Peter Ujfalusi wrote: Glue layer users should use the device of the DMA for DMA mapping and allocations as it is the DMA which accesses to descriptors and buffers, not the clients Signed-off-by: Peter Ujfalusi Reviewed-by: Grygorii Strashko -- Best regards, grygorii

general protection fault in tower_disconnect

2020-12-08 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:08a02f95 USB: add RESET_RESUME quirk for Snapscan 1212 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=1435927b50 kernel config: h

Re: [PATCH v3 06/20] dmaengine: ti: k3-udma-glue: Configure the dma_dev for rings

2020-12-08 Thread Grygorii Strashko
On 08/12/2020 11:04, Peter Ujfalusi wrote: Rings in RING mode should be using the DMA device for DMA API as in this mode the ringacc will not access the ring memory in any ways, but the DMA is. Fix up the ring configuration and set the dma_dev unconditionally and let the ringacc driver to sel

Re: [PATCH v3 05/20] dmaengine: ti: k3-udma-glue: Get the ringacc from udma_dev

2020-12-08 Thread Grygorii Strashko
On 08/12/2020 11:04, Peter Ujfalusi wrote: If of_xudma_dev_get() returns with the valid udma_dev then the driver already got the ringacc, there is no need to execute of_k3_ringacc_get_by_phandle() for each channel via the glue layer. Signed-off-by: Peter Ujfalusi --- drivers/dma/ti/k3-udma

[PATCH v4] Bluetooth: btqca: Add support to read FW build version for WCN3991 BTSoC

2020-12-08 Thread Venkata Lakshmi Narayana Gubba
Add support to read FW build version from debugfs node. This info can be read from /sys/kernel/debug/bluetooth/hci0/firmware_info Signed-off-by: Venkata Lakshmi Narayana Gubba --- drivers/bluetooth/btqca.c | 54 +++ drivers/bluetooth/btqca.h | 1 + 2

Re: [PATCH v3 13/20] dmaengine: ti: k3-psil: Extend psil_endpoint_config for K3 PKTDMA

2020-12-08 Thread Grygorii Strashko
On 08/12/2020 11:04, Peter Ujfalusi wrote: Additional fields needed for K3 PKTDMA to be able to handle the mapped channels (channels are locked to handle specific threads) and flow ranges for these mapped threads. PKTDMA also introduces tflow for tx channels which can not be found in K3 UDMA a

[PATCH] virtio: replace constant parameter '1' with num

2020-12-08 Thread liush
'num' can represent the value of out_sgs(in_sags), no need to pass in constant parameters in 'virtqueue_add'. Signed-off-by: liush --- drivers/virtio/virtio_ring.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c

[PATCH] [v11] wireless: Initial driver submission for pureLiFi STA devices

2020-12-08 Thread Srinivasan Raju
This introduces the pureLiFi LiFi driver for LiFi-X, LiFi-XC and LiFi-XL USB devices. This driver implementation has been based on the zd1211rw driver. Driver is based on 802.11 softMAC Architecture and uses native 802.11 for configuration and management. The driver is compiled and tested in ARM

Re: [PATCH v5 0/5] Add PCIe support for SM8250 SoC

2020-12-08 Thread Manivannan Sadhasivam
On Tue, Dec 08, 2020 at 11:40:23AM +, Lorenzo Pieralisi wrote: > On Tue, Dec 08, 2020 at 04:15:57PM +0530, Manivannan Sadhasivam wrote: > > Hi Lorenzo, > > > > On Tue, Dec 08, 2020 at 09:47:12AM +, Lorenzo Pieralisi wrote: > > > On Tue, Oct 27, 2020 at 10:30:28PM +0530, Manivannan Sadhasiv

<    1   2   3   4   5   6   7   8   9   10   >