Hi all:
I have gone through the patch, and i find one limit for RPC call from TEE to
REE.
In this patch, RPC commands are fixed and it supports a limited set of commands.
If you want to add your own RPC command then you need to change the source code
of the driver.
I don't know how much work to
tag
2. change the flags define based on the comment.
Fixes: e7f63771b60e ("ION: Sys_heap: Add cached pool to spead up cached buffer
alloc")
Signed-off-by: Zeng Tao
---
drivers/staging/android/ion/ion_system_heap.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/staging/a
This issue is introduced by the commit ("ION: Sys_heap:
Add cached pool to spead up cached buffer alloc"), the gfp_mask low
order pool is overlapped by the high order inside the loop, so the
gfp_mask of all pools are set to high_order_gfp_flags.
Signed-off-by: Zeng Tao
---
drive
If it's the first request to queue, and we are using descriptor dma mode
for isoc transfer, we only need to add the request to the queue, and it
will be processed in the future nak interrupt handler.
Signed-off-by: Zeng Tao
---
drivers/usb/dwc2/gadget.c | 3 +++
1 file changed, 3 inser
sure that it's not out of date.
Signed-off-by: Liang Shengjun
Signed-off-by: Zeng Tao
---
drivers/usb/dwc3/core.h | 3 +++
drivers/usb/dwc3/gadget.c | 12
2 files changed, 15 insertions(+)
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index 5bfb625..8742
ioctl command to target the requirement.
Signed-off-by: Zeng Tao
---
drivers/staging/android/ion/ion-ioctl.c | 4
drivers/staging/android/ion/ion.c | 17 +
drivers/staging/android/ion/ion.h | 1 +
drivers/staging/android/uapi/ion.h | 22
configfs attribute node.
Signed-off-by: Zeng Tao
---
drivers/usb/gadget/function/uvc_configfs.c | 350 -
include/uapi/linux/usb/video.h | 58 +
2 files changed, 401 insertions(+), 7 deletions(-)
diff --git a/drivers/usb/gadget/function/uvc_configfs.c
b
We have already returned EAGAIN for bus-expiry, and it's designed to
start with a future Frame number and start the transfer again. So we
should not remove the request for that case.
Signed-off-by: Zeng Tao
---
drivers/usb/dwc3/gadget.c | 5 ++---
1 file changed, 2 insertions(+), 3 dele
-by: Zeng Tao
---
drivers/usb/dwc3/gadget.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
index 16a6e3c..e18c2a2 100644
--- a/drivers/usb/dwc3/gadget.c
+++ b/drivers/usb/dwc3/gadget.c
@@ -1988,6 +1988,7 @@ static int __dwc3_gadget_start(str
Remove the temporary code ion_cma_get_sgtable,
use dma_common_get_sgtable instead
Signed-off-by: Zeng Tao
---
drivers/staging/android/ion/ion_cma_heap.c | 20 +---
1 file changed, 1 insertion(+), 19 deletions(-)
diff --git a/drivers/staging/android/ion/ion_cma_heap.c
b/drivers
Signed-off-by: Zeng Tao
---
drivers/usb/dwc2/gadget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c
index ad4c943..53406f0 100644
--- a/drivers/usb/dwc2/gadget.c
+++ b/drivers/usb/dwc2/gadget.c
@@ -3380,7 +3380,7 @@ void
("sched/cpupri: Remap CPUPRI_NORMAL to MAX_RT_PRIO-1")
Signed-off-by: Zeng Tao
---
kernel/sched/cpupri.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/kernel/sched/cpupri.c b/kernel/sched/cpupri.c
index ec9be78..c5a0e6e 100644
--- a/kernel/sched/cpupri.c
+++ b/ke
whole kernel.
Signed-off-by: Zeng Tao
---
tools/kvm/kvm_stat/kvm_stat | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/tools/kvm/kvm_stat/kvm_stat b/tools/kvm/kvm_stat/kvm_stat
index b0bf56c..63d87fd 100755
--- a/tools/kvm/kvm_stat/kvm_stat
+++ b/tools/kvm/kvm_stat/kvm
__vfio_pci_add_vma down
after the io_remap_pfn_range.
Fixes: 11c4cd07ba11 ("vfio-pci: Fault mmaps to enable vma tracking")
Signed-off-by: Zeng Tao
---
drivers/vfio/pci/vfio_pci.c | 14 ++
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/drivers/vfio/pci/vf
when cma is located in highmem, virt_to_page will not
work the right way, use pfn_to_page instead.
Signed-off-by: Zeng Tao
---
drivers/staging/android/ion/ion_cma_heap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/android/ion/ion_cma_heap.c
b/drivers
For elf32 thread, personality is used for arm32,
and thread_flag for arm64.
Here personality is used for arm64, so fix it.
Signed-off-by: Zeng Tao
---
arch/arm64/kernel/cpuinfo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/kernel/cpuinfo.c b/arch/arm64/kernel
For ISOC transfers, if there is no available data for a period, we need
to stop the transfer by issue a stop command, otherwise, all the
upcoming transfers will started by update transfer command, and will be
dropped with MISS ISOC errors.
Signed-off-by: Zeng Tao
---
drivers/usb/dwc3/gadget.c
oduce private phy API
for runtime configurations, and with this patch, they can switch to
the phy_configure as a replace.
Signed-off-by: Zeng Tao
---
drivers/phy/allwinner/phy-sun6i-mipi-dphy.c | 4 ++--
drivers/phy/cadence/cdns-dphy.c | 8
drivers/phy/phy-c
oduce private phy API
for runtime configurations, and with this patch, they can switch to
the phy_configure as a replace.
Signed-off-by: Zeng Tao
---
drivers/phy/allwinner/phy-sun6i-mipi-dphy.c | 4 ++--
drivers/phy/cadence/cdns-dphy.c | 8
drivers/phy/phy-c
ug?id=901a0d9e6519ef8dc7acab25344bd287dd3c7be9
Cc: stable
Cc: Alan Stern
Reported-by: syzbot+256e56ddde8b8957e...@syzkaller.appspotmail.com
Fixes: 217a9081d8e6 ("USB: add all configs to the "descriptors" attribute")
Signed-off-by: Zeng Tao
---
drivers/usb/core/sysfs.c | 5
9d ("y2038: itimer: change implementation to timespec64")
Signed-off-by: Zeng Tao
---
include/linux/time64.h | 3 +++
kernel/time/itimer.c | 4
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/include/linux/time64.h b/include/linux/time64.h
index c9dcb3e..3215593 10064
001020 d280 52800022 f9800271 (885ffe61)
[ 9514.204455] ---[ end trace 648de00c8406465f ]---
[ 9514.212308] note: bash[1327] exited with preempt_count 1
Cc: Qian Cai
Cc: Alex Williamson
Fixes: 1518ac272e78 ("vfio/pci: fix memory leaks of eventfd ctx")
Signed-off-by: Zeng Tao
---
dr
In the function ovs_ct_limit_exit, there is already a helper vaibale
which could be reused to improve the readability, so i fix it in this
patch.
Signed-off-by: Zeng Tao
---
net/openvswitch/conntrack.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/openvswitch
when the current process is doing a rpc call from optee, and if there
is a signal pending on the process, it will enter dead loop if the
tee-supplicant is working correctly, fix the problem by breaking out
the loop when the rpc job is finished.
Signed-off-by: Zeng Tao
---
drivers/tee/optee
The following commit has been merged into the timers/urgent branch of tip:
Commit-ID: cb47755725da7b90fecbb2aa82ac3b24a7adb89b
Gitweb:
https://git.kernel.org/tip/cb47755725da7b90fecbb2aa82ac3b24a7adb89b
Author:Zeng Tao
AuthorDate:Tue, 01 Sep 2020 17:30:13 +08:00
Committer
25 matches
Mail list logo