Re: [PATCH 3/3] crypto: s5p-sss - Pass error from clk_get and reduce verbosity on deferral

2020-09-11 Thread Herbert Xu
On Thu, Sep 03, 2020 at 08:04:00PM +0200, Krzysztof Kozlowski wrote: > Pass the error directly from devm_clk_get() to describe the real reason, > instead of fixed ENOENT. Do not print error messages on deferred probe. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/crypto/s5p-sss.c | 15

Re: [PATCH 2/3] crypto: s5p-sss - Add and fix kerneldoc

2020-09-11 Thread Herbert Xu
On Thu, Sep 03, 2020 at 08:03:59PM +0200, Krzysztof Kozlowski wrote: > Add missing and fix existing kerneldoc to silence W=1 warnings: > > drivers/crypto/s5p-sss.c:333: warning: Function parameter or member 'pclk' > not described in 's5p_aes_dev' > drivers/crypto/s5p-sss.c:373: warning: Funct

Re: [PATCH v2 2/3] arm64/mm: Unitify CONT_PTE_SHIFT

2020-09-11 Thread Anshuman Khandual
On 09/10/2020 03:29 PM, Gavin Shan wrote: > CONT_PTE_SHIFT actually depends on CONFIG_ARM64_CONT_SHIFT. It's > reasonable to reflect the dependency: Also always better to avoid direct numerical such as 5, 7, 4. A config option with a right name (even with constant values), gives them some meanin

Re: [Linux-kernel-mentees] [PATCH v2] Bluetooth: Fix memory leak in read_adv_mon_features()

2020-09-11 Thread Marcel Holtmann
Hi Peilin, > read_adv_mon_features() is leaking memory. Free `rp` before returning. > > Fixes: e5e1e7fd470c ("Bluetooth: Add handler of > MGMT_OP_READ_ADV_MONITOR_FEATURES") > Reported-and-tested-by: syzbot+f7f6e564f4202d860...@syzkaller.appspotmail.com > Link: https://syzkaller.appspot.com/bug?

Re: [net-next v8 1/6] net: marvell: prestera: Add driver for Prestera family ASIC devices

2020-09-11 Thread Vadym Kochan
On Thu, Sep 10, 2020 at 06:30:47PM -0700, Jakub Kicinski wrote: > On Thu, 10 Sep 2020 18:00:50 +0300 Vadym Kochan wrote: > > +static int prestera_sdma_tx_wait(struct prestera_sdma *sdma, > > +struct prestera_tx_ring *tx_ring) > > +{ > > + int tx_wait_num = PRESTERA_SDM

[tip: perf/core] perf/amd/uncore: Set all slices and threads to restore perf stat -a behaviour

2020-09-11 Thread tip-bot2 for Kim Phillips
The following commit has been merged into the perf/core branch of tip: Commit-ID: c8fe99d0701fec9fb849ec880a86bc5592530496 Gitweb: https://git.kernel.org/tip/c8fe99d0701fec9fb849ec880a86bc5592530496 Author:Kim Phillips AuthorDate:Tue, 08 Sep 2020 16:47:34 -05:00 Committer:

[tip: perf/core] perf/x86/amd: Fix sampling Large Increment per Cycle events

2020-09-11 Thread tip-bot2 for Kim Phillips
The following commit has been merged into the perf/core branch of tip: Commit-ID: 26e52558ead4b39c0e0fe7bf08f82f5a9777a412 Gitweb: https://git.kernel.org/tip/26e52558ead4b39c0e0fe7bf08f82f5a9777a412 Author:Kim Phillips AuthorDate:Tue, 08 Sep 2020 16:47:35 -05:00 Committer:

[tip: perf/core] perf/x86/amd/ibs: Don't include randomized bits in get_ibs_op_count()

2020-09-11 Thread tip-bot2 for Kim Phillips
The following commit has been merged into the perf/core branch of tip: Commit-ID: 680d69635005ba0e58fe3f4c52fc162b8fc743b0 Gitweb: https://git.kernel.org/tip/680d69635005ba0e58fe3f4c52fc162b8fc743b0 Author:Kim Phillips AuthorDate:Tue, 08 Sep 2020 16:47:37 -05:00 Committer:

[tip: perf/core] arch/x86/amd/ibs: Fix re-arming IBS Fetch

2020-09-11 Thread tip-bot2 for Kim Phillips
The following commit has been merged into the perf/core branch of tip: Commit-ID: 221bfce5ebbdf72ff08b3bf2510ae81058ee568b Gitweb: https://git.kernel.org/tip/221bfce5ebbdf72ff08b3bf2510ae81058ee568b Author:Kim Phillips AuthorDate:Tue, 08 Sep 2020 16:47:36 -05:00 Committer:

[tip: perf/core] perf/x86/rapl: Add AMD Fam19h RAPL support

2020-09-11 Thread tip-bot2 for Kim Phillips
The following commit has been merged into the perf/core branch of tip: Commit-ID: a77259bdcb62a2c345914df659a1fbc421269a8b Gitweb: https://git.kernel.org/tip/a77259bdcb62a2c345914df659a1fbc421269a8b Author:Kim Phillips AuthorDate:Tue, 08 Sep 2020 16:47:40 -05:00 Committer:

[tip: perf/core] perf/x86/amd/ibs: Fix raw sample data accumulation

2020-09-11 Thread tip-bot2 for Kim Phillips
The following commit has been merged into the perf/core branch of tip: Commit-ID: 36e1be8ada994d509538b3b1d0af8b63c351e729 Gitweb: https://git.kernel.org/tip/36e1be8ada994d509538b3b1d0af8b63c351e729 Author:Kim Phillips AuthorDate:Tue, 08 Sep 2020 16:47:38 -05:00 Committer:

[tip: perf/core] perf/core: Pull pmu::sched_task() into perf_event_context_sched_out()

2020-09-11 Thread tip-bot2 for Kan Liang
The following commit has been merged into the perf/core branch of tip: Commit-ID: 44fae179ce73a26733d9e2d346da4e1a1cb94647 Gitweb: https://git.kernel.org/tip/44fae179ce73a26733d9e2d346da4e1a1cb94647 Author:Kan Liang AuthorDate:Fri, 21 Aug 2020 12:57:53 -07:00 Committer:

[tip: perf/core] perf/core: Pull pmu::sched_task() into perf_event_context_sched_in()

2020-09-11 Thread tip-bot2 for Kan Liang
The following commit has been merged into the perf/core branch of tip: Commit-ID: 556cccad389717d6eb4f5a24b45ff41cad3aaabf Gitweb: https://git.kernel.org/tip/556cccad389717d6eb4f5a24b45ff41cad3aaabf Author:Kan Liang AuthorDate:Fri, 21 Aug 2020 12:57:52 -07:00 Committer:

[tip: perf/core] perf/x86/amd/ibs: Support 27-bit extended Op/cycle counter

2020-09-11 Thread tip-bot2 for Kim Phillips
The following commit has been merged into the perf/core branch of tip: Commit-ID: 8b0bed7d410f48499d72af2e2bcd890daad94e0d Gitweb: https://git.kernel.org/tip/8b0bed7d410f48499d72af2e2bcd890daad94e0d Author:Kim Phillips AuthorDate:Tue, 08 Sep 2020 16:47:39 -05:00 Committer:

[tip: perf/core] perf/x86/intel/ds: Fix x86_pmu_stop warning for large PEBS

2020-09-11 Thread tip-bot2 for Kan Liang
The following commit has been merged into the perf/core branch of tip: Commit-ID: 35d1ce6bec133679ff16325d335217f108b84871 Gitweb: https://git.kernel.org/tip/35d1ce6bec133679ff16325d335217f108b84871 Author:Kan Liang AuthorDate:Wed, 02 Sep 2020 14:06:49 -07:00 Committer:

Re: [PATCH] soc: mediatek: Check if power domains can be powered on at boot time

2020-09-11 Thread Nicolas Boichat
Matthias, gentle ping on the patch below >>> Thanks! On Thu, Jul 30, 2020 at 12:01 PM Nicolas Boichat wrote: > > In the error case, where a power domain cannot be powered on > successfully at boot time (in mtk_register_power_domains), > pm_genpd_init would still be called with is_off=false, and

Re: [PATCH RFC 06/10] kfence, kasan: make KFENCE compatible with KASAN

2020-09-11 Thread Dmitry Vyukov
On Mon, Sep 7, 2020 at 3:41 PM Marco Elver wrote: > > From: Alexander Potapenko > > We make KFENCE compatible with KASAN for testing KFENCE itself. In > particular, KASAN helps to catch any potential corruptions to KFENCE > state, or other corruptions that may be a result of freepointer > corrupt

Re: [PATCH v8 3/3] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-09-11 Thread Tzung-Bi Shih
On Thu, Sep 10, 2020 at 1:24 PM Cheng-Yi Chiang wrote: > +struct sc7180_snd_data { > + u32 pri_mi2s_clk_count; > + struct snd_soc_jack hs_jack; > + struct device_node *hs_jack_of_node; > + struct snd_soc_jack hdmi_jack; > + struct device_node *hdmi_jack_of_node; > +};

Re: [PATCH v3 1/2] leds: mt6360: Add LED driver for MT6360

2020-09-11 Thread Pavel Machek
Hi! > >+{ > >+struct mt6360_led *led = container_of(lcdev, struct mt6360_led, > >flash.led_cdev); > >+struct mt6360_priv *priv = led->priv; > >+u32 enable_mask = MT6360_TORCHEN_MASK | MT6360_FLCSEN_MASK(led->led_no); > >+u32 val = (level) ? MT6360_FLCSEN_MASK(led->led_no) : 0; > >

Re: [PATCH v8 1/3] ASoC: hdmi-codec: Use set_jack ops to set jack

2020-09-11 Thread Tzung-Bi Shih
On Thu, Sep 10, 2020 at 1:24 PM Cheng-Yi Chiang wrote: > diff --git a/sound/soc/codecs/hdmi-codec.c b/sound/soc/codecs/hdmi-codec.c > index 8c6f540533ba..d1de5bcd5daa 100644 > --- a/sound/soc/codecs/hdmi-codec.c > +++ b/sound/soc/codecs/hdmi-codec.c > @@ -698,13 +698,9 @@ static void plugged_cb(st

Re: [PATCH] Bluetooth: Re-order clearing suspend tasks

2020-09-11 Thread Marcel Holtmann
Hi Abhishek, > Unregister_pm_notifier is a blocking call so suspend tasks should be > cleared beforehand. Otherwise, the notifier will wait for completion > before returning (and we encounter a 2s timeout on resume). > > Fixes: 0e9952804ec9c8 (Bluetooth: Clear suspend tasks on unregister) > Signe

Re: [PATCH v2 3/3] arm64/mm: Unitify CONT_PMD_SHIFT

2020-09-11 Thread Anshuman Khandual
On 09/10/2020 03:29 PM, Gavin Shan wrote: > Similar to how CONT_PTE_SHIFT is determined, this introduces a new > kernel option (CONFIG_CONT_PMD_SHIFT) to determine CONT_PMD_SHIFT. > > Signed-off-by: Gavin Shan > --- > arch/arm64/Kconfig | 6 ++ > arch/arm64/include/as

Re: [PATCH v2 2/3] soundwire: SDCA: add helper macro to access controls

2020-09-11 Thread Vinod Koul
On 10-09-20, 08:53, Pierre-Louis Bossart wrote: > > > On 9/10/20 1:22 AM, Vinod Koul wrote: > > On 09-09-20, 08:48, Pierre-Louis Bossart wrote: > > > > > > > > > > + * 25 0 (Reserved) > > > > > > > + * 24:22 Function Number [2:0] > > > > > > > + * 21

Re: [PATCH 03/12] MIPS/jazzdma: decouple from dma-direct

2020-09-11 Thread Christoph Hellwig
On Thu, Sep 10, 2020 at 10:12:33PM +0800, Hillf Danton wrote: > > On Tue, 8 Sep 2020 18:47:49 +0200 Christoph Hellwig wrote: > > > > The jazzdma ops implement support for a very basic IOMMU. Thus we really > > should not use the dma-direct code that takes physical address limits > > into accoun

Re: [PATCH v3 2/2] Bluetooth: sco: new getsockopt options BT_SNDMTU/BT_RCVMTU

2020-09-11 Thread Marcel Holtmann
Hi Joseph, > This patch defines new getsockopt options BT_SNDMTU/BT_RCVMTU > for SCO socket to be compatible with other bluetooth sockets. > These new options return the same value as option SCO_OPTIONS > which is already present on existing kernels. > > Reviewed-by: Alain Michaud > Reviewed-by:

Re: [PATCH 04/12] dma-mapping: fix DMA_OPS dependencies

2020-09-11 Thread Christoph Hellwig
On Thu, Sep 10, 2020 at 01:55:37PM +0100, Robin Murphy wrote: > AFAICS all three of these bus drivers are only proxying a struct > dma_map_ops * pointer around, so if they used the set_dma_ops() helper they > shouldn't even need these selects at all. Only INTEL_MIC_HOST appears to > have a logic

Re: [PATCH 04/12] dma-mapping: fix DMA_OPS dependencies

2020-09-11 Thread Christoph Hellwig
On Tue, Sep 08, 2020 at 09:04:17PM +0300, Sergei Shtylyov wrote: > Hello! > > On 9/8/20 7:47 PM, Christoph Hellwig wrote: > > > Driver that select DMA_OPS need to depend on HAS_DMA support to > > work. The vop driver was missing that dependency, so add it, and also > > add a nother depends in DM

Re: [RESEND v1 0/2] Close UART port if NON_PERSISTENT_SETUP is set

2020-09-11 Thread Marcel Holtmann
Hi Venkata, > When HCI_QUIRK_NON_PERSISTENT_SETUP is set by drivers, > it indicates that BT SoC will be completely powered OFF > during BT OFF. On next BT ON firmware must be downloaded > again. Holding UART port open during BT OFF is draining > the battery. Now during BT OFF, UART port is closed

Re: [RESEND v1] arm64: dts: qcom: sc7180: Remove clock for bluetooth on SC7180 IDP board

2020-09-11 Thread Marcel Holtmann
Hi, > Removed voting for RPMH_RF_CLK2 which is not required as it is > getting managed by BT SoC through SW_CTRL line. > > Signed-off-by: Venkata Lakshmi Narayana Gubba > --- > arch/arm64/boot/dts/qcom/sc7180-idp.dts | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/qco

Re: [PATCH net-next + leds v2 6/7] net: phy: marvell: add support for LEDs controlled by Marvell PHYs

2020-09-11 Thread Matthias Schiffer
On Thu, 2020-09-10 at 17:00 +0200, Andrew Lunn wrote: > > I propose that at least these HW modes should be available (and > > documented) for ethernet PHY controlled LEDs: > > mode to determine link on: > > - `link` > > mode for activity (these should blink): > > - `activity` (both rx a

Re: [RFC PATCH v2 1/3] mm/gup: fix gup_fast with dynamic page table folding

2020-09-11 Thread peterz
On Thu, Sep 10, 2020 at 06:59:21PM -0300, Jason Gunthorpe wrote: > So, I suggest pXX_offset_unlocked() Urgh, no. Elsewhere in gup _unlocked() means it will take the lock itself (get_user_pages_unlocked()) -- although often it seems to mean the lock is already held (git grep _unlocked and marvel).

[PATCH] sbus: char: Remove meaningless jump label out_free

2020-09-11 Thread Jing Xiangfeng
After commit 57a4a3d7f756 ("display7seg: Introduce the use of the managed version of kzalloc"), The out_free jump label has nothing to do but goto out. So remove it. Signed-off-by: Jing Xiangfeng --- drivers/sbus/char/display7seg.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff -

Re: [PATCH RFC 09/10] kfence, Documentation: add KFENCE documentation

2020-09-11 Thread Dmitry Vyukov
On Mon, Sep 7, 2020 at 3:41 PM Marco Elver wrote: > > Add KFENCE documentation in dev-tools/kfence.rst, and add to index. > > Co-developed-by: Alexander Potapenko > Signed-off-by: Alexander Potapenko > Signed-off-by: Marco Elver > --- > Documentation/dev-tools/index.rst | 1 + > Documentati

Re: [PATCH 09/12] dma-direct: remove __dma_to_phys

2020-09-11 Thread Christoph Hellwig
On Thu, Sep 10, 2020 at 02:26:03PM +0100, Robin Murphy wrote: > On 2020-09-08 17:47, Christoph Hellwig wrote: >> There is no harm in just always clearing the SME encryption bit, while >> significantly simplifying the interface. > > After a 10-minute diversion into "but hang on, force_dma_unencrypte

[PATCH] wireless: ath9k: hif_usb: fix race condition between usb_get_urb() and usb_kill_anchored_urbs()

2020-09-11 Thread Brooke Basile
Calls to usb_kill_anchored_urbs() after usb_kill_urb() on multiprocessor systems create a race condition in which usb_kill_anchored_urbs() deallocates the URB before the completer callback is called in usb_kill_urb(), resulting in a use-after-free. To fix this, add proper lock protection to usb_kil

linux-next: Tree for Sep 11

2020-09-11 Thread Stephen Rothwell
Hi all, Changes since 20200910: The net-next tree gained a conflict against the net tree. The nand tree still had its build failure so I used the version from next-20200903. Non-merge commits (relative to Linus' tree): 6151 7015 files changed, 214387 insertions(+), 115534 deletions(-) ---

Re: [PATCH 11/12] dma-mapping: move dma_common_{mmap,get_sgtable} out of mapping.c

2020-09-11 Thread Christoph Hellwig
On Thu, Sep 10, 2020 at 02:34:18PM +0100, Robin Murphy wrote: > On 2020-09-08 17:47, Christoph Hellwig wrote: >> Add a new file that contains helpera for misc DMA ops, which is only > > The Latin plural of the singular "helperum", I guess? :P I've switched it to helpers, that might be easier to un

Re: [PATCH 12/12] dma-mapping: move the dma_declare_coherent_memory documentation

2020-09-11 Thread Christoph Hellwig
On Thu, Sep 10, 2020 at 02:51:47PM +0100, Robin Murphy wrote: > On 2020-09-08 17:47, Christoph Hellwig wrote: >> dma_declare_coherent_memory should not be in a DMA API guide aimed >> at driver writers (that is consumers of the API). Move it to a comment >> near the function instead. > > I still th

Re: [PATCH 12/24] getgrent_r.3: Use sizeof() to get buffer size (instead of hardcoding macro name)

2020-09-11 Thread Michael Kerrisk (man-pages)
On 9/10/20 11:13 PM, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar Thanks, Alex. Patch applied. Cheers, Michael > --- > man3/getgrent_r.3 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/man3/getgrent_r.3 b/man3/getgrent_r.3 > index 81d81a851..76deec370

Re: [PATCH RFC 04/10] mm, kfence: insert KFENCE hooks for SLAB

2020-09-11 Thread Dmitry Vyukov
On Mon, Sep 7, 2020 at 3:41 PM Marco Elver wrote: > > From: Alexander Potapenko > > Inserts KFENCE hooks into the SLAB allocator. > > We note the addition of the 'orig_size' argument to slab_alloc*() > functions, to be able to pass the originally requested size to KFENCE. > When KFENCE is disable

Re: [PATCH 13/24] getpwent_r.3: Use sizeof() to get buffer size (instead of hardcoding macro name)

2020-09-11 Thread Michael Kerrisk (man-pages)
On 9/10/20 11:13 PM, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar Thanks, Alex. Patch applied. Cheers, Michael > --- > man3/getpwent_r.3 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/man3/getpwent_r.3 b/man3/getpwent_r.3 > index 64f27dbfb..0f7581091

Re: [PATCH 0/2] Bluetooth: Report extended adv capabilities to userspace

2020-09-11 Thread Marcel Holtmann
Hi Daniel, > This series improves the kernel/controller support that is reported > to userspace for the following extended advertising features: > > 1. If extended advertising is available, the number of hardware slots > is used and reported, rather than the fixed default of 5. If no hardware > s

[PATCH 0/3] iommu/tegra-smmu: Some small fixes

2020-09-11 Thread Nicolin Chen
These are a series of small fixes for tegra-smmu driver. They might not be critial bugs as current mainline does not enable a lot of clients, but be nicer to have since we are going to enable the DMA domain for other clients in the near future. Nicolin Chen (3): iommu/tegra-smmu: Do not use PAGE

RE: [PATCH 1/4] dt-bindings: fsl: add i.MX7ULP PMC binding doc

2020-09-11 Thread Aisheng Dong
> From: Peng Fan > Sent: Friday, September 11, 2020 11:31 AM > > Add i.MX7ULP Power Management Controller binding doc > > Signed-off-by: Peng Fan > --- > .../bindings/arm/freescale/imx7ulp-pmc.yaml | 33 +++ > 1 file changed, 33 insertions(+) > create mode 100644 > Documenta

[PATCH 1/3] iommu/tegra-smmu: Do not use PAGE_SHIFT and PAGE_MASK

2020-09-11 Thread Nicolin Chen
PAGE_SHIFT and PAGE_MASK are defined corresponding to the page size for CPU virtual addresses, which means PAGE_SHIFT could be a number other than 12, but tegra-smmu maintains fixed 4KB IOVA pages and has fixed [21:12] bit range for PTE entries. So this patch replaces all PAGE_SHIFT/PAGE_MASK refe

[PATCH 3/3] iommu/tegra-smmu: Allow to group clients in same swgroup

2020-09-11 Thread Nicolin Chen
There can be clients using the same swgroup in DT, for example i2c0 and i2c1. The current driver will add them to separate IOMMU groups, though it has implemented device_group() callback which is to group devices using different swgroups like DC and DCB. All clients having the same swgroup should

[PATCH 2/3] iommu/tegra-smmu: Fix iova->phys translation

2020-09-11 Thread Nicolin Chen
IOVA might not be always 4KB aligned. So tegra_smmu_iova_to_phys function needs to add on the lower 12-bit offset from input iova. Signed-off-by: Nicolin Chen --- drivers/iommu/tegra-smmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/tegra-smmu.c b/drivers/i

[tip:objtool/core] BUILD SUCCESS edea9e6bcbeaa41718b022a8b99ffddef2330bbc

2020-09-11 Thread kernel test robot
allyesconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig powerpc defconfig i386 randconfig-a004-20200911

Re: [PATCH 0/3] Bluetooth: Emit events for suspend/resume

2020-09-11 Thread Marcel Holtmann
Hi Abhishek, > This series adds the suspend/resume events suggested in > https://patchwork.kernel.org/patch/11663455/. > > I have tested it with some userspace changes that monitors the > controller resumed event to trigger audio device reconnection and > verified that the events are correctly em

Re: Ways to deprecate /sys/devices/system/memory/memoryX/phys_device ?

2020-09-11 Thread Michal Hocko
On Thu 10-09-20 22:31:09, David Hildenbrand wrote: > > > > Am 10.09.2020 um 22:01 schrieb Dave Hansen : > > > > On 9/10/20 3:20 AM, David Hildenbrand wrote: > >> I was just exploring how /sys/devices/system/memory/memoryX/phys_device > >> is/was used. It's one of these interfaces that most prob

[git pull] drm fixes for 5.9-rc5

2020-09-11 Thread Dave Airlie
Hi Linus, Regular fixes, not much a major amount. One thing though is Laurent fixed some Kconfig issues, and I'm carrying the rapidio kconfig change so the drm one for xlnx driver works. He hadn't got a response from rapidio maintainers. Otherwise, virtio, sun4i, tve200, ingenic have some fixes,

RE: [PATCH v3 06/14] dt-bindings: clock: imx8mp: Add hdmi blk_ctl clock IDs

2020-09-11 Thread Aisheng Dong
> From: Abel Vesa > Sent: Tuesday, September 8, 2020 6:25 PM > > These will be used by the imx8mp for blk_ctl driver. > > Signed-off-by: Abel Vesa > Acked-by: Rob Herring Reviewed-by: Dong Aisheng Regards Aisheng > --- > include/dt-bindings/clock/imx8mp-clock.h | 40 > +++

Re: [PATCH] MAINTAINERS: Drop megaraidlinux....@broadcom.com from MEGARAID SCSI/SAS DRIVERS

2020-09-11 Thread Sumit Saxena
On Wed, Sep 9, 2020 at 10:14 PM Bjorn Helgaas wrote: > > From: Bjorn Helgaas > > Every post to megaraidlinux@broadcom.com seems to generate a bounce, so > I think the list is defunct. Remove it from MAINTAINERS. This PDL is active again. Please let me know if you face any issues. > > Signed-

RE: [PATCH v3 03/14] dt-bindings: clock: imx8mp: Add ids for the audio shared gate

2020-09-11 Thread Aisheng Dong
> From: Abel Vesa > Sent: Tuesday, September 8, 2020 6:25 PM > > All these IDs are for one single HW gate (CCGR101) that is shared between > these > root clocks. > > Signed-off-by: Abel Vesa > Acked-by: Rob Herring Seems missed my tag. So: Reviewed-by: Dong Aisheng Regards Aisheng > --- >

Re: [PATCH 10/24] ioctl_ns.2: Remove unneeded cast

2020-09-11 Thread Michael Kerrisk (man-pages)
Hi Alex, On 9/10/20 11:13 PM, Alejandro Colomar wrote: > Both major(3) and minor(3) return an 'unsigned int', > so there is no need to use a 'long' for printing. > Moreover, it should have been 'unsigned long', > as "%lx" expects an unsigned type. This may be true on Linux, but is not true on oth

Re: [PATCH v3 1/2] leds: mt6360: Add LED driver for MT6360

2020-09-11 Thread Gene Chen
Pavel Machek 於 2020年9月11日 週五 下午3:05寫道: > > Hi! > > > >+{ > > >+struct mt6360_led *led = container_of(lcdev, struct mt6360_led, > > >flash.led_cdev); > > >+struct mt6360_priv *priv = led->priv; > > >+u32 enable_mask = MT6360_TORCHEN_MASK | > > >MT6360_FLCSEN_MASK(led->led_no); > > >+

Re: [PATCH 11/24] stat.2: Remove unneeded cast

2020-09-11 Thread Michael Kerrisk (man-pages)
On 9/10/20 11:13 PM, Alejandro Colomar wrote: > Both major(3) and minor(3) return an 'unsigned int', > so there is no need to use a 'long' for printing. > Moreover, it should have been 'unsigned long', > as "%lx" expects an unsigned type. See my reply to patch 10/24. Thanks, Michael > Signed-of

Re: linux-next: Tree for Sep 10 (drivers/media/pci/ttpci/dvb-ttpci)

2020-09-11 Thread Mauro Carvalho Chehab
Hi Randy, Em Thu, 10 Sep 2020 09:02:35 -0700 Randy Dunlap escreveu: > On 9/10/20 12:42 AM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20200909: > > > > > on i386: > > ERROR: modpost: "__floatunsidf" [drivers/media/pci/ttpci/dvb-ttpci.ko] > undefined! > ERROR: modpost: "__l

Re: [PATCH RFC 00/10] KFENCE: A low-overhead sampling-based memory safety error detector

2020-09-11 Thread Dmitry Vyukov
On Tue, Sep 8, 2020 at 5:56 PM Marco Elver wrote: > > On Tue, Sep 08, 2020 at 05:36PM +0200, Vlastimil Babka wrote: > > On 9/8/20 5:31 PM, Marco Elver wrote: > > >> > > >> How much memory overhead does this end up having? I know it depends on > > >> the object size and so forth. But, could you g

Re: [PATCH] doc:it_IT: align Italian documentation

2020-09-11 Thread Federico Vaga
sure, no problem On 2020-09-10 18:58, Jonathan Corbet wrote: On Thu, 10 Sep 2020 00:38:39 +0200 Federico Vaga wrote: Translation for the following patches commit 68e4cd17e218 ("docs: deprecated.rst: Add zero-length and one-element arrays") commit 5429ef62bcf3 ("compiler/gcc: Raise minimum G

Re: [PATCH] uacce: fix some coding styles

2020-09-11 Thread yekai(A)
Hi Hartman Could you help to take this patch? Thanks. On 2020/7/31 11:09, Zhangfei Gao wrote: On 2020/7/30 下午2:13, Kai Ye wrote: 1. delete some redundant code. 2. modify the module author information. Signed-off-by: Kai Ye Thanks Kai Acked-by: Zhangfei Gao Thanks

Re: [PATCH] uacce: fix some coding styles

2020-09-11 Thread Greg KH
On Fri, Sep 11, 2020 at 03:37:25PM +0800, yekai(A) wrote: > Hi Hartman > > Could you help to take this patch? > Thanks. > On 2020/7/31 11:09, Zhangfei Gao wrote: > > > > > > On 2020/7/30 下午2:13, Kai Ye wrote: > > > 1. delete some redundant code. > > > 2. modify the module author information. > >

[PATCH v2 1/3] dt: bindings: mmc: Add phase control properties for the Aspeed SDHCI

2020-09-11 Thread Andrew Jeffery
Add properties to control the phase delay for input and output data. Signed-off-by: Andrew Jeffery --- Documentation/devicetree/bindings/mmc/aspeed,sdhci.yaml | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/aspeed,sdhci.yaml b/Documentation/devi

[PATCH v2 0/3] mmc: sdhci-of-aspeed: Expose phase delay tuning

2020-09-11 Thread Andrew Jeffery
Hello, This series exposes some devicetree properties for tuning phase delay in the Aspeed SD/eMMC controllers. The relevant register was introduced on the AST2600 and is present for both the SD/MMC controller and the dedicated eMMC controller. v2 addresses comments from Joel. v1 can be found he

RE: [PATCH 1/4] dt-bindings: fsl: add i.MX7ULP PMC binding doc

2020-09-11 Thread Peng Fan
> Subject: RE: [PATCH 1/4] dt-bindings: fsl: add i.MX7ULP PMC binding doc > > > From: Peng Fan > > Sent: Friday, September 11, 2020 11:31 AM > > > > Add i.MX7ULP Power Management Controller binding doc > > > > Signed-off-by: Peng Fan > > --- > > .../bindings/arm/freescale/imx7ulp-pmc.yaml | 3

[PATCH v2 3/3] ARM: dts: tacoma: Add phase delay for eMMC

2020-09-11 Thread Andrew Jeffery
Adjust the phase delay to avoid data timeout splats like the following: [ 731.368601] mmc0: Timeout waiting for hardware interrupt. [ 731.374644] mmc0: sdhci: SDHCI REGISTER DUMP === [ 731.381828] mmc0: sdhci: Sys addr: 0x0020 | Version: 0x0002 [ 731.389012] mmc0

Re: [PATCH RFC 09/10] kfence, Documentation: add KFENCE documentation

2020-09-11 Thread Marco Elver
On Fri, 11 Sep 2020 at 09:14, Dmitry Vyukov wrote: > > On Mon, Sep 7, 2020 at 3:41 PM Marco Elver wrote: > > > > Add KFENCE documentation in dev-tools/kfence.rst, and add to index. > > > > Co-developed-by: Alexander Potapenko > > Signed-off-by: Alexander Potapenko > > Signed-off-by: Marco Elver

Re: [PATCH 1/5] misc: eeprom: at24: Initialise AT24 NVMEM ID field

2020-09-11 Thread Bartosz Golaszewski
On Thu, Sep 10, 2020 at 8:19 PM Jon Hunter wrote: > > > On 10/09/2020 19:15, Jon Hunter wrote: > > > > On 10/09/2020 16:35, Bartosz Golaszewski wrote: > >> On Thu, Sep 10, 2020 at 3:43 PM Jon Hunter wrote: > >>> > >>> The AT24 EEPROM driver does not initialise the 'id' field of the > >>> nvmem_co

[PATCH v2 2/3] mmc: sdhci-of-aspeed: Expose phase delay tuning

2020-09-11 Thread Andrew Jeffery
The Aspeed SD/eMMC controllers feature up to two SDHCIs alongside a a set of "global" configuration registers. The global configuration registers house controller-specific settings that aren't exposed by the SDHCI, one example being a register for phase tuning. The phase tuning feature is new in t

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

2020-09-11 Thread Greg KH
On Fri, Sep 11, 2020 at 06:28:02AM +, Hemant Kumar wrote: > > > +struct uci_dev { > > > + unsigned int minor; > > > + struct mhi_device *mhi_dev; > > > + const char *chan; > > > + > > > + /* protects uci_dev struct members */ > > > + struct mutex lock; > > > + > > > + struct uci_chan ul_chan; >

Re: [PATCH 09/24] clock_getcpuclockid.3: Remove unneeded cast

2020-09-11 Thread Michael Kerrisk (man-pages)
Hi Alex, On 9/10/20 11:13 PM, Alejandro Colomar wrote: > Member 'tv_nsec' of 'struct timespec' is of type 'long' (see time.h.0p), > and therefore, the cast is completely redundant. Good catch! Patch applied. Cheers, Michael > Signed-off-by: Alejandro Colomar > --- > man3/clock_getcpuclockid.

Re: [PATCH] perf: Fix race in perf_mmap_close function

2020-09-11 Thread Jiri Olsa
On Fri, Sep 11, 2020 at 12:05:10PM +0900, Namhyung Kim wrote: > Hi Jiri, > > On Thu, Sep 10, 2020 at 11:50 PM Jiri Olsa wrote: > > > > On Thu, Sep 10, 2020 at 10:48:02PM +0900, Namhyung Kim wrote: > > > > SNIP > > > > > > _do_fork+0x83/0x3a0 > > > > __do_sys_wait4+0x83/0x90 > > > > __do_sys

Re: [PATCH 07/24] request_key.2: Cast to 'unsigned long' rather than 'long' when printing with "%lx"

2020-09-11 Thread Michael Kerrisk (man-pages)
On 9/10/20 11:13 PM, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar Thanks, Alex. Patch Applied. Cheers, Michael > --- > man2/request_key.2 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/man2/request_key.2 b/man2/request_key.2 > index e28c11ded..c14bcb0

Re: [PATCH 08/24] add_key.2: Cast to 'unsigned long' rather than 'long' when printing with "%lx"

2020-09-11 Thread Michael Kerrisk (man-pages)
On 9/10/20 11:13 PM, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar Thanks, Alex. Patch Applied. Cheers, Michael > --- > man2/add_key.2 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/man2/add_key.2 b/man2/add_key.2 > index bda08c3d2..bbd2d1d03 100644 >

Re: [PATCH 1/2] extcon: ptn5150: Use defines for registers

2020-09-11 Thread Chanwoo Choi
On 9/11/20 2:38 PM, Krzysztof Kozlowski wrote: > On Fri, Sep 11, 2020 at 12:14:19PM +0900, Chanwoo Choi wrote: >> On 9/10/20 12:01 AM, Krzysztof Kozlowski wrote: >>> The register addresses are not continuous, so use simple defines for >>> them. This also makes it easier to find the address for reg

Re: [PATCH 1/2] extcon: ptn5150: Use defines for registers

2020-09-11 Thread Krzysztof Kozlowski
On Fri, Sep 11, 2020 at 05:03:02PM +0900, Chanwoo Choi wrote: > On 9/11/20 2:38 PM, Krzysztof Kozlowski wrote: > > On Fri, Sep 11, 2020 at 12:14:19PM +0900, Chanwoo Choi wrote: > >> On 9/10/20 12:01 AM, Krzysztof Kozlowski wrote: > >>> The register addresses are not continuous, so use simple define

Re: [PATCH 23/24] select_tut.2: Use MAX(a, b) from

2020-09-11 Thread Michael Kerrisk (man-pages)
Hi Alex, On 9/10/20 11:13 PM, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar I'm reluctant to apply this, because MAX() is not a standard macro. I suppose it may not be present on some other UNIX systems. You thoughts? Cheers, Michael > --- > man2/select_tut.2 | 10 -- >

Re: [patch] KVM: SVM: Periodically schedule when unregistering regions on destroy

2020-09-11 Thread David Rientjes
Paolo, ping? On Tue, 25 Aug 2020, David Rientjes wrote: > There may be many encrypted regions that need to be unregistered when a > SEV VM is destroyed. This can lead to soft lockups. For example, on a > host running 4.15: > > watchdog: BUG: soft lockup - CPU#206 stuck for 11s! [t_virtual_mach

Re: [PATCH 06/24] timer_create.2: Cast to 'unsigned long' rathen than 'long' when printing with "%lx"

2020-09-11 Thread Michael Kerrisk (man-pages)
On 9/10/20 11:13 PM, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar Thanks, Alex. Patch Applied. Cheers, Michael > --- > man2/timer_create.2 | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/man2/timer_create.2 b/man2/timer_create.2 > index e9a8b8503

Re: [PATCH 19/24] pthread_setname_np.3: ffix

2020-09-11 Thread Michael Kerrisk (man-pages)
Hi Alex, On 9/10/20 11:13 PM, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar > --- > man3/pthread_setname_np.3 | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) What's the rationale for this patch? Thanks, Michael > > diff --git a/man3/pthread_setname_np.3 b/man3/pthr

Re: [PATCH RFC] powercap/drivers/energy_model: protocode: Add powercap energy model based

2020-09-11 Thread Daniel Lezcano
Hi Amit, thanks for taking the time to review the series and read this long description. On 10/09/2020 11:48, Amit Kucheria wrote: [ ... ] >> + >> +config POWERCAP_EM >> +bool "Energy model based power capping" >> + depends on ENERGY_MODEL >> + default y > > Don't make it

Re: [v10 0/4] media: vidtv: Implement a virtual DVB driver

2020-09-11 Thread Mauro Carvalho Chehab
Hi Daniel, Em Fri, 21 Aug 2020 09:58:44 -0300 "Daniel W. S. Almeida" escreveu: > From: "Daniel W. S. Almeida" > > This series is work in progress. It represents the current work done on a > virtual DVB driver for the Linux media subsystem. I am new to the media > subsystem and to kernel develo

[PATCH v6 4/7] perf util: Link stream pair

2020-09-11 Thread Jin Yao
In previous patch, we have created an evsel_streams for one event, and top N hottest streams will be saved in a stream array in evsel_streams. This patch compares total streams among two evsel_streams. Once two streams are fully matched, they will be linked as a pair. From the pair, we can know w

[PATCH v6 6/7] perf util: Report hot streams

2020-09-11 Thread Jin Yao
We show the streams separately. They are divided into different sections. 1. "Matched hot streams" 2. "Hot streams in old perf data only" 3. "Hot streams in new perf data only". For each stream, we report the cycles and hot percent (hits%). For example, cycles: 2, hits: 4.08% --

[PATCH v6 7/7] perf diff: Support hot streams comparison

2020-09-11 Thread Jin Yao
This patch enables perf-diff with "--stream" option. "--stream": Enable hot streams comparison Now let's see examples. perf record -b ... Generate perf.data.old with branch data perf record -b ... Generate perf.data with branch data perf diff --stream [ Matched hot streams ] hot chai

[PATCH v6 0/7] perf: Stream comparison

2020-09-11 Thread Jin Yao
Sometimes, a small change in a hot function reducing the cycles of this function, but the overall workload doesn't get faster. It is interesting where the cycles are moved to. What it would like is to diff before/after streams. The stream is the branch history which is aggregated by the branch rec

[PATCH v6 1/7] perf util: Create streams

2020-09-11 Thread Jin Yao
We define the stream is the branch history which is aggregated by the branch records from perf samples. For example, the callchains aggregated from the branch records are considered as streams. By browsing the hot stream, we can understand the hot code path. Now we only support the callchain for s

[PATCH v6 5/7] perf util: Calculate the sum of total streams hits

2020-09-11 Thread Jin Yao
We have used callchain_node->hit to measure the hot level of one stream. This patch calculates the sum of hits of total streams. Thus in next patch, we can use following formula to report hot percent for one stream. hot percent = callchain_node->hit / sum of total hits Signed-off-by: Jin Yao --

[PATCH v6 3/7] perf util: Compare two streams

2020-09-11 Thread Jin Yao
Stream is the branch history which is aggregated by the branch records from perf samples. Now we support the callchain as stream. If the callchain entries of one stream are fully matched with the callchain entries of another stream, we think two streams are matched. For example, cycles: 1, hi

Re: [PATCH] EDAC/mc_sysfs: add missing newlines when printing 'max(dimm)_location'

2020-09-11 Thread Xiongfeng Wang
On 2020/9/10 19:00, Borislav Petkov wrote: > On Fri, Sep 04, 2020 at 04:19:23PM +0800, Xiongfeng Wang wrote: >> When I cat 'max_location' and 'dimm_location' by sysfs, it displays as >> follows. It's better to add a newline for easy reading. >> >> [root@localhost /]# cat /sys/devices/system/edac

Re: [PATCH 14/24] fread.3: Move ARRAY_SIZE logic into macro

2020-09-11 Thread Michael Kerrisk (man-pages)
Hi Alex, On 9/10/20 11:13 PM, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar I don't have strong feelings for or against this patch. I guess it does make the code more expressive, which is good. Patch applied. Thanks, Michael > --- > man3/fread.3 | 6 +++--- > 1 file changed, 3

Re: [PATCH 15/24] unix.7: Use sizeof() to get buffer size (instead of hardcoding macro name)

2020-09-11 Thread Michael Kerrisk (man-pages)
On 9/10/20 11:13 PM, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar Thanks, Alex. Patch Applied. Cheers, Michael > --- > man7/unix.7 | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/man7/unix.7 b/man7/unix.7 > index f61b51424..50828a5bc 10

[PATCH v6 2/7] perf util: Get the evsel_streams by evsel_idx

2020-09-11 Thread Jin Yao
In previous patch, we have created evsel_streams array This patch returns the specified evsel_streams according to the evsel_idx. Signed-off-by: Jin Yao --- v6: - Rebase to perf/core v5: - Rebase to perf/core v4: - Rename the patch from 'perf util: Return per-event callchain s

Re: KASAN: use-after-free Read in __xfrm6_tunnel_spi_lookup

2020-09-11 Thread Steffen Klassert
On Thu, Sep 10, 2020 at 10:09:50AM +0200, Dmitry Vyukov wrote: > On Thu, Sep 10, 2020 at 10:08 AM B K Karthik wrote: > > > > On Thu, Sep 10, 2020 at 1:32 PM Dmitry Vyukov wrote: > > > > > > On Thu, Sep 10, 2020 at 9:20 AM Anant Thazhemadam > > > wrote: > > > > Looks like this bug is no longer va

Re: [PATCH 05/24] offsetof.3: Use "%zu" rather than "%zd" when printing 'size_t' values

2020-09-11 Thread Michael Kerrisk (man-pages)
On 9/10/20 11:13 PM, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar Thanks, Alex. Patch Applied. Cheers, Michael > --- > man3/offsetof.3 | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/man3/offsetof.3 b/man3/offsetof.3 > index 05fdd6dd8..f0c9975f4 10

Re: [PATCH 15/24] unix.7: Use sizeof() to get buffer size (instead of hardcoding macro name)

2020-09-11 Thread Michael Kerrisk (man-pages)
On 9/10/20 11:13 PM, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar Thanks, Alex. Patch Applied. Cheers, Michael > --- > man7/unix.7 | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/man7/unix.7 b/man7/unix.7 > index f61b51424..50828a5bc 1

[PATCH v2 1/3] dt-bindings: tlv320adcx140: Add GPIO config and drive config

2020-09-11 Thread Camel Guo
From: Camel Guo Add properties for configuring the General Purpose Input Outputs (GPIO). There are 2 settings for GPIO, configuration and the output drive type. Signed-off-by: Camel Guo --- .../bindings/sound/tlv320adcx140.yaml | 44 +++ 1 file changed, 44 insertions(+)

[PATCH v2 2/3] ASoC: tlv320adcx140: Add support for configuring GPIO pin

2020-09-11 Thread Camel Guo
From: Camel Guo Add support to configure the GPIO pin to the specific configuration. The GPIO pin can be configured as GPO, IRQ, SDOUT2, PDMCLK, MICBASE_EN, GPI, MCLK, SDIN, PDMDIN1, PDMDIN2, PDMDIN3 or PDMDIN4 and the output drive can be configured with various configuration. Signed-off-by: Cam

Re: [PATCH 18/24] core.5: Use adequate type

2020-09-11 Thread Michael Kerrisk (man-pages)
On 9/10/20 11:13 PM, Alejandro Colomar wrote: > 'nread' is of type 'ssize_t' > 'tot' adds up different values contained in 'nread', > so it should also be 'ssize_t', and not 'int' (which possibly overflows). > > Signed-off-by: Alejandro Colomar Thanks, Alex. Patch Applied. Cheers, Michael > -

[PATCH v2 3/3] ASoC: tlv320adcx140: Add proper support for master mode

2020-09-11 Thread Camel Guo
From: Camel Guo Add setup of bclk-to-ws ratio and sample rate when in master mode, as well as MCLK input pin setup. Signed-off-by: Camel Guo --- v2: - Move GPIO setting into devicetree - Move master config register setting into a new function sound/soc/codecs/tlv320adcx140.c | 139 ++

  1   2   3   4   5   6   7   8   9   10   >