[PATCH] ASoC: qcom: Use the defined variable to simplify code

2020-05-04 Thread Tang Bin
Use the defined variable "dev" to make the code cleaner. Signed-off-by: Zhang Shengju Signed-off-by: Tang Bin --- sound/soc/qcom/lpass-apq8016.c | 9 sound/soc/qcom/lpass-cpu.c | 39 -- 2 files changed, 22 insertions(+), 26 deletions(-) diff --git

Re: [PATCH] memcg: oom: ignore oom warnings from memory.max

2020-05-04 Thread Michal Hocko
On Fri 01-05-20 09:39:24, Yafang Shao wrote: > On Fri, May 1, 2020 at 2:27 AM Shakeel Butt wrote: > > > > Lowering memory.max can trigger an oom-kill if the reclaim does not > > succeed. However if oom-killer does not find a process for killing, it > > dumps a lot of warnings. > > > > I have been

[PATCH] PCI: Enable ASPM L1 on TI PCIe-to-PCI bridge

2020-05-04 Thread Kai-Heng Feng
The TI PCIe-to-PCI bridge prevents the Intel SoC from entering power state deeper than PC3, consumes lots of unnecessary power. On Windows ASPM L1 is enabled on the device and its upstream bridge, so it can make the Intel SoC reach PC8 or PC10 to save lots of power. So enable ASPM L1 like Windows

Re: WARNING: bad unlock balance in rcu_core

2020-05-04 Thread syzbot
syzbot suspects this bug was fixed by commit: commit 10476e6304222ced7df9b3d5fb0a043b3c2a1ad8 Author: Peter Zijlstra Date: Fri Mar 13 08:56:38 2020 + locking/lockdep: Fix bad recursion pattern bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=142baee410 start commit:

Re: [PATCH v4 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-05-04 Thread Boris Brezillon
On Mon, 4 May 2020 10:02:35 +0800 "Ramuthevar, Vadivel MuruganX" wrote: > Hi Boris, > > On 30/4/2020 9:01 pm, Boris Brezillon wrote: > > On Thu, 30 Apr 2020 14:36:00 +0200 > > Boris Brezillon wrote: > > > >> On Thu, 30 Apr 2020 17:07:03 +0800 > >> "Ramuthevar, Vadivel MuruganX" > >> wrote:

RE: [PATCH V2] pwm: tegra: dynamic clk freq configuration by PWM driver

2020-05-04 Thread Sandipan Patra
Gentle reminder. > -Original Message- > From: Sandipan Patra > Sent: Monday, April 20, 2020 9:24 PM > To: Thierry Reding ; robh...@kernel.org; u.kleine- > koe...@pengutronix.de; Jonathan Hunter > Cc: Bibek Basu ; Laxman Dewangan > ; linux-...@vger.kernel.org; > devicet...@vger.kernel.org

Re: [PATCH v2 1/2] init/kconfig: Add LD_VERSION Kconfig

2020-05-04 Thread Geert Uytterhoeven
Hi Amit, On Mon, Mar 30, 2020 at 1:42 PM Amit Daniel Kachhap wrote: > This option can be used in Kconfig files to compare the ld version > and enable/disable incompatible config options if required. > > This option is used in the subsequent patch along with GCC_VERSION to > filter out an incompat

[PATCH net-next v4 0/2] provide support for PHY master/slave configuration

2020-05-04 Thread Oleksij Rempel
changes v5: - set MASTER_SLAVE_CFG_UNSUPPORTED as default value - send a netlink error message on validation error - more code fixes changes v4: - rename port_mode to master_slave - move validation code to net/ethtool/linkmodes.c - add UNSUPPORTED state and avoid sending unsupported fields - mor

[PATCH v5 2/2] net: phy: tja11xx: add support for master-slave configuration

2020-05-04 Thread Oleksij Rempel
The TJA11xx PHYs have a vendor specific Master/Slave configuration bit, which is not compatible with IEEE 803.2-2018 spec for 100Base-T1 devices. So, provide a custom config_ange call back to solve this problem. Signed-off-by: Oleksij Rempel --- drivers/net/phy/nxp-tja11xx.c | 43 +++

[PATCH v5 1/2] ethtool: provide UAPI for PHY master/slave configuration.

2020-05-04 Thread Oleksij Rempel
This UAPI is needed for BroadR-Reach 100BASE-T1 devices. Due to lack of auto-negotiation support, we needed to be able to configure the MASTER-SLAVE role of the port manually or from an application in user space. The same UAPI can be used for 1000BASE-T or MultiGBASE-T devices to force MASTER or S

Re: [PATCH] usb: usbfs: correct kernel->user page attribute mismatch

2020-05-04 Thread Greg KH
On Fri, May 01, 2020 at 10:47:22AM -0500, Jeremy Linton wrote: > Hi, > > Thanks for taking a look at this. > > On 5/1/20 2:05 AM, Greg KH wrote: > > On Thu, Apr 30, 2020 at 04:19:22PM -0500, Jeremy Linton wrote: > > > On arm64, and possibly other architectures, requesting > > > IO coherent memory

Re: [ANNOUNCE] 4.4.220-rt196

2020-05-04 Thread Pavel Machek
Hi! There's something going wrong with the version numbers: > I'm pleased to announce the 4.4.220-rt196 stable release. > > This release is just an update to the new stable 4.4.215 version > Or to build 4.4.220-rt196 directly, the following patches should be ... > You can also build from 4.4.2

RE: [PATCH 1/2] arm64: tegra: Add pwm-fan profile settings

2020-05-04 Thread Sandipan Patra
Gentle reminder. > -Original Message- > From: Sandipan Patra > Sent: Friday, April 17, 2020 7:03 PM > To: Thierry Reding ; robh...@kernel.org; u.kleine- > koe...@pengutronix.de; Jonathan Hunter > Cc: Bibek Basu ; Bitan Biswas ; > linux-...@vger.kernel.org; devicet...@vger.kernel.org; lin

Re: linux-next: build failure after merge of the char-misc tree

2020-05-04 Thread Greg KH
On Mon, May 04, 2020 at 11:47:56AM +1000, Stephen Rothwell wrote: > Hi all, > > [Just adding cc] > > On Mon, 4 May 2020 11:46:25 +1000 Stephen Rothwell > wrote: > > > > Hi all, > > > > After merging the char-misc tree, Friday's linux-next build (arm64 > > allmodconfig) failed like this: > > >

RE: [PATCH 2/2] hwmon: pwm-fan: Add profile support and add remove module support

2020-05-04 Thread Sandipan Patra
Gentle reminder. > -Original Message- > From: Sandipan Patra > Sent: Friday, April 17, 2020 7:03 PM > To: Thierry Reding ; robh...@kernel.org; u.kleine- > koe...@pengutronix.de; Jonathan Hunter > Cc: Bibek Basu ; Bitan Biswas ; > linux-...@vger.kernel.org; devicet...@vger.kernel.org; lin

Re: [PATCH v6 0/5] Add SS/HS-USB changes for Qualcomm SM8150 chipset

2020-05-04 Thread Vinod Koul
Hi Wesley, On 09-04-20, 15:52, Wesley Cheng wrote: > This series adds support for the Synopsis 7nm HSPHY USB driver being > used in QCOM chipsets. The HSPHY register map differs compared to > other PHY revisions. In addition, modifications and updates are done > to the QMP driver to add new reg

Re: [PATCH v4 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-05-04 Thread Ramuthevar, Vadivel MuruganX
Hi Boris, Thank you very much for the prompt review and suggestions... On 4/5/2020 3:08 pm, Boris Brezillon wrote: On Mon, 4 May 2020 10:02:35 +0800 "Ramuthevar, Vadivel MuruganX" wrote: Hi Boris, On 30/4/2020 9:01 pm, Boris Brezillon wrote: On Thu, 30 Apr 2020 14:36:00 +0200 Boris Brez

Re: [PATCH v4 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-05-04 Thread Boris Brezillon
On Mon, 4 May 2020 15:15:08 +0800 "Ramuthevar, Vadivel MuruganX" wrote: > Hi Boris, > >Thank you very much for the prompt review and suggestions... > > On 4/5/2020 3:08 pm, Boris Brezillon wrote: > > On Mon, 4 May 2020 10:02:35 +0800 > > "Ramuthevar, Vadivel MuruganX" > > wrote: > > >

Re: [PATCH v2] scripts: headers_install: Exit with error on config leak

2020-05-04 Thread Masahiro Yamada
On Sun, May 3, 2020 at 12:29 PM Siddharth Gupta wrote: > > Misuse of CONFIG_* in UAPI headers should result in an error as it exposes > configuration of different targets to userspace. Sorry, I missed to point out this. This statement is not precious; it does not expose the kernel configuration

Re: [PATCH v4 14/18] static_call: Add static_cond_call()

2020-05-04 Thread Rasmus Villemoes
On 03/05/2020 14.58, Peter Zijlstra wrote: > On Sat, May 02, 2020 at 03:08:00PM +0200, Rasmus Villemoes wrote: >> On 01/05/2020 22.29, Peter Zijlstra wrote: >>> +#define static_cond_call(name) >>> \ >>> + if (STATIC_CALL_KEY(name).func)

Build regressions/improvements in v5.7-rc4

2020-05-04 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v5.7-rc4[1] compared to v5.6[2]. Summarized: - build errors: +1/-3 - build warnings: +95/-80 JFYI, when comparing v5.7-rc4[1] to v5.7-rc3[3], the summaries are: - build errors: +3/-123 - build warnings: +8/-160 Happy fi

Re: [PATCH 1/2] mm, memcg: Avoid stale protection values when cgroup is above protection

2020-05-04 Thread Michal Hocko
On Fri 01-05-20 07:59:57, Yafang Shao wrote: > On Thu, Apr 30, 2020 at 10:57 PM Michal Hocko wrote: > > > > On Wed 29-04-20 12:56:27, Johannes Weiner wrote: > > [...] > > > I think to address this, we need a more comprehensive solution and > > > introduce some form of serialization. I'm not sure y

Re: [PATCH] mmc: sdhci-pci-gli: Fix can not access GL9750 after reboot from Windows 10

2020-05-04 Thread Adrian Hunter
On 4/05/20 9:39 am, Ben Chuang wrote: > From: Ben Chuang > > Need to clear some bits in a vendor-defined register after reboot from > Windows 10. > > Fixes: e51df6ce668a ("mmc: host: sdhci-pci: Add Genesys Logic GL975x support") > Reported-by: Grzegorz Kowal > Signed-off-by: Ben Chuang Acked-

[PATCH] ASoC: qcom: Use devm_platform_ioremap_resource_byname() to simplify code

2020-05-04 Thread Tang Bin
Use devm_platform_ioremap_resource_byname() instead of platform_get_resource_byname() + devm_ioremap_resource(). Signed-off-by: Zhang Shengju Signed-off-by: Tang Bin --- sound/soc/qcom/lpass-cpu.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sound/soc/qcom/lpass-cpu

Re: [PATCH] memcg: oom: ignore oom warnings from memory.max

2020-05-04 Thread Yafang Shao
On Mon, May 4, 2020 at 3:03 PM Michal Hocko wrote: > > On Fri 01-05-20 09:39:24, Yafang Shao wrote: > > On Fri, May 1, 2020 at 2:27 AM Shakeel Butt wrote: > > > > > > Lowering memory.max can trigger an oom-kill if the reclaim does not > > > succeed. However if oom-killer does not find a process f

Re: [PATCH] mmc: sdhci-esdhc: update contact email

2020-05-04 Thread Adrian Hunter
On 2/05/20 5:28 pm, Wolfram Sang wrote: > The 'pengutronix' address is defunct for years. Use the proper contact > address. > > Signed-off-by: Wolfram Sang Acked-by: Adrian Hunter > --- > drivers/mmc/host/sdhci-esdhc.h | 2 +- > include/linux/platform_data/mmc-esdhc-imx.h | 2 +-

Re: [PATCH v7 3/3] phy: intel: Add driver support for ComboPhy

2020-05-04 Thread Vinod Koul
On 30-04-20, 15:15, Dilip Kota wrote: > +enum { > + PHY_0, > + PHY_1, > + PHY_MAX_NUM PHY_MAX_NUM = PHY_1? > +static inline void combo_phy_w32_off_mask(void __iomem *base, unsigned int > reg, > + u32 mask, u32 val) > +{ > + u32 reg_val; > +

Re: linux-next: build failure after merge of the char-misc tree

2020-05-04 Thread Greg KH
On Mon, May 04, 2020 at 07:05:50AM +, Rajan Vaja wrote: > Hi Greg, A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply?

Re: Build regressions/improvements in v5.7-rc4

2020-05-04 Thread Geert Uytterhoeven
On Mon, May 4, 2020 at 9:24 AM Geert Uytterhoeven wrote: > JFYI, when comparing v5.7-rc4[1] to v5.7-rc3[3], the summaries are: > - build errors: +3/-123 > [1] > http://kisskb.ellerman.id.au/kisskb/branch/linus/head/0e698dfa282211e414076f9dc7e83c1c288314fd/ > (all 239 configs) > [3] > http://

[RFC PATCH] drm: dw-hdmi-i2s: Workaround for interchannel sample offset

2020-05-04 Thread Matthias Blankertz
Add a second reset of the I2S block after the audio parameters are set. Without this, it was observed on the R-Car Gen3 platform that in ~50% of audio stream starts, the samples on each odd-numbered channel were delayed by one sample relative to the even-numbered channels: A stereo test stream was

Re: [PATCH v3] nfp: abm: Fix incomplete release of system resources in nfp_abm_vnic_set_mac()

2020-05-04 Thread Markus Elfring
> But when nfp_nsp_has_hwinfo_lookup fail, the pointer is not released, Do you distinguish between releasing items and the role of such a pointer? > which can lead to a memory leak bug. Would you like to reconsider the usage of the word “can” for such change descriptions? Regards, Markus

Re: [PATCH] memcg: oom: ignore oom warnings from memory.max

2020-05-04 Thread Michal Hocko
On Mon 04-05-20 15:26:52, Yafang Shao wrote: > On Mon, May 4, 2020 at 3:03 PM Michal Hocko wrote: > > > > On Fri 01-05-20 09:39:24, Yafang Shao wrote: > > > On Fri, May 1, 2020 at 2:27 AM Shakeel Butt wrote: > > > > > > > > Lowering memory.max can trigger an oom-kill if the reclaim does not > > >

linux-next: Tree for May 4

2020-05-04 Thread Stephen Rothwell
Hi all, Changes since 20200501: My fixes tree contains: bbefc924d0ff ("ubsan: disable UBSAN_ALIGNMENT under COMPILE_TEST") 7cb1d38f52b1 ("drm/msm: Fix undefined "rd_full" link error") The qcom tree still had its build failure for which I reverted a commit. The keys tree gained a conflict a

[PATCH] ASoC: qcom: Remove the unnecessary cast

2020-05-04 Thread Tang Bin
It's not necessary to specify 'void const __force *' casting for 'drvdata->lpaif'. Signed-off-by: Zhang Shengju Signed-off-by: Tang Bin --- sound/soc/qcom/lpass-cpu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/qcom/lpass-cpu.c b/sound/soc/qcom/lpass-cpu.

Re: [PATCH v7 1/3] phy: add driver for Qualcomm IPQ40xx USB PHY

2020-05-04 Thread Vinod Koul
On 03-05-20, 22:18, Robert Marko wrote: > Add a driver to setup the USB PHY-s on Qualcom m IPQ40xx series SoCs. > The driver sets up HS and SS phys. Applied, thanks -- ~Vinod

Re: [PATCH v7 2/3] dt-bindings: phy-qcom-ipq4019-usb: add binding document

2020-05-04 Thread Vinod Koul
On 03-05-20, 22:18, Robert Marko wrote: > This patch adds the binding documentation for the HS/SS USB PHY found > inside Qualcom Dakota SoCs. Applied, thanks -- ~Vinod

Re: [PATCH v7 3/3] ARM: dts: qcom: ipq4019: add USB devicetree nodes

2020-05-04 Thread Vinod Koul
On 03-05-20, 22:18, Robert Marko wrote: > From: John Crispin > > Since we now have driver for the USB PHY, lets add the necessary nodes to > DTSI. Reviewed-by: Vinod Koul Bjorn, I have picked the phy and dt binding, feel free to apply this one Thanks -- ~Vinod

Re: [PATCH] memcg: oom: ignore oom warnings from memory.max

2020-05-04 Thread Yafang Shao
On Mon, May 4, 2020 at 3:35 PM Michal Hocko wrote: > > On Mon 04-05-20 15:26:52, Yafang Shao wrote: > > On Mon, May 4, 2020 at 3:03 PM Michal Hocko wrote: > > > > > > On Fri 01-05-20 09:39:24, Yafang Shao wrote: > > > > On Fri, May 1, 2020 at 2:27 AM Shakeel Butt wrote: > > > > > > > > > > Lower

Re: [PATCH v2] ipmi:bt-bmc: Fix error handling and status check

2020-05-04 Thread Tang Bin
Hi, Corey: On 2020/4/19 14:29, Tang Bin wrote: Hi, Corey: On 2020/4/18 21:49, Corey Minyard wrote: On Sat, Apr 18, 2020 at 04:02:29PM +0800, Tang Bin wrote: If the function platform_get_irq() failed, the negative value returned will not be detected here. So fix error handling in bt_bmc_config

Re: [RFC PATCH v11 6/9] media: tegra: Add Tegra210 Video input driver

2020-05-04 Thread Dmitry Osipenko
30.04.2020 01:00, Sowjanya Komatineni пишет: > +/* > + * VI channel input data type enum. > + * These data type enum value gets programmed into corresponding Tegra VI > + * channel register bits. > + */ > +enum tegra_image_dt { > + TEGRA_IMAGE_DT_YUV420_8 = 24, > + TEGRA_IMAGE_DT_YUV420_10,

Re: [PATCH v2] riscv: force __cpu_up_ variables to put in data section

2020-05-04 Thread Andreas Schwab
On Mai 04 2020, Anup Patel wrote: > Slightly improved text: > > This issue happens on random booting of multiple harts, which means > it will manifest for BBL and OpenSBI v0.6 (or older version). In OpenSBI > v0.7 (or higher version), we have HSM extension so all the secondary harts > are brought-

Re: [PATCH v6 0/5] Add SS/HS-USB changes for Qualcomm SM8150 chipset

2020-05-04 Thread Wesley Cheng
On 5/4/2020 12:15 AM, Vinod Koul wrote: > Hi Wesley, > > On 09-04-20, 15:52, Wesley Cheng wrote: >> This series adds support for the Synopsis 7nm HSPHY USB driver being >> used in QCOM chipsets. The HSPHY register map differs compared to >> other PHY revisions. In addition, modifications and

Re: [RFC PATCH] sched/fair: correct llc shared domain's number of busy CPUs

2020-05-04 Thread Vincent Guittot
On Mon, 4 May 2020 at 03:57, Hillf Danton wrote: > > > The comment says, if there is an imbalance between LLC domains (IOW we > could increase the overall cache use), we need some less-loaded LLC > domain to pull some load. > > To show that imbalance, record busy CPUs as they come and go by doing

Re: [PATCH 2/2] x86/resctrl: Support CPUID enumeration of MBM counter width

2020-05-04 Thread Borislav Petkov
Hi, On Sun, May 03, 2020 at 11:51:00AM -0700, Reinette Chatre wrote: > I am struggling with what should follow ... Since a diff is better than a thousand words :-) see below. It builds here with my .config but I'm sure it still needs work but you get the idea. When you do the final version, plea

Re: [PATCH] memcg: oom: ignore oom warnings from memory.max

2020-05-04 Thread Michal Hocko
On Mon 04-05-20 15:40:18, Yafang Shao wrote: > On Mon, May 4, 2020 at 3:35 PM Michal Hocko wrote: > > > > On Mon 04-05-20 15:26:52, Yafang Shao wrote: [...] > > > As explianed above, no eligible task is different from no task. > > > If there are some candidates but no one is eligible, the system w

[PATCH] serial: lantiq: Add x86 in Kconfig dependencies for Lantiq serial driver

2020-05-04 Thread Rahul Tanwar
Lantiq serial driver/IP is reused for a x86 based SoC as well. Update the Kconfig accordingly. Signed-off-by: Rahul Tanwar --- drivers/tty/serial/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 0aea76cd67ff

Re: [PATCH 1/2] thermal: qcom: tsens-v0_1: Add support for MSM8939

2020-05-04 Thread Konrad Dybcio
Thanks for your review. I'll hopefully send a v2 later today. As for the sensor count, I don't know how many there actually are. I'm an independent dev and don't have access to any documentation and I'm solely basing on what I find in downstream, and I think it's 10, unless mainline expects the _0

Re: [PATCH v5 1/2] ethtool: provide UAPI for PHY master/slave configuration.

2020-05-04 Thread Oleksij Rempel
@Michal, i noticed that linkmodes_fill_reply() some times get not enough tailroom. if data->peer_empty == 0 linkmodes_reply_size() size: 476 linkmodes_fill_reply() skb tailroom: 724 if data->peer_empty == 1 linkmodes_reply_size() size: 216 linkmodes_fill_rep

Re: [PATCH v2 1/2] init/kconfig: Add LD_VERSION Kconfig

2020-05-04 Thread Will Deacon
On Mon, May 04, 2020 at 09:11:12AM +0200, Geert Uytterhoeven wrote: > On Mon, Mar 30, 2020 at 1:42 PM Amit Daniel Kachhap > wrote: > > This option can be used in Kconfig files to compare the ld version > > and enable/disable incompatible config options if required. > > > > This option is used in t

Re: [RFC PATCH 4/4] arm64: dts: imx8mm: Add GPU nodes for 2D and 3D core using Etnaviv

2020-05-04 Thread Lucas Stach
Am Sonntag, den 03.05.2020, 09:49 -0500 schrieb Adam Ford: > On Thu, Apr 30, 2020 at 7:46 AM Schrempf Frieder > wrote: > > From: Frieder Schrempf > > > > According to the documents, the i.MX8M-Mini features a GC320 and a > > GCNanoUltra GPU core. Etnaviv detects them as: > > > > etnaviv

[PATCH 2/2] kbuild: remove {CLEAN,MRPROPER,DISTCLEAN}_DIRS

2020-05-04 Thread Masahiro Yamada
Merge {CLEAN,MRPROPER,DISTCLEAN}_DIRS into {CLEAN,MRPROPER,DISTCLEAN}_FILES because the difference is just the -r option passed to the 'rm' command. Do likewise as commit 1634f2bfdb84 ("kbuild: remove clean-dirs syntax"). Signed-off-by: Masahiro Yamada --- Makefile | 22 ++-

[PATCH 1/2] kbuild: remove misleading stale FIXME comment

2020-05-04 Thread Masahiro Yamada
This comment was added by commit ("kbuild: Restore build nr, improve vmlinux link") [1]. It was talking about if_changed_rule at that time. Now, it is unclear what to fix. [1]: https://git.kernel.org/pub/scm/linux/kernel/git/history/history.git/commit/?id=ea52ca1b3e3882b499cc6c043f384958b88b62ff

[PATCH 2/3] ALSA: hda: add member to store ratio for stripe control

2020-05-04 Thread Sameer Pujar
Stripe control programming is governed by following formula, which is referenced from the HD Audio specification(Revision 1.0a). { ((num_channels * bits_per_sample) / number of SDOs) >= 8 } Currently above is implemented in snd_hdac_get_stream_stripe_ctl(). This patch introduces a structure memb

[PATCH 1/3] ALSA: hda/tegra: correct number of SDO lines for Tegra194

2020-05-04 Thread Sameer Pujar
Tegra194 supports 4 SDO lines but GCAP register indicates 2 lines. Thus it does not reflect the true capability of the HW. This patch presents a workaround by updating NSDO value accordingly in T_AZA_DBG_CFG_2 register. Signed-off-by: Sameer Pujar --- sound/pci/hda/hda_tegra.c | 33 +

[PATCH 0/3] Tegra194 HW Fixes

2020-05-04 Thread Sameer Pujar
This series proposes SW workarounds for Tegra194 HDA HW bugs. Following are the two issues seen: 1. GCAP register does not reflect true capability. The actual number of SDO lines is "4", where as it reflects "2". 2. With 4 SDO line configuration playback fails for, 44.1K/48K, 2-channel, 1

[PATCH 3/3] ALSA: hda/tegra: workaround playback failure on Tegra194

2020-05-04 Thread Sameer Pujar
Tegra194 has 4 SDO lines and with this configuration playback fails for 44.1K/48K, 2-channel and 16-bps. It results in below print, "aplay: pcm_write:2011: write error: Input/output error" Below relation is used to derive stripe control and is referenced from HD Audio Specification: Revision 1.0

Re: [PATCH v2 00/11] efi: some cleanups/refactoring for efi/next

2020-05-04 Thread Ard Biesheuvel
On Thu, 30 Apr 2020 at 20:28, Arvind Sankar wrote: > > This series is on top of efi/next. > > Patch 1 fixes the size allocated for x86 boot_params. > Patch 2 refactors the setting of various hi/lo 32-bit fields, mainly on x86. > Patch 3 renames pr_efi/pr_efi_err > Patches 4-6 convert the remaining

Re: [PATCH v3] mfd: syscon: Add Spreadtrum physical regmap bus support

2020-05-04 Thread Baolin Wang
Hi Arnd On Tue, Apr 28, 2020 at 4:41 PM Baolin Wang wrote: > > On Tue, Apr 28, 2020 at 4:19 PM Lee Jones wrote: > > > > On Tue, 28 Apr 2020, Baolin Wang wrote: > > > > > On Tue, Apr 28, 2020 at 3:14 PM Lee Jones wrote: > > > > > > > > On Tue, 28 Apr 2020, Baolin Wang wrote: > > > > > > > > > On

[tip: ras/core] x86/mcelog: Add compat_ioctl for 32-bit mcelog support

2020-05-04 Thread tip-bot2 for He Zhe
The following commit has been merged into the ras/core branch of tip: Commit-ID: 3b4ff4eb904fef04c36b39052ca8eb31fa41fad0 Gitweb: https://git.kernel.org/tip/3b4ff4eb904fef04c36b39052ca8eb31fa41fad0 Author:He Zhe AuthorDate:Wed, 04 Mar 2020 14:39:07 +08:00 Committer: Bo

RE: [RFC PATCH 4/4] iio: Track enabled channels on a per channel basis

2020-05-04 Thread Sa, Nuno
> From: Jonathan Cameron > Sent: Samstag, 2. Mai 2020 19:19 > To: Sa, Nuno > Cc: Ardelean, Alexandru ; linux- > i...@vger.kernel.org; linux-kernel@vger.kernel.org; l...@metafoo.de > Subject: Re: [RFC PATCH 4/4] iio: Track enabled channels on a per channel > basis > > [External] > > On Mon, 27 A

[RFC PATCH] dt-bindings: net: nxp,tja11xx: add compatible support

2020-05-04 Thread Oleksij Rempel
... and correct SPDX-License-Identifier. Signed-off-by: Oleksij Rempel --- .../devicetree/bindings/net/nxp,tja11xx.yaml | 51 --- 1 file changed, 32 insertions(+), 19 deletions(-) diff --git a/Documentation/devicetree/bindings/net/nxp,tja11xx.yaml b/Documentation/devicetree/bi

Re: [PATCH v7 3/3] phy: intel: Add driver support for ComboPhy

2020-05-04 Thread Dilip Kota
On 5/4/2020 3:29 PM, Vinod Koul wrote: On 30-04-20, 15:15, Dilip Kota wrote: +enum { + PHY_0, + PHY_1, + PHY_MAX_NUM PHY_MAX_NUM = PHY_1? Driver is using it for no. of PHYs/maximum PHY id. Code snippets: struct intel_combo_phy { ...     struct reset_control    *phy_r

[PATCHv2 00/10] net: eth: altera: tse: Add PTP and mSGDMA prefetcher

2020-05-04 Thread Joyce Ooi
This patch series cleans up the Altera TSE driver and adds support for the newer msgdma prefetcher as well as ptp support when using the msgdma prefetcher. v2: Rename altera_ptp to intel_fpga_tod, modify msgdma and sgdma tx_buffer functions to be of type netdev_tx_t, and minor suggested edits

[PATCHv2 01/10] net: eth: altera: tse_start_xmit ignores tx_buffer call response

2020-05-04 Thread Joyce Ooi
From: Dalon Westergreen The return from tx_buffer call in tse_start_xmit is inapropriately ignored. tse_buffer calls should return 0 for success or NETDEV_TX_BUSY. tse_start_xmit should return not report a successful transmit when the tse_buffer call returns an error condition. In addition to

[PATCHv2 02/10] net: eth: altera: set rx and tx ring size before init_dma call

2020-05-04 Thread Joyce Ooi
From: Dalon Westergreen It is more appropriate to set the rx and tx ring size before calling the init function for the dma. Signed-off-by: Dalon Westergreen Signed-off-by: Joyce Ooi --- v2: no change --- drivers/net/ethernet/altera/altera_tse_main.c | 6 -- 1 file changed, 4 insertions(+)

[PATCHv2 03/10] net: eth: altera: fix altera_dmaops declaration

2020-05-04 Thread Joyce Ooi
From: Dalon Westergreen The declaration of struct altera_dmaops does not have identifier names. Add identifier names to confrom with required coding styles. Signed-off-by: Dalon Westergreen Signed-off-by: Joyce Ooi --- v2: no change --- drivers/net/ethernet/altera/altera_tse.h | 30 +

[PATCHv2 06/10] net: eth: altera: Add missing identifier names to function declarations

2020-05-04 Thread Joyce Ooi
From: Dalon Westergreen The sgdma and msgdma header files included function declarations without identifier names for pointers. Add appropriate identifier names. Signed-off-by: Dalon Westergreen Signed-off-by: Joyce Ooi --- v2: this patch is added in patch version 2 --- drivers/net/ethernet/

[PATCHv2 07/10] net: eth: altera: change tx functions to type netdev_tx_t

2020-05-04 Thread Joyce Ooi
From: Dalon Westergreen Modify all msgdma and sgdma tx_buffer functions to be of type netdev_tx_t, and also modify main tx function to be of netdev_tx_t type. Signed-off-by: Dalon Westergreen Signed-off-by: Joyce Ooi --- v2: this patch is added in patch set version 2 --- drivers/net/ethernet/

Re: [PATCH 0/3] Tegra194 HW Fixes

2020-05-04 Thread Takashi Iwai
On Mon, 04 May 2020 10:16:13 +0200, Sameer Pujar wrote: > > This series proposes SW workarounds for Tegra194 HDA HW bugs. > Following are the two issues seen: > 1. GCAP register does not reflect true capability. > The actual number of SDO lines is "4", where as it reflects "2". > 2. With 4 S

[PATCHv2 05/10] net: eth: altera: Move common functions to altera_utils

2020-05-04 Thread Joyce Ooi
From: Dalon Westergreen Move request_and_map and other shared functions to altera_utils. This is the first step to moving common code out of tse specific code so that it can be shared with future altera ethernet ip. Signed-off-by: Dalon Westergreen Signed-off-by: Joyce Ooi --- v2: no change --

[PATCHv2 04/10] net: eth: altera: add optional function to start tx dma

2020-05-04 Thread Joyce Ooi
From: Dalon Westergreen Allow for optional start up of tx dma if the start_txdma function is defined in altera_dmaops. Signed-off-by: Dalon Westergreen Signed-off-by: Joyce Ooi --- v2: no change --- drivers/net/ethernet/altera/altera_tse.h | 1 + drivers/net/ethernet/altera/altera_tse_ma

[PATCHv2 08/10] net: eth: altera: add support for ptp and timestamping

2020-05-04 Thread Joyce Ooi
From: Dalon Westergreen Add support for the ptp clock used with the tse, and update the driver to support timestamping when enabled. We also enable debugfs entries for the ptp clock to allow some user control and interaction with the ptp clock. Cc: Richard Cochran Signed-off-by: Dalon Westergr

[PATCHv2 09/10] net: eth: altera: add msgdma prefetcher

2020-05-04 Thread Joyce Ooi
From: Dalon Westergreen Add support for the mSGDMA prefetcher. The prefetcher adds support for a linked list of descriptors in system memory. The prefetcher feeds these to the mSGDMA dispatcher. The prefetcher is configured to poll for the next descriptor in the list to be owned by hardware, t

[PATCHv2 10/10] net: eth: altera: update devicetree bindings documentation

2020-05-04 Thread Joyce Ooi
From: Dalon Westergreen Update devicetree bindings documentation to include msgdma prefetcher and ptp bindings. Cc: Rob Herring Cc: devicet...@vger.kernel.org Signed-off-by: Dalon Westergreen Signed-off-by: Joyce Ooi --- v2: no change --- .../devicetree/bindings/net/altera_tse.txt |

[PATCH net v1] net: rtw88: fix an issue about leak system resources

2020-05-04 Thread Dejin Zheng
the related system resources were not released when pci_iomap() return error in the rtw_pci_io_mapping() function. add pci_release_regions() to fix it. Fixes: e3037485c68ec1a ("rtw88: new Realtek 802.11ac driver") Cc: Andy Shevchenko Signed-off-by: Dejin Zheng --- drivers/net/wireless/realtek/r

Re: [PATCH 0/3] Tegra194 HW Fixes

2020-05-04 Thread Sameer Pujar
On 5/4/2020 1:59 PM, Takashi Iwai wrote: External email: Use caution opening links or attachments On Mon, 04 May 2020 10:16:13 +0200, Sameer Pujar wrote: This series proposes SW workarounds for Tegra194 HDA HW bugs. Following are the two issues seen: 1. GCAP register does not reflect true

[PATCH v2] checkpatch: allow commit description spans across three lines

2020-05-04 Thread Wang YanQing
The current GIT_COMMIT_ID will report error when the commit description spans across three lines, for examples: "... To rehash a previous explanation given in commit 1c44ce560b4d ("net: mscc: ocelot: fix vlan_filtering when enslaving to bridge before link is up"), the switch driver operates the in

RE: [PATCH net v1] net: rtw88: fix an issue about leak system resources

2020-05-04 Thread Tony Chuang
> Subject: [PATCH net v1] net: rtw88: fix an issue about leak system resources > > the related system resources were not released when pci_iomap() return > error in the rtw_pci_io_mapping() function. add pci_release_regions() to > fix it. > > Fixes: e3037485c68ec1a ("rtw88: new Realtek 802.11ac d

Re: [PATCH v5 1/2] ethtool: provide UAPI for PHY master/slave configuration.

2020-05-04 Thread Michal Kubecek
On Mon, May 04, 2020 at 10:04:17AM +0200, Oleksij Rempel wrote: > @Michal, > > i noticed that linkmodes_fill_reply() some times get not enough > tailroom. > if data->peer_empty == 0 > linkmodes_reply_size() size: 476 > linkmodes_fill_reply() skb tailroom: 724 > > > if data->peer_empty == 1 > lin

Re: [PATCH] mtd: Fix mtd not registered due to nvmem name collision

2020-05-04 Thread Miquel Raynal
Hi Richard, Ricardo Ribalda Delgado wrote on Thu, 30 Apr 2020 15:17:21 +0200: > From: Ricardo Ribalda Delgado > > When the nvmem framework is enabled, a nvmem device is created per mtd > device/partition. > > It is not uncommon that a device can have multiple mtd devices with > partitions tha

Re: [RFC PATCH] dt-bindings: net: nxp,tja11xx: add compatible support

2020-05-04 Thread Oleksij Rempel
Hi all, here is first attempt to rework this binding. So far I have following questions and/or issues: - currently this PHY is identified by ID, not by compatible. Should it be probed by compatible? Theoretically I can use: compatible = "nxp,tja1102", "ethernet-phy-ieee802.3-c22"; B

Re: [PATCH v2 2/4] PCI: cadence: Use "dma-ranges" instead of "cdns,no-bar-match-nbits" property

2020-05-04 Thread Kishon Vijay Abraham I
Hi Robin, On 5/1/2020 9:24 PM, Robin Murphy wrote: > On 2020-05-01 3:46 pm, Lorenzo Pieralisi wrote: >> [+Robin - to check on dma-ranges intepretation] >> >> I would need RobH and Robin to review this. >> >> Also, An ACK from Tom is required - for the whole series. >> >> On Fri, Apr 17, 2020 at 05

[PATCH v6] checkpatch: add support to check 'Fixes:' tag format

2020-05-04 Thread Wang YanQing
According to submitting-patches.rst, 'Fixes:' tag has a little stricter condition about the one line summary than normal git commit description: “... Do not split the tag across multiple lines, tags are exempt from the "wrap at 75 columns" rule in order to simplify parsing scripts ...” And there i

Re: [PATCH 1/1] s390/dasd: remove ioctl_by_bdev from DASD driver

2020-05-04 Thread Stefan Haberland
Am 30.04.20 um 16:02 schrieb Stefan Haberland: > Am 30.04.20 um 15:13 schrieb Christoph Hellwig: >> On Thu, Apr 30, 2020 at 01:17:54PM +0200, Stefan Haberland wrote: >>> Remove the calls to ioctl_by_bdev from the DASD partition detection code >>> to enable the removal of the specific code. >>> >>>

Re: [PATCH] selftests/ftrace: treat module requirement unmet situation as unsupported

2020-05-04 Thread Po-Hsu Lin
On Fri, May 1, 2020 at 9:59 AM Masami Hiramatsu wrote: > > Hi, > > On Wed, 29 Apr 2020 17:50:44 +0800 > Po-Hsu Lin wrote: > > > When the required module for the test does not exist, use > > exit_unsupported instead of exit_unresolved to indicate this test is > > not supported. > > Hmm, this doesn

Re: AVIC related warning in enable_irq_window

2020-05-04 Thread Suravee Suthikulpanit
Paolo / Maxim, On 5/2/20 11:42 PM, Paolo Bonzini wrote: On 02/05/20 15:58, Maxim Levitsky wrote: The AVIC is disabled by svm_toggle_avic_for_irq_window, which calls kvm_request_apicv_update, which broadcasts the KVM_REQ_APICV_UPDATE vcpu request, however it doesn't broadcast it to CPU on which

Re: [PATCH v3 10/75] x86/insn: Add insn_rep_prefix() helper

2020-05-04 Thread Borislav Petkov
On Tue, Apr 28, 2020 at 05:16:20PM +0200, Joerg Roedel wrote: > Subject: Re: [PATCH v3 10/75] x86/insn: Add insn_rep_prefix() helper s/insn_rep_prefix/insn_has_rep_prefix/ -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette

Re: [PATCH 0/3] Tegra194 HW Fixes

2020-05-04 Thread Sameer Pujar
On 5/4/2020 2:05 PM, Sameer Pujar wrote: On 5/4/2020 1:59 PM, Takashi Iwai wrote: External email: Use caution opening links or attachments On Mon, 04 May 2020 10:16:13 +0200, Sameer Pujar wrote: This series proposes SW workarounds for Tegra194 HDA HW bugs. Following are the two issues se

Re: [RFC][PATCH 1/4] devicetree: bindings: Add linux,cma-heap tag for reserved memory

2020-05-04 Thread Brian Starkey
On Fri, May 01, 2020 at 11:40:16AM -0700, John Stultz wrote: > On Fri, May 1, 2020 at 3:42 AM Brian Starkey wrote: > > > > Hi, > > > > On Fri, May 01, 2020 at 07:39:46AM +, John Stultz wrote: > > > This patch adds a linux,cma-heap property for CMA reserved memory > > > regions, which will be u

Re: [PATCH v4 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-05-04 Thread Ramuthevar, Vadivel MuruganX
Hi Boris, On 4/5/2020 3:17 pm, Boris Brezillon wrote: On Mon, 4 May 2020 15:15:08 +0800 "Ramuthevar, Vadivel MuruganX" wrote: Hi Boris, Thank you very much for the prompt review and suggestions... On 4/5/2020 3:08 pm, Boris Brezillon wrote: On Mon, 4 May 2020 10:02:35 +0800 "Ramuthevar

Re: [PATCH v2 4/4] PCI: cadence: Fix to read 32-bit Vendor ID/Device ID property from DT

2020-05-04 Thread Kishon Vijay Abraham I
Hi Lorenzo, On 5/1/2020 8:41 PM, Lorenzo Pieralisi wrote: > On Fri, Apr 17, 2020 at 05:13:22PM +0530, Kishon Vijay Abraham I wrote: >> The PCI Bus Binding specification (IEEE Std 1275-1994 Revision 2.1 [1]) >> defines both Vendor ID and Device ID to be 32-bits. Fix >> pcie-cadence-host.c driver to

linux-next: Fixes tag needs some work in the slave-dma-fixes tree

2020-05-04 Thread Stephen Rothwell
Hi all, In commit c76d6569de67 ("dmaengine: owl: Use correct lock in owl_dma_get_pchan()") Fixes tag Fixes: 47e20577c24d ("dmaengine: Add Actions Semi Owl family S900 DMA has these problem(s): - Subject has leading but no trailing parentheses - Subject has leading but no trailing quot

Re: [PATCH v5 1/2] ethtool: provide UAPI for PHY master/slave configuration.

2020-05-04 Thread Oleksij Rempel
On Mon, May 04, 2020 at 10:37:34AM +0200, Michal Kubecek wrote: > On Mon, May 04, 2020 at 10:04:17AM +0200, Oleksij Rempel wrote: > > @Michal, > > > > i noticed that linkmodes_fill_reply() some times get not enough > > tailroom. > > if data->peer_empty == 0 > > linkmodes_reply_size() size: 476 > >

Re: linux-next: Fixes tag needs some work in the slave-dma-fixes tree

2020-05-04 Thread Vinod Koul
On 04-05-20, 18:53, Stephen Rothwell wrote: > Hi all, > > In commit > > c76d6569de67 ("dmaengine: owl: Use correct lock in owl_dma_get_pchan()") > > Fixes tag > > Fixes: 47e20577c24d ("dmaengine: Add Actions Semi Owl family S900 DMA > > has these problem(s): > > - Subject has leading bu

Re: [PATCH] interconnect: Add helpers for enabling/disabling a path

2020-05-04 Thread Akash Asthana
Hi Georgi, On 4/28/2020 2:46 PM, Georgi Djakov wrote: There is a repeated pattern in multiple drivers where they want to switch the bandwidth between zero and some other value. This is happening often in the suspend/resume callbacks. Let's add helper functions to enable and disable the path, so

linux-next: Signed-off-by missing for commit in the tip tree

2020-05-04 Thread Stephen Rothwell
Hi all, Commit f080d93e1d41 ("sched/debug: Fix trival print_task() format") is missing a Signed-off-by from its author. Also, there should be a blank line before the commit message tags (it actually looks like the end of the commit message got truncated - probably by leading dahses on a line)

Re: [PATCH v4 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-05-04 Thread Boris Brezillon
On Mon, 4 May 2020 16:50:08 +0800 "Ramuthevar, Vadivel MuruganX" wrote: > Hi Boris, > > On 4/5/2020 3:17 pm, Boris Brezillon wrote: > > On Mon, 4 May 2020 15:15:08 +0800 > > "Ramuthevar, Vadivel MuruganX" > > wrote: > > > >> Hi Boris, > >> > >> Thank you very much for the prompt review a

Re: [PATCH v7 2/4] firmware: raspberrypi: Introduce vl805 init routine

2020-05-04 Thread Nicolas Saenz Julienne
Hi Stefan, thanks for the review! On Sat, 2020-05-02 at 11:05 +0200, Stefan Wahren wrote: > > + /* Make sure we don't trigger a firmware load unnecesarely * > s/unnecesarely/unnecessarily/ Noted > > + pci_read_config_dword(pdev, VL805_PCI_CONFIG_VERSION_OFFSET, &version); > pci_read_config_d

Re: s390 KVM warning in handle_pqap()

2020-05-04 Thread Christian Borntraeger
On 02.05.20 04:38, Qian Cai wrote: > This line, > > if (WARN_ON_ONCE(fc != 0x03)) > > qemu-kvm-2.12.0-99.module+el8.2.0+5827+8c39933c with this kernel config, > > https://raw.githubusercontent.com/cailca/linux-mm/master/s390.config > > # /usr/libexec/qemu-kvm -name ubuntu-18.04-server-cloudi

Re: [PATCH V2 6/8] phy: tegra: xusb: Add support for charger detect

2020-05-04 Thread Nagarjuna Kristam
>On 28-04-2020 16:25, Thierry Reding wrote: On Wed, Apr 15, 2020 at 01:55:06PM +0530, Nagarjuna Kristam wrote: Perform charger-detect operation if corresponding dt property is enabled. Update usb-phy with the detected charger state and max current values. Register charger-detect API's of usb-p

  1   2   3   4   5   6   7   8   9   10   >