Update WCN3991 FW with new enhancement

2020-09-30 Thread asitshah
Hi Team, Please include updated firmware bins for WCN3991. Snapshot of pull request is as below, let me know if anything is missing. The following changes since commit b78a66c909c7150601e1b2a810b0e7c8f98d920c: linux-firmware: Update firmware for Cadence MHDP8546 DP bridge (2020-0

Re: [PATCH v5 80/80] ARM: dts: bcm2711: Enable the display pipeline

2020-09-30 Thread Maxime Ripard
Hi Stefan, On Wed, Sep 30, 2020 at 06:52:13PM +0200, Stefan Wahren wrote: > Am 30.09.20 um 18:38 schrieb Nathan Chancellor: > > On Wed, Sep 30, 2020 at 04:07:58PM +0200, Maxime Ripard wrote: > >> Hi Nathan, > >> > >> On Tue, Sep 29, 2020 at 03:15:26PM -0700, Nathan Chancellor wrote: > >>> On Thu,

Re: [PATCH 09/18] dt-bindings: dma: ti: Add document for K3 BCDMA

2020-09-30 Thread Peter Ujfalusi
Hi Rob, On 30/09/2020 12.14, Peter Ujfalusi wrote: > New binding document for > Texas Instruments K3 Block Copy DMA (BCDMA). > > BCDMA is introduced as part of AM64. > > Signed-off-by: Peter Ujfalusi > --- > .../devicetree/bindings/dma/ti/k3-bcdma.yaml | 183 ++ > 1 file chang

Re: [PATCH v6 14/17] dt-bindings: arm: hisilicon: convert hisilicon,hip04-bootwrapper bindings to json-schema

2020-09-30 Thread Krzysztof Kozlowski
On Wed, Sep 30, 2020 at 11:17:09AM +0800, Zhen Lei wrote: > Convert the Hisilicon Bootwrapper boot method binding to DT schema format > using json-schema. > > The property boot-method contains two groups of physical address range > information: bootwrapper and relocation. The "uint32-array" type i

Re: [PATCH 11/11] soc: ti: k3-socinfo: Add entry for AM64 SoC family

2020-09-30 Thread Peter Ujfalusi
Hi Grygorii, On 30/09/2020 16.56, Grygorii Strashko wrote: > > > On 28/09/2020 11:34, Peter Ujfalusi wrote: >> It's JTAG PARTNO is 0xBB38. >> >> Signed-off-by: Peter Ujfalusi >> --- >>   drivers/soc/ti/k3-socinfo.c | 1 + >>   1 file changed, 1 insertion(+) >> >> diff --git a/drivers/soc/ti/k3-s

Nutzen Sie diese Gelegenheit

2020-09-30 Thread Ying Chongan
Schöne Grüße, Ich melde mich bei Ihnen, um in ein lukratives Geschäft in Ihrem Land zu investieren. Wir bieten ein schnelles Darlehen zu einem niedrigen Zinssatz an. Wenn Sie interessiert sind, antworten Sie bitte an yingchon...@gmail.com, um weitere Informationen zu erhalten. Mit freundlichen

Re: [PATCH v4 23/52] docs: trace-uses.rst: remove bogus c-domain tags

2020-09-30 Thread Mauro Carvalho Chehab
Em Thu, 1 Oct 2020 11:36:53 +0530 Kamalesh Babulal escreveu: > On 30/09/20 6:54 pm, Mauro Carvalho Chehab wrote: > > There are some c-domain tags that are wrong. While this won't > > cause problems with Sphinx < 3.0, this cause troubles with > > newer versions, as the C parser won't recognize the

Re: [PATCH] MAINTAINERS: exclude char maintainers from things they do not maintain

2020-09-30 Thread Joe Perches
On Thu, 2020-10-01 at 08:29 +0200, Greg Kroah-Hartman wrote: > On Wed, Sep 30, 2020 at 01:02:46PM -0700, Joe Perches wrote: > > On Wed, 2020-09-30 at 18:28 +0200, Greg Kroah-Hartman wrote: > > > On Wed, Sep 30, 2020 at 08:36:56AM -0500, Corey Minyard wrote: > > > > On Wed, Sep 30, 2020 at 02:10:07P

Re: INFO: task hung in tcf_action_init_1

2020-09-30 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger any issue: Reported-and-tested-by: syzbot+82752bc5331601cf4...@syzkaller.appspotmail.com Tested on: commit: d5b70379 request_module() git tree: https://github.com/congwang/linux.git net kernel config:

Re: [PATCH v6 11/17] dt-bindings: arm: hisilicon: convert hisilicon,cpuctrl bindings to json-schema

2020-09-30 Thread Krzysztof Kozlowski
On Wed, Sep 30, 2020 at 11:17:06AM +0800, Zhen Lei wrote: > Convert the Hisilicon CPU controller binding to DT schema format using > json-schema. > > Signed-off-by: Zhen Lei > --- > .../bindings/arm/hisilicon/controller/cpuctrl.yaml | 29 > ++ > .../arm/hisilicon/controller/

linux-next: manual merge of the tip tree with the pci tree

2020-09-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: arch/x86/pci/xen.c between commit: b0623566c2e9 ("x86/xen: Fix xen_msi_init() missing prototype warning") from the pci tree and commit: 2905c50b7d3e ("x86/xen: Make xen_msi_init() static and rename it to xen_hvm_msi_in

Re: [PATCH v6 08/17] ARM: dts: add SD5203 dts

2020-09-30 Thread Krzysztof Kozlowski
On Wed, Sep 30, 2020 at 11:17:03AM +0800, Zhen Lei wrote: > From: Kefeng Wang > > Add sd5203.dts for Hisilicon SD5203 SoC platform. > > Signed-off-by: Kefeng Wang > Signed-off-by: Zhen Lei > --- > arch/arm/boot/dts/Makefile | 2 + > arch/arm/boot/dts/sd5203.dts | 96 >

linux-next: manual merge of the tip tree with the vfs tree

2020-09-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got conflicts in: arch/ia64/Kconfig arch/s390/Kconfig between commit: 5e6e9852d6f7 ("uaccess: add infrastructure for kernel builds with set_fs()") from the vfs tree and commit: 077ee78e3928 ("PCI/MSI: Make arch_.*_msi_irq[s] fallbacks s

Re: [PATCH v6 16/17] dt-bindings: arm: hisilicon: convert hisilicon,hi3798cv200-perictrl bindings to json-schema

2020-09-30 Thread Krzysztof Kozlowski
On Wed, Sep 30, 2020 at 11:17:11AM +0800, Zhen Lei wrote: > Convert the Hisilicon Hi3798CV200 Peripheral Controller binding to DT > schema format using json-schema. > > Signed-off-by: Zhen Lei > --- > .../hisilicon/controller/hi3798cv200-perictrl.yaml | 64 > ++ > .../contro

Re: [PATCH] mtd: spi-nor: Fix 3-or-4 address byte mode logic

2020-09-30 Thread Pratyush Yadav
Hi, On 01/10/20 01:56AM, Bert Vermeulen wrote: > Flash chips that announce BFPT_DWORD1_ADDRESS_BYTES_3_OR_4 capability > get an addr_width of 3. This breaks when the flash chip is actually > larger than 16MB, since that requires a 4-byte address. The MX25L25635F > does exactly this, breaking anyth

RE: [Intel-wired-lan] [PATCH] e1000: do not panic on malformed rx_desc

2020-09-30 Thread Brown, Aaron F
> From: Intel-wired-lan On Behalf Of Tong > Zhang > Sent: Tuesday, September 8, 2020 9:23 AM > To: Kirsher, Jeffrey T ; David S. Miller > ; Jakub Kicinski ; intel-wired- > l...@lists.osuosl.org; net...@vger.kernel.org; linux-kernel@vger.kernel.org > Cc: ztong0...@gmail.com > Subject: [Intel-wired-

Re: [PATCH v6 03/17] dt-bindings: arm: hisilicon: split the dt-bindings of each controller into a separate file

2020-09-30 Thread Krzysztof Kozlowski
On Wed, Sep 30, 2020 at 11:16:58AM +0800, Zhen Lei wrote: > Split the devicetree bindings of each Hisilicon controller from > hisilicon.txt into a separate file, the file name is the compatible name > attach the .txt file name extension. > > Signed-off-by: Zhen Lei > --- > .../arm/hisilicon/cont

Re: [PATCH] mmc: core: don't set limits.discard_granularity as 0

2020-09-30 Thread Coly Li
On 2020/10/1 14:14, Adrian Hunter wrote: > On 1/10/20 7:36 am, Coly Li wrote: >> On 2020/10/1 01:23, Adrian Hunter wrote: >>> On 30/09/20 7:08 pm, Coly Li wrote: In mmc_queue_setup_discard() the mmc driver queue's discard_granularity might be set as 0 (when card->pref_erase > max_discard)

Re: [PATCH] MAINTAINERS: exclude char maintainers from things they do not maintain

2020-09-30 Thread Greg Kroah-Hartman
On Wed, Sep 30, 2020 at 01:02:46PM -0700, Joe Perches wrote: > On Wed, 2020-09-30 at 18:28 +0200, Greg Kroah-Hartman wrote: > > On Wed, Sep 30, 2020 at 08:36:56AM -0500, Corey Minyard wrote: > > > On Wed, Sep 30, 2020 at 02:10:07PM +0200, Greg Kroah-Hartman wrote: > > > > There are a number of subd

Re: [PATCH v6 02/17] dt-bindings: arm: hisilicon: delete the descriptions of HiP05/HiP06 controllers

2020-09-30 Thread Krzysztof Kozlowski
On Wed, Sep 30, 2020 at 11:16:57AM +0800, Zhen Lei wrote: > The compatible strings of Hi6220 SRAM controller, HiP05/HiP06 PCIe-SAS > subsystem controller, HiP05/HiP06 PERI subsystem controller and > HiP05/HiP06 DSA subsystem controller is in syscon.yaml now. > > Signed-off-by: Zhen Lei > --- > .

Re: [PATCH v6 01/17] dt-bindings: mfd: syscon: add some compatible strings for Hisilicon

2020-09-30 Thread Krzysztof Kozlowski
On Wed, 30 Sep 2020 at 05:19, Zhen Lei wrote: > > Add some compatible strings for Hisilicon controllers: > hisilicon,hi6220-sramctrl --> Hi6220 SRAM controller > hisilicon,pcie-sas-subctrl --> HiP05/HiP06 PCIe-SAS subsystem controller > hisilicon,peri-subctrl --> HiP05/HiP06 PERI subsystem co

Re: linux-next: manual merge of the devicetree tree with the mfd tree

2020-09-30 Thread Krzysztof Kozlowski
On Thu, 1 Oct 2020 at 08:22, Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the devicetree tree got a conflict in: > > Documentation/devicetree/bindings/mfd/syscon.yaml > > between commit: > > 18394297562a ("dt-bindings: mfd: syscon: Merge Samsung Exynos Sysreg > bindings

linux-next: manual merge of the devicetree tree with the mfd tree

2020-09-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the devicetree tree got a conflict in: Documentation/devicetree/bindings/mfd/syscon.yaml between commit: 18394297562a ("dt-bindings: mfd: syscon: Merge Samsung Exynos Sysreg bindings") 05027df1b94f ("dt-bindings: mfd: syscon: Document Exynos3 and Exyno

arch/arc/include/asm/bug.h:22:2: error: implicit declaration of function 'pr_warn'; did you mean

2020-09-30 Thread kernel test robot
Hi Evan, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 60e720931556fc1034d0981460164dcf02697679 commit: 55084d7f4022439de3077b239eed1eb7515fe3ed drm/amd/powerplay: forbid to use pr_err/warn/info/debug date: 3 mo

Re: [PATCH] mmc: core: don't set limits.discard_granularity as 0

2020-09-30 Thread Adrian Hunter
On 1/10/20 7:36 am, Coly Li wrote: > On 2020/10/1 01:23, Adrian Hunter wrote: >> On 30/09/20 7:08 pm, Coly Li wrote: >>> In mmc_queue_setup_discard() the mmc driver queue's discard_granularity >>> might be set as 0 (when card->pref_erase > max_discard) while the mmc >>> device still declares to sup

Re: [PATCH v3 4/4] mmc: mediatek: Add subsys clock control for MT8192 msdc

2020-09-30 Thread Nicolas Boichat
On Wed, Sep 30, 2020 at 4:31 PM Wenbin Mei wrote: > > MT8192 msdc is an independent sub system, we need control more bus > clocks for it. > Add support for the additional subsys clocks to allow it to be > configured appropriately. > > Signed-off-by: Wenbin Mei > --- > drivers/mmc/host/mtk-sd.c |

[git pull] drm amdgpu + vmwgfx fixes for 5.9-rc8

2020-09-30 Thread Dave Airlie
Hi Linus, Just dequeuing these a bit early as the AMD ones are bit larger than I'd prefer, but Alex missed last week so it's a double set of fixes. The larger ones are just register header fixes for the new chips that were just introduced in rc1 along with some new PCI IDs for new hw. Otherwise it

Re: [PATCH v4 23/52] docs: trace-uses.rst: remove bogus c-domain tags

2020-09-30 Thread Kamalesh Babulal
On 30/09/20 6:54 pm, Mauro Carvalho Chehab wrote: > There are some c-domain tags that are wrong. While this won't > cause problems with Sphinx < 3.0, this cause troubles with > newer versions, as the C parser won't recognize the contents > of the tag, and will drop it from the output. > > Let's ju

[PATCH v3 0/3] PCI: iproc: Add fixes to pcie iproc

2020-09-30 Thread Srinath Mannam
This patch series contains fixes and improvements to pcie iproc driver. This patch set is based on Linux-5.9.0-rc2. Changes from v2: - Addressed Bjorn's review comments - Corrected subject line and commit message of Patches 1 and 2. Changes from v1: - Addressed Bjorn's review comme

[PATCH v3 3/3] PCI: iproc: Display PCIe Link information

2020-09-30 Thread Srinath Mannam
After successful linkup more comprehensive information about PCIe link speed and link width will be displayed to the console. Signed-off-by: Srinath Mannam --- drivers/pci/controller/pcie-iproc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/pci/controller/pcie-iproc.c b/dri

[PATCH v3 1/3] PCI: iproc: Fix out-of-bound array accesses

2020-09-30 Thread Srinath Mannam
From: Bharat Gooty Declare the full size array for all revisions of PAX register sets to avoid potentially out of bound access of the register array when they are being initialized in iproc_pcie_rev_init(). Fixes: 06324ede76cdf ("PCI: iproc: Improve core register population") Signed-off-by: Bhar

[PATCH v3 2/3] PCI: iproc: Invalidate correct PAXB inbound windows

2020-09-30 Thread Srinath Mannam
From: Roman Bacik Second stage bootloader prior to Linux boot may use all inbound windows including IARR1/IMAP1. We need to ensure all previous configuration of inbound windows are invalidated during the initialization stage of the Linux iProc PCIe driver. Add fix to define and invalidate IARR1/I

Re: [PATCH v2 5/5] PCI: qcom: Add support for configuring BDF to SID mapping for SM8250

2020-09-30 Thread Manivannan Sadhasivam
Hi Stan, On Thu, Oct 01, 2020 at 12:46:46AM +0300, Stanimir Varbanov wrote: > Hi Mani, > > On 9/30/20 6:09 PM, Manivannan Sadhasivam wrote: > > For SM8250, we need to write the BDF to SID mapping in PCIe controller > > register space for proper working. This is accomplished by extracting > > the

[GIT PULL]: soundwire updates for v5.10-rc1

2020-09-30 Thread Vinod Koul
Hi Greg, Please pull to receive updates for soundwire subsystem. The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire.git

Re: [musl] [PATCH 1/1] linux/sysinfo.h: Add guarder for struct sysinfo

2020-09-30 Thread Petr Vorel
Hi Rich, ... > I don't think this is the right way to do it. It prevents getting > access to the kernel uapi structure (which may be wanted) if you're > not using glibc or if you include kernel headers before any libc > headers. Rather, , whose only real purpose is > providing this structure to le

[rcu:rcu/next] BUILD SUCCESS c6769e4694d8035cf1bf18e0d63406cde469639a

2020-09-30 Thread kernel test robot
randconfig-a003-20200930 i386 randconfig-a002-20200930 i386 randconfig-a006-20200930 i386 randconfig-a005-20200930 i386 randconfig-a004-20200930 i386 randconfig-a001-20200930 x86_64 randconfig

Re: [PATCH v2 4/4] mtd: spi-nor: implement OTP support for Winbond and similar flashes

2020-09-30 Thread Heiko Thiery
HI Michael, Am Sa., 12. Sept. 2020 um 00:26 Uhr schrieb Michael Walle : > > Use the new OTP ops to implement OTP access on Winbond flashes. Most > Winbond flashes provides up to four different OTP areas ("Security > Registers"). Newer flashes uses the first OTP area for SFDP data. Thus, > for thes

Re: [PATCH 3/3] drm/ingenic: Alloc cached GEM buffers with dma_alloc_noncoherent

2020-09-30 Thread Christoph Hellwig
On Wed, Sep 30, 2020 at 07:16:44PM +0200, Paul Cercueil wrote: > It turns out that if you want to mmap GEM buffers fully cached, then > they should be allocated as such as well. Who would have known? > > Introduce a custom .dumb_create callback, that will behave just like > drm_gem_cma_dumb_create

Re: [PATCH 9/9] perf tools: Align buildid list output for short build ids

2020-09-30 Thread Ian Rogers
On Wed, Sep 30, 2020 at 10:15 AM Jiri Olsa wrote: > > With shorter md5 build ids we need to align their > paths properly with other build ids: > > $ perf buildid-list > 17f4e448cc746582ea1881528deb549f7fdb3fd5 [kernel.kallsyms] > a50e350e97c43b4708d09bcd85ebfff7 .../tools/perf/buildi

Re: [PATCH v2 4/5] PCI: qcom: Add SM8250 SoC support

2020-09-30 Thread Manivannan Sadhasivam
Hi Stan, On Thu, Oct 01, 2020 at 12:56:28AM +0300, Stanimir Varbanov wrote: > Hi Mani, > > On 9/30/20 6:09 PM, Manivannan Sadhasivam wrote: > > The PCIe IP on SM8250 SoC is similar to the one used on SDM845. Hence > > the support is added reusing the members of ops_2_7_0. The key > > difference b

Re: [PATCH v2 3/4] mtd: spi-nor: implement OTP support for Macronix and similar flashes

2020-09-30 Thread Heiko Thiery
Hi Michael, Am Sa., 12. Sept. 2020 um 00:26 Uhr schrieb Michael Walle : > > Use the new OTP ops to implement OTP access on Macronix flashes. The > Macronix flashes provides one OTP area which is either programmed with > an electrical serial number and locked by the factory or is empty and can > be

Re: [PATCH v2 2/4] mtd: spi-nor: add OTP support

2020-09-30 Thread Heiko Thiery
Hi Michael, Am Sa., 12. Sept. 2020 um 00:26 Uhr schrieb Michael Walle : > > Implement the MTD callbacks for the OTP methods for the SPI NOR > subsystem. > > Usually, the OTP area of a SPI flash can be accessed like the normal > memory, eg by offset addressing; except that you either have to use >

Re: [PATCH 2/3] drm/ingenic: Update code to mmap GEM buffers cached

2020-09-30 Thread Christoph Hellwig
On Wed, Sep 30, 2020 at 07:16:43PM +0200, Paul Cercueil wrote: > The DMA API changed at the same time commit 37054fc81443 ("gpu/drm: > ingenic: Add option to mmap GEM buffers cached") was added. Rework the > code to work with the new DMA API. > > Signed-off-by: Paul Cercueil > --- > drivers/gpu/

Re: [PATCH 8/9] perf tools: Add size to struct perf_record_header_build_id

2020-09-30 Thread Ian Rogers
On Wed, Sep 30, 2020 at 10:15 AM Jiri Olsa wrote: > > We do not store size with build ids in perf data, > but there's enough space to do it. Adding misc bit > PERF_RECORD_MISC_BUILD_ID_SIZE to mark build id event > with size. > > With this fix the dso with md5 build id will have correct > build id

Re: [PATCH v1] i2c: npcm7xx: Support changing bus speed using debugfs.

2020-09-30 Thread Tali Perry
On Wed, Sep 30, 2020 at 12:31 PM Andy Shevchenko wrote: > > On Wed, Sep 30, 2020 at 10:13:42AM +0300, Tali Perry wrote: > > Systems that can dinamically add and remove slave devices > > dynamically > > > often need to change the bus speed in runtime. > > > This patch exposes the bus frequency to t

Re: [PATCH v2 2/3] tracing: Fix parse_synth_field() error handling

2020-09-30 Thread Masami Hiramatsu
Hi Tom, On Wed, 30 Sep 2020 13:40:51 -0500 Tom Zanussi wrote: > synth_field_size() returns either a positive size or an error (zero or > a negative value). However, the existing code assumes the only error > value is 0. It doesn't handle negative error codes, as it assigns > directly to field->s

Re: [PATCH 7/9] perf tools: Pass build_id object to dso__build_id_equal

2020-09-30 Thread Ian Rogers
On Wed, Sep 30, 2020 at 10:15 AM Jiri Olsa wrote: > > Passing build_id object to dso__build_id_equal, so we can > properly check build id with different size than sha1. > > Signed-off-by: Jiri Olsa Acked-by: Ian Rogers Thanks, Ian > --- > tools/perf/util/dso.c| 5 +++-- > tools/perf/

Re: [PATCH 6/9] perf tools: Pass build_id object to dso__set_build_id

2020-09-30 Thread Ian Rogers
On Wed, Sep 30, 2020 at 10:15 AM Jiri Olsa wrote: > > Passing build_id object to dso__set_build_id, so it's easier > to initialize dos's build id object. > > Signed-off-by: Jiri Olsa Acked-by: Ian Rogers Thanks, Ian > --- > tools/perf/util/dso.c| 4 ++-- > tools/perf/util/dso.h

Re: [PATCH 5/9] perf tools: Pass build_id object to build_id__sprintf

2020-09-30 Thread Ian Rogers
On Wed, Sep 30, 2020 at 10:15 AM Jiri Olsa wrote: > > Passing build_id object to build_id__sprintf function, > so it can operate with the proper size of build id. > > This will create proper md5 build id readable names, > like following: > a50e350e97c43b4708d09bcd85ebfff7 > > instead of: > a50

Re: [PATCH v2] ARM: kprobes: Avoid fortify_panic() when copying optprobe template

2020-09-30 Thread Masami Hiramatsu
On Thu, 1 Oct 2020 13:59:27 +0930 Andrew Jeffery wrote: > Setting both CONFIG_KPROBES=y and CONFIG_FORTIFY_SOURCE=y on ARM leads > to a panic in memcpy() when injecting a kprobe despite the fixes found > in commit e46daee53bb5 ("ARM: 8806/1: kprobes: Fix false positive with > FORTIFY_SOURCE") an

Re: [PATCH 4/9] perf tools: Pass build id object to sysfs__read_build_id

2020-09-30 Thread Ian Rogers
On Wed, Sep 30, 2020 at 10:15 AM Jiri Olsa wrote: > > Passing build id object to sysfs__read_build_id function, > so it can populate the size of the build_id object. > > Signed-off-by: Jiri Olsa Acked-by: Ian Rogers Thanks, Ian > --- > tools/perf/util/build-id.c | 6 +++--- > tools/pe

Re: [PATCH v4 5/7] clk: axi-clkgen: Respect ZYNQMP PFD/VCO frequency limits

2020-09-30 Thread Alexandru Ardelean
On Wed, Sep 30, 2020 at 8:16 PM Moritz Fischer wrote: > > On Wed, Sep 30, 2020 at 08:22:23AM +0300, Alexandru Ardelean wrote: > > On Tue, Sep 29, 2020 at 6:30 PM Moritz Fischer wrote: > > > > > > Hi Alexandru, > > > > > > On Tue, Sep 29, 2020 at 05:44:15PM +0300, Alexandru Ardelean wrote: > > > >

Re: [PATCH 3/9] perf tools: Pass build_id object to filename__read_build_id

2020-09-30 Thread Ian Rogers
On Wed, Sep 30, 2020 at 10:15 AM Jiri Olsa wrote: > > Passing build_id object to filename__read_build_id function, > so it can populate the size of the build_id object. > > Changing filename__read_build_id code for both elf/non-elf > code. > > Signed-off-by: Jiri Olsa Acked-by: Ian Rogers Than

Re: dma-coherent property for PCIe Root

2020-09-30 Thread Jon Masters
On 9/14/20 1:23 AM, Valmiki wrote: Hi All, How does "dma-coherent" property will work for PCIe as RC on an ARM SOC ? Because the end point device drivers are the one which will request dma buffers and Root port driver doesn't involve in data path of end point except for handling interrupts. H

Re: [PATCH v2 3/3] doc: dev-tools: kselftest.rst: Update examples and paths

2020-09-30 Thread Naresh Kamboju
On Tue, 29 Sep 2020 at 01:56, Kees Cook wrote: > > Update the installation commands and path details, detail the new > options available in the run_kselftests.sh script. > > Signed-off-by: Kees Cook Reviewed-by: Naresh Kamboju > --- > Documentation/dev-tools/kselftest.rst | 35 +++

Re: [PATCH v2 2/3] selftests/run_kselftest.sh: Make each test individually selectable

2020-09-30 Thread Naresh Kamboju
On Tue, 29 Sep 2020 at 01:56, Kees Cook wrote: > > Currently with run_kselftest.sh there is no way to choose which test > we could run. All the tests listed in kselftest-list.txt are all run > every time. This patch enhanced the run_kselftest.sh to make the test > collections (or tests) individual

Re: [PATCH v2 1/3] selftests: Extract run_kselftest.sh and generate stand-alone test list

2020-09-30 Thread Naresh Kamboju
On Tue, 29 Sep 2020 at 01:56, Kees Cook wrote: > > Instead of building a script on the fly (which just repeats the same > thing for each test collection), move the script out of the Makefile and > into run_kselftest.sh, which reads kselftest-list.txt. > > Adjust the emit_tests target to report eac

Re: [PATCH blk-next 0/2] Delete the get_vector_affinity leftovers

2020-09-30 Thread Leon Romanovsky
On Tue, Sep 29, 2020 at 12:13:56PM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky > > There are no drivers that implement .get_vector_affinity(), so delete > the RDMA function and simplify block code. > > Thanks > > P.S. Probably it should go through block tree. > > Leon Romanovsky (2): >

Litmus test for question from Al Viro

2020-09-30 Thread Paul E. McKenney
Hello! Al Viro posted the following query: fun question regarding barriers, if you have time for that V->A = V->B = 1; CPU1: to_free = NULL spin_lock(&LOCK) if (!smp_load_acquire(&V->B

RE: [PATCH 5/8] usb: cdns3: Changed type of gadget_dev in cdns structure

2020-09-30 Thread Pawel Laszczak
> >On 20-09-28 14:27:38, Pawel Laszczak wrote: >> Patch changes the type for gadget_dev pointer in cdns structure from >> pointer to cdns3_device structure to void pointer. >> This filed is in reusable code and after this change it will be used to >> point to both cdns3_device or cdnsp_device objec

Re: [PATCH] mmc: core: don't set limits.discard_granularity as 0

2020-09-30 Thread Coly Li
On 2020/10/1 01:23, Adrian Hunter wrote: > On 30/09/20 7:08 pm, Coly Li wrote: >> In mmc_queue_setup_discard() the mmc driver queue's discard_granularity >> might be set as 0 (when card->pref_erase > max_discard) while the mmc >> device still declares to support discard operation. This is buggy and

[PATCH v2] ARM: kprobes: Avoid fortify_panic() when copying optprobe template

2020-09-30 Thread Andrew Jeffery
Setting both CONFIG_KPROBES=y and CONFIG_FORTIFY_SOURCE=y on ARM leads to a panic in memcpy() when injecting a kprobe despite the fixes found in commit e46daee53bb5 ("ARM: 8806/1: kprobes: Fix false positive with FORTIFY_SOURCE") and commit 0ac569bf6a79 ("ARM: 8834/1: Fix: kprobes: optimized kprobe

Re: [PATCH v6 0/5] Add shared workqueue support for idxd driver

2020-09-30 Thread Vinod Koul
Hi Dave, On 30-09-20, 15:19, Dave Jiang wrote: > > > On 9/24/2020 2:51 PM, Borislav Petkov wrote: > > On Thu, Sep 24, 2020 at 02:32:35PM -0700, Dave Jiang wrote: > > > Hi Vinod, > > > Looks like we are cleared on the x86 patches for this series with sign > > > offs > > > from maintainer Boris.

DONATION ..... 211

2020-09-30 Thread L. Wanczyk.
Hello, I'm Mrs. Mavis Wanczyk, the mega winner of $758 Million in Mega Millions Jackpot, I am donating to 5 random individuals if you get this email then your email was selected after a spin ball. I have spread most of my wealth over a number of charities and organizations. I have voluntarily deci

Re: [PATCH V3 1/8] sysfs: Add sysfs_emit and sysfs_emit_at to format sysfs output

2020-09-30 Thread Joe Perches
On Wed, 2020-09-30 at 21:17 -0700, Kees Cook wrote: > On Wed, Sep 30, 2020 at 01:57:40PM +0200, Greg Kroah-Hartman wrote: > > Kees, and Rafael, I don't know if you saw this proposal from Joe for > > sysfs files, questions below: > > I'm a fan. I think the use of sprintf() in sysfs might have been

Re: [PATCH V3 1/8] sysfs: Add sysfs_emit and sysfs_emit_at to format sysfs output

2020-09-30 Thread Kees Cook
On Wed, Sep 30, 2020 at 01:57:40PM +0200, Greg Kroah-Hartman wrote: > Kees, and Rafael, I don't know if you saw this proposal from Joe for > sysfs files, questions below: I'm a fan. I think the use of sprintf() in sysfs might have been one of my earliest complaints about unsafe code patterns in th

Re: [PATCH v5 03/15] misc: bcm-vk: add autoload support

2020-09-30 Thread kernel test robot
Hi Scott, I love your patch! Yet something to improve: [auto build test ERROR on char-misc/char-misc-testing] [also build test ERROR on soc/for-next kees/for-next/pstore linus/master v5.9-rc7 next-20200930] [If your patch is applied to the wrong git tree, kindly drop us a note. And when

Re: [PATCH v3 2/3] iommu/tegra-smmu: Rework .probe_device and .attach_dev

2020-09-30 Thread Dmitry Osipenko
01.10.2020 05:48, Nicolin Chen пишет: > On Thu, Oct 01, 2020 at 05:06:19AM +0300, Dmitry Osipenko wrote: >> 01.10.2020 04:26, Nicolin Chen пишет: >>> On Thu, Oct 01, 2020 at 12:56:46AM +0300, Dmitry Osipenko wrote: 01.10.2020 00:32, Nicolin Chen пишет: > On Thu, Oct 01, 2020 at 12:24:25AM

Re: [net-next PATCH v1 3/7] net: phy: Introduce fwnode_get_phy_id()

2020-09-30 Thread Calvin Johnson
On Wed, Sep 30, 2020 at 08:19:02PM +0200, Andrew Lunn wrote: > On Wed, Sep 30, 2020 at 07:07:25PM +0100, Russell King - ARM Linux admin > wrote: > > On Wed, Sep 30, 2020 at 06:34:40PM +0200, Andrew Lunn wrote: > > > > @@ -2866,7 +2888,15 @@ EXPORT_SYMBOL_GPL(device_phy_find_device); > > > > */ >

Re: [net-next PATCH v1 2/7] net: phy: Introduce phy related fwnode functions

2020-09-30 Thread Calvin Johnson
On Wed, Sep 30, 2020 at 03:03:49PM -0700, David Miller wrote: > From: Calvin Johnson > Date: Wed, 30 Sep 2020 21:34:25 +0530 > > > +struct phy_device *fwnode_phy_find_device(struct fwnode_handle *phy_fwnode) > > +{ > > + struct device *d; > > + struct mdio_device *mdiodev; > > Please use rev

Re: [PATCH v2 10/12] dt-bindings: arm: fsl: document i.MX6DL Aristainetos boards

2020-09-30 Thread Heiko Schocher
Hello Krzysztof, Am 30.09.2020 um 21:01 schrieb Krzysztof Kozlowski: Document and adjust the compatibles for i.MX6DL based Aristainetos boards from ABB. Cc: Heiko Schocher Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Use ABB vendor prefix --- Documentation/devicetree/bindin

linux-next: manual merge of the net-next tree with the net tree

2020-09-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: net/mptcp/protocol.h between commit: 1a49b2c2a501 ("mptcp: Handle incoming 32-bit DATA_FIN values") from the net tree and commit: 5c8c1640956e ("mptcp: add mptcp_destroy_common helper") from the net-next tree. I

Re: [PATCH v2 11/12] ARM: dts: imx6dl: add compatibles for Aristainetos boards

2020-09-30 Thread Heiko Schocher
Hello Krzysztof, Am 30.09.2020 um 21:01 schrieb Krzysztof Kozlowski: The Aristainetos and Aristainetos2 boards have only SoC compatible. Cc: Heiko Schocher Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Use ABB vendor prefix --- arch/arm/boot/dts/imx6dl-aristainetos2_4.dts |

linux-next: manual merge of the net-next tree with the net tree

2020-09-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: net/mptcp/protocol.c between commit: 917944da3bfc ("mptcp: Consistently use READ_ONCE/WRITE_ONCE with msk->ack_seq") from the net tree and commit: 8268ed4c9d19 ("mptcp: introduce and use mptcp_try_coalesce()") a

Re: [PATCH v2 09/12] dt-bindings: vendor-prefixes: add ABB

2020-09-30 Thread Heiko Schocher
Hello Krzysztof, Am 30.09.2020 um 21:01 schrieb Krzysztof Kozlowski: Document binding for ABB. Cc: Heiko Schocher Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Use ABB vendor prefix --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 inserti

Re: [PATCH v6 4/4] bus: mhi: Add userspace client interface driver

2020-09-30 Thread Hemant Kumar
Hi Loic, On 9/22/20 4:10 AM, Loic Poulain wrote: Hi Hemant, See comments inline, but globally, the locking and ref counting is more complicated than it should be. On Wed, 16 Sep 2020 at 21:57, Hemant Kumar wrote: This MHI client driver allows userspace clients to transfer raw data between M

[PATCH 1/2] dt-bindings: phy: Allow defining the SATA AFE TX amplitude

2020-09-30 Thread Florian Fainelli
Document a new property which allows the selection of the SATA AFE TX amplitude in milli Volts. Possible values are 400, 500, 600 and 800mV. Signed-off-by: Florian Fainelli --- Documentation/devicetree/bindings/phy/brcm-sata-phy.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Document

[PATCH 2/2] phy: phy-brcm-sata: Allow configuration SATA AFE TX amplitude

2020-09-30 Thread Florian Fainelli
Read the 'brcm,tx-amplitude-millivolt' property from Device Tree and propagate its value into the appropriate test transmit register to change the TX amplitude. Signed-off-by: Florian Fainelli --- drivers/phy/broadcom/phy-brcm-sata.c | 32 1 file changed, 32 insertio

[PATCH 0/2] phy: phy-brcm-sata: Allow configuration SATA AFE TX amplitude

2020-09-30 Thread Florian Fainelli
Hi Kishon, This patch series allows the configuration of the Broadcom SATA PHY TX amplitude which may be required in order to meet specific tests. Thanks! Florian Fainelli (2): dt-bindings: phy: Allow defining the SATA AFE TX amplitude phy: phy-brcm-sata: Allow configuration SATA AFE TX ampl

[PATCH net-next v2] net: dsa: Support bridge 802.1Q while untagging

2020-09-30 Thread Florian Fainelli
The intent of 412a1526d067 ("net: dsa: untag the bridge pvid from rx skbs") is to transparently untag the bridge's default_pvid when the Ethernet switch can only support egress tagged of that default_pvid towards the CPU port. Prior to this commit, users would have to configure an 802.1Q upper on

Re: [PATCH v2] pipe: Fix memory leaks in create_pipe_files()

2020-09-30 Thread Eric Biggers
On Wed, Sep 30, 2020 at 10:52:55PM -0400, Qian Cai wrote: > diff --git a/include/linux/watch_queue.h b/include/linux/watch_queue.h > index 5e08db2adc31..20665fbe0552 100644 > --- a/include/linux/watch_queue.h > +++ b/include/linux/watch_queue.h > @@ -123,5 +123,9 @@ static inline void remove_watch_

Re: kernel BUG at mm/mmap.c:LINE!

2020-09-30 Thread Souptick Joarder
On Fri, Sep 4, 2020 at 12:39 AM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:1127b219 Merge tag 'fallthrough-fixes-5.9-rc3' of git://gi.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=136d098e90 > kernel config:

Re: [External] Re: [RFC PATCH 05/24] mm/hugetlb: Introduce nr_free_vmemmap_pages in the struct hstate

2020-09-30 Thread Muchun Song
On Thu, Oct 1, 2020 at 6:41 AM Mike Kravetz wrote: > > On 9/15/20 5:59 AM, Muchun Song wrote: > > If the size of hugetlb page is 2MB, we need 512 struct page structures > > (8 pages) to be associated with it. As far as I know, we only use the > > first 3 struct page structures and only read the co

Re: [PATCH v3 2/3] iommu/tegra-smmu: Rework .probe_device and .attach_dev

2020-09-30 Thread Nicolin Chen
On Thu, Oct 01, 2020 at 05:06:19AM +0300, Dmitry Osipenko wrote: > 01.10.2020 04:26, Nicolin Chen пишет: > > On Thu, Oct 01, 2020 at 12:56:46AM +0300, Dmitry Osipenko wrote: > >> 01.10.2020 00:32, Nicolin Chen пишет: > >>> On Thu, Oct 01, 2020 at 12:24:25AM +0300, Dmitry Osipenko wrote: > ...

linux-next: build failure after merge of the hwmon-staging tree

2020-09-30 Thread Stephen Rothwell
on/pmbus/pmbus.h:492:5: note: declared here 492 | int pmbus_do_probe(struct i2c_client *client, struct pmbus_driver_info *info); | ^~ Caused by commit dd38ac315b23 ("hwmon: (pmbus) Add support for MPS Multi-phase mp2975 controller") I have used the hwmon-staging

[PATCH v2] pipe: Fix memory leaks in create_pipe_files()

2020-09-30 Thread Qian Cai
Calling pipe2() with O_NOTIFICATION_PIPE could results in memory leaks in an error path or CONFIG_WATCH_QUEUE=n. Plug them. unreferenced object 0xc0141114a0d8 (size 992): comm "trinity-c61", pid 1353192, jiffies 4296255779 (age 25989.560s) hex dump (first 32 bytes): 80 11 00 00 e8 03 0

Re: [PATCH v5 00/15] Add Broadcom VK driver

2020-09-30 Thread Florian Fainelli
On 9/30/2020 6:27 PM, Scott Branden wrote: This patch series drops previous patches in [1] that were incorporated by Kees Cook into patch series "Introduce partial kernel_read_file() support" [2]. Remaining patches are contained in this series to add Broadcom VK driver. (which depends on requ

Re: [PATCH v5 15/15] misc: bcm-vk: add ttyVK support

2020-09-30 Thread Florian Fainelli
On 9/30/2020 6:28 PM, Scott Branden wrote: Add ttyVK support to driver to allow console access to VK card from host. Device node will be in the follow form /dev/bcm-vk.x_ttyVKy where: x is the instance of the VK card y is the tty device number on the VK card Signed-off-by: Scott Branden W

Re: [PATCH v5 11/15] misc: bcm-vk: add BCM_VK_QSTATS

2020-09-30 Thread Florian Fainelli
On 9/30/2020 6:28 PM, Scott Branden wrote: Add BCM_VK_QSTATS Kconfig option to allow for enabling debug VK queue statistics. These statistics keep track of max, abs_max, and average for the messages queues. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Signed-off-by: Scott Brande

Re: [PATCH v5 12/15] misc: bcm-vk: add sysfs interface

2020-09-30 Thread Florian Fainelli
On 9/30/2020 6:28 PM, Scott Branden wrote: Add sysfs support to query the VK card status and monitor sense points. The vk-card-status and vk-card-mon details are provided in the README file in the bcm-vk driver directory. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Signed-off-by

Re: dsa: mv88e6xxx: serdes link without phy

2020-09-30 Thread Chris Packham
On 1/10/20 2:24 pm, Andrew Lunn wrote: >>     port@8 { >>     reg = <8>; >>     label = "internal8"; >>     phy-mode = "rgmii-id"; >>     fixed-link { >>

Re: For review: seccomp_user_notif(2) manual page

2020-09-30 Thread Jann Horn
On Thu, Oct 1, 2020 at 3:52 AM Jann Horn wrote: > On Thu, Oct 1, 2020 at 1:25 AM Tycho Andersen wrote: > > On Thu, Oct 01, 2020 at 01:11:33AM +0200, Jann Horn wrote: > > > On Thu, Oct 1, 2020 at 1:03 AM Tycho Andersen wrote: > > > > On Wed, Sep 30, 2020 at 10:34:51PM +0200, Michael Kerrisk (man-

[PATCH 00/25] ASoC: sun8i-codec: support for AIF2 and AIF3

2020-09-30 Thread Samuel Holland
This series adds support the other two AIFs present in the sun8i codec, which can be used for codec2codec DAI links. This series first cleans up the DAPM component driver so there is an organized place to put the new widgets. Then it fills out the DAI driver, removing assumptions that were made fo

[PATCH 05/25] ASoC: sun8i-codec: Correct DAPM widget types

2020-09-30 Thread Samuel Holland
Whie the aif_in and aif_out widget types are handled exactly the same in the core DAPM code, a future widget event hook will need the correct widget type to derive the associated substream. Clean up the widget type for that reason, and so these widgets will match newly-added widgets for the other A

[PATCH 15/25] ASoC: sun8i-codec: Support the TDM slot binding

2020-09-30 Thread Samuel Holland
Now that BCLK and LRCK rate calculations can handle any hardware-supported slot width and number of slots, enable support for overriding these parameters from the device tree. Signed-off-by: Samuel Holland --- sound/soc/sunxi/sun8i-codec.c | 28 ++-- 1 file changed, 26 in

[PATCH 17/25] ASoC: sun8i-codec: Enable all supported sample rates

2020-09-30 Thread Samuel Holland
The system sample rate programmed into the hardware is really a clock divider from SYSCLK to the ADC and DAC. Since we support two SYSCLK frequencies, we can use all sample rates corresponding to one of those frequencies divided by any available divisor. This commit enables support for those sampl

[PATCH 13/25] ASoC: sun8i-codec: Round up the LRCK divisor

2020-09-30 Thread Samuel Holland
The codec supports only power-of-two BCLK/LRCK divisors. If either the slot width or the number of slots is not a power of two, the LRCK divisor must be rounded up to provide enough space. To do that, use order_base_2 (instead of ilog2, which rounds down). Since the rounded divisor is also needed

[PATCH 02/25] ASoC: sun8i-codec: Swap module clock/reset dependencies

2020-09-30 Thread Samuel Holland
This matches the module power-up/down sequence from the vendor's driver. While updating these widgets/routes, reorder them to match the register and bit layout of the hardware. This puts them in the same place in the widget and route arrays (previously they were at opposite ends), and it makes it

[PATCH 14/25] ASoC: sun8i-codec: Correct the BCLK divisor calculation

2020-09-30 Thread Samuel Holland
Previously, the BCLK divisor calculation assumed a power-of-two slot width and exactly two slots. In order to support the TDM slot binding and 20/24-bit word sizes, those assumptions must be removed. Due to hardware limitations, the BCLK/LRCK ratio is not as simple as "slot_width * slots". However

[PATCH 11/25] ASoC: sun8i-codec: Enable all supported clock inversions

2020-09-30 Thread Samuel Holland
When using the I2S, LEFT_J, or RIGHT_J format, the hardware supports independent BCLK and LRCK inversion control. When using DSP_A or DSP_B, LRCK inversion is not supported. The register bit is repurposed to select between DSP_A and DSP_B. Extend the driver to support this. Signed-off-by: Samuel H

  1   2   3   4   5   6   7   8   9   10   >