From: Ackerley Tng
Tests that private mem (in guest_mem files) can be migrated. Also
demonstrates the migration flow.
Signed-off-by: Ackerley Tng
Signed-off-by: Ryan Afranji
---
tools/testing/selftests/kvm/Makefile.kvm | 1 +
.../kvm/x86/private_mem_migrate_tests.c | 56
From: Ackerley Tng
These functions will be used in private (guest mem) migration tests.
Signed-off-by: Ackerley Tng
Signed-off-by: Ryan Afranji
---
.../testing/selftests/kvm/include/kvm_util.h | 13 +
.../selftests/kvm/x86/sev_migrate_tests.c | 48 +++
2 files
: Ryan Afranji
---
arch/x86/kvm/x86.c | 110 +++
include/linux/kvm_host.h | 17 ++
virt/kvm/guest_memfd.c | 25 +
3 files changed, 152 insertions(+)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 3a7e05c47aa8..887702781465 100644
Annapurve
Signed-off-by: Vishal Annapurve
Signed-off-by: Ackerley Tng
Signed-off-by: Ryan Afranji
---
arch/x86/include/asm/kvm_host.h | 1 +
arch/x86/kvm/svm/sev.c | 2 ++
arch/x86/kvm/x86.c | 9 -
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/arch/x86
From: Ackerley Tng
Co-developed-by: Sagi Shahar
Signed-off-by: Sagi Shahar
Co-developed-by: Vishal Annapurve
Signed-off-by: Vishal Annapurve
Signed-off-by: Ackerley Tng
Signed-off-by: Ryan Afranji
---
arch/x86/include/asm/kvm_host.h | 2 +-
arch/x86/kvm/svm/sev.c | 29
: Ackerley Tng
Signed-off-by: Ryan Afranji
---
arch/x86/kvm/svm/sev.c | 60 ++--
arch/x86/kvm/x86.c | 62 ++
arch/x86/kvm/x86.h | 6
3 files changed, 82 insertions(+), 46 deletions(-)
diff --git a/arch/x86
From: Ackerley Tng
The migration_in_progress flag will also be needed for migration of
non-sev VMs.
Co-developed-by: Sagi Shahar
Signed-off-by: Sagi Shahar
Co-developed-by: Vishal Annapurve
Signed-off-by: Vishal Annapurve
Signed-off-by: Ackerley Tng
Signed-off-by: Ryan Afranji
---
arch
From: Ackerley Tng
Signed-off-by: Ackerley Tng
Signed-off-by: Ryan Afranji
---
.../kvm/x86/private_mem_migrate_tests.c | 87 +++
1 file changed, 87 insertions(+)
create mode 100644 tools/testing/selftests/kvm/x86/private_mem_migrate_tests.c
diff --git a/tools/testing
From: Ackerley Tng
Test that
+ Invalid inputs should be rejected with EINVAL
+ Successful inputs return a new (destination) fd
+ Destination and source fds have the same inode number
+ No crash on program exit
Signed-off-by: Ackerley Tng
Signed-off-by: Ryan Afranji
---
.../testing/selftests
From: Ackerley Tng
Using guest mem inodes allows us to store metadata for the backing
memory on the inode. Metadata will be added in a later patch to
support HugeTLB pages.
Metadata about backing memory should not be stored on the file, since
the file represents a guest_memfd's binding with a st
From: Ackerley Tng
KVM_LINK_GUEST_MEMFD will link a gmem fd's underlying inode to a new
file (and fd).
Signed-off-by: Ackerley Tng
Co-developed-by: Ryan Afranji
Signed-off-by: Ryan Afranji
---
include/uapi/linux/kvm.h | 8 ++
virt/kvm/guest_memfd.c
From: Ackerley Tng
kvm_gmem_alloc_view() will allocate and build a file out of an inode.
Will be reused later by kvm_gmem_link()
Signed-off-by: Ackerley Tng
Co-developed-by: Ryan Afranji
Signed-off-by: Ryan Afranji
---
virt/kvm/guest_memfd.c | 61
From: David Hildenbrand
alloc_anon_secure_inode() returns an inode after running checks in
security_inode_init_security_anon().
Also refactor secretmem's file creation process to use the new
function.
Signed-off-by: David Hildenbrand
Signed-off-by: Ackerley Tng
Signed-off-by: Ryan Af
Hello,
RFC v2 addresses comments in RFC v1 [1]. This series is also rebased
on kvm/next (v6.15-rc4).
Here's the series stitched together for your convenience:
https://github.com/googleprodkernel/linux-cc/tree/kvm-gmem-link-migrate-rfcv2
Changes from RFC v1:
+ Adds patches to make guest mem use g
- Rename test from to
- Make the RDWR‐flag comment declarative:
“The kernel automatically adds the O_RDWR flag.”
- Update semaphore‐flag failure message to:
“eventfd semaphore flag check failed: …”
Signed-off-by: Ryan Chung
---
tools/testing/selftests/filesystems/eventfd/eventfd_test.c
On 22/04/2025 12:07, Lorenzo Stoakes wrote:
> On Tue, Apr 22, 2025 at 12:03:08PM +0100, Ryan Roberts wrote:
>> On 22/04/2025 11:47, Lorenzo Stoakes wrote:
>>> On Tue, Apr 22, 2025 at 11:37:57AM +0100, Ryan Roberts wrote:
>
> [snip]
>
>>>>
>>>>
On 22/04/2025 11:47, Lorenzo Stoakes wrote:
> On Tue, Apr 22, 2025 at 11:37:57AM +0100, Ryan Roberts wrote:
>> On 13/02/2025 18:17, Lorenzo Stoakes wrote:
>>> Extend the guard region tests to allow for test fixture variants for anon,
>>> shmem, and local file files
private memory
mappings. Since Linux 4.11, userfaultfd can be also used with hugetlbfs and
shared memory mappings.
"""
But I'm not sure if that's referring specifically to
UFFDIO_REGISTER_MODE_MISSING?
Any ideas before I start debugging further?
Thanks,
Ryan
&
Tested with the specjbb2015 benchmark. It has heavy lock contention which leads
to many halt calls. TDX VMs suffered a poor score before this patchset.
Verified the major performance improvement with this patchset applied.
Tested-by: Ryan Afranji
On 23/01/2025 17:40, Peter Xu wrote:
> On Thu, Jan 23, 2025 at 02:38:46PM +0000, Ryan Roberts wrote:
>>> @@ -5470,7 +5471,18 @@ static void move_huge_pte(struct vm_area_struct
>>> *vma, unsigned long old_addr,
>>> spin_lock_nested(src_ptl, SINGLE_DEP
On 23/01/2025 14:38, Ryan Roberts wrote:
> I think there might be a bug in this after all...
>
>
> On 07/01/2025 14:47, Ryan Roberts wrote:
>> When mremap()ing a memory region previously registered with userfaultfd
>> as write-protected but without UFFD_FEATURE_EVENT_RE
I think there might be a bug in this after all...
On 07/01/2025 14:47, Ryan Roberts wrote:
> When mremap()ing a memory region previously registered with userfaultfd
> as write-protected but without UFFD_FEATURE_EVENT_REMAP, an
> inconsistency in flag clearing leads to a mismatch betwee
On 15/01/2025 20:28, Peter Xu wrote:
> On Tue, Jan 07, 2025 at 02:47:52PM +0000, Ryan Roberts wrote:
>> When mremap()ing a memory region previously registered with userfaultfd
>> as write-protected but without UFFD_FEATURE_EVENT_REMAP, an
>> inconsistency in flag clearin
On 15/01/2025 17:30, Lorenzo Stoakes wrote:
> On Wed, Jan 15, 2025 at 12:21:15PM -0500, Peter Xu wrote:
>> On Wed, Jan 15, 2025 at 04:58:06PM +0000, Ryan Roberts wrote:
>>> Hi Peter, David,
>>
>> Hey, Ryan,
>>
>>>
>>> On 07/01/2025 14:47, Rya
Hi Peter, David,
On 07/01/2025 14:47, Ryan Roberts wrote:
> When mremap()ing a memory region previously registered with userfaultfd
> as write-protected but without UFFD_FEATURE_EVENT_REMAP, an
> inconsistency in flag clearing leads to a mismatch between the vma flags
> (which
: Ryan Roberts
---
tools/testing/selftests/mm/.gitignore | 1 +
tools/testing/selftests/mm/Makefile | 2 +
tools/testing/selftests/mm/run_vmtests.sh | 1 +
tools/testing/selftests/mm/uffd-wp-mremap.c | 380
4 files changed, 384 insertions(+)
create mode
existing
clearing of VM_UFFD_WP. Be careful to clear the logical flag regardless
of its physical form; a PTE bit, a swap PTE bit, or a PTE marker. Cover
PTE, huge PMD and hugetlb paths.
Co-developed-by: Mikołaj Lenczewski
Signed-off-by: Mikołaj Lenczewski
Signed-off-by: Ryan Roberts
Closes:
https
d the patch, which I have
subsequently extended.
Applies on top of mm-unstable (f349e79bfbf3)
Thanks,
Ryan
Ryan Roberts (2):
mm: Clear uffd-wp PTE/PMD state on mremap()
selftests/mm: Introduce uffd-wp-mremap regression test
include/linux/userfaultfd_k.h | 12 +
mm/huge_mem
#x27;s pretty hacky.
This is blocking our arm64 testing on linux-next so would appreciate either a
quick fix or removing the change until a fix is ready.
Thanks,
Ryan
8<-
diff --git a/tools/testing/selftests/mm/uffd-common.c
b/tools/testing/selftests/mm/uffd-common.c
index 852e7281026
re value for the non-volatile register.
When amp is internally shutdown by some reason, next 'AMP ON'
command can be ignored because regmap think amp is already ON.
Signed-off-by: Ryan Lee
---
sound/soc/codecs/max98373-i2c.c | 1 +
sound/soc/codecs/max98373-sdw.c | 1 +
2 files changed,
rature recovers from
thermal shutdown.
"CMON Autorestart Switch" : controls whether or not the device
automatically resumes playback when the clock returns after stopping.
Above Auto Restart functions are enabled by default.
Signed-off-by: Ryan Lee
---
sound/soc/codecs/max98373.c | 14 ++
Amp requires 10 ~ 30ms for the power ON and OFF.
Added 30ms delay for stability.
Signed-off-by: Ryan Lee
---
sound/soc/codecs/max98373.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max98373.c
index 746c829312b8..1346a98ce8a1 100644
--- a
This is the same ioctl the rest of the watchdogs support. GETTIMELEFT
returns the number of seconds in the countdown -- useful for testing
whether the watchdog is functioning.
Signed-off-by: Ryan O'Leary
---
drivers/char/ipmi/ipmi_watchdog.c | 75 +++
1 file ch
> -Original Message-
> From: Andrew Jeffery
> Sent: Monday, January 25, 2021 8:47 AM
> To: Ryan Chen ; Samuel Holland
> ; Stephen Boyd ; Joel Stanley
>
> Cc: BMC-SW ; linux-aspeed
> ; Michael Turquette
> ; Linux Kernel Mailing List
> ; linux-...@vger.kern
Hello,
How about this patch progress?
It does impact a lot of machine that when BMC boot at u-boot.
SUART is work for Host. But after boot into kernel, due to the clk
disabled.
The SUART is not work for Host anymore.
Regards,
Ryan
> -Original Mess
> -Original Message-
> From: Andrew Jeffery
> Sent: Wednesday, January 20, 2021 1:16 PM
> To: Troy Lee ; open...@lists.ozlabs.org; Joel
> Stanley ; Philipp Zabel ; open list
> ; moderated list:ARM/ASPEED MACHINE
> SUPPORT ; moderated
> list:ARM/ASPEED MACHINE
Starting from A2, the A-PLL calculation has changed. Use the
existing formula for A0/A1 and the new formula for A2 onwards.
Fixes: d3d04f6c330a ("clk: Add support for AST2600 SoC")
Signed-off-by: Ryan Chen
---
drivers/clk/clk-ast2600.c | 37 +++--
1 fi
> -Original Message-
> From: Joel Stanley
> Sent: Tuesday, January 19, 2021 11:10 AM
> To: Ryan Chen
> Cc: Joel Stanley ; Michael Turquette
> ; Stephen Boyd ;
> linux-...@vger.kernel.org; linux-kernel@vger.kernel.org;
> andre...@au1.ibm.com; BMC-SW ; Andrew
> -Original Message-
> From: Joel Stanley
> Sent: Tuesday, January 19, 2021 10:20 AM
> To: Ryan Chen ; Michael Turquette
> ; Stephen Boyd ;
> linux-...@vger.kernel.org; linux-kernel@vger.kernel.org;
> andre...@au1.ibm.com; BMC-SW
> Cc: j...@jms.id.au; Andre
AST2600A1/A2 have different pll calculate formula.
Signed-off-by: Ryan Chen
---
drivers/clk/clk-ast2600.c | 37 +++--
1 file changed, 27 insertions(+), 10 deletions(-)
diff --git a/drivers/clk/clk-ast2600.c b/drivers/clk/clk-ast2600.c
index bbacaccad554
AST2600 A1/A2 have different pll, this patch fix for AST2600 A2
APLL calculate.
Ryan Chen (1):
clk: aspeed: Fix APLL calculate formula for ast2600-A2
drivers/clk/clk-ast2600.c | 37 +++--
1 file changed, 27 insertions(+), 10 deletions(-)
--
2.17.1
> -Original Message-
> From: Arnd Bergmann
> Sent: Saturday, January 16, 2021 1:05 AM
> To: Ryan Chen
> Cc: John Wang ;
> xuxiao...@bytedance.com; yulei...@bytedance.com; Robert Lippert
> ; moderated list:ARM/ASPEED MACHINE SUPPORT
> ; Greg Kroah-Hartman
> ;
On Wed, Jan 6, 2021 at 12:49 AM Arnd Bergmann wrote:
>
> On Wed, Jan 6, 2021 at 7:48 AM wrote:
> > From: Ryan Houdek
> ...
> > This does not solve the following problems:
> > 1) compat_alloc_user_space inside ioctl
> > 2) ioctls that check task mode instead o
This patch fixes vhub engine stop dma should have different register
setting.
Ryan Chen (1):
usb: gadget: aspeed: fix stop dma register setting.
drivers/usb/gadget/udc/aspeed-vhub/epn.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
--
2.17.1
The vhub engine has two dma mode, one is descriptor list, another
is single stage DMA. Each mode has different stop register setting.
Descriptor list operation (bit2) : 0 disable reset, 1: enable reset
Single mode operation (bit0) : 0 : disable, 1: enable
Signed-off-by: Ryan Chen
---
drivers
and electrical specification of SPI but runs
> > completely
> different protocol.
> > Only the flash channel is related to SPI and the other 3 channels are for
> EC/BMC/SIO.
> > Therefore, an eSPI driver might not fit into the SPI model.
>
> I agree, the naming is confusing but eSPI doesn't belong in drivers/spi.
>
> As it is a bus that is common to more than just the Aspeed BMC, we may want
> to implement it as a new bus type that has devices hanging off it, similar to
> FSI.
>
The ASPEED eSPI controller driver is slave side device, not master side. I
think it will be stay soc/aspeed first.
Because is most SoC Chip related.
Cheers,
Ryan
Hello John, Joel, Jae,
For this should be set LCLK to be CRITICAL it will fix LPC related
driver. (KCS/BT/SNOOP)
I have send the patch before.
https://patchwork.ozlabs.org/project/linux-aspeed/patch/20200928070108.14040-2-ryan_c...@aspeedtech.com/
Hello Joel,
W
> -Original Message-
> From: Zev Weiss
> Sent: Wednesday, December 23, 2020 11:54 AM
> To: Ryan Chen
> Cc: Joel Stanley ; Eddie James ;
> Mauro Carvalho Chehab ; Andrew Jeffery
> ; linux-me...@vger.kernel.org; OpenBMC Maillist
> ; Linux ARM
> ; linux-aspeed
&g
> -Original Message-
> From: Joel Stanley
> Sent: Wednesday, December 23, 2020 9:07 AM
> To: Zev Weiss ; Ryan Chen
>
> Cc: Eddie James ; Mauro Carvalho Chehab
> ; Andrew Jeffery ;
> linux-me...@vger.kernel.org; OpenBMC Maillist ;
> Linux ARM ; linux-aspeed
&g
> -Original Message-
> From: Andrew Jeffery
> Sent: Thursday, October 22, 2020 7:45 AM
> To: Ryan Chen ; Sergei Shtylyov
> ; Joel Stanley ;
> linux-arm-ker...@lists.infradead.org; linux-asp...@lists.ozlabs.org;
> linux-kernel@vger.kernel.org; linux-...@vger.kernel
> -Original Message-
> From: Joel Stanley
> Sent: Wednesday, October 14, 2020 1:28 PM
> To: Stephen Boyd
> Cc: Andrew Jeffery ; Michael Turquette
> ; Ryan Chen ;
> BMC-SW ; Linux ARM
> ; linux-aspeed
> ; linux-...@vger.kernel.org; Linux Kernel
> Mailing L
Hello Segei,
> -Original Message-
> From: Sergei Shtylyov
> Sent: Friday, October 9, 2020 4:23 PM
> To: Ryan Chen ; Joel Stanley ;
> Andrew Jeffery ; linux-arm-ker...@lists.infradead.org;
> linux-asp...@lists.ozlabs.org; linux-kernel@vger.kernel.org;
> linux-...@vg
Signed-off-by: Ryan Kosta
---
arch/riscv/kernel/ftrace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/riscv/kernel/ftrace.c b/arch/riscv/kernel/ftrace.c
index 99e12faa549..765b62434f3 100644
--- a/arch/riscv/kernel/ftrace.c
+++ b/arch/riscv/kernel/ftrace.c
@@ -1,4
> -Original Message-
> From: Joel Stanley
> Sent: Friday, October 9, 2020 12:55 PM
> To: Greg KH
> Cc: Ryan Chen ; Andrew Jeffery
> ; Linux ARM ;
> linux-aspeed ; Linux Kernel Mailing List
> ; linux-...@vger.kernel.org; BMC-SW
> ; Alan Stern
> Subject: Re:
> -Original Message-
> From: Greg KH
> Sent: Friday, October 9, 2020 1:47 PM
> To: Joel Stanley
> Cc: Ryan Chen ; Andrew Jeffery
> ; Linux ARM ;
> linux-aspeed ; Linux Kernel Mailing List
> ; linux-...@vger.kernel.org; BMC-SW
> ; Alan Stern
> Subject: Re:
v2:
- Fix continuation lines, align with "of_device"
v1:
- Add support for AST2600 SOC UHCI driver.
Signed-off-by: Ryan Chen
---
drivers/usb/host/uhci-platform.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/host/uhci-platform.c b/drivers/usb
v2:
-[1/3]: Add SCSI,BLK_DEV_SD,USB_STORAGE in defconfig.
-[2/3]: Fix continuation lines.
v1:
-The patches enable UHCI driver in AST2600 and also
enable USB host in aspeed-ast2600-evb.dts.
Ryan Chen (3):
configs: aspeed: enable UHCI driver in defconfig
usb: host: add uhci compatible
Add EHCI UHCI enable build in aspeed-ast2600-evb.dts
Signed-off-by: Ryan Chen
---
arch/arm/boot/dts/aspeed-ast2600-evb.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-ast2600-evb.dts
b/arch/arm/boot/dts/aspeed-ast2600-evb.dts
index 89be13197780
v2:
-Changed : Add SCSI, BLK_DEV_SD, USB_STORAGE support.
v1:
-Enable UHCI driver in aspeed_g5_defconfig.
Signed-off-by: Ryan Chen
---
arch/arm/configs/aspeed_g5_defconfig | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/configs/aspeed_g5_defconfig
b/arch/arm/configs
> -Original Message-
> From: Joel Stanley
> Sent: Wednesday, October 7, 2020 7:34 PM
> To: Ryan Chen
> Cc: Jae Hyun Yoo ; Andrew Jeffery
> ; Michael Turquette ; Stephen
> Boyd ; linux-...@vger.kernel.org; Linux ARM
> ; linux-aspeed
> ; Linux Kernel Mailing Lis
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
> -Original Message-
> From: Andrew Jeffery
> Sent: Thursday, October 1, 2020 8:32 AM
> To: Billy Tsai ; Rob Herring ;
> Joel Stanley ; devicet...@vger.kernel.org;
> linux-arm-ker...@lists.infradead.org; linux-asp...@lists.ozlabs.org;
> linux-kernel@vger.kernel.org;
Add support for AST2600 SOC UHCI driver.
Signed-off-by: Ryan Chen
---
drivers/usb/host/uhci-platform.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/host/uhci-platform.c b/drivers/usb/host/uhci-platform.c
index 70dbd95c3f06..fa40fe125c2a 100644
--- a/drivers
The patches enable UHCI driver in AST2600 and also enable
USB host in aspeed-ast2600-evb.dts.
Ryan Chen (3):
configs: aspeed: enable UHCI driver in defconfig
usb: host: add uhci compatible support for ast2600-uhci
ARM: dts: add ehci uhci enable in evb dts
arch/arm/boot/dts/aspeed-ast2600
Enable UHCI driver in aspeed_g5_defconfig.
Signed-off-by: Ryan Chen
---
arch/arm/configs/aspeed_g5_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/aspeed_g5_defconfig
b/arch/arm/configs/aspeed_g5_defconfig
index 2bacd8c90f4b..a57009d1a3b8 100644
--- a/arch/arm
Add EHCI UHCI enable build in aspeed-ast2600-evb.dts
Signed-off-by: Ryan Chen
---
arch/arm/boot/dts/aspeed-ast2600-evb.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-ast2600-evb.dts
b/arch/arm/boot/dts/aspeed-ast2600-evb.dts
index 89be13197780
> From: Joel Stanley
> Sent: Tuesday, September 29, 2020 4:04 PM
> To: Ryan Chen ; Jae Hyun Yoo
> ; Andrew Jeffery
> Cc: Michael Turquette ; Stephen Boyd
> ; linux-...@vger.kernel.org; Linux ARM
> ; linux-aspeed
> ; Linux Kernel Mailing List
> ; BMC-SW
> Subjec
Hello Joel & Andrew,
Those patches are more organize for ASPEED SOC LPC register layout.
Does those patches have any feedback?
Ryan
> -Original Message-
> From: ChiaWei Wang
> Sent: Friday, September 11, 2020 4:21 PM
> To: Andrew Jeffery ; Jo
This patch is modify for ASPEED SoC some default clks can't disable
need keep default clk on.
Ryan Chen (1):
clk: aspeed: modify some default clks are critical
drivers/clk/clk-aspeed.c | 8
drivers/clk/clk-ast2600.c | 8
2 files changed, 8 insertions(+), 8 dele
ff-by: Ryan Chen
---
drivers/clk/clk-aspeed.c | 8
drivers/clk/clk-ast2600.c | 8
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/clk/clk-aspeed.c b/drivers/clk/clk-aspeed.c
index 411ff5fb2c07..d348c4fd3f9f 100644
--- a/drivers/clk/clk-aspeed.c
+++ b/driver
Fix a comment typo.
Signed-off-by: Ryan Kosta
---
V3: Fix commit name
drivers/staging/nvec/nvec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
index 360ec040774..a80996b2f5c 100644
--- a/drivers/staging/nvec/nvec.c
Changes since v1:
* Made commit message more clear
* Added description
Note: previous patch named
"[PATCH] fix double next comment in drivers/staging/nvec/nvec.c"
>8--8<
Fixes a comment typo.
Signed-off-by: Ryan Kosta
---
Signed-off-by: Ryan Kosta
---
drivers/staging/nvec/nvec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
index 360ec040774..a80996b2f5c 100644
--- a/drivers/staging/nvec/nvec.c
+++ b/drivers/staging/nvec/nvec.c
div from clock source apll/4. Should not set for
apll from fsi-master driver.
> -Original Message-
> From: Joel Stanley
> Sent: Friday, September 11, 2020 9:30 AM
> To: Eddie James ; Ryan Chen
> ; Billy Tsai
> Cc: linux-...@vger.kernel.org; Linux Kernel Mailing L
; Rob Herring ;
> linux-...@vger.kernel.org; linux-in...@vger.kernel.org; Ryan Chen
>
> Subject: Re: [PATCH 3/5] i2c: aspeed: Mask IRQ status to relevant bits
>
> On Tue, Aug 25, 2020 at 02:47:51PM -0500, Eddie James wrote:
> >
> > On 8/25/20 1:38 AM, Joel Stanley wrote:
>
Check was incorrectly being applied to size of elf phdrs, instead
of the number. The ELF standard allows for up to 65535 headers, but
the check was being compared to the number of headers multiplied by
the size of a program header.
---
fs/binfmt_elf.c | 6 +++---
1 file changed, 3 insertions(+), 3
> -Original Message-
> From: Matthew Wilcox
> Sent: Tuesday, August 11, 2020 11:05 AM
> To: Burrow, Ryan - 0553 - MITLL
> Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH] Bug fix to ELF Loader which rejects valid ELFs
>
> On
Check was incorrectly being applied to size of elf phdrs, instead
of the number. The ELF standard allows for up to 65535 headers, but
the check was being compared to the number of headers multiplied by
the size of a program header.
---
fs/binfmt_elf.c | 6 +++---
1 file changed, 3 insertions(+),
r at
> i2c ISR.
>
> Signed-off-by: ryan_chen
>Applied to for-current with a Fixes tag, thanks! Please, try to add one next
>time and please also check how the subsystem formats the $subject line.
[Ryan Chen] Thanks your review, will add fixes tag at subject.
> > And is there maybe a Fixes: tag for it?
> > [Ryan Chen] Yes it is a fix patch.
>
> I meant this (from submitting-patches.rst):
>It fixes the original implementation of the driver basically. It's just a
>classic posted-write fix. The write to clear the pending in
-Original Message-
From: Wolfram Sang [mailto:w...@the-dreams.de]
Sent: Wednesday, April 29, 2020 3:54 PM
To: Ryan Chen
Cc: Brendan Higgins ; Benjamin Herrenschmidt
; Joel Stanley ; Andrew Jeffery
; linux-...@vger.kernel.org; open...@lists.ozlabs.org;
linux-arm-ker
l_ops bcmgenet_ethtool_ops() as get_ts_info(), the
SOF_TIMESTAMPING_TX_SOFTWARE capability is announced.
Similar to commit a8f5cb9e7991 ("smsc95xx: use ethtool_op_get_ts_info()")
Signed-off-by: Ryan M. Collins
---
drivers/net/ethernet/broadcom/genet/bcmgenet.c | 1 +
1 file changed, 1 insertion(+
On Fri, Jul 5, 2019 at 3:10 PM Alan Stern wrote:
>
> On Thu, 4 Jul 2019, Ryan Kennedy wrote:
>
> > usb_amd_find_chipset_info() is used for chipset detection for
> > several quirks. It is strange that its return value indicates
> > the need for the PLL quirk, whic
On Fri, Jul 5, 2019 at 1:22 AM Greg KH wrote:
>
> On Thu, Jul 04, 2019 at 11:35:28AM -0400, Ryan Kennedy wrote:
> > The AMD PLL USB quirk is incorrectly enabled on newer Ryzen
> > chipsets. The logic in usb_amd_find_chipset_info currently checks
> > for unaffected chips
probe_result to
something more appropriate.
Signed-off-by: Ryan Kennedy
---
drivers/usb/host/ehci-pci.c | 4 ++--
drivers/usb/host/ohci-pci.c | 2 +-
drivers/usb/host/pci-quirks.c | 30 --
drivers/usb/host/pci-quirks.h | 2 +-
drivers/usb/host/xhci-pci.c | 2
to be updated as new
chipsets are added. Note that the core of the workaround in
usb_amd_quirk_pll does correctly check the chipset.
Signed-off-by: Ryan Kennedy
---
drivers/usb/host/pci-quirks.c | 31 +++
1 file changed, 19 insertions(+), 12 deletions(-)
diff --git a/dr
This series contains a minor fix for the AMD PLL USB quirk plus
some clean up to the related code.
Ryan Kennedy (2):
usb: pci-quirks: Correct AMD PLL quirk detection
usb: pci-quirks: Minor cleanup for AMD PLL quirk
drivers/usb/host/ehci-pci.c | 4 ++--
drivers/usb/host/ohci-pci.c | 2
Hello Tao,
Let me more clear. When you set (3, 15, 14) the device sometimes
response nack.
but when you set (4, 7, 7), the device always ack. Am I right?
Ryan
-Original Message-
From: Tao Ren [mailto:tao...@fb.com]
Sent: Thursday, June 20, 2019 3:57 PM
To: Ryan Chen
Hello Tao,
Our recommend about clk divider setting is follow the datasheet clock
setting table for clock divisor.
Ryan
-Original Message-
From: Linux-aspeed
[mailto:linux-aspeed-bounces+ryan_chen=aspeedtech@lists.ozlabs.org] On
Behalf Of Tao Ren
Sent
Hi Henry,
On Tue, Apr 30, 2019 at 2:45 AM Henry Chen wrote:
>
> Add dvfsrc driver for MT8183
>
> Signed-off-by: Henry Chen
> ---
> drivers/soc/mediatek/Kconfig | 15 ++
> drivers/soc/mediatek/Makefile | 1 +
> drivers/soc/mediatek/mtk-dvfsrc.c | 347
> ++
Jagan,
The compatible is for the real hardware name as Maxime previously explained.
The platform is described in the latter part.
Please use:
compatible = "oceanic,5205-5inmfd", "allwinner,sun50i-a64";
Thanks,
Ryan Pannell
Development Team Lead
Oceanic Systems (UK) Ltd
-
uot;, "allwinner,sun50i-a64";
Perhaps this solves the issue. Please let me know thoughts.
Ryan Pannell
Development Team Lead
Oceanic Systems (UK) Ltd
-Original Message-
From: Jagan Teki
Sent: 05 March 2019 16:08
To: Maxime Ripard
Cc: Chen-Yu Tsai ; Rob Herring ; Mark
Ru
Use u32 rather than unsigned long for register variables for clarity and
consistency.
Signed-off-by: Ryan Case
Reviewed-by: Stephen Boyd
Reviewed-by: Evan Green
---
Changes in v2:
- Updated commit message
- Updated missed rxstale variable
drivers/tty/serial/qcom_geni_serial.c | 24
The variables of tx_wm and rx_wm were set to the same define value in
all cases, never updated, and the define was sometimes used
interchangably. Remove the variables/function and use the fixed value.
Signed-off-by: Ryan Case
Reviewed-by: Evan Green
---
Changes in v2:
- Removed CONSOLE from
A frequent side comment has been to remove the use of writel_relaxed,
readl_relaxed, and mb. This reduces driver complexity and the _relaxed
variants were not known to provide any noticeable performance benefit.
Signed-off-by: Ryan Case
Reviewed-by: Evan Green
---
Changes in v2:
- Expanded
The driver only supports FIFO mode so setting and checking this variable
is unnecessary. If DMA support is ever added then such checks can be
introduced.
Signed-off-by: Ryan Case
Reviewed-by: Evan Green
---
Changes in v2:
- Fixed commit message typo
- Coalesced lines where possible
drivers
This is a series of cleanups for issues raised in prior reviews that
were unrelated to the patches at hand.
Changes in v2:
- Updated commit messages
- Removed CONSOLE from UART_CONSOLE_RX_WM
- Coalesced lines where possible
- Updated missed rxstale variable
Ryan Case (4):
tty: serial
Signed-off-by: Ryan Case
---
drivers/tty/serial/qcom_geni_serial.c | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/drivers/tty/serial/qcom_geni_serial.c
b/drivers/tty/serial/qcom_geni_serial.c
index 3103aa0adc86..fa67a2ced420 100644
--- a/drivers
The driver only supports FIFO mode so setting and checking this variable
is unnecessary. If DMA support is ever addedd then such checks can be
introduced.
Signed-off-by: Ryan Case
---
drivers/tty/serial/qcom_geni_serial.c | 66 ++-
1 file changed, 24 insertions(+), 42
The variables of tx_wm and rx_wm were set to the same define value in
all cases, never updated, and the define was sometimes used
interchangably. Remove the variables/function and use the fixed value.
Signed-off-by: Ryan Case
---
drivers/tty/serial/qcom_geni_serial.c | 23
1 - 100 of 521 matches
Mail list logo