[PATCH v2] afs: Fix memory leak in afs_put_sysnames()

2020-06-01 Thread Zhihao Cheng
sysnames should be freed after refcnt being decreased to zero in afs_put_sysnames(). Signed-off-by: Zhihao Cheng Cc: # v4.17+ Fixes: 6f8880d8e681557 ("afs: Implement @sys substitution handling") --- fs/afs/proc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/afs/proc.c b/fs/afs/proc.c

Re: [PATCH] video: fbdev: pxafb: Use correct return value for pxafb_probe()

2020-06-01 Thread Bartlomiej Zolnierkiewicz
On 5/25/20 9:11 AM, Tiezhu Yang wrote: > When call function devm_platform_ioremap_resource(), we should use IS_ERR() > to check the return value and return PTR_ERR() if failed. > > Signed-off-by: Tiezhu Yang Applied to drm-misc-next tree (patch should show up in v5.9), thanks. Best regards,

Re: [PATCH] omapfb/dss: fix comparison to bool warning

2020-06-01 Thread Bartlomiej Zolnierkiewicz
On 4/22/20 9:19 AM, Jason Yan wrote: > Fix the following coccicheck warning: > > drivers/video/fbdev/omap2/omapfb/dss/hdmi4.c:461:15-32: WARNING: > Comparison to bool > drivers/video/fbdev/omap2/omapfb/dss/dispc.c:891:5-35: WARNING: > Comparison of 0/1 to bool variable > > Signed-off-by: Jason

Re: [PATCH] video: pxafb: Fix the function used to balance a 'dma_alloc_coherent()' call

2020-06-01 Thread Bartlomiej Zolnierkiewicz
On 4/29/20 10:45 AM, Christophe JAILLET wrote: > 'dma_alloc_coherent()' must be balanced by a call to 'dma_free_coherent()' > not 'dma_free_wc()'. > The correct dma_free_ function is already used in the error handling path > of the probe function. > > Fixes: 77e196752bdd ("[ARM] pxafb: allow

Re: [trivial PATCH] video: fbdev: Use IS_BUILTIN

2020-06-01 Thread Bartlomiej Zolnierkiewicz
On 5/5/20 1:29 AM, Joe Perches wrote: > IS_BUILTIN can be use to replace various initializations > like #if CONFIG_ int val = 1; #else int val = 0; #endif > so do so. > > Signed-off-by: Joe Perches Applied to drm-misc-next tree (patch should show up in v5.9), thanks. Best regards, --

Re: [PATCH v3] console: newport_con: fix an issue about leak related system resources

2020-06-01 Thread Bartlomiej Zolnierkiewicz
On 4/23/20 6:42 PM, Dejin Zheng wrote: > A call of the function do_take_over_console() can fail here. > The corresponding system resources were not released then. > Thus add a call of iounmap() and release_mem_region() > together with the check of a failure predicate. and also > add

Re: [PATCH v1] video: fbdev: sm712fb: fix an issue about iounmap for a wrong address

2020-06-01 Thread Bartlomiej Zolnierkiewicz
On 4/22/20 6:07 PM, Dejin Zheng wrote: > the sfb->fb->screen_base is not save the value get by iounmap() when > the chip id is 0x720. so iounmap() for address sfb->fb->screen_base > is not right. > > Fixes: 1461d6672864854 ("staging: sm7xxfb: merge sm712fb with fbdev") > CC: Andy Shevchenko >

Re: [PATCH] drivers/video: cleanup coding style in video a bit

2020-06-01 Thread Bartlomiej Zolnierkiewicz
On 4/27/20 10:05 AM, Bernard Zhao wrote: > Eliminate the magic numbers, add vender infoframe size macro > like other hdmi modules. > > Signed-off-by: Bernard Zhao Applied to drm-misc-next tree (patch should show up in v5.9), thanks. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R

[GIT PULL] EFI changes for v5.8

2020-06-01 Thread Ingo Molnar
Linus, Please pull the latest efi/core git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git efi-core-2020-06-01 # HEAD: e9524fb97ab5b41b85e1d3408f8e513433798f3c efi/x86: Don't blow away existing initrd The EFI changes for this cycle are: - preliminary changes for

Re: [PATCH 06/14] perf tests: Add another pmu-events tests

2020-06-01 Thread Jiri Olsa
On Mon, Jun 01, 2020 at 12:44:15AM -0700, Ian Rogers wrote: SNIP > > + memset(, 0, sizeof(error)); > > + ret = parse_events_fake(evlist, id, ); > > + if (ret) { > > + pr_debug("str: %s\n", error.str); > > + pr_debug("help : %s\n",

Re: [PATCH v2 00/33] iommu: Move iommu_group setup to IOMMU core code

2020-06-01 Thread Jerry Snitselaar
On Mon Jun 01 20, Jerry Snitselaar wrote: On Fri May 29 20, Jerry Snitselaar wrote: On Tue Apr 14 20, Joerg Roedel wrote: Hi, here is the second version of this patch-set. The first version with some more introductory text can be found here:

[GIT PULL] RCU updates for v5.8

2020-06-01 Thread Ingo Molnar
Linus, Please pull the latest core/rcu git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-rcu-2020-06-01 # HEAD: cb3cb6733fbd8fd8d2c716095fdca42dadba2063 Merge branch 'WIP.core/rcu' into core/rcu, to pick up two x86/entry dependencies The RCU updates for this

Re: [PATCH 4/4] selftests/sysctl: Make sysctl test driver as a module

2020-06-01 Thread Luis Chamberlain
On Thu, May 28, 2020 at 11:52:37PM +0900, Masami Hiramatsu wrote: > Fix config file to require CONFIG_TEST_SYSCTL=m instead of y > because this driver introduces a test sysctl interfaces which > are normally not used, and only used for the selftest. > > Signed-off-by: Masami Hiramatsu

Re: [PATCH 3/4] selftests/sysctl: Fix to load test_sysctl module

2020-06-01 Thread Luis Chamberlain
On Thu, May 28, 2020 at 11:52:26PM +0900, Masami Hiramatsu wrote: > Fix to load test_sysctl.ko module correctly. > > sysctl.sh checks whether the test module is embedded (or loaded > already) or not at first, and if not, it returns skip error > instead of trying modprobe. Thus, there is no chance

Re: [PATCH 2/4] lib: Make test_sysctl initialized as module

2020-06-01 Thread Luis Chamberlain
On Thu, May 28, 2020 at 11:52:16PM +0900, Masami Hiramatsu wrote: > test_sysctl.c is expected to be used as a module, but since > it does not use module_init(), it never be registered as > a module and not appeared under /sys/module/. > In the result, the selftests/sysctl/sysctl.sh always fails >

Re: [PATCH 1/4] lib: Make prime number generator independently selectable

2020-06-01 Thread Luis Chamberlain
On Thu, May 28, 2020 at 11:52:06PM +0900, Masami Hiramatsu wrote: > Make prime number generator independently selectable from > kconfig. This allows us to enable CONFIG_PRIME_NUMBERS=m > and run the tools/testing/selftests/lib/prime_numbers.sh > without other DRM selftest modules. > >

[tip: timers/core] clocksource: mips-gic-timer: Register as sched_clock

2020-06-01 Thread tip-bot2 for Paul Burton
The following commit has been merged into the timers/core branch of tip: Commit-ID: 48016e78d328998b1f00bcfb639adeabca51abe5 Gitweb: https://git.kernel.org/tip/48016e78d328998b1f00bcfb639adeabca51abe5 Author:Paul Burton AuthorDate:Thu, 21 May 2020 23:48:16 +03:00

[tip: timers/core] clocksource/drivers/timer-ti-dm: Fix spelling mistake "detectt" -> "detect"

2020-06-01 Thread tip-bot2 for Colin Ian King
The following commit has been merged into the timers/core branch of tip: Commit-ID: ac593e62b0cfcbc53502be8b6c7e40fed8baff8c Gitweb: https://git.kernel.org/tip/ac593e62b0cfcbc53502be8b6c7e40fed8baff8c Author:Colin Ian King AuthorDate:Tue, 19 May 2020 23:44:28 +01:00

[tip: timers/core] clocksource/drivers/timer-versatile: Clear OF_POPULATED flag

2020-06-01 Thread tip-bot2 for Saravana Kannan
The following commit has been merged into the timers/core branch of tip: Commit-ID: 7a3768c206a006525afc090f92d4d618d8356b92 Gitweb: https://git.kernel.org/tip/7a3768c206a006525afc090f92d4d618d8356b92 Author:Saravana Kannan AuthorDate:Tue, 24 Mar 2020 12:53:02 -07:00

[tip: timers/core] clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support

2020-06-01 Thread tip-bot2 for Tony Lindgren
The following commit has been merged into the timers/core branch of tip: Commit-ID: 52762fbd1c4778ac9b173624ca0faacd22ef4724 Gitweb: https://git.kernel.org/tip/52762fbd1c4778ac9b173624ca0faacd22ef4724 Author:Tony Lindgren AuthorDate:Thu, 07 May 2020 10:23:18 -07:00

[tip: timers/core] drivers/clocksource/arm_arch_timer: Remove duplicate error message

2020-06-01 Thread tip-bot2 for Dejin Zheng
The following commit has been merged into the timers/core branch of tip: Commit-ID: d1b5e55208fd8e1c73876ab6ad1ce93485e3f5a2 Gitweb: https://git.kernel.org/tip/d1b5e55208fd8e1c73876ab6ad1ce93485e3f5a2 Author:Dejin Zheng AuthorDate:Wed, 29 Apr 2020 23:35:59 +08:00

[tip: timers/core] clocksource/drivers/timer-ti-dm: Do one override clock parent in prepare()

2020-06-01 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the timers/core branch of tip: Commit-ID: 264418e20d1fedbed8ad79683b63caa3d72c3b2e Gitweb: https://git.kernel.org/tip/264418e20d1fedbed8ad79683b63caa3d72c3b2e Author:Lokesh Vutla AuthorDate:Mon, 27 Apr 2020 22:58:31 +05:30

[tip: timers/core] dt-bindings: timer: Move snps,dw-apb-timer DT schema from rtc

2020-06-01 Thread tip-bot2 for Serge Semin
The following commit has been merged into the timers/core branch of tip: Commit-ID: e69bc8999662a3fa6d856820dd09717afff1cbb0 Gitweb: https://git.kernel.org/tip/e69bc8999662a3fa6d856820dd09717afff1cbb0 Author:Serge Semin AuthorDate:Thu, 21 May 2020 23:48:11 +03:00

[tip: timers/core] clocksource/drivers/timer-ti-32k: Add support for initializing directly

2020-06-01 Thread tip-bot2 for Tony Lindgren
The following commit has been merged into the timers/core branch of tip: Commit-ID: d15483bb49bae0f9cbb67c54becec252545752d3 Gitweb: https://git.kernel.org/tip/d15483bb49bae0f9cbb67c54becec252545752d3 Author:Tony Lindgren AuthorDate:Thu, 07 May 2020 10:23:17 -07:00

[tip: timers/core] clocksource: mips-gic-timer: Mark GIC timer as unstable if ref clock changes

2020-06-01 Thread tip-bot2 for Serge Semin
The following commit has been merged into the timers/core branch of tip: Commit-ID: 7d7de1a65349811b24971c5e8e040e6aac192dd4 Gitweb: https://git.kernel.org/tip/7d7de1a65349811b24971c5e8e040e6aac192dd4 Author:Serge Semin AuthorDate:Thu, 21 May 2020 23:48:17 +03:00

[tip: timers/core] clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support

2020-06-01 Thread tip-bot2 for Tony Lindgren
The following commit has been merged into the timers/core branch of tip: Commit-ID: aba1ad05da088944a62eb87fb0cd8391152e8985 Gitweb: https://git.kernel.org/tip/aba1ad05da088944a62eb87fb0cd8391152e8985 Author:Tony Lindgren AuthorDate:Thu, 07 May 2020 10:23:18 -07:00

[tip: timers/core] clocksource: davinci: axe a pointless __GFP_NOFAIL

2020-06-01 Thread tip-bot2 for Christophe JAILLET
The following commit has been merged into the timers/core branch of tip: Commit-ID: 4855f2bd91b6e3461af7d795bfe9a40420122131 Gitweb: https://git.kernel.org/tip/4855f2bd91b6e3461af7d795bfe9a40420122131 Author:Christophe JAILLET AuthorDate:Thu, 09 Apr 2020 12:12:26 +02:00

[tip: timers/core] clocksource/drivers/rda: drop redundant Kconfig dependency

2020-06-01 Thread tip-bot2 for Johan Hovold
The following commit has been merged into the timers/core branch of tip: Commit-ID: 83cba9536905e4f82b726a98fe404400f0c9eb76 Gitweb: https://git.kernel.org/tip/83cba9536905e4f82b726a98fe404400f0c9eb76 Author:Johan Hovold AuthorDate:Wed, 13 May 2020 14:25:48 +02:00

[tip: timers/core] clocksource/drivers/atmel-st: Remove useless 'status'

2020-06-01 Thread tip-bot2 for Jason Yan
The following commit has been merged into the timers/core branch of tip: Commit-ID: 8c42c0f72d7c4f295646d3eba73f62e5579b1732 Gitweb: https://git.kernel.org/tip/8c42c0f72d7c4f295646d3eba73f62e5579b1732 Author:Jason Yan AuthorDate:Tue, 14 Apr 2020 20:02:38 +08:00 Committer:

[tip: timers/core] ARM: dts: Add 32KHz clock as default clock source

2020-06-01 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the timers/core branch of tip: Commit-ID: ac819eda7cc96656df50897848ffe5dfe9a3cb7c Gitweb: https://git.kernel.org/tip/ac819eda7cc96656df50897848ffe5dfe9a3cb7c Author:Lokesh Vutla AuthorDate:Mon, 27 Apr 2020 22:56:04 +05:30

[tip: timers/core] clocksource/drivers/timer-microchip-pit64b: Select CONFIG_TIMER_OF

2020-06-01 Thread tip-bot2 for Michael Ellerman
The following commit has been merged into the timers/core branch of tip: Commit-ID: 25259f7a5de2de9d67793dc584b15c83a3134c93 Gitweb: https://git.kernel.org/tip/25259f7a5de2de9d67793dc584b15c83a3134c93 Author:Michael Ellerman AuthorDate:Sun, 26 Apr 2020 22:43:56 +10:00

[tip: timers/core] clocksource/drivers/imx-tpm: Add support for ARM64

2020-06-01 Thread tip-bot2 for Anson Huang
The following commit has been merged into the timers/core branch of tip: Commit-ID: ac161f57b66dcf14b3339b1c5857c08a9ad4d833 Gitweb: https://git.kernel.org/tip/ac161f57b66dcf14b3339b1c5857c08a9ad4d833 Author:Anson Huang AuthorDate:Wed, 01 Apr 2020 12:27:02 +08:00

[tip: timers/core] clocksource/drivers/timer-ti-32k: Add support for initializing directly

2020-06-01 Thread tip-bot2 for Tony Lindgren
The following commit has been merged into the timers/core branch of tip: Commit-ID: 46b30515f97ece3da661b251e4a0ad9ac7a338d3 Gitweb: https://git.kernel.org/tip/46b30515f97ece3da661b251e4a0ad9ac7a338d3 Author:Tony Lindgren AuthorDate:Thu, 07 May 2020 10:23:17 -07:00

[tip: timers/core] clocksource/drivers/arc_timer: Remove duplicate error message

2020-06-01 Thread tip-bot2 for Dejin Zheng
The following commit has been merged into the timers/core branch of tip: Commit-ID: 311fb70aa55174ddebb5c6022b23e58b85e9f116 Gitweb: https://git.kernel.org/tip/311fb70aa55174ddebb5c6022b23e58b85e9f116 Author:Dejin Zheng AuthorDate:Wed, 29 Apr 2020 23:12:23 +08:00

[tip: timers/core] clocksource/drivers/timer-ti-dm: Fix warning for set but not used

2020-06-01 Thread tip-bot2 for Tony Lindgren
The following commit has been merged into the timers/core branch of tip: Commit-ID: c177e2975430cec296aa52a0d413e447417d6cf9 Gitweb: https://git.kernel.org/tip/c177e2975430cec296aa52a0d413e447417d6cf9 Author:Tony Lindgren AuthorDate:Tue, 19 May 2020 08:51:57 -07:00

[tip: timers/core] clocksource/drivers/davinci: Avoid trailing '\n' hidden in pr_fmt()

2020-06-01 Thread tip-bot2 for Christophe JAILLET
The following commit has been merged into the timers/core branch of tip: Commit-ID: bdf8783c0dae9d3d8fc1c4078fe849ab8aa8b583 Gitweb: https://git.kernel.org/tip/bdf8783c0dae9d3d8fc1c4078fe849ab8aa8b583 Author:Christophe JAILLET AuthorDate:Thu, 09 Apr 2020 11:25:43 +02:00

[tip: timers/core] clocksource/drivers/versatile: Allow CONFIG_CLKSRC_VERSATILE to be disabled

2020-06-01 Thread tip-bot2 for Rob Herring
The following commit has been merged into the timers/core branch of tip: Commit-ID: bfed0eded1ce00bda5cc2d2939b017f88e6b1fd0 Gitweb: https://git.kernel.org/tip/bfed0eded1ce00bda5cc2d2939b017f88e6b1fd0 Author:Rob Herring AuthorDate:Fri, 17 Apr 2020 16:20:45 -05:00

[tip: timers/core] clocksource/drivers/timer-ti-dm: Fix warning for set but not used

2020-06-01 Thread tip-bot2 for Tony Lindgren
The following commit has been merged into the timers/core branch of tip: Commit-ID: 6d15120b282e49811a47f2f6d6b749d178be7e99 Gitweb: https://git.kernel.org/tip/6d15120b282e49811a47f2f6d6b749d178be7e99 Author:Tony Lindgren AuthorDate:Tue, 19 May 2020 08:51:57 -07:00

[tip: timers/core] clocksource: dw_apb_timer: Affiliate of-based timer with any CPU

2020-06-01 Thread tip-bot2 for Serge Semin
The following commit has been merged into the timers/core branch of tip: Commit-ID: 65e0f876405ef4f0ff25eb1c5ff3e9b536d68805 Gitweb: https://git.kernel.org/tip/65e0f876405ef4f0ff25eb1c5ff3e9b536d68805 Author:Serge Semin AuthorDate:Thu, 21 May 2020 23:48:14 +03:00

[tip: timers/core] clocksource: dw_apb_timer: Make CPU-affiliation being optional

2020-06-01 Thread tip-bot2 for Serge Semin
The following commit has been merged into the timers/core branch of tip: Commit-ID: cee43dbf2ee3f430434e2b66994eff8a1aeda889 Gitweb: https://git.kernel.org/tip/cee43dbf2ee3f430434e2b66994eff8a1aeda889 Author:Serge Semin AuthorDate:Thu, 21 May 2020 23:48:13 +03:00

[tip: timers/core] dt-bindings: timer: Add renesas,em-sti bindings

2020-06-01 Thread tip-bot2 for Geert Uytterhoeven
The following commit has been merged into the timers/core branch of tip: Commit-ID: 809eb4e9bf9d84eb5b703358afd0d564d514f6d2 Gitweb: https://git.kernel.org/tip/809eb4e9bf9d84eb5b703358afd0d564d514f6d2 Author:Geert Uytterhoeven AuthorDate:Tue, 19 May 2020 10:11:01 +02:00

[tip: timers/core] dt-bindings: rtc: Convert snps,dw-apb-timer to DT schema

2020-06-01 Thread tip-bot2 for Serge Semin
The following commit has been merged into the timers/core branch of tip: Commit-ID: b33aaf5cd68d0fa0f0d6aa15831a1e82e2ef98e1 Gitweb: https://git.kernel.org/tip/b33aaf5cd68d0fa0f0d6aa15831a1e82e2ef98e1 Author:Serge Semin AuthorDate:Thu, 21 May 2020 23:48:10 +03:00

[tip: timers/core] clocksource: dw_apb_timer_of: Fix missing clockevent timers

2020-06-01 Thread tip-bot2 for Serge Semin
The following commit has been merged into the timers/core branch of tip: Commit-ID: 6d2e16a3181bafb77b535095c39ad1c8b9558c8c Gitweb: https://git.kernel.org/tip/6d2e16a3181bafb77b535095c39ad1c8b9558c8c Author:Serge Semin AuthorDate:Thu, 21 May 2020 23:48:15 +03:00

Re: [PATCH 13/14] perf tests: Add parse metric test for ipc metric

2020-06-01 Thread Jiri Olsa
On Mon, Jun 01, 2020 at 12:55:44AM -0700, Ian Rogers wrote: > On Sun, May 24, 2020 at 3:43 PM Jiri Olsa wrote: > > > > Adding new test that process metrics code and checks > > the expected results. Starting with easy ipc metric. > > > > Signed-off-by: Jiri Olsa > > Acked-by: Ian Rogers > > I

[GIT PULL] kprobes updates for v5.8

2020-06-01 Thread Ingo Molnar
Linus, Please pull the latest core/kprobes git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-kprobes-2020-06-01 # HEAD: 66e9b0717102507e64f638790eaece88765cc9e5 kprobes: Prevent probes in .noinstr.text section Various kprobes updates, mostly centered around

[PATCH] PCI: aardvark: Indicate error in 'val' when config read fails

2020-06-01 Thread Pali Rohár
Most callers of config read do not check for return value. But most of the ones that do, checks for error indication in 'val' variable. This patch updates error handling in advk_pcie_rd_conf() function. If PIO transfer fails then 'val' variable is set to 0x which indicates failture.

[GIT PULL] m68k updates for 5.8

2020-06-01 Thread Geert Uytterhoeven
Hi Linus, The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136: Linux 5.7-rc1 (2020-04-12 12:35:55 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git tags/m68k-for-v5.8-tag1 for you to fetch

[tip: x86/entry] x86/idt: Consolidate idt functionality

2020-06-01 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the x86/entry branch of tip: Commit-ID: 5f98f9eee4d41e012f6a768cec1bd6a143572c09 Gitweb: https://git.kernel.org/tip/5f98f9eee4d41e012f6a768cec1bd6a143572c09 Author:Thomas Gleixner AuthorDate:Thu, 28 May 2020 16:53:20 +02:00

[tip: x86/entry] xen: Add missing include to hvm_op.h

2020-06-01 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the x86/entry branch of tip: Commit-ID: 0cfc1b7f2f935584bdd6ef5d9a08a258a16d0a11 Gitweb: https://git.kernel.org/tip/0cfc1b7f2f935584bdd6ef5d9a08a258a16d0a11 Author:Thomas Gleixner AuthorDate:Mon, 01 Jun 2020 14:50:43 +02:00

Re: [RFC PATCH v3] kbuild: add variables for compression tools

2020-06-01 Thread Masahiro Yamada
On Sat, May 30, 2020 at 10:44 PM Denis Efremov wrote: > > Allow user to use alternative implementations of compression tools, > such as pigz, pbzip2, pxz. For example, multi-threaded tools to > speed up the build: > $ make GZIP=pigz BZIP2=pbzip2 > > Variables _GZIP, _BZIP2, _LZOP are used

Re: [PATCH v2 1/5] perf/x86/rapl: move RAPL support to common x86 code

2020-06-01 Thread Johannes Hirte
On 2020 Mai 27, Stephane Eranian wrote: ... > diff --git a/arch/x86/events/Makefile b/arch/x86/events/Makefile > index 6f1d1fde8b2de..12c42eba77ec3 100644 > --- a/arch/x86/events/Makefile > +++ b/arch/x86/events/Makefile > @@ -1,5 +1,6 @@ > # SPDX-License-Identifier: GPL-2.0-only > obj-y

Re: [PATCH V6 4/5] clk: qcom: Add ipq6018 apss clock controller

2020-06-01 Thread Sivaprakash Murugesan
Hi Stepen, On 5/28/2020 7:29 AM, Stephen Boyd wrote: Quoting Sivaprakash Murugesan (2020-05-27 05:24:51) diff --git a/drivers/clk/qcom/apss-ipq6018.c b/drivers/clk/qcom/apss-ipq6018.c new file mode 100644 index 000..004f7e1 --- /dev/null +++ b/drivers/clk/qcom/apss-ipq6018.c @@ -0,0 +1,106

Re: PANIC: double fault in fixup_bad_iret

2020-06-01 Thread Marco Elver
On Sun, 31 May 2020 at 11:32, Dmitry Vyukov wrote: > > On Fri, May 29, 2020 at 7:11 PM Peter Zijlstra wrote: > > > Like with KCSAN, we should blanket kill KASAN/UBSAN and friends (at the > > > very least in arch/x86/) until they get that function attribute stuff > > > sorted. > > > > Something

RE: [PATCH 2/4] firmware: imx: add resource management api

2020-06-01 Thread Peng Fan
> Subject: RE: [PATCH 2/4] firmware: imx: add resource management api > > > From: Peng Fan > > Sent: Friday, April 24, 2020 9:12 AM > > > > > > > From: Peng Fan > > > > Sent: Thursday, April 23, 2020 6:57 PM > > > > > > From: Peng Fan > > > > > > Sent: Thursday, April 23, 2020 3:00 PM > > > >

[PATCH] block/bio-integrity: don't free 'buf' if bio_integrity_add_page() failed

2020-06-01 Thread yu kuai
commit e7bf90e5afe3 ("block/bio-integrity: fix a memory leak bug") add a kree() for 'buf' if bio_integrity_add_page() return '0'. However, the object will be freed in bio_integrity_free() since 'bio->bi_opf' and 'bio->bi_integrity' was set previousy in bio_integrity_alloc(). Fixes: commit

Re: [PATCH] iommu: Improve exception handling in iommu_group_alloc()

2020-06-01 Thread Markus Elfring
> Optimize the error handling to free the resources correctly when > failed to allocate an iommu group. * I would not categorise the desired completion of exception handling as a software optimisation. * Would you like to add the tag “Fixes” to the commit message? * I suggest to avoid the

Re: [PATCH] vimc: debayer: Add support for ARGB format

2020-06-01 Thread Laurent Pinchart
On Mon, Jun 01, 2020 at 05:46:26PM +0530, Kaaira Gupta wrote: > On Fri, May 29, 2020 at 05:43:57PM +0200, Dafna Hirschfeld wrote: > > Hi, > > Thanks for the patch > > > > I don't know how real devices handle ARGB formats, > > I wonder if it should be the part of the debayer. > > Hi! qcam tries

[PATCH RFC 2/3] md/raid0: enable REQ_NOWAIT

2020-06-01 Thread Konstantin Khlebnikov
Set limits.nowait_requests = 1 before stacking limits. Raid itself does not delay bio in raid0_make_request(). Signed-off-by: Konstantin Khlebnikov --- drivers/md/raid0.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/md/raid0.c b/drivers/md/raid0.c index

[GIT PULL] Btrfs updates for 5.8

2020-06-01 Thread David Sterba
Hi, please pull the following updates to btrfs. Thanks. Highlights: - speedup dead root detection during orphan cleanup, eg. when there are many deleted subvolumes waiting to be cleaned, the trees are now looked up in radix tree instead of a O(N^2) search - snapshot creation with inherited

[PATCH RFC 0/3] block: allow REQ_NOWAIT to some bio-based/stacked devices

2020-06-01 Thread Konstantin Khlebnikov
Here is pretty straight forward attempt of handling REQ_NOWAIT for bio-based and stacked devices. They are marked with flag queue->limits.nowait_requests which tells that queue method make_request() handles REQ_NOWAIT or doesn't delay requests, and all backend devices do the same. As a example

[PATCH v2] selftests/seccomp: use 90s as timeout

2020-06-01 Thread Thadeu Lima de Souza Cascardo
As seccomp_benchmark tries to calibrate how many samples will take more than 5 seconds to execute, it may end up picking up a number of samples that take 10 (but up to 12) seconds. As the calibration will take double that time, it takes around 20 seconds. Then, it executes the whole thing again,

[PATCH RFC 3/3] dm: add support for REQ_NOWAIT and enable for target dm-linear

2020-06-01 Thread Konstantin Khlebnikov
Add dm target feature flag DM_TARGET_NOWAIT which tells that target has no problem with REQ_NOWAIT. Set limits.nowait_requests if all targets and backends handle REQ_NOWAIT. Signed-off-by: Konstantin Khlebnikov --- drivers/md/dm-linear.c|5 +++-- drivers/md/dm-table.c |

[PATCH RFC 1/3] block: add flag 'nowait_requests' into queue limits

2020-06-01 Thread Konstantin Khlebnikov
Add flag for marking bio-based queues which support REQ_NOWAIT. Set for all request based (mq) devices. Stacking device should set it after blk_set_stacking_limits() if method make_request() itself doesn't delay requests or handles REQ_NOWAIT. Signed-off-by: Konstantin Khlebnikov ---

Re: [PATCH] afs: Fix memory leak in afs_put_sysnames()

2020-06-01 Thread David Howells
Markus Elfring wrote: > > sysnames should be freed after refcnt being decreased to zero in > > afs_put_sysnames(). > > * I suggest to use the wording “reference counter”. Can you use ASCII quotes please? Not all fonts contain these quotes, and occasionally they got copied into commit

[PATCH] selftests/seccomp: use 90s as timeout

2020-06-01 Thread Thadeu Lima de Souza Cascardo
As seccomp_benchmark tries to calibrate how many samples will take more than 5 seconds to execute, it may end up picking up a number of samples that take 10 (but up to 12) seconds. As the calibration will take double that time, it takes around 20 seconds. Then, it executes the whole thing again,

Re: [PATCH] afs: Fix memory leak in afs_put_sysnames()

2020-06-01 Thread David Howells
Zhihao Cheng wrote: > sysnames should be freed after refcnt being decreased to zero in > afs_put_sysnames(). Good catch. > Besides, it would be better set net->sysnames to 'NULL' after net->sysnames > being released if afs_put_sysnames() aims on an afs_sysnames object. Why? We don't normally

Re: [PATCH RESEND v2 0/6] mips: Add DT bindings for MIPS CDMM and MIPS GIC

2020-06-01 Thread Marc Zyngier
On 2020-06-01 13:21, Serge Semin wrote: [...] Since Paul isn't looking after the MIPS arch code anymore, Ralf hasn't been seen maintaining MIPS for a long time, Thomas is only responsible for the next part of it: F: Documentation/devicetree/bindings/mips/ F:

Re: WARNING in snd_usbmidi_submit_urb/usb_submit_urb

2020-06-01 Thread Greg KH
On Mon, Jun 01, 2020 at 02:22:40PM +0200, Andrey Konovalov wrote: > On Mon, Jun 1, 2020 at 10:43 AM Greg KH wrote: > > > > On Mon, Jun 01, 2020 at 12:24:03AM -0700, syzbot wrote: > > > syzbot has bisected this bug to: > > > > > > commit f2c2e717642c66f7fe7e5dd69b2e8ff5849f4d10 > > > Author:

[for-next][PATCH 01/12] ftrace: show debugging information when panic_on_warn set

2020-06-01 Thread Steven Rostedt
From: Cheng Jian When an anomaly is detected in the function call modification code, ftrace_bug() is called to disable function tracing as well as give some warn and information that may help debug the problem. But currently, we call FTRACE_WARN_ON_ONCE() first in ftrace_bug(), so when

[for-next][PATCH 03/12] tracing/probe: reverse arguments to list_add

2020-06-01 Thread Steven Rostedt
From: Julia Lawall Elsewhere in the file, the function trace_kprobe_has_same_kprobe uses a trace_probe_event.probes object as the second argument of list_for_each_entry, ie as a list head, while the list_for_each_entry iterates over the list fields of the trace_probe structures, making them the

[for-next][PATCH 10/12] selftests/ftrace: Distinguish between hist and synthetic event checks

2020-06-01 Thread Steven Rostedt
From: Tom Zanussi With synthetic events now a separate config item as a result of 'tracing: Move synthetic events to a separate file', tests that use both need to explicitly check for hist trigger support rather than relying on hist triggers to pull in synthetic events. Add an additional hist

[for-next][PATCH 02/12] tools/bootconfig: Add a summary of test cases and return error

2020-06-01 Thread Steven Rostedt
From: Masami Hiramatsu Add summary lines of test cases and return an error code if any test case fails so that tester don't have to monitor the output. Link: https://lkml.kernel.org/r/158898590533.22749.10269622752797822320.stgit@devnote2 Signed-off-by: Masami Hiramatsu Signed-off-by: Steven

[for-next][PATCH 04/12] tracing: Check state.disabled in synth event trace functions

2020-06-01 Thread Steven Rostedt
From: Tom Zanussi Since trace_state.disabled is set in __synth_event_trace_start() at the same time -ENOENT is returned, don't bother returning -ENOENT - just have callers check trace_state.disabled instead, and avoid the extra return val munging. Link:

[for-next][PATCH 07/12] tracing/doc: Fix typos in histogram-design.rst

2020-06-01 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" There's a few typos in the histogram-design.rst document that need need to be fixed. Cc: Tom Zanussi Acked-by: Randy Dunlap Signed-off-by: Steven Rostedt (VMware) --- Documentation/trace/histogram-design.rst | 6 +++--- 1 file changed, 3 insertions(+), 3

[for-next][PATCH 00/12] tracing: Updates for 5.8 (finally finished testing them)

2020-06-01 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: c200784a08d4ea82f82a30678955b7f2c7550af4 Cheng Jian (1): ftrace: show debugging information when panic_on_warn set Julia Lawall (1): tracing/probe: reverse arguments to list_add Masami

[for-next][PATCH 11/12] ftrace,bug: Improve traceoff_on_warn

2020-06-01 Thread Steven Rostedt
From: Peter Zijlstra While doing some tracing, I found a huge portion of the per-cpu buffer was taken by printk/serial output because we're disabling the trace far too late (after printing the CUT string). Improve matters for architectures that have GENERIC_BUG + _BUG_FLAGS by killing the

[for-next][PATCH 06/12] tracing: Add hist_debug trace event files for histogram debugging

2020-06-01 Thread Steven Rostedt
From: Tom Zanussi Add a new "hist_debug" file for each trace event, which when read will dump out a bunch of internal details about the hist triggers defined on that event. This is normally off but can be enabled by saying 'y' to the new CONFIG_HIST_TRIGGERS_DEBUG config option. This is in

[for-next][PATCH 05/12] tracing: Add histogram-design document

2020-06-01 Thread Steven Rostedt
From: Tom Zanussi Add a new Documentation/trace/histogram-design.rst file describing the ftrace histogram low-level design, meant to help developers trying to understand the internals when extending or making use of the hist triggers for higher-level tools. This documentation refers to the

[for-next][PATCH 09/12] tracing: Move synthetic events to a separate file

2020-06-01 Thread Steven Rostedt
From: Tom Zanussi With the addition of the in-kernel synthetic event API, synthetic events are no longer specifically tied to the histogram triggers. The synthetic event code is also making trace_event_hist.c very bloated, so for those reasons, move it to a separate file, trace_events_synth.c,

[for-next][PATCH 12/12] tracing: Add a trace print when traceoff_on_warning is triggered

2020-06-01 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" When "traceoff_on_warning" is enabled and a warning happens, there can still be many trace events happening on other CPUs between the time the warning occurred and the last trace event on that same CPU. This can cause confusion in examining the trace, as it may

[PATCH] xen: Fix build with recent suspend_hvm.c changes

2020-06-01 Thread Vitaly Kuznetsov
kbuild test robot reports the following issues with some randconfig build: ... In file included from ./include/xen/interface/hvm/params.h:24, from ./include/xen/hvm.h:6, from arch/x86/xen/suspend_hvm.c:5: ./include/xen/interface/hvm/hvm_op.h:29:5: error: unknown

Re: WARNING in snd_usbmidi_submit_urb/usb_submit_urb

2020-06-01 Thread Andrey Konovalov
On Mon, Jun 1, 2020 at 10:43 AM Greg KH wrote: > > On Mon, Jun 01, 2020 at 12:24:03AM -0700, syzbot wrote: > > syzbot has bisected this bug to: > > > > commit f2c2e717642c66f7fe7e5dd69b2e8ff5849f4d10 > > Author: Andrey Konovalov > > Date: Mon Feb 24 16:13:03 2020 + > > > > usb: gadget:

[GIT PULL] regulator updates for v5.8

2020-06-01 Thread Mark Brown
The following changes since commit 9cb1fd0efd195590b828b9b865421ad345a4a145: Linux 5.7-rc7 (2020-05-24 15:32:54 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-v5.8 for you to fetch changes up to

[PATCH v2 5/6] bus: cdmm: Add MIPS R5 arch support

2020-06-01 Thread Serge Semin
CDMM may be available not only on MIPS R2 architectures, but also on newer MIPS R5 chips. For instance our P5600 chip has one. Let's mark the CDMM bus being supported for that MIPS arch too. Signed-off-by: Serge Semin Reviewed-by: Thomas Bogendoerfer --- drivers/bus/Kconfig | 2 +- 1 file

[PATCH RESEND v2 0/6] mips: Add DT bindings for MIPS CDMM and MIPS GIC

2020-06-01 Thread Serge Semin
Folks, the code and DT-related patches here have been mostly reviewed. Please consider merge the series in or at least give me a feedback to update the series, since merge window is getting opened tomorrow and I would really appreciate to see the leftover being merged in. Regarding this patchset

[PATCH v2 1/6] dt-bindings: power: Convert mti,mips-cpc to DT schema

2020-06-01 Thread Serge Semin
It's a Cluster Power Controller embedded into the MIPS IP cores. Currently the corresponding dts node is supposed to have compatible and reg properties. Signed-off-by: Serge Semin Reviewed-by: Rob Herring --- Changelog prev: - Reword the changelog summary - use shorter version. - Lowercase

[PATCH v2 4/6] mips: cdmm: Add mti,mips-cdmm dtb node support

2020-06-01 Thread Serge Semin
Since having and mapping the CDMM block is platform specific, then instead of just returning a zero-address, lets make the default CDMM base address search method (mips_cdmm_phys_base()) to do something useful. For instance to find the address in a dedicated dtb-node in order to support of-based

[PATCH v2 6/6] MAINTAINERS: Add maintainers for MIPS core drivers

2020-06-01 Thread Serge Semin
Add myself as a maintainer of MIPS CPU and GIC IRQchip, MIPS GIC timer and MIPS CPS CPUidle drivers. Signed-off-by: Serge Semin --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2926327e4976..f21e51c4a0d5 100644 --- a/MAINTAINERS +++

RE: [PATCH 3/4 v4] exfat: add boot region verification

2020-06-01 Thread Sungjong Seo
> Add Boot-Regions verification specified in exFAT specification. > Note that the checksum type is strongly related to the raw structure, so > the'u32 'type is used to clarify the number of bits. > > Signed-off-by: Tetsuhiro Kohada Reviewed-by: Sungjong Seo > --- > Changes in v2: > - rebase

[PATCH v2 2/6] dt-bindings: interrupt-controller: Convert mti,gic to DT schema

2020-06-01 Thread Serge Semin
Modern device tree bindings are supposed to be created as YAML-files in accordance with DT schema. This commit replaces MIPS GIC legacy bare text binding with YAML file. As before the binding file states that the corresponding dts node is supposed to be compatible with MIPS Global Interrupt

[PATCH v2 3/6] dt-bindings: bus: Add MIPS CDMM controller

2020-06-01 Thread Serge Semin
It's a Common Device Memory Map controller embedded into the MIPS IP cores, which dts node is supposed to have compatible and reg properties. Signed-off-by: Serge Semin Reviewed-by: Rob Herring --- Changelog prev: - Lowercase the example hex'es. --- .../bindings/bus/mti,mips-cdmm.yaml

RE: [PATCH 4/4 v3] exfat: standardize checksum calculation

2020-06-01 Thread Sungjong Seo
> To clarify that it is a 16-bit checksum, the parts related to the 16-bit > checksum are renamed and change type to u16. > Furthermore, replace checksum calculation in exfat_load_upcase_table() > with exfat_calc_checksum32(). > > Signed-off-by: Tetsuhiro Kohada Reviewed-by: Sungjong Seo >

RE: [PATCH 2/4 v3] exfat: separate the boot sector analysis

2020-06-01 Thread Sungjong Seo
> Separate the boot sector analysis to read_boot_sector(). > And add a check for the fs_name field. > Furthermore, add a strict consistency check, because overlapping areas can > cause serious corruption. > > Signed-off-by: Tetsuhiro Kohada Reviewed-by: Sungjong Seo > --- > Changes in v2: >

RE: [PATCH 1/4 v3] exfat: redefine PBR as boot_sector

2020-06-01 Thread Sungjong Seo
> Aggregate PBR related definitions and redefine as "boot_sector" to comply > with the exFAT specification. > And, rename variable names including 'pbr'. > > Signed-off-by: Tetsuhiro Kohada Reviewed-by: Sungjong Seo > --- > Changes in v2: > - rebase with patch 'optimize dir-cache' applied

[PATCH] vimc: debayer: Add support for ARGB format

2020-06-01 Thread Kaaira Gupta
On Fri, May 29, 2020 at 05:43:57PM +0200, Dafna Hirschfeld wrote: > Hi, > Thanks for the patch > > I don't know how real devices handle ARGB formats, > I wonder if it should be the part of the debayer. Hi! qcam tries to support BA24 as it is one of the formats that vimc lists as its supported

Re: [PATCH v2 1/4] iio: chemical: scd30: add core driver

2020-06-01 Thread Tomasz Duszynski
On Sun, May 31, 2020 at 09:21:52PM +0200, Tomasz Duszynski wrote: > On Sun, May 31, 2020 at 10:58:40AM +0100, Jonathan Cameron wrote: > > On Sat, 30 May 2020 23:36:27 +0200 > > Tomasz Duszynski wrote: > > > > > Add Sensirion SCD30 carbon dioxide core driver. > > > > > > Signed-off-by: Tomasz

RE: [PATCH] exfat: optimize dir-cache

2020-06-01 Thread Sungjong Seo
> Optimize directory access based on exfat_entry_set_cache. > - Hold bh instead of copied d-entry. > - Modify bh->data directly instead of the copied d-entry. > - Write back the retained bh instead of rescanning the d-entry-set. > And > - Remove unused cache related definitions. > >

Re: [PATCH V4] pwm: tegra: dynamic clk freq configuration by PWM driver

2020-06-01 Thread Jon Hunter
On 01/06/2020 06:20, Sandipan Patra wrote: > Added support for dynamic clock freq configuration in pwm kernel driver. > Earlier the pwm driver used to cache boot time clock rate by pwm clock > parent during probe. Hence dynamically changing pwm frequency was not > possible for all the possible

[PATCH v10 14/14] KVM: selftests: Add "-c" parameter to dirty log test

2020-06-01 Thread Peter Xu
It's only used to override the existing dirty ring size/count. If with a bigger ring count, we test async of dirty ring. If with a smaller ring count, we test ring full code path. Async is default. It has no use for non-dirty-ring tests. Reviewed-by: Andrew Jones Signed-off-by: Peter Xu ---

[PATCH v10 13/14] KVM: selftests: Let dirty_log_test async for dirty ring test

2020-06-01 Thread Peter Xu
Previously the dirty ring test was working in synchronous way, because only with a vmexit (with that it was the ring full event) we'll know the hardware dirty bits will be flushed to the dirty ring. With this patch we first introduced the vcpu kick mechanism by using SIGUSR1, meanwhile we can

<    9   10   11   12   13   14   15   16   17   18   >