Re: [PATCH v4 03/13] x86/platform/uv: Adjust references in UV kernel modules

2020-10-06 Thread Borislav Petkov
Sending the updated version to the lists too so that it gets archived properly. --- From: Mike Travis Date: Tue, 6 Oct 2020 16:34:27 -0500 Subject: [PATCH] drivers/misc/sgi-xp: Adjust references in UV kernel modules Remove the define is_uv() is_uv_system and just use the latter as is. This remov

Re: [PATCH V8 2/5] mfd: Intel Platform Monitoring Technology support

2020-10-06 Thread Lee Jones
On Fri, 02 Oct 2020, David E. Box wrote: > Intel Platform Monitoring Technology (PMT) is an architecture for > enumerating and accessing hardware monitoring facilities. PMT supports > multiple types of monitoring capabilities. This driver creates platform > devices for each type so that they may b

Re: [PATCH] MIPS: pgtable: Remove used PAGE_USERIO define

2020-10-06 Thread Thomas Bogendoerfer
On Wed, Oct 07, 2020 at 10:11:46AM +0800, Huacai Chen wrote: > s/used/unused/g, but it is too late, I'm sorry. d'oh, I should probably wait a day longer before applying. Thank you for your feedback. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good ide

Re: [PATCH V8 1/5] PCI: Add defines for Designated Vendor-Specific Extended Capability

2020-10-06 Thread Lee Jones
On Tue, 06 Oct 2020, David E. Box wrote: > On Tue, 2020-10-06 at 19:51 -0500, Bjorn Helgaas wrote: > > On Tue, Oct 06, 2020 at 03:45:54PM -0700, David E. Box wrote: > > > Hi Bjorn, > > > > > > This patch has been acked and unchanged for weeks. Is it possible > > > to > > > get this pulled into ne

Re: [PATCH 2/2] off_t.3: New link to system_data_types(7)

2020-10-06 Thread Michael Kerrisk (man-pages)
On 10/6/20 12:12 AM, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar Thanks, Alex. Patch applied. Cheers, Michael > --- > man3/off_t.3 | 1 + > 1 file changed, 1 insertion(+) > create mode 100644 man3/off_t.3 > > diff --git a/man3/off_t.3 b/man3/off_t.3 > new file mode 100644 >

Re: [PATCH 1/2] system_data_types.7: Add 'off_t'

2020-10-06 Thread Michael Kerrisk (man-pages)
On 10/6/20 12:12 AM, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar Hi Alex, Thanks, patch applied. And I trimmed the "See also" a little. I'd hold off on documenting loff_t and off64_t for the moment. As you note in another mail, the *lseek* man page situation is a bit of a mess.

Re: Navigational corrections

2020-10-06 Thread Michael Kerrisk (man-pages)
On 10/6/20 12:08 AM, Alejandro Colomar wrote: > Hi Michael, > > On 2020-10-03 13:39, Michael Kerrisk (man-pages) wrote: >> Hi Alex, > [...] >> >> off_t would be great. >> >> In case you are looking for some other candidates, some others >> that I would be interested to see go into the page would b

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

2020-10-06 Thread Vinod Koul
On 30-09-20, 12:14, Peter Ujfalusi wrote: > Glue layer users should use the device of the DMA for DMA mapping and > allocations as it is the DMA which accesses to descriptors and buffers, > not the clients > > Signed-off-by: Peter Ujfalusi > --- > drivers/dma/ti/k3-udma-glue.c| 14 ++

Re: [PATCH v4 02/13] x86/platform/uv: Remove SCIR MMR references for UVY systems.

2020-10-06 Thread Borislav Petkov
On Tue, Oct 06, 2020 at 06:11:04PM -0700, Mike Travis wrote: > I thought there was more references to the UVY class which currently has > only UV5 as a member. There might be UV5 references where they should be > UVY. The struct references use "uvy" as the selector so the grep should > look for u

[PATCH] vdpa/mlx5: Fix dependency on MLX5_CORE

2020-10-06 Thread Eli Cohen
Remove propmt for selecting MLX5_VDPA by the user and modify MLX5_VDPA_NET to select MLX5_VDPA. Also modify MLX5_VDPA_NET to depend on mlx5_core. This fixes an issue where configuration sets 'y' for MLX5_VDPA_NET while MLX5_CORE is compiled as a module causing link errors. Reported-by: kernel tes

Re: [PATCH v5] checkpatch: add new warnings to author signoff checks.

2020-10-06 Thread Dwaipayan Ray
On Wed, Oct 7, 2020 at 12:03 PM Dwaipayan Ray wrote: > > The author signed-off-by checks are currently very vague. > Cases like same name or same address are not handled separately. > > For example, running checkpatch on commit be6577af0cef > ("parisc: Add atomic64_set_release() define to avoid CP

[GIT PULL] xen: branch for v5.9-rc9

2020-10-06 Thread Juergen Gross
Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-5.9b-rc9-tag xen: branch for v5.9-rc9 It contains one fix for a regression when booting as a Xen guest on ARM64 introduced probably during the 5.9 cycle. It is very low risk as it is

[gustavoars-linux:testing/drm/amd/pm/phm_ppt_v1] BUILD SUCCESS dc151e43a9835a68c4c612dfa38b5c6b7d99079e

2020-10-06 Thread kernel test robot
-a012-20201005 x86_64 randconfig-a004-20201006 x86_64 randconfig-a002-20201006 x86_64 randconfig-a001-20201006 x86_64 randconfig-a005-20201006 x86_64 randconfig-a003-20201006 x86_64 randconfig-a006-20201006 riscv

[gustavoars-linux:testing/drm/amd/pm/ATOM_Vega10] BUILD SUCCESS 797ab03c31b7210c513e520b166919770cc7c6ab

2020-10-06 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/drm/amd/pm/ATOM_Vega10 branch HEAD: 797ab03c31b7210c513e520b166919770cc7c6ab drm/amd/pm: Replace one-element array with flexible-array in struct ATOM_Vega10_GFXCLK_Dependency_Table elapsed time: 722m c

[gustavoars-linux:testing/drm/amd/pm/phm_ppt_v1_vol] BUILD SUCCESS a8e30a030d28c6ad94dbcec885536fd7bb8947f2

2020-10-06 Thread kernel test robot
randconfig-a013-20201005 i386 randconfig-a016-20201005 i386 randconfig-a011-20201005 i386 randconfig-a012-20201005 x86_64 randconfig-a004-20201006 x86_64 randconfig-a002-20201006 x86_64 randconfig-a001

[gustavoars-linux:testing/drm/amd/pm/phm_ppt_v1_mm] BUILD SUCCESS b83c3eff4d97ce6ceaa11209ad8af4831f93a4be

2020-10-06 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/drm/amd/pm/phm_ppt_v1_mm branch HEAD: b83c3eff4d97ce6ceaa11209ad8af4831f93a4be drm/amd/pm: Replace one-element array with flexible-array in struct phm_ppt_v1_mm_clock_voltage_dependency_table elapsed ti

Re: [PATCH] crypto: xor - Remove unused variable count in do_xor_speed

2020-10-06 Thread Ard Biesheuvel
On Tue, 6 Oct 2020 at 21:59, Nathan Chancellor wrote: > > Clang warns: > > crypto/xor.c:101:4: warning: variable 'count' is uninitialized when used > here [-Wuninitialized] > count++; > ^ > crypto/xor.c:86:17: note: initialize the variable 'count

[PATCH v5] checkpatch: add new warnings to author signoff checks.

2020-10-06 Thread Dwaipayan Ray
The author signed-off-by checks are currently very vague. Cases like same name or same address are not handled separately. For example, running checkpatch on commit be6577af0cef ("parisc: Add atomic64_set_release() define to avoid CPU soft lockups"), gives: WARNING: Missing Signed-off-by: line by

Re: SPARC version of arch_validate_prot() looks broken (UAF read)

2020-10-06 Thread Jann Horn
On Wed, Oct 7, 2020 at 8:17 AM Christoph Hellwig wrote: > On Wed, Oct 07, 2020 at 02:45:39AM +0200, Jann Horn wrote: > > > I think arch_validate_prot() is still the right hook to validate the > > > protection bits. sparc_validate_prot() can iterate over VMAs with read > > > lock. This will, of cou

Re: [PATCH v2 00/29] [Set 1,2,3] Rid W=1 warnings in Wireless

2020-10-06 Thread Luca Coelho
On Tue, 2020-10-06 at 10:10 +0300, Kalle Valo wrote: > Lee Jones writes: > > > On Tue, 06 Oct 2020, Kalle Valo wrote: > > > > > Lee Jones writes: > > > > > > > On Thu, 10 Sep 2020, Lee Jones wrote: > > > > > > > > > This is a rebased/re-worked set of patches which have been > > > > > previous

Re: [PATCH v7 07/12] ARM: dts: exynos: Fix schema warnings for pwm-leds

2020-10-06 Thread Krzysztof Kozlowski
On Mon, 5 Oct 2020 at 22:36, Alexander Dahl wrote: > > The node names for devices using the pwm-leds driver follow a certain > naming scheme (now). Parent node name is not enforced, but recommended > by DT project. > > DTC arch/arm/boot/dts/exynos5410-odroidxu.dt.yaml > CHECK arch/arm/b

Re: [PATCH 2/3] drm/msm: add DRM_MSM_GEM_SYNC_CACHE for non-coherent cache maintenance

2020-10-06 Thread Christoph Hellwig
On Tue, Oct 06, 2020 at 09:19:32AM -0400, Jonathan Marek wrote: > One example why drm/msm can't use DMA API is multiple page table support > (that is landing in 5.10), which is something that definitely couldn't work > with DMA API. > > Another one is being able to choose the address for mappings,

Re: [PATCH 8/8] WIP: add a dma_alloc_contiguous API

2020-10-06 Thread Christoph Hellwig
On Tue, Oct 06, 2020 at 10:56:04PM +0200, Tomasz Figa wrote: > > Yes. And make sure the API isn't implemented when VIVT caches are > > used, but that isn't really different from the current interface. > > Okay, thanks. Let's see if we can make necessary changes to the videobuf2. > > +Sergey Seno

Re: SPARC version of arch_validate_prot() looks broken (UAF read)

2020-10-06 Thread Christoph Hellwig
On Wed, Oct 07, 2020 at 02:45:39AM +0200, Jann Horn wrote: > > I think arch_validate_prot() is still the right hook to validate the > > protection bits. sparc_validate_prot() can iterate over VMAs with read > > lock. This will, of course, require range as well to be passed to > > arch_validate_prot

[PATCH net-next v2 14/16] net/mlx5: Add support for fw live patch event

2020-10-06 Thread Moshe Shemesh
Firmware live patch event notifies the driver that the firmware was just updated using live patch. In such case the driver should not reload or re-initiate entities, part to updating the firmware version and re-initiate the firmware tracer which can be updated by live patch with new strings databas

[PATCH net-next v2 16/16] devlink: Add Documentation/networking/devlink/devlink-reload.rst

2020-10-06 Thread Moshe Shemesh
Add devlink reload rst documentation file. Update index file to include it. Signed-off-by: Moshe Shemesh --- v1 -> v2: - Split first paragraph of devlink reload description to 2 sentences RFCv5 -> v1: - Rename reload_action_limit_level to reload_limit RFCv4 -> RFCv5: - Rephrase namespace change s

[PATCH net-next v2 15/16] net/mlx5: Add support for devlink reload limit no reset

2020-10-06 Thread Moshe Shemesh
Add support for devlink reload action fw_activate with reload limit no_reset which does firmware live patching, updating the firmware image without reset, no downtime and no configuration lose. The driver checks if the firmware is capable of handling the pending firmware changes as a live patch. If

Re: [PATCH bpf-next] kernel/bpf/verifier: fix build when NET is not enabled

2020-10-06 Thread Yonghong Song
On 10/6/20 7:16 PM, Randy Dunlap wrote: Fix build errors in kernel/bpf/verifier.c when CONFIG_NET is not enabled. ../kernel/bpf/verifier.c:3995:13: error: ‘btf_sock_ids’ undeclared here (not in a function); did you mean ‘bpf_sock_ops’? .btf_id = &btf_sock_ids[BTF_SOCK_TYPE_SOCK_COMMON],

Hello greetings

2020-10-06 Thread Dawuda Usman
Dear Friend, I am Mr. Dawuda Usman working with the department of Audit and accounting manager here in the Bank, There is this fund that was keep in my custody years ago,please I need your assistance for the transferring of this fund to your bank account for both of us benefit for life time inv

Re: [PATCH v2] arm64: dts: qcom: sc7180-trogdor: Add lpass dai link for I2S driver

2020-10-06 Thread kernel test robot
Hi Srinivasa, Thank you for the patch! Yet something to improve: [auto build test ERROR on next-20201006] [cannot apply to robh/for-next v5.9-rc8 v5.9-rc7 v5.9-rc6 v5.9-rc8] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use

Re: [PATCH 4/4] mailbox: arm_mhu: Add ARM MHU doorbell driver

2020-10-06 Thread Viresh Kumar
On 28-09-20, 12:44, Sudeep Holla wrote: > The MHU drives the signal using a 32-bit register, with all 32 bits > logically ORed together. The MHU provides a set of registers to enable > software to set, clear, and check the status of each of the bits of this > register independently. The use of 32 b

[PATCH net-next v2 09/16] net/mlx5: Handle sync reset now event

2020-10-06 Thread Moshe Shemesh
On sync_reset_now event the driver does reload and PCI link toggle to activate firmware upgrade reset. When the firmware sends this event it syncs the event on all PFs, so all PFs will do PCI link toggle at once. To do PCI link toggle, the driver ensures that no other device ID under the same bridg

[PATCH net-next v2 10/16] net/mlx5: Handle sync reset abort event

2020-10-06 Thread Moshe Shemesh
If firmware sends sync_reset_abort to driver the driver should clear the reset requested mode as reset is not expected any more. Signed-off-by: Moshe Shemesh Reviewed-by: Saeed Mahameed --- .../net/ethernet/mellanox/mlx5/core/fw_reset.c| 15 +++ 1 file changed, 15 insertions(+)

[PATCH net-next v2 13/16] net/mlx5: Add devlink param enable_remote_dev_reset support

2020-10-06 Thread Moshe Shemesh
The enable_remote_dev_reset devlink param flags that the host admin allows resets by other hosts. In case it is cleared mlx5 host PF driver will send NACK on pci sync for firmware update reset request and the command will fail. By default enable_remote_dev_reset parameter is true, so pci sync for f

[PATCH net-next v2 03/16] devlink: Add devlink reload limit option

2020-10-06 Thread Moshe Shemesh
Add reload limit to demand restrictions on reload actions. Reload limits supported: no_reset: No reset allowed, no down time allowed, no link flap and no configuration is lost. By default reload limit is unspecified and so no constraints on reload actions are required. Some combinations

[PATCH net-next v2 06/16] net/mlx5: Add functions to set/query MFRL register

2020-10-06 Thread Moshe Shemesh
Add functions to query and set the MFRL reset options supported by firmware. Signed-off-by: Moshe Shemesh Reviewed-by: Saeed Mahameed --- RFCv5 -> v1: - Renamed non-static functions to have module prefix --- .../net/ethernet/mellanox/mlx5/core/Makefile | 2 +- .../ethernet/mellanox/mlx5/core/

[PATCH net-next v2 04/16] devlink: Add reload stats

2020-10-06 Thread Moshe Shemesh
Add reload stats to hold the history per reload action type and limit. For example, the number of times fw_activate has been performed on this device since the driver module was added or if the firmware activation was performed with or without reset. Add devlink notification on stats update. Exp

[PATCH net-next v2 07/16] net/mlx5: Set cap for pci sync for fw update event

2020-10-06 Thread Moshe Shemesh
Set capability to notify the firmware that this host driver is capable of handling pci sync for firmware update events. Signed-off-by: Moshe Shemesh Reviewed-by: Saeed Mahameed --- drivers/net/ethernet/mellanox/mlx5/core/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/

[PATCH net-next v2 05/16] devlink: Add remote reload stats

2020-10-06 Thread Moshe Shemesh
Add remote reload stats to hold the history of actions performed due devlink reload commands initiated by remote host. For example, in case firmware activation with reset finished successfully but was initiated by remote host. The function devlink_remote_reload_actions_performed() is exported to e

[PATCH net-next v2 12/16] devlink: Add enable_remote_dev_reset generic parameter

2020-10-06 Thread Moshe Shemesh
The enable_remote_dev_reset devlink param flags that the host admin allows device resets that can be initiated by other hosts. This parameter is useful for setups where a device is shared by different hosts, such as multi-host setup. Once the user set this parameter to false, the driver should NACK

[PATCH net-next v2 00/16] Add devlink reload action and limit options

2020-10-06 Thread Moshe Shemesh
Introduce new options on devlink reload API to enable the user to select the reload action required and constrains limits on these actions that he may want to ensure. Complete support for reload actions in mlx5. The following reload actions are supported: driver_reinit: driver entities re-initial

[PATCH net-next v2 01/16] devlink: Change devlink_reload_supported() param type

2020-10-06 Thread Moshe Shemesh
Change devlink_reload_supported() function to get devlink_ops pointer param instead of devlink pointer param. This change will be used in the next patch to check if devlink reload is supported before devlink instance is allocated. Signed-off-by: Moshe Shemesh Reviewed-by: Jakub Kicinski Reviewed

[PATCH net-next v2 08/16] net/mlx5: Handle sync reset request event

2020-10-06 Thread Moshe Shemesh
Once the driver gets sync_reset_request from firmware it prepares for the coming reset and sends acknowledge. After getting this event the driver expects device reset, either it will trigger PCI reset on sync_reset_now event or such PCI reset will be triggered by another PF of the same device. So i

[PATCH net-next v2 11/16] net/mlx5: Add support for devlink reload action fw activate

2020-10-06 Thread Moshe Shemesh
Add support for devlink reload action fw_activate. To activate firmware image the mlx5 driver resets the firmware and reloads it from flash. If a new image was stored on flash it will be loaded. Once this reload command is executed the driver initiates fw sync reset flow, where the firmware synchro

[PATCH net-next v2 02/16] devlink: Add reload action option to devlink reload command

2020-10-06 Thread Moshe Shemesh
Add devlink reload action to allow the user to request a specific reload action. The action parameter is optional, if not specified then devlink driver re-init action is used (backward compatible). Note that when required to do firmware activation some drivers may need to reload the driver. On the

Re: [DISCUSSION PATCH 00/41] random: possible ways towards NIST SP800-90B compliance

2020-10-06 Thread Stephan Mueller
Am Mittwoch, 7. Oktober 2020, 06:24:09 CEST schrieb Eric Biggers: Hi Eric, > > Note that having multiple RNG implementations would cause fragmentation, > more maintenance burden, etc. So IMO, that should be a last resort. > Instead we should try to find an implementation that works for everyone

Re: [PATCH] misc: Kconfig: add a new dependency for HISI_HIKEY_USB

2020-10-06 Thread Randy Dunlap
On 10/6/20 10:09 PM, Mauro Carvalho Chehab wrote: > As warned by Randy: > > on x86_64: > CONFIG_USB_ROLE_SWITCH=m > and HISI_HIKEY_USB=y. > > ld: drivers/misc/hisi_hikey_usb.o: in function `hisi_hikey_usb_remove': > hisi_hikey_usb.c:(.text+0x61): undefined reference

Re: [PATCH] arm/arm64: xen: Fix to convert percpu address to gfn correctly

2020-10-06 Thread Masami Hiramatsu
On Tue, 6 Oct 2020 10:56:52 -0700 (PDT) Stefano Stabellini wrote: > On Tue, 6 Oct 2020, Masami Hiramatsu wrote: > > On Mon, 5 Oct 2020 18:13:22 -0700 (PDT) > > Stefano Stabellini wrote: > > > > > On Mon, 5 Oct 2020, Julien Grall wrote: > > > > Hi Masami, > > > > > > > > On 05/10/2020 14:39, Ma

Re: [PATCH 1/7] 9P: Cast to loff_t before multiplying

2020-10-06 Thread Christoph Hellwig
On Sun, Oct 04, 2020 at 07:04:22PM +0100, Matthew Wilcox (Oracle) wrote: > On 32-bit systems, this multiplication will overflow for files larger > than 4GB. > > Cc: sta...@vger.kernel.org > Fixes: fb89b45cdfdc ("9P: introduction of a new cache=mmap model.") > Signed-off-by: Matthew Wilcox (Oracle)

RE: [PATCH 0/3] Enable USB host for AST2600

2020-10-06 Thread Ryan Chen
Hello Joel, Have you take time review this patches ? Ryan Chen Tel : 886-3-5751185 ext:8857 > -Original Message- > From: Ryan Chen > Sent: Wednesday, September 30, 2020 12:08 PM > To: Joel Stanley ; Andrew Jeffery ; > linux-arm-ker...@lists.infradead.org; linux-asp...@lists.ozl

Re: [PATCH v2] mtd: spi-nor: Fix address width on flash chips > 16MB

2020-10-06 Thread Cédric Le Goater
On 10/7/20 3:51 AM, Joel Stanley wrote: > On Sun, 4 Oct 2020 at 21:33, Bert Vermeulen wrote: >> >> If a flash chip has more than 16MB capacity but its BFPT reports >> BFPT_DWORD1_ADDRESS_BYTES_3_OR_4, the spi-nor framework defaults to 3. >> >> The check in spi_nor_set_addr_width() doesn't catch it

Re: [PATCH 01/18] dmaengine: of-dma: Add support for optional router configuration callback

2020-10-06 Thread Vinod Koul
Hi Peter, On 30-09-20, 12:13, Peter Ujfalusi wrote: > Additional configuration for the DMA event router might be needed for a > channel which can not be done during device_alloc_chan_resources callback > since the router information is not yet present for the drivers. > > If there is a need for a

Re: [PATCH net-next 05/16] devlink: Add remote reload stats

2020-10-06 Thread Moshe Shemesh
On 10/5/2020 10:12 PM, Jacob Keller wrote: On 10/4/2020 12:09 AM, Moshe Shemesh wrote: On 10/3/2020 12:05 PM, Jiri Pirko wrote: Thu, Oct 01, 2020 at 03:59:08PM CEST, mo...@mellanox.com wrote: Add remote reload stats to hold the history of actions performed due devlink reload commands initia

Re: [PATCH -v2 15/17] sched: Fix migrate_disable() vs rt/dl balancing

2020-10-06 Thread Juri Lelli
On 06/10/20 16:48, Peter Zijlstra wrote: > On Tue, Oct 06, 2020 at 04:37:04PM +0200, Juri Lelli wrote: > > On 06/10/20 15:48, Peter Zijlstra wrote: > > > On Tue, Oct 06, 2020 at 12:20:43PM +0100, Valentin Schneider wrote: > > > > > > > > On 05/10/20 15:57, Peter Zijlstra wrote: > > > > > In order

[PATCH v2] ALSA: hda/realtek: Enable audio jacks of ASUS D700SA with ALC887

2020-10-06 Thread Jian-Hong Pan
The ASUS D700SA desktop's audio (1043:2390) with ALC887 cannot detect the headset microphone and another headphone jack until ALC887_FIXUP_ASUS_HMIC and ALC887_FIXUP_ASUS_AUDIO quirks are applied. The NID 0x15 maps as the headset microphone and NID 0x19 maps as another headphone jack. Also need the

Re: [PATCH v2] cpufreq: stats: Add memory barrier to store_reset()

2020-10-06 Thread Viresh Kumar
On 06-10-20, 21:43, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > There is nothing to prevent the CPU or the compiler from reordering > the writes to stats->reset_time and stats->reset_pending in > store_reset(), in which case the readers of stats->reset_time may see > a stale value. Mo

Re: [PATCH 1/4] drivers core: Introduce CPU type sysfs interface

2020-10-06 Thread Greg Kroah-Hartman
On Tue, Oct 06, 2020 at 08:14:47PM -0700, Ricardo Neri wrote: > On Tue, Oct 06, 2020 at 09:37:44AM +0200, Greg Kroah-Hartman wrote: > > On Mon, Oct 05, 2020 at 05:57:36PM -0700, Ricardo Neri wrote: > > > On Sat, Oct 03, 2020 at 10:53:45AM +0200, Greg Kroah-Hartman wrote: > > > > On Fri, Oct 02, 202

Re: [PATCH 1/2] cpufreq,arm,arm64: restructure definitions of arch_set_freq_scale()

2020-10-06 Thread Viresh Kumar
On 24-09-20, 13:30, Ionela Voinescu wrote: > Compared to other arch_* functions, arch_set_freq_scale() has an atypical > weak definition that can be replaced by a strong architecture specific > implementation. > > The more typical support for architectural functions involves defining > an empty st

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

2020-10-06 Thread kernel test robot
Hi Gene, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on pavel-linux-leds/for-next] [also build test WARNING on v5.9-rc8 next-20201006] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '-

Re: [PATCH] cpufreq: schedutil: Simplify sugov_fast_switch()

2020-10-06 Thread Viresh Kumar
On 06-10-20, 14:01, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Drop a redundant local variable definition from sugov_fast_switch() > and rearrange the code in there to avoid the redundant logical > negation. > > Signed-off-by: Rafael J. Wysocki > --- > > The code reads a bit easier

[PATCH] misc: Kconfig: add a new dependency for HISI_HIKEY_USB

2020-10-06 Thread Mauro Carvalho Chehab
As warned by Randy: on x86_64: CONFIG_USB_ROLE_SWITCH=m and HISI_HIKEY_USB=y. ld: drivers/misc/hisi_hikey_usb.o: in function `hisi_hikey_usb_remove': hisi_hikey_usb.c:(.text+0x61): undefined reference to `usb_role_switch_unregister' ld: hisi_hikey_

[PATCH v3 0/2] PM / devfreq: Add governor feature and attribute flag

2020-10-06 Thread Chanwoo Choi
Each devfreq governor can have the different sysfs attributes and features. In order to provide the only available sysfs attribute to user-space, add governor attribute flag with DEVFREQ_GOV_ATTR_[attribute name] defintion. Also, each governor is able to have the specific flag in order to support

[PATCH v3 2/2] PM / devfreq: Add governor attribute flag for specifc sysfs nodes

2020-10-06 Thread Chanwoo Choi
DEVFREQ supports the default governors like performance, simple_ondemand and also allows the devfreq driver to add their own governor like tegra30-devfreq.c according to their requirement. In result, some sysfs attributes are useful or not useful. Prior to that the user can access all sysfs attribu

[PATCH v3 1/2] PM / devfreq: Add governor feature flag

2020-10-06 Thread Chanwoo Choi
The devfreq governor is able to have the specific flag as follows in order to implement the specific feature. For example, devfreq allows user to change the governors on runtime via sysfs interface. But, if devfreq device uses 'passive' governor, don't allow user to change the governor. For this ca

Re: linux-next: manual merge of the akpm-current tree with the risc-v tree

2020-10-06 Thread Atish Patra
On Tue, 2020-10-06 at 21:32 -0700, Palmer Dabbelt wrote: > On Tue, 06 Oct 2020 03:39:06 PDT (-0700), Stephen Rothwell wrote: > > Hi all, > > > > Today's linux-next merge of the akpm-current tree got a conflict > > in: > > > > arch/riscv/mm/init.c > > > > between commit: > > > > c29c38fa2a8b

[PATCH v2 2/2] scsi: arcmsr: use round_up() instead of logical operation

2020-10-06 Thread ching Huang
From: ching Huang Use round_up() instead of logical operation. Reported-by: Martin K. Petersen Signed-off-by: ching Huang --- diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c index 55d85c9..1e358d9 100644 --- a/drivers/scsi/arcmsr/arcmsr_hba.c +++ b/drivers/scs

Re: [PATCH v2] Bluetooth: Move force_bredr_smp debugfs into hci_debugfs_create_bredr

2020-10-06 Thread Claire Chang
Hi, This patch is to fix the kernel error [ 46.271811] debugfs: File 'force_bredr_smp' in directory 'hci0' already present! When powering off and on the bluetooth, the smp_register will try to create the force_bredr_smp entry again. Move the creation to hci_debugfs_create_bredr so the force_bre

[PATCH v2 1/2] scsi: arcmsr: fix warning: right shift count >= width of type

2020-10-06 Thread ching Huang
From: ching Huang Fix warning: right shift count >= width of type. Reported-by: kernel test robot Signed-off-by: ching Huang --- diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c index be6fb72..55d85c9 100644 --- a/drivers/scsi/arcmsr/arcmsr_hba.c +++ b/drivers/

Re: [PATCH v39 21/24] x86/vdso: Implement a vDSO for Intel SGX enclave call

2020-10-06 Thread Sean Christopherson
On Wed, Oct 07, 2020 at 06:14:02AM +0300, Jarkko Sakkinen wrote: > On Tue, Oct 06, 2020 at 06:17:38PM -0700, Sean Christopherson wrote: > > On Wed, Oct 07, 2020 at 03:22:36AM +0300, Jarkko Sakkinen wrote: > > > > And then a third flavor comes along, e.g. Jethro's request interrupt > > > > case, >

[PATCH v2 0/2] scsi: arcmsr: fix warning: right shift count >= width of type

2020-10-06 Thread ching Huang
This patch is against to mkp's 5.10/scsi-staging. 1. fix warning: right shift count >= width of type. 2. use round_up() instead of logical operation. ---

Re: linux-next: manual merge of the akpm-current tree with the risc-v tree

2020-10-06 Thread Palmer Dabbelt
On Tue, 06 Oct 2020 03:39:06 PDT (-0700), Stephen Rothwell wrote: Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: arch/riscv/mm/init.c between commit: c29c38fa2a8b ("RISC-V: Remove any memblock representing unusable memory area") from the risc-v tree and comm

Re: [PATCH 2/2] PCI: vmd: Enable ASPM for mobile platforms

2020-10-06 Thread Kai-Heng Feng
> On Oct 6, 2020, at 03:19, Bjorn Helgaas wrote: > > [+cc Ian, who's also working on an ASPM issue] > > On Tue, Oct 06, 2020 at 02:40:32AM +0800, Kai-Heng Feng wrote: >>> On Oct 3, 2020, at 06:18, Bjorn Helgaas wrote: >>> On Wed, Sep 30, 2020 at 04:24:54PM +0800, Kai-Heng Feng wrote: BI

Re: [DISCUSSION PATCH 00/41] random: possible ways towards NIST SP800-90B compliance

2020-10-06 Thread Eric Biggers
On Fri, Oct 02, 2020 at 02:38:36PM +0200, Torsten Duwe wrote: > Almost two weeks passed and these are the "relevant" replies: > > Jason personally does not like FIPS, and is afraid of > "subpar crypto". Albeit this patch set strictly isn't about > crypto at all; the crypto subsystem is in the unlu

Re: [PATCH v7 0/3] PCI: uniphier: Add PME/AER support for UniPhier PCIe host controller

2020-10-06 Thread Kunihiko Hayashi
Hi, Gentle ping. Are there any comments about this series? Thank you, On 2020/09/11 18:33, Kunihiko Hayashi wrote: The original subject up to v6 is "PCI: uniphier: Add features for UniPhier PCIe host controller". This adds a new function called by MSI handler in DesignWare PCIe framework, tha

Re: [PATCH] random: fix the RNDRESEEDCRNG ioctl

2020-10-06 Thread Jann Horn
On Wed, Sep 16, 2020 at 6:19 AM Eric Biggers wrote: > The RNDRESEEDCRNG ioctl reseeds the primary_crng from itself, which > doesn't make sense. Reseed it from the input_pool instead. Good catch. (And its purpose is to ensure that entropy from random_write() is plumbed all the way through such th

Re: [PATCH] riscv: Fixup bootup failure with HARDENED_USERCOPY

2020-10-06 Thread Palmer Dabbelt
On Tue, 06 Oct 2020 09:49:33 PDT (-0700), guo...@kernel.org wrote: From: Guo Ren As Aurelien has reported: [3.484586] AppArmor: AppArmor sha1 policy hashing enabled [4.749835] Freeing unused kernel memory: 492K [4.752017] Run /init as init process [4.753571] usercopy: Kernel me

[PATCH] usb: cdns3: Add static to cdns3_gadget_exit function

2020-10-06 Thread Pawel Laszczak
Function cdns3_gadget_exit is used only in gadget.c file. This patch removes declaration and definition of this function from gadget-export.h file and makes it static. Signed-off-by: Pawel Laszczak --- drivers/usb/cdns3/gadget-export.h | 3 --- drivers/usb/cdns3/gadget.c| 2 +- 2 files c

[PATCH] net: wireless: nl80211: fix out-of-bounds access in nl80211_del_key()

2020-10-06 Thread Anant Thazhemadam
In nl80211_parse_key(), key.idx is first initialized as -1. If this value of key.idx remains unmodified and gets returned, and nl80211_key_allowed() also returns 0, then rdev_del_key() gets called with key.idx = -1. This causes an out-of-bounds array access. Handle this issue by checking if the

Re: [PATCH] random: initialize ChaCha20 constants with correct endianness

2020-10-06 Thread Eric Biggers
On Fri, Sep 18, 2020 at 02:57:05PM -0700, Eric Biggers wrote: > On Fri, Sep 18, 2020 at 04:42:07PM -0400, Theodore Y. Ts'o wrote: Ted, any further feedback on this? Are you planning to apply this patch? - Eric

[PATCH 3/4] platform/x86: intel_pmc_core: fix: Replace dev_dbg macro with dev_info()

2020-10-06 Thread David E. Box
From: Gayatri Kammela dev_dbg macro is used to dump the debug registers in resume from an S0ix failure. However, when CONFIG_DYNAMIC_DEBUG is not set, the user may not be able to find the debug dump on an S0ix failure which defeats the purpose. The output of these messages is already controlled b

Re: [PATCH] random: remove dead code left over from blocking pool

2020-10-06 Thread Eric Biggers
On Tue, Sep 15, 2020 at 09:36:52PM -0700, Eric Biggers wrote: > From: Eric Biggers > > Remove some dead code that was left over following commit 90ea1c6436d2 > ("random: remove the blocking pool"). > > Signed-off-by: Eric Biggers Ping?

[PATCH 2/4] platform/x86: intel_pmc_core: Add Intel RocketLake (RKL) support

2020-10-06 Thread David E. Box
From: Gayatri Kammela Add RocketLake to the list of the platforms that intel_pmc_core driver supports for pmc_core device. RocketLake reuses all the TigerLake PCH IPs. Cc: Srinivas Pandruvada Cc: Andy Shevchenko Cc: David E. Box Cc: Tony Luck Cc: Rui Zhang Signed-off-by: Gayatri Kammela Si

[PATCH 1/4] platform/x86: intel_pmc_core: Clean up: Remove the duplicate comments and reorganize

2020-10-06 Thread David E. Box
From: Gayatri Kammela Some of the Cannon Lake PCH IPs are reused by most of the platforms such as Ice Lake, Tiger Lake, Elkhart Lake, Jasper Lake and can be reused by future platforms as well. The same was mentioned via comments not once but twice in an array of bit map structs for Cannon Lake (c

Re: [PATCH] random: fix the RNDRESEEDCRNG ioctl

2020-10-06 Thread Eric Biggers
On Tue, Sep 15, 2020 at 09:19:08PM -0700, Eric Biggers wrote: > From: Eric Biggers > > The RNDRESEEDCRNG ioctl reseeds the primary_crng from itself, which > doesn't make sense. Reseed it from the input_pool instead. > > Fixes: d848e5f8e1eb ("random: add new ioctl RNDRESEEDCRNG") > Cc: sta...@vg

[PATCH 0/4] pmc_core: Add RocketLake and other changes

2020-10-06 Thread David E. Box
Add RocketLake platform support and other driver maintainance. Gayatri Kammela (4): platform/x86: intel_pmc_core: Clean up: Remove the duplicate comments and reorganize platform/x86: intel_pmc_core: Add Intel RocketLake (RKL) support platform/x86: intel_pmc_core: fix: Replace dev_dbg mac

Re: [PATCH] scsi: qedf: remove redundant assignment to variable 'rc'

2020-10-06 Thread Martin K. Petersen
On Thu, 17 Sep 2020 10:19:06 +0800, Jing Xiangfeng wrote: > This assignment is meaningless, so remove it. Applied to 5.10/scsi-queue, thanks! [1/1] scsi: qedf: Remove redundant assignment to variable 'rc' https://git.kernel.org/mkp/scsi/c/da7d5d72ae83 -- Martin K. Petersen Oracle L

[PATCH 4/4] MAINTAINERS: Update maintainers for pmc_core driver

2020-10-06 Thread David E. Box
From: Gayatri Kammela Update MAINTAINERS file for pmc_core driver to reflect the current maintainers. Cc: Vishwanath Somayaji Cc: Andy Shevchenko Cc: Srinivas Pandruvada Cc: David E. Box Acked-by: David E. Box Acked-by: Vishwanath Somayaji Signed-off-by: Gayatri Kammela Signed-off-by: Dav

Re: [PATCH 0/7] hisi_sas: Add runtime PM support for v3 hw

2020-10-06 Thread Martin K. Petersen
On Fri, 2 Oct 2020 22:30:31 +0800, John Garry wrote: > This series adds runtime PM support for v3 hw. Consists of: > - Switch to new PM suspend and resume framework > - Add links to devices to ensure host cannot be suspended while devices > are not > - Filter out phy events during suspend to avo

Re: [PATCH -next] scsi: snic: convert to use DEFINE_SEQ_ATTRIBUTE macro

2020-10-06 Thread Martin K. Petersen
On Wed, 16 Sep 2020 10:50:30 +0800, Liu Shixin wrote: > Use DEFINE_SEQ_ATTRIBUTE macro to simplify the code. Applied to 5.10/scsi-queue, thanks! [1/1] scsi: snic: Convert to use DEFINE_SEQ_ATTRIBUTE macro https://git.kernel.org/mkp/scsi/c/936dc95d09d8 -- Martin K. Petersen Oracle Li

Re: [PATCH ] scsi: page warning: 'page' may be used uninitialized

2020-10-06 Thread Martin K. Petersen
On Wed, 23 Sep 2020 17:19:20 -0700, john.p.donne...@oracle.com wrote: > corrects: drivers/target/target_core_user.c:688:6: warning: 'page' may be used > uninitialized > > Fixes: 3c58f737231e ("scsi: target: tcmu: Optimize use of > flush_dcache_page") Applied to 5.10/scsi-queue, thanks! [1/1] sc

Re: [PATCH] scsi: snic: Remove unnecessary condition to simplify the code

2020-10-06 Thread Martin K. Petersen
On Fri, 25 Sep 2020 14:07:54 +0800, Jing Xiangfeng wrote: > ret is always zero or an error in this code path. So the assignment to > ret is redundant, and the code jumping to a label is unneed. > Let's remove them to simplify the code. No functional changes. Applied to 5.10/scsi-queue, thanks! [

Re: [PATCH] scsi: be2iscsi: Fix a theoretical leak in beiscsi_create_eqs()

2020-10-06 Thread Martin K. Petersen
On Mon, 28 Sep 2020 12:13:00 +0300, Dan Carpenter wrote: > The be_fill_queue() function can only fail when "eq_vaddress" is NULL > and since it's non-NULL here that means the function call can't fail. > But imagine if it could, then in that situation we would want to store > the "paddr" so that dm

Re: [PATCH -next] scsi: use module_platform_driver to simplify the code

2020-10-06 Thread Martin K. Petersen
On Mon, 14 Sep 2020 14:54:03 +0800, Liu Shixin wrote: > module_platform_driver() makes the code simpler by eliminating > boilerplate code. Applied to 5.10/scsi-queue, thanks! [1/1] scsi: sun_esp: Use module_platform_driver to simplify the code https://git.kernel.org/mkp/scsi/c/ea0dc2002ef5

Re: [PATCH] scsi: mvumi: Fix error return in mvumi_io_attach()

2020-10-06 Thread Martin K. Petersen
On Thu, 10 Sep 2020 20:38:48 +0800, Jing Xiangfeng wrote: > Fix to return error code PTR_ERR() from the error handling case instead > of 0. Applied to 5.10/scsi-queue, thanks! [1/1] scsi: mvumi: Fix error return in mvumi_io_attach() https://git.kernel.org/mkp/scsi/c/055f15ab2cb4 -- Marti

[PATCH v4] bluetooth: hci_h5: fix memory leak in h5_close

2020-10-06 Thread Anant Thazhemadam
If h5_close is called when !hu->serdev, h5 is directly freed. However, h5->rx_skb is not freed, which causes a memory leak. Freeing h5->rx_skb fixes this memory leak. In case hu->serdev exists, h5->rx_skb is then set to NULL, since we do not want to risk a potential NULL pointer dereference. Fi

Re: [PATCH v2] scsi: ufs: fix missing brace warning for old compilers

2020-10-06 Thread Martin K. Petersen
On Fri, 2 Oct 2020 14:35:38 +0800, Pujin Shi wrote: > For older versions of gcc, the array = {0}; will cause warnings: > > drivers/scsi/ufs/ufshcd-crypto.c: In function 'ufshcd_crypto_keyslot_program': > drivers/scsi/ufs/ufshcd-crypto.c:62:8: warning: missing braces around > initializer [-Wmissi

RE: [PATCH v3 2/2] firmware: Keem Bay: Add support for Arm Trusted Firmware Service call

2020-10-06 Thread Zulkifli, Muhammad Husaini
Hi Sudeep and Michal, I would like to receive some feedback on this patch before send out another version to fix the autobot compiler warning. Really appreciated it. Thanks >-Original Message- >From: Zulkifli, Muhammad Husaini >Sent: Tuesday, October 6, 2020 11:56 PM >To: Hunter, Adria

[PATCH 2/2] usb: cdns3: Variable ‘length’ set but not used

2020-10-06 Thread Pawel Laszczak
Patch removes not used variable 'length' from cdns3_wa2_descmiss_copy_data function. Signed-off-by: Pawel Laszczak --- drivers/usb/cdns3/gadget.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/cdns3/gadget.c b/drivers/usb/cdns3/gadget.c index 6e7b70a2e352..692acf7b9b14 100644 -

RE: [PATCH v2 1/3] dt-bindings: fu540: prci: convert PRCI bindings to json-schema

2020-10-06 Thread Sagar Kadam
> -Original Message- > From: Rob Herring > Sent: Wednesday, October 7, 2020 12:13 AM > To: Sagar Kadam > Cc: a...@eecs.berkeley.edu; linux-ri...@lists.infradead.org; > t...@linutronix.de; linux-...@vger.kernel.org; pal...@dabbelt.com; > ja...@lakedaemon.net; Yash Shah ; > thierry.red...

[PATCH 1/2] usb: cdns3: Rids of duplicate error message

2020-10-06 Thread Pawel Laszczak
On failure, the platform_get_irq_byname prints an error message so, patch removes error message related to this function from core.c file. A change was suggested during reviewing CDNSP driver by Chunfeng Yun. Signed-off-by: Pawel Laszczak --- drivers/usb/cdns3/core.c | 7 +-- 1 file changed

  1   2   3   4   5   6   7   8   9   10   >