Jianyong Wu wrote on Mon, Sep 14, 2020:
> Signed-off-by: Greg Kurz
Just on a note on that mail: gk...@linux.vnet.ibm.com has no longer been
working for a while, probably want to update to gr...@kaod.org in both
first two patches.
Greg, sorry I had forgotten to fix Cc earlier, can you confirm?
On 12/09/20 5:56 am, Ian Rogers wrote:
> If events in a group explicitly set a frequency or period with leader
> sampling, don't disable the samples on those events.
>
> Prior to 5.8:
> perf record -e '{cycles/period=12345000/,instructions/period=6789000/}:S'
> would clear the attributes then
Hi Eric,
What is this patch supposed to be doing?
What bug is it fixing?
This information is part in the first message of this mail thread.
The patch was intendedfor the active discussion in this thread,
not for a broad review.
A short summary: In the rt kernel, a panic in an interrupt context
Hi Dmitry,
On Tue, Sep 8, 2020 at 5:44 PM Dmitry Torokhov
wrote:
>
> Hi Furquan,
>
> On Thu, Aug 20, 2020 at 07:40:06PM -0700, Furquan Shaikh wrote:
> > On an AMD chromebook, where the same I2C bus is shared by both Raydium
> > touchscreen and a trackpad device, it is observed that interleaving
Add support for devlink reload action fw_activate with limit level
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
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
---
.../net/ethernet/mellanox/mlx5/core/fw_reset.c| 15 +++
1 file changed, 15 insertions(+)
diff --git
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
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
Add reload action limit level to demand restrictions on actions.
Reload action limit levels supported:
none (default): No constrains on actions. Driver implementation may
include reset or downtime as needed to perform the
actions.
no_reset: No reset allowed, no down
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
Add devlink reload rst documentation file.
Update index file to include it.
Signed-off-by: Moshe Shemesh
---
v3 -> v4:
- Remove reload action fw_activate_no_reset
- Add reload actions limit levels and document the no_reset limit level
constrains
v2 -> v3:
- Devlink reload returns the actions
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
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
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
Add reload action stats to hold the history per reload action type and
limit level.
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
Add functions to query and set the MFRL reset options supported by
firmware.
Signed-off-by: Moshe Shemesh
---
.../net/ethernet/mellanox/mlx5/core/Makefile | 2 +-
.../ethernet/mellanox/mlx5/core/fw_reset.c| 46 +++
.../ethernet/mellanox/mlx5/core/fw_reset.h| 13 ++
Introduce new options on devlink reload API to enable the user to select
the reload action required and contrains 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
On Sun, Sep 13, 2020 at 2:05 PM Jiri Olsa wrote:
>
> Moving stack_map_get_build_id into lib with
> prototype in linux/buildid.h header:
>
> int build_id_parse(struct vm_area_struct *vma, unsigned char *build_id);
>
> This function returns build id for given struct vm_area_struct.
> There is no
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
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
---
drivers/net/ethernet/mellanox/mlx5/core/main.c | 3 +++
1 file changed, 3 insertions(+)
diff --git
Expose devlink reload actions stats to the user through devlink dev
get command.
Examples:
$ devlink dev show
pci/:82:00.0:
reload_action_stats:
driver_reinit 2
fw_activate 1
driver_reinit_no_reset 0
fw_activate_no_reset 0
pci/:82:00.1:
reload_action_stats:
On Mon, Sep 14, 2020 at 01:38:50PM +0800, Chunfeng Yun wrote:
> Fix up the build error caused by undeclared usb_debug_root
>
> Cc: stable
> Fixes: a66ada4f241c("usb: gadget: bcm63xx_udc: create debugfs directory under
> usb root")
Nit, you need a ' ' before the '(' character...
thanks,
greg
Use for_each_child_of_node() macro instead of open coding it.
Signed-off-by: Qinglang Miao
---
drivers/mtd/devices/spear_smi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/devices/spear_smi.c b/drivers/mtd/devices/spear_smi.c
index 79dcca164..2e0086238
On 09/14/2020 12:06 PM, Lukas Wunner wrote:
On Mon, Sep 14, 2020 at 04:29:10AM +0800, Tiezhu Yang wrote:
--- a/drivers/pci/pcie/portdrv_pci.c
+++ b/drivers/pci/pcie/portdrv_pci.c
@@ -143,6 +144,28 @@ static void pcie_portdrv_remove(struct pci_dev *dev)
}
Use for_each_child_of_node() macro instead of open coding it.
Signed-off-by: Qinglang Miao
---
drivers/macintosh/windfarm_smu_sat.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/macintosh/windfarm_smu_sat.c
b/drivers/macintosh/windfarm_smu_sat.c
index
In fifteen entries mentioning linux-samsung-...@vger.kernel.org in
MAINTAINERS, seven entries mention the list being moderated for
non-subscribers and eight entries do not. Clearly only one can be right,
though.
Joe Perches suggested that all vger.kernel.org are not moderated for
non-subscribers.
usb_free_coherent() is safe with NULL addr and this check is
not required.
Signed-off-by: Qinglang Miao
---
drivers/media/usb/b2c2/flexcop-usb.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/media/usb/b2c2/flexcop-usb.c
On 09/14/2020 12:31 PM, Huacai Chen wrote:
Hi, Tiezhu
-- Original --
From: "Tiezhu Yang";
Date: Mon, Sep 14, 2020 04:29 AM
To: "Bjorn Helgaas";
Cc: "Konstantin Khlebnikov"; "Khalid Aziz"; "Vivek Goyal"; "Lukas Wunner";
"oohall"; "rafael.j.wysocki"; "Xuefeng
On 09/14/2020 05:17 AM, Gavin Shan wrote:
> The function __{pgd, pud, pmd, pte}_error() are introduced so that
> they can be called by {pgd, pud, pmd, pte}_ERROR(). However, some
> of the functions could never be called when the corresponding page
> table level isn't enabled. For example,
On Mon, 2020-09-14 at 08:12 +0200, Greg Kroah-Hartman wrote:
> On Mon, Sep 14, 2020 at 01:38:50PM +0800, Chunfeng Yun wrote:
> > Fix up the build error caused by undeclared usb_debug_root
> >
> > Cc: stable
> > Fixes: a66ada4f241c("usb: gadget: bcm63xx_udc: create debugfs directory
> > under
On Sun, Sep 13, 2020 at 10:26 PM Krzysztof Hałasa wrote:
>
> Xie He writes:
>
> > The HDLC device is not actually prepending any header when it is used
> > with this driver. When the PVC device has prepended its header and
> > handed over the skb to the HDLC device, the HDLC device just hands it
It seems some optimization has been removed from the code without removing
the if condition which should activate it only on 64-bit platforms and as
a result the code responsible for decompression with window larger than
8MB was disabled on 32-bit platforms.
Signed-off-by: Petr Malat
---
On Sun, Sep 13, 2020 at 10:40 PM Namhyung Kim wrote:
>
> On Mon, Sep 14, 2020 at 6:03 AM Jiri Olsa wrote:
> >
> > Add new version of mmap event. The MMAP3 record is an
> > augmented version of MMAP2, it adds build id value to
> > identify the exact binary object behind memory map:
> >
> >
Fix up the build error caused by undeclared usb_debug_root
Cc: stable
Fixes: a66ada4f241c ("usb: gadget: bcm63xx_udc: create debugfs directory under
usb root")
Reported-by: kernel test robot
Signed-off-by: Chunfeng Yun
---
v2: add a blank space after fixes change-id suggested by Greg
---
On Mon, 14 Sep 2020, Markus Elfring wrote:
> …
> > +++ b/scripts/coccicheck
> > @@ -126,8 +126,14 @@ run_cmd_parmap() {
> > if [ $VERBOSE -ne 0 ] ; then
> > echo "Running ($NPROC in parallel): $@"
> > fi
> > - echo $@ >>$DEBUG_FILE
> > - $@ 2>>$DEBUG_FILE
> > + if [
Hi all,
After merging the v4l-dvb tree, today's linux-next build (powerpc
allyesconfig) failed like this:
drivers/media/test-drivers/vidtv/vidtv_psi.c: In function
'vidtv_psi_sdt_serv_get_desc_loop_len':
include/linux/build_bug.h:16:51: error: negative width in bit-field
''
16 | #define
On Sun, Sep 13, 2020 at 10:32 PM Martin Schiller wrote:
>
> Acked-by: Martin Schiller
Thank you, Martin!
On Mon, Sep 14, 2020 at 6:04 AM Jiri Olsa wrote:
>
> Currently we don't check on kernel's vmlinux the same way as
> we do for normal binaries, but we either look for kallsyms
> file in build id database or check on known vmlinux locations
> (plus some other optional paths).
>
> This patch adds
On Mon, Sep 14, 2020 at 6:04 AM Jiri Olsa wrote:
>
> Displaying mmap3 events for --show-mmap-events option,
> the build id is displayed within <> braces:
>
> $ perf script --show-mmap-events
> kill 12148 13893.519014: PERF_RECORD_MMAP3 12148/12148:
>
On 09/14/2020 02:13 PM, Tiezhu Yang wrote:
On 09/14/2020 12:06 PM, Lukas Wunner wrote:
On Mon, Sep 14, 2020 at 04:29:10AM +0800, Tiezhu Yang wrote:
--- a/drivers/pci/pcie/portdrv_pci.c
+++ b/drivers/pci/pcie/portdrv_pci.c
@@ -143,6 +144,28 @@ static void pcie_portdrv_remove(struct pci_dev
module_platform_driver() makes the code simpler by eliminating
boilerplate code.
Signed-off-by: Liu Shixin
---
drivers/extcon/extcon-axp288.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers/extcon/extcon-axp288.c b/drivers/extcon/extcon-axp288.c
index
module_platform_driver() makes the code simpler by eliminating
boilerplate code.
Signed-off-by: Liu Shixin
---
drivers/iio/adc/palmas_gpadc.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers/iio/adc/palmas_gpadc.c b/drivers/iio/adc/palmas_gpadc.c
index
module_platform_driver() makes the code simpler by eliminating
boilerplate code.
Signed-off-by: Liu Shixin
---
drivers/pinctrl/sprd/pinctrl-sprd-sc9860.c | 13 +
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers/pinctrl/sprd/pinctrl-sprd-sc9860.c
On 03/09/20 8:20 pm, Artem Bityutskiy wrote:
On Thu, 2020-09-03 at 17:30 +0530, Pratik Sampat wrote:
I certainly did not know about that the Intel architecture being aware
of timers and pre-wakes the CPUs which makes the timer experiment
observations void.
Well, things depend on platform,
module_platform_driver() makes the code simpler by eliminating
boilerplate code.
Signed-off-by: Liu Shixin
---
drivers/scsi/jazz_esp.c | 14 +-
drivers/scsi/mac_esp.c| 14 +-
drivers/scsi/qlogicpti.c | 14 +-
drivers/scsi/sni_53c710.c | 14
Dominique Martinet wrote on Mon, Sep 14, 2020:
> Jianyong Wu wrote on Mon, Sep 14, 2020:
> - Ideally base yourself of my 9p-test branch to have async clunk:
> https://github.com/martinetd/linux/commits/9p-test
> I've been promising to push it to next this week™ for a couple of weeks
> but if
module_platform_driver() makes the code simpler by eliminating
boilerplate code.
Signed-off-by: Liu Shixin
---
drivers/edac/aspeed_edac.c | 18 +-
1 file changed, 1 insertion(+), 17 deletions(-)
diff --git a/drivers/edac/aspeed_edac.c b/drivers/edac/aspeed_edac.c
index
On Mon, 14 Sep 2020, Lukas Bulwahn wrote:
> In fifteen entries mentioning linux-samsung-...@vger.kernel.org in
> MAINTAINERS, seven entries mention the list being moderated for
> non-subscribers and eight entries do not. Clearly only one can be right,
> though.
>
> Joe Perches suggested that
On Sun, Sep 13, 2020 at 11:04:48PM -0700, Furquan Shaikh wrote:
> Hi Dmitry,
>
> On Tue, Sep 8, 2020 at 5:44 PM Dmitry Torokhov
> wrote:
> >
> > Hi Furquan,
> >
> > On Thu, Aug 20, 2020 at 07:40:06PM -0700, Furquan Shaikh wrote:
> > > On an AMD chromebook, where the same I2C bus is shared by
Hi Gilad,
On 9/13/20 3:12 PM, Gilad Ben-Yossef wrote:
Hi,
On Thu, Sep 3, 2020 at 4:13 PM Tianjia Zhang
wrote:
The digital certificate format based on SM2 crypto algorithm as
specified in GM/T 0015-2012. It was published by State Encryption
Management Bureau, China.
The method of
On 14/09/20 8:45 am, AKASHI Takahiro wrote:
> Adrian,
>
> On Fri, Aug 21, 2020 at 05:11:18PM +0300, Adrian Hunter wrote:
>> On 10/07/20 2:11 pm, Ben Chuang wrote:
>>> From: AKASHI Takahiro
>>>
>>> VDD2 is used for powering UHS-II interface.
>>> Modify sdhci_set_power_and_bus_voltage(),
On Mon, 7 Sep 2020 18:46:54 +0100, Cristian Marussi wrote:
> this series wants to add the core SCMI System Power support and related
> events' handling logic: the protocol support itself is trivial and boils
> down to some bare initializations and supporting one SCMI System Power
> notification
On Thu, Jul 16, 2020 at 4:12 PM Richard Weinberger
wrote:
>
> On Mon, Jul 13, 2020 at 12:09 AM Iuliana Prodan
> wrote:
> >
> > Tagged keys are keys that contain metadata indicating what
> > they are and how to handle them using tag_object API.
> >
> > Add support, for tagged keys, to skcipher
On Mon, 14 Sep 2020 at 06:31, Liu Shixin wrote:
>
> module_platform_driver() makes the code simpler by eliminating
> boilerplate code.
>
> Signed-off-by: Liu Shixin
Reviewed-by: Joel Stanley
> ---
> drivers/edac/aspeed_edac.c | 18 +-
> 1 file changed, 1 insertion(+), 17
Adrian,
On Fri, Aug 21, 2020 at 05:09:01PM +0300, Adrian Hunter wrote:
> On 10/07/20 2:11 pm, Ben Chuang wrote:
> > From: AKASHI Takahiro
> >
> > sdhci_start_signal_voltage_switch() should be called only in UHS-I mode,
> > and not for UHS-II mode.
> >
> > Signed-off-by: Ben Chuang
> >
On Sun, Sep 13, 2020 at 2:03 PM Jiri Olsa wrote:
>
> Add new version of mmap event. The MMAP3 record is an
> augmented version of MMAP2, it adds build id value to
> identify the exact binary object behind memory map:
>
> struct {
> struct perf_event_header header;
>
> u32
On Fri, Aug 28, 2020 at 10:19:55AM +0800, Johnny Chuang wrote:
> This patch adds a new behavior to report touch major resolution
> based on information provided by firmware.
>
> In initial process, driver acquires touch information from touch ic.
> It contains one byte about the resolution value
Tue, 08 Sep 2020 17:19:17 -0700
> syzbot found the following issue on:
>
> HEAD commit:59126901 Merge tag 'perf-tools-fixes-for-v5.9-2020-09-03' ..
> git tree: upstream
> console output:
> https://syzkaller.appspot.com/x/log.txt?x=1166cb5d90
> kernel config:
>
On Mon, Sep 14, 2020 at 6:05 AM Jiri Olsa wrote:
>
> Adding buildid-list --store option to populate
> .debug data with build id files.
Hmm.. isn't it better to add it to the buildid-cache command?
>
> $ rm -rf ~/.debug/
>
> $ perf buildid-list
> 1805c738c8f3ec0f47b7ea09080c28f34d18a82b
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
master
head: 856deb866d16e29bd65952e0289066f6078af773
commit: 80591e61a0f7e88deaada69844e4a31280c4a38f kbuild: tell sparse about the
$ARCH
date: 10 months ago
config: alpha-randconfig-s031-20200914 (attached
Hi, +Arnd,
On 14. 09. 20 7:12, muhammad.husaini.zulki...@intel.com wrote:
> From: Muhammad Husaini Zulkifli
>
> Voltage switching sequence is needed to support UHS-1 interface
> as Keem Bay EVM is using external voltage regulator to switch between
> 1.8V and 3.3V.
>
> Signed-off-by: Muhammad
> I'm happy to route it to stable@ if you think it's worth it but I don't
> think there's a specific Fixes: reference that can be used. The current
> behavior appears to have been that way since before git (looks like we
> noticed in 2014 but it's taken me 6 years to nag people into sending
>
Hi Krzysztof,
On Fri, Aug 28, 2020 at 04:57:41PM +0200, Krzysztof Kozlowski wrote:
> platform_get_irq() returns -ERRNO on error. In such case comparison
> to 0 would pass the check.
platform_get_irq() is a bit of a mess. Historically we allowed defining
interrupt resource with r->start == 0 and
Hi Prabhakar,
Thanks for the patchset.
On Sun, Sep 13, 2020 at 07:42:45PM +0100, Lad Prabhakar wrote:
> Parse endpoint properties using v4l2_fwnode_endpoint_alloc_parse()
> to determine bus-type and store it locally in priv data.
>
> Also for backward compatibility with the existing DT where
From: Wanpeng Li
Analyze is_guest_mode() in svm_vcpu_run() instead of
svm_exit_handlers_fastpath()
in conformity with VMX version.
Suggested-by: Vitaly Kuznetsov
Signed-off-by: Wanpeng Li
---
arch/x86/kvm/svm/svm.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git
On Sat, 12 Sep 2020 at 14:20, Paolo Bonzini wrote:
>
> On 09/09/20 10:47, Wanpeng Li wrote:
> >> One more thing:
> >>
> >> VMX version does
> >>
> >> vmx_complete_interrupts(vmx);
> >> if (is_guest_mode(vcpu))
> >> return EXIT_FASTPATH_NONE;
> >>
> >> and on SVM we
Hi all,
After merging the akpm-current tree, today's linux-next build (x86_64
allmodconfig) produced this warning:
mm/madvise.c: In function 'madvise_inject_error':
mm/madvise.c:875:15: warning: unused variable 'zone' [-Wunused-variable]
875 | struct zone *zone;
| ^~~~
Excerpts from Nicholas Piggin's message of September 14, 2020 2:52 pm:
[...]
> The basic fix for sparc64 is to remove its mm_cpumask clearing code. The
> optimisation could be effectively restored by sending IPIs to mm_cpumask
> members and having them remove themselves from mm_cpumask. This is
Hi all,
After merging the akpm-current tree, today's linux-next build (x86_64
allmodconfig) produced this warning:
In file included from lib/test_kasan_module.c:16:
lib/../mm/kasan/kasan.h:232:6: warning: conflicting types for built-in function
'__asan_register_globals'; expected 'void(void *,
Hi Marc,
On Fri, Sep 11, 2020 at 05:22:41PM +0100, Marc Zyngier wrote:
> On 2020-09-08 09:20, Cristian Ciocaltea wrote:
> > This interrupt controller is found in the Actions Semi Owl SoCs (S500,
> > S700 and S900) and provides support for handling up to 3 external
> > interrupt lines.
> >
> >
On Lenovo P520, the front panel headset LED isn't lit up right now.
Realtek states that the LED needs to be enabled by ALC233's GPIO2, so
let's do it accordingly to light the LED up.
Signed-off-by: Kai-Heng Feng
---
sound/pci/hda/patch_realtek.c | 7 +++
1 file changed, 7 insertions(+)
Hi,
On 9/11/20 12:24 PM, Herbert Xu wrote:
On Thu, Sep 03, 2020 at 09:12:34PM +0800, Tianjia Zhang wrote:
---
v6 changes:
1. remove mpi_sub_ui function from mpi library.
2. rebase on mainline.
This series is still missing acks for patches 6-8. Without them
it cannot proceed.
Thanks,
Hi Eric/Alex,
Thanks for your valuable suggestions and get back to you if anything
is required.
Thanks,
Vikas
On Fri, Sep 11, 2020 at 7:23 PM Auger Eric wrote:
>
> Hi Vikas,
>
> On 9/10/20 6:57 PM, Alex Williamson wrote:
> > On Thu, 10 Sep 2020 16:15:27 +0530
> > Vikas Gupta wrote:
> >
> >> Hi
On Tue, 25 Aug 2020 08:31:49 +0200
Parshuram Thombare wrote:
> This patch fix following issue.
> Controller slots blocked for devices with static_addr
> but no init_dyn_addr may limit the number of I3C devices
> on the bus which gets dynamic address in DAA. So
> instead of attaching all the
On Sat, 12 Sep 2020, Joe Perches wrote:
> On Sat, 2020-09-12 at 14:40 +0200, Greg Kroah-Hartman wrote:
> > On Sat, Sep 12, 2020 at 02:19:02PM +0200, Lukas Bulwahn wrote:
> > >
> > > On Sat, 12 Sep 2020, Lukas Bulwahn wrote:
> > >
> > > > This patch submission will also show me if linux-usb
On Fri, Sep 11, 2020 at 22:03, Rob Herring wrote:
> -Original Message-
> From: Rob Herring
> Sent: 2020年9月11日 22:03
> To: Qiang Zhao
> Cc: a.zu...@towertech.it; alexandre.bell...@bootlin.com;
> linux-...@vger.kernel.org; devicet...@vger.kernel.org;
> linux-kernel@vger.kernel.org
>
On Mon, Sep 14, 2020 at 11:39 AM Moshe Shemesh wrote:
>
> 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
On Fri, Sep 11, 2020 at 8:47 PM Bjorn Helgaas wrote:
>
Hi Bjorn,
Thanks for review.
> On Fri, Sep 11, 2020 at 03:55:34PM +0530, Srinath Mannam wrote:
> > Fix IOVA reserve failure in the case when address of first memory region
> > listed in dma-ranges is equal to 0x0.
> >
> > Fixes: aadad097cd46f
From: zhuguangqing
1. devfreq_cooling.c: The variable *tz is not used in
devfreq_cooling_get_requested_power(), devfreq_cooling_state2power()
and devfreq_cooling_power2state().
2. cpufreq_cooling.c: After 84fe2cab48590, the variable *tz is not used
anymore in cpufreq_get_requested_power(),
On Mon, 14 Sep 2020, Markus Elfring wrote:
> >> How do you think about to use the following check variant?
> >>
> >> + if [ "${DEBUG_FILE}" != '/dev/null' -a "${DEBUG_FILE}" != '' ]; then
> >
> > What difference does it make?
>
> I propose two implementation details for further development
idr_get_next() gives WARN_ON_ONCE() when it gets (id > INT_MAX) true
and this happens when syzbot does fuzzing, and that warning is
expected, but WARN_ON_ONCE() is not required here and, cecking
the condition and returning NULL value would be suffice.
Reference: commit b9959c7a347 ("filldir[64]:
Tony Chuang writes:
>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>> master
>> head: ef2e9a563b0cd7965e2a1263125dcbb1c86aa6cc
>> commit: ba0fbe236fb8a7b992e82d6eafb03a600f5eba43 rtw88: extract: make
>> 8822c an individual kernel module
>> date: 4 months ago
The current implementation reduces the sampling rate by half
if qup HW version is greater is than 2.5 by checking if the
geni SE major version is greater than 2 and geni SE minor version
is greater than 5.This implementation fails when the version is
greater than or equal to 3.
Hence, a new
There is a race between blk_queue_enter() and block layer's runtime
suspend.
CPU0CPU1
- ---
blk_pre_runtime_suspend(q) {blk_queue_enter() {
/* q->rpm_status=RPM_ACTIVE */
Fix IOVA reserve failure in the case when address of first memory region
listed in dma-ranges is equal to 0x0.
Fixes: aadad097cd46f ("iommu/dma: Reserve IOVA for PCIe inaccessible DMA
address")
Signed-off-by: Srinath Mannam
---
Changes from v2:
Modify error message with useful information
Hi Jason,
On 01/09/20 2:20 pm, Jason Wang wrote:
>
> On 2020/9/1 下午1:24, Kishon Vijay Abraham I wrote:
>> Hi,
>>
>> On 28/08/20 4:04 pm, Cornelia Huck wrote:
>>> On Thu, 9 Jul 2020 14:26:53 +0800
>>> Jason Wang wrote:
>>>
>>> [Let me note right at the beginning that I first noted this while
>>>
On Mon, 14 Sep 2020, Markus Elfring wrote:
> How do you think about to use the following check variant?
>
> +if [ "${DEBUG_FILE}" != '/dev/null' -a "${DEBUG_FILE}" != '' ];
> then
> …
> > I have no idea. Why can't they be nclosed by double quotes as well?
>
> Both
Hi Dominique,
> -Original Message-
> From: Dominique Martinet
> Sent: Monday, September 14, 2020 1:56 PM
> To: Jianyong Wu
> Cc: eri...@gmail.com; lu...@ionkov.net; v9fs-
> develo...@lists.sourceforge.net; linux-kernel@vger.kernel.org; Justin He
> ; Greg Kurz
> Subject: Re: [PATCH RFC
Hi,
On 9/14/20 8:54 AM, Liu Shixin wrote:
module_platform_driver() makes the code simpler by eliminating
boilerplate code.
Signed-off-by: Liu Shixin
Thank you for the cleanup, patch looks good to me:
Reviewed-by: Hans de Goede
Regards,
Hans
---
drivers/extcon/extcon-axp288.c | 13
On 11.09.20 08:21, Christoph Hellwig wrote:
> On Thu, Sep 10, 2020 at 12:28:38PM +0200, Harald Freudenberger wrote:
>> +static inline unsigned long z_copy_from_user(bool userspace,
>> + void *to, const void __user *from,
>> unsigned long n)
> Can you avoid
Hi all,
this series adds range-based offsets to the dma-direct implementation. The
guts of the change are a patch from Jim with some modifications from me,
but to do it nicely we need to ARM patches to prepare for it as well.
Changes since v1:
- rebased on top of the latests dma-mapping
The __arch_page_to_dma hook is long gone.
Signed-off-by: Christoph Hellwig
---
arch/arm/include/asm/dma-mapping.h | 4
1 file changed, 4 deletions(-)
diff --git a/arch/arm/include/asm/dma-mapping.h
b/arch/arm/include/asm/dma-mapping.h
index bdd80ddbca3451..70d95677656044 100644
---
dma_to_virt is entirely unused, remove it.
Signed-off-by: Christoph Hellwig
---
arch/arm/include/asm/dma-mapping.h| 18 +-
arch/arm/mach-omap1/include/mach/memory.h | 4
2 files changed, 1 insertion(+), 21 deletions(-)
diff --git
Hi David,
CC bridge
On Sun, Sep 13, 2020 at 3:34 AM David Miller wrote:
> From: Geert Uytterhoeven
> Date: Sat, 12 Sep 2020 14:33:59 +0200
>
> > "dev" is not the bridge device, but the physical Ethernet interface, which
> > may already be suspended during s2ram.
>
> Hmmm, ok.
>
> Looking more
This comment is outdated and no longer reflects the actual implementation
of af_packet.c.
Reasons for the new comment:
1.
In af_packet.c, the function packet_snd first reserves a headroom of
length (dev->hard_header_len + dev->needed_headroom).
Then if the socket is a SOCK_DGRAM socket, it
Move the helpers to translate to and from direct mapping DMA addresses
to dma-direct.h. This not only is the most logical place, but the new
placement also avoids dependency loops with pending commits.
Signed-off-by: Christoph Hellwig
Reviewed-by: Robin Murphy
---
arch/arm/common/dmabounce.c
The DMA offset notifier can only be used if PHYS_OFFSET is at least
KEYSTONE_HIGH_PHYS_START, which can't be represented by a 32-bit
phys_addr_t. Currently the code compiles fine despite that, a pending
change to the DMA offset handling would create a compiler warning for
this case. Add an ifdef
On Fri, Sep 11, 2020 at 02:13:55PM +1000, Herbert Xu wrote:
> On Thu, Sep 10, 2020 at 02:22:48PM +0200, Corentin Labbe wrote:
> >
> > I get some md5 error on both A20+BE:
> > alg: ahash: md5 test failed (wrong result) on test vector \"random:
> > psize=129 ksize=0\", cfg=\"random: inplace
On 11.09.20 22:35, Rikard Falkeborn wrote:
> mem_id_table is not modified, so make it const to allow the compiler to
> put it in read-only memory.
>
> Signed-off-by: Rikard Falkeborn
> ---
> drivers/virtio/virtio_mem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git
1 - 100 of 1601 matches
Mail list logo