Re: [PATCH] arm64: Skip apply SSBS call for non SSBS system

2020-08-12 Thread Gaurav Kohli
On 8/12/2020 7:00 PM, Will Deacon wrote: On Tue, Aug 04, 2020 at 07:44:42PM +0530, Gaurav Kohli wrote: In a system where no cpu's implement SSBS, for them no need to set pstate. This might help to save few cpu cycles during context switch. Signed-off-by: Gaurav Kohli diff --git

Re: [PATCH] arm64: Skip apply SSBS call for non SSBS system

2020-08-12 Thread Will Deacon
On Tue, Aug 04, 2020 at 07:44:42PM +0530, Gaurav Kohli wrote: > In a system where no cpu's implement SSBS, for > them no need to set pstate. This might help to save > few cpu cycles during context switch. > > Signed-off-by: Gaurav Kohli > > diff --git a/arch/arm64/kernel/process.c

Re: [PATCH] arm64: Skip apply SSBS call for non SSBS system

2020-08-10 Thread Gaurav Kohli
Hi, Please let us know, is below patch good to have or not for non ssbs systems. On 8/4/2020 7:44 PM, Gaurav Kohli wrote: In a system where no cpu's implement SSBS, for them no need to set pstate. This might help to save few cpu cycles during context switch. Signed-off-by: Gaurav Kohli diff

[PATCH 5.4 65/67] tcp: apply a floor of 1 for RTT samples from TCP timestamps

2020-08-10 Thread Greg Kroah-Hartman
ult in a low throughput. It would be hard to mitigate this with filtering in the congestion control module, because the proper floor to apply would depend on the method of RTT sampling (using timestamp options or internally-saved transmission timestamps). This fix applies a floor of 1 for the RTT sam

[PATCH 5.7 75/79] tcp: apply a floor of 1 for RTT samples from TCP timestamps

2020-08-10 Thread Greg Kroah-Hartman
ult in a low throughput. It would be hard to mitigate this with filtering in the congestion control module, because the proper floor to apply would depend on the method of RTT sampling (using timestamp options or internally-saved transmission timestamps). This fix applies a floor of 1 for the RTT sam

[RFC PATCH bpf-next 2/4] bpf: make BTF show support generic, apply to seq files/bpf_trace_printk

2020-08-06 Thread Alan Maguire
generalize the "seq_show" seq file support in btf.c to support a generic show callback of which we support three instances; - the current seq file show - a show which triggers the bpf_trace/bpf_trace_printk tracepoint for each portion of the data displayed Both classes of show function call

[RFC 6/9] Apply the direct build EPT according to the memory slots change

2020-08-05 Thread Yulei Zhang
From: Yulei Zhang Construct the direct build ept when guest memory slots have been changed, and issue mmu_reload request to update the CR3 so that guest could use the pre-constructed EPT without page fault. Signed-off-by: Yulei Zhang --- arch/mips/kvm/mips.c | 13 +

[PATCH V2 5/9] PCI/AER: Apply function level reset to RCiEP on fatal error

2020-08-04 Thread Sean V Kelley
From: Qiuxu Zhuo Attempt to do function level reset for an RCiEP associated with an RCEC device on fatal error. Signed-off-by: Qiuxu Zhuo --- drivers/pci/pcie/err.c | 31 ++- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/drivers/pci/pcie/err.c

[PATCH] arm64: Skip apply SSBS call for non SSBS system

2020-08-04 Thread Gaurav Kohli
In a system where no cpu's implement SSBS, for them no need to set pstate. This might help to save few cpu cycles during context switch. Signed-off-by: Gaurav Kohli diff --git a/arch/arm64/kernel/process.c b/arch/arm64/kernel/process.c index 6089638..79f80f1 100644 ---

Re: [PATCH v1 0/2] scsi: ufs: Introduce and apply DELAY_AFTER_LPM device quirk

2020-07-29 Thread Martin K. Petersen
On Wed, 29 Jul 2020 13:18:38 +0800, Stanley Chu wrote: > This patchset introduces and applies DELAY_AFTER_LPM device quirk in MediaTek > platforms. > > Stanley Chu (2): > scsi: ufs: Introduce device quirk "DELAY_AFTER_LPM" > scsi: ufs-mediatek: Apply DELAY_AFTER

RE: [PATCH v1 0/2] scsi: ufs: Introduce and apply DELAY_AFTER_LPM device quirk

2020-07-29 Thread Avri Altman
Looks fine. Thanks, Avri > > Hi, > This patchset introduces and applies DELAY_AFTER_LPM device quirk in > MediaTek platforms. > > Stanley Chu (2): > scsi: ufs: Introduce device quirk "DELAY_AFTER_LPM" > scsi: ufs-mediatek: Apply DELAY_AFTER_LPM quirk to

[PATCH v1 0/2] scsi: ufs: Introduce and apply DELAY_AFTER_LPM device quirk

2020-07-28 Thread Stanley Chu
Hi, This patchset introduces and applies DELAY_AFTER_LPM device quirk in MediaTek platforms. Stanley Chu (2): scsi: ufs: Introduce device quirk "DELAY_AFTER_LPM" scsi: ufs-mediatek: Apply DELAY_AFTER_LPM quirk to Micron devices drivers/scsi/ufs/ufs-mediatek.c | 2 ++ driver

[PATCH v1 2/2] scsi: ufs-mediatek: Apply DELAY_AFTER_LPM quirk to Micron devices

2020-07-28 Thread Stanley Chu
Micron UFS devices require DELAY_AFTER_LPM device quirk in MediaTek platforms. Signed-off-by: Andy Teng Signed-off-by: Peter Wang Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufs-mediatek.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/scsi/ufs/ufs-mediatek.c

Re: [RFC PATCH 5/9] PCI/AER: Apply function level reset to RCiEP on fatal error

2020-07-28 Thread Sean V Kelley
@kernel.org; Luck, Tony ; sathyanarayanan.kuppusw...@linux.intel.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Zhuo, Qiuxu Subject: Re: [RFC PATCH 5/9] PCI/AER: Apply function level reset to RCiEP on fatal error On Fri, 24 Jul 2020 10:22:19 -0700 Sean V Kelley wrote: From: Qiuxu Zhuo

Re: [RFC PATCH 5/9] PCI/AER: Apply function level reset to RCiEP on fatal error

2020-07-28 Thread Jonathan Cameron
shok@kernel.org; > >> Luck, > >> Tony ; > >> sathyanarayanan.kuppusw...@linux.intel.com; > >> linux-...@vger.kernel.org; > >> linux-kernel@vger.kernel.org; Zhuo, Qiuxu > >> Subject: Re: [RFC PATCH 5/9] PCI/AER: Apply function level reset to

Re: [RFC PATCH 5/9] PCI/AER: Apply function level reset to RCiEP on fatal error

2020-07-28 Thread Sean V Kelley
@vger.kernel.org; Zhuo, Qiuxu Subject: Re: [RFC PATCH 5/9] PCI/AER: Apply function level reset to RCiEP on fatal error On Fri, 24 Jul 2020 10:22:19 -0700 Sean V Kelley wrote: From: Qiuxu Zhuo Attempt to do function level reset for an RCiEP associated with an RCEC device on fatal error. I'd

RE: [RFC PATCH 5/9] PCI/AER: Apply function level reset to RCiEP on fatal error

2020-07-28 Thread Zhuo, Qiuxu
huo, Qiuxu > Subject: Re: [RFC PATCH 5/9] PCI/AER: Apply function level reset to RCiEP > on fatal error > > On Fri, 24 Jul 2020 10:22:19 -0700 > Sean V Kelley wrote: > > > From: Qiuxu Zhuo > > > > Attempt to do function level reset for an RCiEP associa

Re: [RFC PATCH 5/9] PCI/AER: Apply function level reset to RCiEP on fatal error

2020-07-27 Thread Jonathan Cameron
On Fri, 24 Jul 2020 10:22:19 -0700 Sean V Kelley wrote: > From: Qiuxu Zhuo > > Attempt to do function level reset for an RCiEP associated with an > RCEC device on fatal error. I'd like to understand more on your reasoning for flr here. Is it simply that it is all we can do, or is there some

[RFC PATCH 5/9] PCI/AER: Apply function level reset to RCiEP on fatal error

2020-07-24 Thread Sean V Kelley
From: Qiuxu Zhuo Attempt to do function level reset for an RCiEP associated with an RCEC device on fatal error. Signed-off-by: Qiuxu Zhuo --- drivers/pci/pcie/err.c | 31 ++- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/drivers/pci/pcie/err.c

Re: [PATCH RFC don't apply] vdpa_sim: endian-ness for config space

2020-07-16 Thread Jason Wang
On 2020/7/16 下午1:42, Michael S. Tsirkin wrote: On Wed, Jul 15, 2020 at 10:02:32PM +0800, Jason Wang wrote: On 2020/7/15 下午9:58, Michael S. Tsirkin wrote: VDPA sim stores config space as native endian, but that is wrong: modern guests expect LE. I coded up the following to fix it up, but it

Re: [PATCH RFC don't apply] vdpa_sim: endian-ness for config space

2020-07-15 Thread Michael S. Tsirkin
On Wed, Jul 15, 2020 at 10:02:32PM +0800, Jason Wang wrote: > > On 2020/7/15 下午9:58, Michael S. Tsirkin wrote: > > VDPA sim stores config space as native endian, but that > > is wrong: modern guests expect LE. > > I coded up the following to fix it up, but it is wrong too: > > vdpasim_create is

Re: [PATCH RFC don't apply] vdpa_sim: endian-ness for config space

2020-07-15 Thread Jason Wang
On 2020/7/15 下午9:58, Michael S. Tsirkin wrote: VDPA sim stores config space as native endian, but that is wrong: modern guests expect LE. I coded up the following to fix it up, but it is wrong too: vdpasim_create is called before guest features are known. So what should we do? New ioctl to

[PATCH RFC don't apply] vdpa_sim: endian-ness for config space

2020-07-15 Thread Michael S. Tsirkin
VDPA sim stores config space as native endian, but that is wrong: modern guests expect LE. I coded up the following to fix it up, but it is wrong too: vdpasim_create is called before guest features are known. So what should we do? New ioctl to specify the interface used? More ideas?

[PATCH 5.7 028/166] iommu/vt-d: Dont apply gfx quirks to untrusted devices

2020-07-14 Thread Greg Kroah-Hartman
From: Rajat Jain [ Upstream commit 67e8a5b18d41af9298db5c17193f671f235cce01 ] Currently, an external malicious PCI device can masquerade the VID:PID of faulty gfx devices, and thus apply iommu quirks to effectively disable the IOMMU restrictions for itself. Thus we need to ensure

[PATCH 5.4 022/109] iommu/vt-d: Dont apply gfx quirks to untrusted devices

2020-07-14 Thread Greg Kroah-Hartman
From: Rajat Jain [ Upstream commit 67e8a5b18d41af9298db5c17193f671f235cce01 ] Currently, an external malicious PCI device can masquerade the VID:PID of faulty gfx devices, and thus apply iommu quirks to effectively disable the IOMMU restrictions for itself. Thus we need to ensure

Re: [PATCH net-next v1 2/5] net: phy: micrel: apply resume errata workaround for ksz8873 and ksz8863

2020-07-10 Thread Andrew Lunn
On Fri, Jul 10, 2020 at 02:08:48PM +0200, Oleksij Rempel wrote: > The ksz8873 and ksz8863 switches are affected by following errata: This should really be a patch on its own, aimed at net, so it gets back ported to stable. Andrew

[PATCH net-next v1 2/5] net: phy: micrel: apply resume errata workaround for ksz8873 and ksz8863

2020-07-10 Thread Oleksij Rempel
int ret; + + /* Apply errata workaround for KSZ8863 and KSZ8873: +* Receiver error in 100BASE-TX mode following Soft Power Down +* +* When exiting Soft Power Down mode, the receiver blocks may not start +* up properly, causing the PHY to miss data and exhib

[PATCH 5.7 086/112] nfsd: apply umask on fs without ACL support

2020-07-07 Thread Greg Kroah-Hartman
From: J. Bruce Fields commit 22cf8419f1319ff87ec759d0ebdff4cbafaee832 upstream. The server is failing to apply the umask when creating new objects on filesystems without ACL support. To reproduce this, you need to use NFSv4.2 and a client and server recent enough to support umask, and you need

[PATCH 5.4 47/65] nfsd: apply umask on fs without ACL support

2020-07-07 Thread Greg Kroah-Hartman
From: J. Bruce Fields commit 22cf8419f1319ff87ec759d0ebdff4cbafaee832 upstream. The server is failing to apply the umask when creating new objects on filesystems without ACL support. To reproduce this, you need to use NFSv4.2 and a client and server recent enough to support umask, and you need

[PATCH 4.19 27/36] nfsd: apply umask on fs without ACL support

2020-07-07 Thread Greg Kroah-Hartman
From: J. Bruce Fields commit 22cf8419f1319ff87ec759d0ebdff4cbafaee832 upstream. The server is failing to apply the umask when creating new objects on filesystems without ACL support. To reproduce this, you need to use NFSv4.2 and a client and server recent enough to support umask, and you need

[PATCH 4.14 19/27] nfsd: apply umask on fs without ACL support

2020-07-07 Thread Greg Kroah-Hartman
From: J. Bruce Fields commit 22cf8419f1319ff87ec759d0ebdff4cbafaee832 upstream. The server is failing to apply the umask when creating new objects on filesystems without ACL support. To reproduce this, you need to use NFSv4.2 and a client and server recent enough to support umask, and you need

[PATCH AUTOSEL 5.4 25/40] iommu/vt-d: Don't apply gfx quirks to untrusted devices

2020-07-01 Thread Sasha Levin
From: Rajat Jain [ Upstream commit 67e8a5b18d41af9298db5c17193f671f235cce01 ] Currently, an external malicious PCI device can masquerade the VID:PID of faulty gfx devices, and thus apply iommu quirks to effectively disable the IOMMU restrictions for itself. Thus we need to ensure

[PATCH AUTOSEL 5.7 32/53] iommu/vt-d: Don't apply gfx quirks to untrusted devices

2020-07-01 Thread Sasha Levin
From: Rajat Jain [ Upstream commit 67e8a5b18d41af9298db5c17193f671f235cce01 ] Currently, an external malicious PCI device can masquerade the VID:PID of faulty gfx devices, and thus apply iommu quirks to effectively disable the IOMMU restrictions for itself. Thus we need to ensure

[PATCH v3 bpf-next 2/8] bpf: move to generic BTF show support, apply it to seq files/strings

2020-06-23 Thread Alan Maguire
generalize the "seq_show" seq file support in btf.c to support a generic show callback of which we support two instances; the current seq file show, and a show with snprintf() behaviour which instead writes the type data to a supplied string. Both classes of show function call btf_type_show()

[PATCH 5.4 015/261] spi: pxa2xx: Apply CS clk quirk to BXT

2020-06-19 Thread Greg Kroah-Hartman
From: Evan Green [ Upstream commit 6eefaee4f2d366a389da0eb95e524ba82bf358c4 ] With a couple allies at Intel, and much badgering, I got confirmation from Intel that at least BXT suffers from the same SPI chip-select issue as Cannonlake (and beyond). The issue being that after going through

[PATCH 5.7 023/376] spi: pxa2xx: Apply CS clk quirk to BXT

2020-06-19 Thread Greg Kroah-Hartman
From: Evan Green [ Upstream commit 6eefaee4f2d366a389da0eb95e524ba82bf358c4 ] With a couple allies at Intel, and much badgering, I got confirmation from Intel that at least BXT suffers from the same SPI chip-select issue as Cannonlake (and beyond). The issue being that after going through

[PATCH 4.19 098/267] spi: pxa2xx: Apply CS clk quirk to BXT

2020-06-19 Thread Greg Kroah-Hartman
From: Evan Green [ Upstream commit 6eefaee4f2d366a389da0eb95e524ba82bf358c4 ] With a couple allies at Intel, and much badgering, I got confirmation from Intel that at least BXT suffers from the same SPI chip-select issue as Cannonlake (and beyond). The issue being that after going through

[PATCH 4.14 080/190] spi: pxa2xx: Apply CS clk quirk to BXT

2020-06-19 Thread Greg Kroah-Hartman
From: Evan Green [ Upstream commit 6eefaee4f2d366a389da0eb95e524ba82bf358c4 ] With a couple allies at Intel, and much badgering, I got confirmation from Intel that at least BXT suffers from the same SPI chip-select issue as Cannonlake (and beyond). The issue being that after going through

[PATCH AUTOSEL 5.7 025/274] spi: pxa2xx: Apply CS clk quirk to BXT

2020-06-08 Thread Sasha Levin
From: Evan Green [ Upstream commit 6eefaee4f2d366a389da0eb95e524ba82bf358c4 ] With a couple allies at Intel, and much badgering, I got confirmation from Intel that at least BXT suffers from the same SPI chip-select issue as Cannonlake (and beyond). The issue being that after going through

[PATCH AUTOSEL 5.4 017/175] spi: pxa2xx: Apply CS clk quirk to BXT

2020-06-08 Thread Sasha Levin
From: Evan Green [ Upstream commit 6eefaee4f2d366a389da0eb95e524ba82bf358c4 ] With a couple allies at Intel, and much badgering, I got confirmation from Intel that at least BXT suffers from the same SPI chip-select issue as Cannonlake (and beyond). The issue being that after going through

[PATCH AUTOSEL 4.19 007/106] spi: pxa2xx: Apply CS clk quirk to BXT

2020-06-08 Thread Sasha Levin
From: Evan Green [ Upstream commit 6eefaee4f2d366a389da0eb95e524ba82bf358c4 ] With a couple allies at Intel, and much badgering, I got confirmation from Intel that at least BXT suffers from the same SPI chip-select issue as Cannonlake (and beyond). The issue being that after going through

[PATCH AUTOSEL 4.14 07/72] spi: pxa2xx: Apply CS clk quirk to BXT

2020-06-08 Thread Sasha Levin
From: Evan Green [ Upstream commit 6eefaee4f2d366a389da0eb95e524ba82bf358c4 ] With a couple allies at Intel, and much badgering, I got confirmation from Intel that at least BXT suffers from the same SPI chip-select issue as Cannonlake (and beyond). The issue being that after going through

[PATCH v15 05/14] mm/damon: Apply dynamic memory mapping changes

2020-06-08 Thread SeongJae Park
ons; } +/* + * Check whether it is time to check and apply the dynamic mmap changes + * + * Returns true if it is. + */ +static bool kdamond_need_update_regions(struct damon_ctx *ctx) +{ + return damon_check_reset_time_interval(>last_regions_update, + ctx->regions_update

Re: [PATCH v4] iommu/vt-d: Don't apply gfx quirks to untrusted devices

2020-06-03 Thread Mika Westerberg
On Wed, Jun 03, 2020 at 06:03:17AM -0700, Rajat Jain wrote: > Currently, an external malicious PCI device can masquerade the VID:PID > of faulty gfx devices, and thus apply iommu quirks to effectively > disable the IOMMU restrictions for itself. > > Thus we need to ensure tha

Re: [PATCH v3] iommu/vt-d: Don't apply gfx quirks to untrusted devices

2020-06-03 Thread Rajat Jain
On Tue, Jun 2, 2020 at 10:30 PM Mika Westerberg wrote: > > On Tue, Jun 02, 2020 at 04:26:02PM -0700, Rajat Jain wrote: > > +static bool risky_device(struct pci_dev *pdev) > > +{ > > + if (pdev->untrusted) { > > + pci_warn(pdev, > > + "Skipping IOMMU quirk for

[PATCH v4] iommu/vt-d: Don't apply gfx quirks to untrusted devices

2020-06-03 Thread Rajat Jain
Currently, an external malicious PCI device can masquerade the VID:PID of faulty gfx devices, and thus apply iommu quirks to effectively disable the IOMMU restrictions for itself. Thus we need to ensure that the device we are applying quirks to, is indeed an internal trusted device. Signed-off

Re: [PATCH v3] iommu/vt-d: Don't apply gfx quirks to untrusted devices

2020-06-02 Thread Mika Westerberg
On Tue, Jun 02, 2020 at 04:26:02PM -0700, Rajat Jain wrote: > +static bool risky_device(struct pci_dev *pdev) > +{ > + if (pdev->untrusted) { > + pci_warn(pdev, > + "Skipping IOMMU quirk for dev (%04X:%04X) on untrusted" > + " PCI link.

Re: [PATCH v3] iommu/vt-d: Don't apply gfx quirks to untrusted devices

2020-06-02 Thread Prashant Malani
(Trimming text) On Wed, Jun 03, 2020 at 12:23:48AM +, Rajat Jain wrote: > On Tue, Jun 2, 2020 at 4:49 PM Prashant Malani wrote: > > > > Hi Rajat, > > Hi Prashant, thanks for taking a look. > > > > > On Tue, Jun 02, 2020 at 04:26:02PM -0700, Rajat Jain wrote: > > > +static bool

Re: [PATCH v3] iommu/vt-d: Don't apply gfx quirks to untrusted devices

2020-06-02 Thread Rajat Jain
On Tue, Jun 2, 2020 at 4:49 PM Prashant Malani wrote: > > Hi Rajat, Hi Prashant, thanks for taking a look. > > On Tue, Jun 02, 2020 at 04:26:02PM -0700, Rajat Jain wrote: > > Currently, an external malicious PCI device can masquerade the VID:PID > > of faulty gfx devic

Re: [PATCH v3] iommu/vt-d: Don't apply gfx quirks to untrusted devices

2020-06-02 Thread Prashant Malani
Hi Rajat, On Tue, Jun 02, 2020 at 04:26:02PM -0700, Rajat Jain wrote: > Currently, an external malicious PCI device can masquerade the VID:PID > of faulty gfx devices, and thus apply iommu quirks to effectively > disable the IOMMU restrictions for itself. > > Thus we

Re: [PATCH v3] iommu/vt-d: Don't apply gfx quirks to untrusted devices

2020-06-02 Thread Raj, Ashok
On Tue, Jun 02, 2020 at 04:26:02PM -0700, Rajat Jain wrote: > Currently, an external malicious PCI device can masquerade the VID:PID > of faulty gfx devices, and thus apply iommu quirks to effectively > disable the IOMMU restrictions for itself. > > Thus we need to ensure tha

[PATCH v3] iommu/vt-d: Don't apply gfx quirks to untrusted devices

2020-06-02 Thread Rajat Jain
Currently, an external malicious PCI device can masquerade the VID:PID of faulty gfx devices, and thus apply iommu quirks to effectively disable the IOMMU restrictions for itself. Thus we need to ensure that the device we are applying quirks to, is indeed an internal trusted device. Signed-off

Re: [PATCH] iommu/vt-d: Don't apply gfx quirks to untrusted devices

2020-06-02 Thread Raj, Ashok
nal malicious PCI device can masquerade the VID:PID > > > of faulty gfx devices, and thus apply iommu quirks to effectively > > > disable the IOMMU restrictions for itself. > > > > > > Thus we need to ensure that the device we are applying quirks to, is >

Re: [PATCH v2] iommu/vt-d: Don't apply gfx quirks to untrusted devices

2020-06-02 Thread Raj, Ashok
Hi Rajat On Tue, Jun 02, 2020 at 11:41:33AM -0700, Rajat Jain wrote: > Currently, an external malicious PCI device can masquerade the VID:PID > of faulty gfx devices, and thus apply iommu quirks to effectively > disable the IOMMU restrictions for itself. > > Thus we

Re: [PATCH] iommu/vt-d: Don't apply gfx quirks to untrusted devices

2020-06-02 Thread Rajat Jain
Hi MIka, Thanks for taking a look. On Tue, Jun 2, 2020 at 2:50 AM Mika Westerberg wrote: > > On Mon, Jun 01, 2020 at 10:45:17PM -0700, Rajat Jain wrote: > > Currently, an external malicious PCI device can masquerade the VID:PID > > of faulty gfx devices, and thus

[PATCH v2] iommu/vt-d: Don't apply gfx quirks to untrusted devices

2020-06-02 Thread Rajat Jain
Currently, an external malicious PCI device can masquerade the VID:PID of faulty gfx devices, and thus apply iommu quirks to effectively disable the IOMMU restrictions for itself. Thus we need to ensure that the device we are applying quirks to, is indeed an internal trusted device. Signed-off

[PATCH v14 05/15] mm/damon: Apply dynamic memory mapping changes

2020-06-02 Thread SeongJae Park
void kdamond_split_regions(struct damon_ctx *ctx) last_nr_regions = nr_regions; } +/* + * Check whether it is time to check and apply the dynamic mmap changes + * + * Returns true if it is. + */ +static bool kdamond_need_update_regions(struct damon_ctx *ctx) +{ + return

Re: [PATCH] iommu/vt-d: Don't apply gfx quirks to untrusted devices

2020-06-02 Thread Mika Westerberg
On Mon, Jun 01, 2020 at 10:45:17PM -0700, Rajat Jain wrote: > Currently, an external malicious PCI device can masquerade the VID:PID > of faulty gfx devices, and thus apply iommu quirks to effectively > disable the IOMMU restrictions for itself. > > Thus we need to ensure tha

Re: [PATCH] iommu/vt-d: Don't apply gfx quirks to untrusted devices

2020-06-02 Thread Lu Baolu
On 2020/6/2 13:45, Rajat Jain wrote: Currently, an external malicious PCI device can masquerade the VID:PID of faulty gfx devices, and thus apply iommu quirks to effectively disable the IOMMU restrictions for itself. Thus we need to ensure that the device we are applying quirks to, is indeed

[PATCH] iommu/vt-d: Don't apply gfx quirks to untrusted devices

2020-06-01 Thread Rajat Jain
Currently, an external malicious PCI device can masquerade the VID:PID of faulty gfx devices, and thus apply iommu quirks to effectively disable the IOMMU restrictions for itself. Thus we need to ensure that the device we are applying quirks to, is indeed an internal trusted device. Signed-off

Re: [PATCH v13 06/15] mm/damon: Apply dynamic memory mapping changes

2020-05-27 Thread Leonard Foerster
On 2020-05-25T11:15:03+02:00 SeongJae Park wrote: > From: SeongJae Park > > Only a number of parts in the virtual address space of the processes is > mapped to physical memory and accessed. Thus, tracking the unmapped > address regions is just wasteful. However, tracking every memory >

[PATCH v13 06/15] mm/damon: Apply dynamic memory mapping changes

2020-05-25 Thread SeongJae Park
damon_ctx *ctx) last_nr_regions = nr_regions; } +/* + * Check whether it is time to check and apply the dynamic mmap changes + * + * Returns true if it is. + */ +static bool kdamond_need_update_regions(struct damon_ctx *ctx) +{ + return damon_check_reset_time_interval

Re: [PATCH 1/1] pwm: mtk_disp: implement .apply()

2020-05-24 Thread Uwe Kleine-König
Hello, On Fri, Apr 10, 2020 at 11:19:55AM +0800, Jitao Shi wrote: > implement the apply() for pwm. > > Fix the clock clk_prepare_enable and clk_disable_unprepare mismatch, > switch the driver to support the ->apply() method. Adding support for get_state is a separate chan

Re: [PATCH] dns: Apply a default TTL to records obtained from getaddrinfo()

2020-05-20 Thread Jeff Layton
On Tue, 2020-05-19 at 17:06 +0100, David Howells wrote: > Okay, how about this incremental change, then? If fixes the typo, only prints > the "READ CONFIG" line in verbose mode, filters escape chars in the config > file and reduces the expiration time to 5s. > > David > --- > diff --git

[PATCH 3.16 61/99] KVM: x86/mmu: Apply max PA check for MMIO sptes to 32-bit KVM

2020-05-20 Thread Ben Hutchings
3.16.84-rc1 review patch. If anyone has any objections, please let me know. -- From: Sean Christopherson commit e30a7d623dccdb3f880fbcad980b0cb589a1da45 upstream. Remove the bogus 64-bit only condition from the check that disables MMIO spte optimization when the system

Re: [PATCH] dns: Apply a default TTL to records obtained from getaddrinfo()

2020-05-19 Thread Ben Boeckel
On Tue, May 19, 2020 at 17:06:49 +0100, David Howells wrote: > Okay, how about this incremental change, then? If fixes the typo, only prints > the "READ CONFIG" line in verbose mode, filters escape chars in the config > file and reduces the expiration time to 5s. Thanks! Looks good to me.

Re: [PATCH] dns: Apply a default TTL to records obtained from getaddrinfo()

2020-05-19 Thread David Howells
Okay, how about this incremental change, then? If fixes the typo, only prints the "READ CONFIG" line in verbose mode, filters escape chars in the config file and reduces the expiration time to 5s. David --- diff --git a/key.dns_resolver.c b/key.dns_resolver.c index c241eda3..7a7ec424 100644 ---

Re: [PATCH] dns: Apply a default TTL to records obtained from getaddrinfo()

2020-05-19 Thread Florian Weimer
* David Howells: > Fix this to apply a default TTL of 10mins in the event that we haven't got > one. This can be configured in /etc/keyutils/key.dns_resolver.conf by > adding the line: > > default_ttl: > > to the file. If the name resolution is not needed c

Re: [PATCH] dns: Apply a default TTL to records obtained from getaddrinfo()

2020-05-19 Thread Ben Boeckel
On Tue, May 19, 2020 at 14:39:40 +0100, David Howells wrote: > Ben Boeckel wrote: > > Is there precedent for this config file format? > > Okay, I can change it to: > > default_ttl = > > and strip spaces all over the place. Thanks. This is at least a subset of other formats with specs

Re: [PATCH] dns: Apply a default TTL to records obtained from getaddrinfo()

2020-05-19 Thread David Howells
about the attached? David --- commit cbf0457e0fc99aa5beabe54daeda57be70dfdfce Author: David Howells Date: Tue Apr 14 16:07:26 2020 +0100 dns: Apply a default TTL to records obtained from getaddrinfo() Address records obtained from getaddrinfo() don't come with any TTL information,

[PATCH] perf core: apply calculated padding to PERF_SAMPLE_RAW output

2020-05-19 Thread Timo Beckers
Zero the amount of padding bytes determined in perf_prepare_sample(). This prevents garbage being read from the ring buffer after it has wrapped the page boundary at least once. Signed-off-by: Timo Beckers --- kernel/events/core.c | 12 ++-- 1 file changed, 10 insertions(+), 2

Re: [PATCH v2 bpf-next 2/7] bpf: move to generic BTF show support, apply it to seq files/strings

2020-05-19 Thread Yonghong Song
On 5/18/20 2:46 AM, Alan Maguire wrote: On Wed, 13 May 2020, Yonghong Song wrote: +struct btf_show { + u64 flags; + void *target; /* target of show operation (seq file, buffer) */ + void (*showfn)(struct btf_show *show, const char *fmt, ...); + const struct btf

Re: [PATCH] function_graph: apply tracing option 'irq-info'

2020-05-18 Thread Steven Rostedt
On Sun, 17 May 2020 00:09:53 +0800 Changbin Du wrote: > The tracing option 'irq-info' is only used by function tracer by far. This > patch makes it also against function graph tracer. Then the two tracers > have consistent behavior of this option. > > Signed-off-by: Changbin Du > --- Sorry,

Re: [PATCH] dns: Apply a default TTL to records obtained from getaddrinfo()

2020-05-18 Thread Ben Boeckel
> records unless they include a component obtained directly from the DNS, > such as an SRV or AFSDB record. > > Fix this to apply a default TTL of 10mins in the event that we haven't got > one. This can be configured in /etc/keyutils/key.dns_resolver.conf by > adding the l

[PATCH] dns: Apply a default TTL to records obtained from getaddrinfo()

2020-05-18 Thread David Howells
, such as an SRV or AFSDB record. Fix this to apply a default TTL of 10mins in the event that we haven't got one. This can be configured in /etc/keyutils/key.dns_resolver.conf by adding the line: default_ttl: to the file. Signed-off-by: David Howells --- Makefile |1

[PATCH v12 07/16] mm/damon: Apply dynamic memory mapping changes

2020-05-18 Thread SeongJae Park
damon_ctx *ctx) last_nr_regions = nr_regions; } +/* + * Check whether it is time to check and apply the dynamic mmap changes + * + * Returns true if it is. + */ +static bool kdamond_need_update_regions(struct damon_ctx *ctx) +{ + return damon_check_reset_time_interval

Re: [PATCH v2 bpf-next 2/7] bpf: move to generic BTF show support, apply it to seq files/strings

2020-05-18 Thread Alan Maguire
On Wed, 13 May 2020, Yonghong Song wrote: > > > +struct btf_show { > > + u64 flags; > > + void *target; /* target of show operation (seq file, buffer) */ > > + void (*showfn)(struct btf_show *show, const char *fmt, ...); > > + const struct btf *btf; > > + /* below are used during

[PATCH] function_graph: apply tracing option 'irq-info'

2020-05-16 Thread Changbin Du
The tracing option 'irq-info' is only used by function tracer by far. This patch makes it also against function graph tracer. Then the two tracers have consistent behavior of this option. Signed-off-by: Changbin Du --- kernel/trace/trace_functions_graph.c | 6 +++--- 1 file changed, 3

[PATCH 02/19] staging: wfx: apply 80-columns rule to strings

2020-05-15 Thread Jerome Pouiller
From: Jérôme Pouiller Strings are allowed to exceed 80 columns but, in this case, the format arguments should be placed on a new line. Apply this rule to the whole code of the driver. Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/bus_sdio.c | 3 ++- drivers/staging/wfx/data_tx.c

Re: [PATCH v2 bpf-next 2/7] bpf: move to generic BTF show support, apply it to seq files/strings

2020-05-13 Thread Yonghong Song
On 5/11/20 10:56 PM, Alan Maguire wrote: generalize the "seq_show" seq file support in btf.c to support a generic show callback of which we support two instances; the current seq file show, and a show with snprintf() behaviour which instead writes the type data to a supplied string. Both

[PATCH v2 bpf-next 2/7] bpf: move to generic BTF show support, apply it to seq files/strings

2020-05-12 Thread Alan Maguire
generalize the "seq_show" seq file support in btf.c to support a generic show callback of which we support two instances; the current seq file show, and a show with snprintf() behaviour which instead writes the type data to a supplied string. Both classes of show function call btf_type_show()

[PATCH v11 07/16] mm/damon: Apply dynamic memory mapping changes

2020-05-11 Thread SeongJae Park
damon_ctx *ctx) last_nr_regions = nr_regions; } +/* + * Check whether it is time to check and apply the dynamic mmap changes + * + * Returns true if it is. + */ +static bool kdamond_need_update_regions(struct damon_ctx *ctx) +{ + return damon_check_reset_time_interval

Apply for Loan

2020-05-07 Thread Jackson Loan Firm
Good Day Do you need a Loan? Thanks Mr Charles Dickson

[PATCH v4 3/3] iommu/vt-d: Apply per-device dma_ops

2020-05-05 Thread Lu Baolu
Current Intel IOMMU driver sets the system level dma_ops. This causes each dma API to go through the IOMMU driver even the devices are using identity mapped domains. This sets per-device dma_ops only if a device is using a DMA domain. Otherwise, use the default system level dma_ops for direct dma.

[PATCH v10 07/16] mm/damon: Apply dynamic memory mapping changes

2020-05-05 Thread SeongJae Park
damon_ctx *ctx) damon_split_regions_of(ctx, t, nr_subregions); } +/* + * Check whether it is time to check and apply the dynamic mmap changes + * + * Returns true if it is. + */ +static bool kdamond_need_update_regions(struct damon_ctx *ctx) +{ + return

RE: Re: [v5,net-next 0/4] Introduce a flow gate control action and apply IEEE

2020-05-03 Thread Po Liu
etronome.com; > pa...@netfilter.org; mo...@mellanox.com; m-kariche...@ti.com; > andre.gue...@linux.intel.com; step...@networkplumber.org > Subject: Re: [v5,net-next 0/4] Introduce a flow gate control action > and apply IEEE > > From: Po Liu > Date: Fri, 1 May 2020 08:53:14 +0800

Re: [v5,net-next 0/4] Introduce a flow gate control action and apply IEEE

2020-05-01 Thread David Miller
From: Po Liu Date: Fri, 1 May 2020 08:53:14 +0800 ... > These patches add stream gate action policing in IEEE802.1Qci (Per-Stream > Filtering and Policing) software support and hardware offload support in > tc flower, and implement the stream identify, stream filtering and > stream gate

Re: [PATCH net-next v2 3/4] net: phy: bcm54140: apply the workaround on b0 chips

2020-04-30 Thread David Miller
From: Michael Walle Date: Wed, 29 Apr 2020 01:06:58 +0200 > The lower three bits of the phy_id specifies the chip stepping. The > workaround is specifically for the B0 stepping. Apply it only on these > chips. > > Signed-off-by: Michael Walle > Reviewed-by: Andrew Lunn >

[v5,net-next 0/4] Introduce a flow gate control action and apply IEEE

2020-04-30 Thread Po Liu
Changes from V4: 0001: Fix and modify according to Vlid Buslov suggestions: - Change spin_lock_bh() to spin_lock() since tcf_gate_act() already in software irq. - Remove spin lock protect in the ops->cleanup function. - Enable the CONFIG_DEBUG_ATOMIC_SLEEP and CONFIG_PROVE_LOCKING

Re: [PATCH] spi: pxa2xx: Apply CS clk quirk to BXT

2020-04-30 Thread Mark Brown
rnel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.8 Thanks! [1/1] spi: pxa2xx: Apply CS clk quirk to BXT commit: 6eefaee4f2d366a389da0eb95e524ba82bf358c4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to L

[PATCH v4 02/11] livepatch: Apply vmlinux-specific KLP relocations early

2020-04-29 Thread Josh Poimboeuf
thus they can create the ordering headaches described above. But vmlinux-specific KLP relocations don't have that problem. There's nothing to prevent them from being applied earlier. So apply them at the same time as normal relocations, when the KLP module is being loaded. This means that for vmlinux-spec

[PATCH net-next v2 3/4] net: phy: bcm54140: apply the workaround on b0 chips

2020-04-28 Thread Michael Walle
The lower three bits of the phy_id specifies the chip stepping. The workaround is specifically for the B0 stepping. Apply it only on these chips. Signed-off-by: Michael Walle Reviewed-by: Andrew Lunn Reviewed-by: Florian Fainelli --- changes since v1: - added reviewed-by tags drivers/net

Re: [PATCH net-next 3/4] net: phy: bcm54140: apply the workaround on b0 chips

2020-04-28 Thread Florian Fainelli
On 4/28/20 2:08 PM, Michael Walle wrote: > The lower three bits of the phy_id specifies the chip stepping. The > workaround is specifically for the B0 stepping. Apply it only on these > chips. > > Signed-off-by: Michael Walle Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH net-next 3/4] net: phy: bcm54140: apply the workaround on b0 chips

2020-04-28 Thread Andrew Lunn
On Tue, Apr 28, 2020 at 11:08:53PM +0200, Michael Walle wrote: > The lower three bits of the phy_id specifies the chip stepping. The > workaround is specifically for the B0 stepping. Apply it only on these > chips. > > Signed-off-by: Michael Walle Reviewed-by: Andrew Lunn Andrew

[PATCH net-next 3/4] net: phy: bcm54140: apply the workaround on b0 chips

2020-04-28 Thread Michael Walle
The lower three bits of the phy_id specifies the chip stepping. The workaround is specifically for the B0 stepping. Apply it only on these chips. Signed-off-by: Michael Walle --- drivers/net/phy/bcm54140.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers

Re: [PATCH v3 02/10] livepatch: Apply vmlinux-specific KLP relocations early

2020-04-28 Thread Miroslav Benes
> @@ -738,18 +765,23 @@ static int klp_init_object_loaded(struct klp_patch > *patch, > int ret; > > mutex_lock(_mutex); > - > module_disable_ro(patch->mod); > - ret = klp_write_object_relocations(patch->mod, obj); > - if (ret) { > -

[PATCH AUTOSEL 4.19 042/100] ALSA: hda/realtek - Apply ALC294 hp init also for S4 resume

2019-10-18 Thread Sasha Levin
image. Since we record the PM event in the device power_state field, we can now recognize the call pattern and apply the sequence conditionally. Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- sound/pci/hda/patch_realtek.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion

[PATCH AUTOSEL 4.14 14/56] ALSA: hda/realtek - Apply ALC294 hp init also for S4 resume

2019-10-18 Thread Sasha Levin
image. Since we record the PM event in the device power_state field, we can now recognize the call pattern and apply the sequence conditionally. Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- sound/pci/hda/patch_realtek.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion

Re: [PATCH v2 2/3] pwm: stm32: split breakinput apply routine to ease PM support

2019-10-16 Thread Thierry Reding
On Fri, Oct 04, 2019 at 02:53:52PM +0200, Fabrice Gasnier wrote: > Split breakinput routine that configures STM32 timers 'break' safety > feature upon probe, into two routines: > - stm32_pwm_apply_breakinputs() sets all the break inputs into registers. > - stm32_pwm_probe_breakinputs() probes the

Apply For Financial investment at a lower rate 2%

2019-10-10 Thread Valentina Yurina
-- Hello, We are private lenders based in UK. Do you need a loan (credit) as soon as possible. Are you in search of money to solve your personal needs or finance your business venture, then get Your desired loan today! Consult us at Sunrise Funding Ltd. * We offer personal loan & huge capital

<    1   2   3   4   5   6   7   8   9   10   >