Dearly Beloved In Christ

2021-03-27 Thread Mrs Daniella Kyle
Hi Dear, Sorry to invade your privacy, I am Mrs Daniela Angelo Kyle the wife of late Mr Angelo Kyle,my husband worked with Central Bank Of Philippines for ten years before he died in the year 2012. When my late husband was alive he deposited sum amount of Money with UBA Bank therein Burkina Faso

[PATCH v3] usb: typec: tcpm: Export partner Source Capabilities

2021-02-14 Thread Kyle Tso
Export a function for other drivers to get the partner Source Capabilities. Signed-off-by: Kyle Tso --- Changes since v1: - add a put function to free the memory Changes since v2: - bring back the function tcpm_copy_pdos drivers/usb/typec/tcpm/tcpm.c | 47

[PATCH v2] usb: typec: tcpm: Export partner Source Capabilities

2021-02-13 Thread Kyle Tso
Export a function for other drivers to get the partner Source Capabilities. Signed-off-by: Kyle Tso --- Changes since v1: - add a put function to free the memory drivers/usb/typec/tcpm/tcpm.c | 34 ++ include/linux/usb/tcpm.h | 2 ++ 2 files changed, 36

[PATCH] Documentation: connector: Update the description of sink-vdos

2021-02-11 Thread Kyle Tso
Remove the acronym "VDM" and replace it with the full name "Vendor Defined Message". Signed-off-by: Kyle Tso --- .../devicetree/bindings/connector/usb-connector.yaml | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bi

Re: [PATCH v6 6/7] dt-bindings: connector: Add SVDM VDO properties

2021-02-11 Thread Kyle Tso
On Fri, Feb 12, 2021 at 12:21 PM Guenter Roeck wrote: > > On Fri, Feb 05, 2021 at 11:34:14AM +0800, Kyle Tso wrote: > > Add bindings of VDO properties of USB PD SVDM so that they can be > > used in device tree. > > > > Signed-off-by: Kyle Tso > > Reviewe

Re: [PATCH v6 3/7] usb: typec: tcpm: Determine common SVDM Version

2021-02-11 Thread Kyle Tso
On Fri, Feb 12, 2021 at 3:10 PM Kyle Tso wrote: > > On Fri, Feb 12, 2021 at 12:17 PM Guenter Roeck wrote: > > > > On Fri, Feb 05, 2021 at 11:34:11AM +0800, Kyle Tso wrote: > > > PD Spec Revision 3.0 Version 2.0 + ECNs 2020-12-10 > > > 6.4.4.2.3 Structured

Re: [PATCH v6 3/7] usb: typec: tcpm: Determine common SVDM Version

2021-02-11 Thread Kyle Tso
On Fri, Feb 12, 2021 at 12:17 PM Guenter Roeck wrote: > > On Fri, Feb 05, 2021 at 11:34:11AM +0800, Kyle Tso wrote: > > PD Spec Revision 3.0 Version 2.0 + ECNs 2020-12-10 > > 6.4.4.2.3 Structured VDM Version > > "The Structured VDM Version field of the Discover Id

Re: [PATCH] x86: entry: Remove _TIF_SINGLESTEP define leftover

2021-02-08 Thread Kyle Huey
Looks good to me. - Kyle On Mon, Feb 8, 2021 at 1:43 PM Sedat Dilek wrote: > > After commit 6342adcaa683 ("entry: Ensure trap after single-step on > system call return") a _TIF_SINGLESTEP define is obsolete for arch/x86. > > So, remove the leftover in arch/x86/inclu

Re: [Linux v5.11-rc7] x86: entry: Leftover of _TIF_SINGLESTEP define?

2021-02-07 Thread Kyle Huey
de/asm/thread_info.h:#define _TIF_SINGLESTEP > (1 << TIF_SINGLESTEP) > > Is this a leftover and can be removed (now)? > > Thanks. > > Regards, > - Sedat - > > [1] https://marc.info/?l=linux-kernel&m=161273724611262&w=2 > [2] https://git.kernel.org/linus/6342adcaa683 Yes it looks like that can be removed now. - Kyle

Re: [PATCH v6 6/7] dt-bindings: connector: Add SVDM VDO properties

2021-02-05 Thread Kyle Tso
On Sat, Feb 6, 2021 at 5:30 AM Rob Herring wrote: > > On Fri, Feb 05, 2021 at 11:34:14AM +0800, Kyle Tso wrote: > > Add bindings of VDO properties of USB PD SVDM so that they can be > > used in device tree. > > > > Signed-off-by: Kyle Tso > > --- &

[PATCH v6 6/7] dt-bindings: connector: Add SVDM VDO properties

2021-02-04 Thread Kyle Tso
Add bindings of VDO properties of USB PD SVDM so that they can be used in device tree. Signed-off-by: Kyle Tso --- Changes since v5: - no change .../bindings/connector/usb-connector.yaml | 11 + include/dt-bindings/usb/pd.h | 311 +- 2 files changed, 321

[PATCH v6 7/7] usb: typec: tcpm: Get Sink VDO from fwnode

2021-02-04 Thread Kyle Tso
Commit a079973f462a ("usb: typec: tcpm: Remove tcpc_config configuration mechanism") removed the tcpc_config which includes the Sink VDO and it is not yet added back with fwnode. Add it now. Signed-off-by: Kyle Tso --- Changes since v5: - no change drivers/usb/typec/tcpm/t

[PATCH v6 5/7] usb: typec: displayport: Fill the negotiated SVDM Version in the header

2021-02-04 Thread Kyle Tso
VDM header now requires SVDM Version. Get it from typec_partner. Signed-off-by: Kyle Tso --- Changes since v5: - follow the changes of "usb: typec: Manage SVDM version" drivers/usb/typec/altmodes/displayport.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-)

[PATCH v6 3/7] usb: typec: tcpm: Determine common SVDM Version

2021-02-04 Thread Kyle Tso
tners or Cable Plug and Shall continue to operate using this Specification Revision until they are Detached." Also clear the fields newly defined in SVDM version 2.0 if the negotiated SVDM version is 1.0. Signed-off-by: Kyle Tso --- Changes since v5: - follow the changes of "usb: typ

[PATCH v6 2/7] usb: pd: Make SVDM Version configurable in VDM header

2021-02-04 Thread Kyle Tso
PD Rev 3.0 introduces SVDM Version 2.0. This patch makes the field configuable in the header in order to be able to be compatible with older SVDM version. Signed-off-by: Kyle Tso --- Changes since v5: - no change drivers/usb/typec/altmodes/displayport.c | 2 +- drivers/usb/typec/tcpm/tcpm.c

[PATCHi v6 1/7] usb: typec: Manage SVDM version

2021-02-04 Thread Kyle Tso
rt and the partner. Also add setter/getter functions for the negotiated SVDM version. Signed-off-by: Kyle Tso --- Changes since v5 - !! most changes are from Heikki - location of the negotiated SVDM version is changed. Now the variable resides in typec_partner - The setter and getter func

[PATCH v6 4/7] usb: typec: ucsi: Determine common SVDM Version

2021-02-04 Thread Kyle Tso
owest common Structured VDM Version supported by the Port Partners or Cable Plug and Shall continue to operate using this Specification Revision until they are Detached." Signed-off-by: Kyle Tso --- Changes since v5: - follow the changes of "usb: typec: Manage SVDM version" -

[PATCH v6 0/7] common SVDM version and VDO from dt

2021-02-04 Thread Kyle Tso
v5 is here: https://patchwork.kernel.org/project/linux-usb/cover/20210202161733.932215-1-kyle...@google.com/ Changes since v5: = usb: typec: Manage SVDM version - !! most changes are from Heikki - location of the negotiated SVDM version is changed. Now the variable resides in

Re: [PATCH] usb: pd: Reland VDO definitions of PD2.0

2021-02-03 Thread Kyle Tso
On Thu, Feb 4, 2021 at 8:55 AM Kyle Tso wrote: > > Hi, Benson and Prashant, > > On Thu, Feb 4, 2021 at 8:50 AM Kyle Tso wrote: > > > > Reland VDO definitions of PD Revision 2.0 as they are still used in > > PD2.0 products. > > > > Fixes: 0e1d

Re: [PATCH v5 2/8] usb: pd: Update VDO definitions

2021-02-03 Thread Kyle Tso
On Thu, Feb 4, 2021 at 12:55 AM Benson Leung wrote: > > Hey Kyle, > > On Tue, Feb 2, 2021 at 8:23 AM Kyle Tso wrote: > > > > "PD Spec Revision 3.0 Version 2.0 + ECNs 2020-12-10" introduces several > > changes regarding the ID Header VDO and the Product Ty

Re: [PATCH] usb: pd: Reland VDO definitions of PD2.0

2021-02-03 Thread Kyle Tso
Hi, Benson and Prashant, On Thu, Feb 4, 2021 at 8:50 AM Kyle Tso wrote: > > Reland VDO definitions of PD Revision 2.0 as they are still used in > PD2.0 products. > > Fixes: 0e1d6f55a12e ("usb: pd: Update VDO definitions") > Signed-off-by: Kyle Tso > --- >

[PATCH] usb: pd: Reland VDO definitions of PD2.0

2021-02-03 Thread Kyle Tso
Reland VDO definitions of PD Revision 2.0 as they are still used in PD2.0 products. Fixes: 0e1d6f55a12e ("usb: pd: Update VDO definitions") Signed-off-by: Kyle Tso --- include/linux/usb/pd_vdo.h | 69 -- 1 file changed, 66 insertions(+), 3 deletion

Re: [PATCH] entry: Fix missed trap after single-step on system call return

2021-02-03 Thread Kyle Huey
On Wed, Feb 3, 2021 at 10:11 AM Kyle Huey wrote: > > On Wed, Feb 3, 2021 at 10:00 AM Gabriel Krisman Bertazi > wrote: > > This seems to pass Kyle's test case. Kyle, can you verify it works with > > rr? > > I will test it later today. I have verified that a) the

Re: [PATCH] entry: Fix missed trap after single-step on system call return

2021-02-03 Thread Kyle Huey
below follows your suggestion? I'm setting the > SYSCALL_WORK shadowing TIF_SINGLESTEP every time, instead of only when > the child is inside a system call. Is this acceptable? > > This seems to pass Kyle's test case. Kyle, can you verify it works with > rr? I will tes

Re: [PATCH v5 1/8] usb: typec: Manage SVDM version

2021-02-03 Thread Kyle Tso
Thank you Heikki and Guenter for these valuable reviews. I will update it in the next version. thanks, Kyle On Wed, Feb 3, 2021 at 11:04 PM Heikki Krogerus wrote: > > On Wed, Feb 03, 2021 at 05:01:26PM +0200, Heikki Krogerus wrote: > > On Wed, Feb 03, 2021 at 06:51:43AM -0800, G

[PATCH v5 5/8] usb: typec: ucsi: Detemine common SVDM Version

2021-02-02 Thread Kyle Tso
owest common Structured VDM Version supported by the Port Partners or Cable Plug and Shall continue to operate using this Specification Revision until they are Detached." Signed-off-by: Kyle Tso --- drivers/usb/typec/ucsi/displayport.c | 12 +--- drivers/usb/typec/ucsi/ucsi.c

[PATCH v5 3/8] usb: pd: Make SVDM Version configurable in VDM header

2021-02-02 Thread Kyle Tso
PD Rev 3.0 introduces SVDM Version 2.0. This patch makes the field configuable in the header in order to be able to be compatible with older SVDM version. Signed-off-by: Kyle Tso --- drivers/usb/typec/altmodes/displayport.c | 2 +- drivers/usb/typec/tcpm/tcpm.c| 16

[PATCH v5 4/8] usb: typec: tcpm: Detemine common SVDM Version

2021-02-02 Thread Kyle Tso
tners or Cable Plug and Shall continue to operate using this Specification Revision until they are Detached." Also clear the fields newly defined in SVDM version 2.0 for compatibilities. Signed-off-by: Kyle Tso --- drivers/usb/typec/tcpm/tcpm.c | 49 -

[PATCH v5 6/8] usb: typec: displayport: Fill the negotiated SVDM Version in the header

2021-02-02 Thread Kyle Tso
VDM header now requires SVDM Version. Get it from typec_port. Signed-off-by: Kyle Tso --- drivers/usb/typec/altmodes/displayport.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/usb/typec/altmodes/displayport.c b/drivers/usb/typec/altmodes/displayport.c

[PATCH v5 8/8] usb: typec: tcpm: Get Sink VDO from fwnode

2021-02-02 Thread Kyle Tso
Commit a079973f462a ("usb: typec: tcpm: Remove tcpc_config configuration mechanism") removed the tcpc_config which includes the Sink VDO and it is not yet added back with fwnode. Add it now. Signed-off-by: Kyle Tso --- drivers/usb/typec/tcpm/tcpm.c | 14 ++ 1 file c

[PATCH v5 7/8] dt-bindings: connector: Add SVDM VDO properties

2021-02-02 Thread Kyle Tso
Add bindings of VDO properties of USB PD SVDM so that they can be used in device tree. Signed-off-by: Kyle Tso --- .../bindings/connector/usb-connector.yaml | 11 + include/dt-bindings/usb/pd.h | 311 +- 2 files changed, 321 insertions(+), 1 deletion

[PATCH v5 2/8] usb: pd: Update VDO definitions

2021-02-02 Thread Kyle Tso
"PD Spec Revision 3.0 Version 2.0 + ECNs 2020-12-10" introduces several changes regarding the ID Header VDO and the Product Type VDOs. Signed-off-by: Kyle Tso --- drivers/usb/typec/class.c | 8 +- include/linux/usb/pd_vdo.h | 308 - 2 files ch

[PATCH v5 0/8] common SVDM version and VDO from dt

2021-02-02 Thread Kyle Tso
v4 is here: https://patchwork.kernel.org/project/linux-usb/cover/20210202093342.738691-1-kyle...@google.com/ Changes since v4: = usb: pd: Make SVDM Version configurable in VDM header - modified the code who uses VDO(), set the ver field to SVDM_VER_1_0 Kyle Tso (8): usb: typec

[PATCH v5 1/8] usb: typec: Manage SVDM version

2021-02-02 Thread Kyle Tso
t partners. Also add setter/getter functions for the negotiated SVDM version. Signed-off-by: Kyle Tso --- drivers/usb/typec/class.c | 13 + include/linux/usb/typec.h | 10 ++ 2 files changed, 23 insertions(+) diff --git a/drivers/usb/typec/class.c b/drivers/usb/typec/cla

Re: [PATCH v4 3/8] usb: pd: Make SVDM Version configurable in VDM header

2021-02-02 Thread Kyle Tso
On Tue, Feb 2, 2021 at 10:50 PM Guenter Roeck wrote: > > On 2/2/21 1:33 AM, Kyle Tso wrote: > > PD Rev 3.0 introduces SVDM Version 2.0. This patch makes the field > > configuable in the header in order to be able to be compatible with > > older SVDM version. > &g

[PATCH] usb: typec: Return void in typec_partner_set_pd_revision

2021-02-02 Thread Kyle Tso
typec_partner_set_pd_revision doesn't need any return value. Fixes: 29b01295a829 ("usb: typec: Add typec_partner_set_pd_revision") Signed-off-by: Kyle Tso --- drivers/usb/typec/class.c | 10 ++ include/linux/usb/typec.h | 2 +- 2 files changed, 3 insertions(+), 9 del

[PATCH v4 7/8] dt-bindings: connector: Add SVDM VDO properties

2021-02-02 Thread Kyle Tso
Add bindings of VDO properties of USB PD SVDM so that they can be used in device tree. Signed-off-by: Kyle Tso --- .../bindings/connector/usb-connector.yaml | 11 + include/dt-bindings/usb/pd.h | 311 +- 2 files changed, 321 insertions(+), 1 deletion

[PATCH v4 8/8] usb: typec: tcpm: Get Sink VDO from fwnode

2021-02-02 Thread Kyle Tso
Commit a079973f462a ("usb: typec: tcpm: Remove tcpc_config configuration mechanism") removed the tcpc_config which includes the Sink VDO and it is not yet added back with fwnode. Add it now. Signed-off-by: Kyle Tso --- drivers/usb/typec/tcpm/tcpm.c | 14 ++ 1 file c

[PATCH v4 5/8] usb: typec: ucsi: Detemine common SVDM Version

2021-02-02 Thread Kyle Tso
owest common Structured VDM Version supported by the Port Partners or Cable Plug and Shall continue to operate using this Specification Revision until they are Detached." Signed-off-by: Kyle Tso --- drivers/usb/typec/ucsi/displayport.c | 12 +--- drivers/usb/typec/ucsi/ucsi.c

[PATCH v4 4/8] usb: typec: tcpm: Detemine common SVDM Version

2021-02-02 Thread Kyle Tso
tners or Cable Plug and Shall continue to operate using this Specification Revision until they are Detached." Also clear the fields newly defined in SVDM version 2.0 for compatibilities. Signed-off-by: Kyle Tso --- drivers/usb/typec/tcpm/tcpm.c | 47 +

[PATCH v4 3/8] usb: pd: Make SVDM Version configurable in VDM header

2021-02-02 Thread Kyle Tso
PD Rev 3.0 introduces SVDM Version 2.0. This patch makes the field configuable in the header in order to be able to be compatible with older SVDM version. Signed-off-by: Kyle Tso --- include/linux/usb/pd_vdo.h | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include

[PATCH v4 6/8] usb: typec: displayport: Fill the negotiated SVDM Version in the header

2021-02-02 Thread Kyle Tso
VDM header now requires SVDM Version. Get it from typec_port. Signed-off-by: Kyle Tso --- drivers/usb/typec/altmodes/displayport.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/usb/typec/altmodes/displayport.c b/drivers/usb/typec/altmodes/displayport.c

[PATCH v4 2/8] usb: pd: Update VDO definitions

2021-02-02 Thread Kyle Tso
"PD Spec Revision 3.0 Version 2.0 + ECNs 2020-12-10" introduces several changes regarding the ID Header VDO and the Product Type VDOs. Signed-off-by: Kyle Tso --- drivers/usb/typec/class.c | 8 +- include/linux/usb/pd_vdo.h | 308 - 2 files ch

[PATCH v4 1/8] usb: typec: Manage SVDM version

2021-02-02 Thread Kyle Tso
t partners. Also add setter/getter functions for the negotiated SVDM version. Signed-off-by: Kyle Tso --- drivers/usb/typec/class.c | 13 + include/linux/usb/typec.h | 10 ++ 2 files changed, 23 insertions(+) diff --git a/drivers/usb/typec/class.c b/drivers/usb/typec/cla

[PATCH v4 0/8] common SVDM version and VDO from dt

2021-02-02 Thread Kyle Tso
v3 is here: https://patchwork.kernel.org/project/linux-usb/cover/20210201133421.408508-1-kyle...@google.com/ no changes except for separating the patch "[v3,1/3] usb: typec: Determine common SVDM Versions" into the first 6 patches in this patch set. Kyle Tso (8): usb: typec: M

Re: [PATCH v3 1/3] usb: typec: Determine common SVDM Versions

2021-02-02 Thread Kyle Tso
On Mon, Feb 1, 2021 at 11:35 PM Heikki Krogerus wrote: > > On Mon, Feb 01, 2021 at 09:34:19PM +0800, Kyle Tso wrote: > > PD Spec Revision 3.0 Version 2.0 + ECNs 2020-12-10 > > 6.4.4.2.3 Structured VDM Version > > "The Structured VDM Version field of the Discove

[PATCH v3 3/3] usb: typec: tcpm: Get Sink VDO from fwnode

2021-02-01 Thread Kyle Tso
Commit a079973f462a ("usb: typec: tcpm: Remove tcpc_config configuration mechanism") removed the tcpc_config which includes the Sink VDO and it is not yet added back with fwnode. Add it now. Signed-off-by: Kyle Tso --- Changes since v2: - use fwnode_property_count_u32 instead to get

[PATCH v3 2/3] dt-bindings: connector: Add SVDM VDO properties

2021-02-01 Thread Kyle Tso
Add bindings of VDO properties of USB PD SVDM so that they can be used in device tree. Signed-off-by: Kyle Tso --- Changes since v2: - no change .../bindings/connector/usb-connector.yaml | 11 + include/dt-bindings/usb/pd.h | 311 +- 2 files changed, 321

[PATCH v3 1/3] usb: typec: Determine common SVDM Versions

2021-02-01 Thread Kyle Tso
tners or Cable Plug and Shall continue to operate using this Specification Revision until they are Detached." Also clear the fields newly defined in SVDM version 2.0 for compatibilities. And fix some VDO definitions changed in the Spec. Signed-off-by: Kyle Tso --- Changes since v2: -

[PATCH v3 0/3] common SVDM version and VDO from dt

2021-02-01 Thread Kyle Tso
patch v2: https://lore.kernel.org/linux-devicetree/20210131151832.215931-1-kyle...@google.com/ Changes since v2: = usb: typec: Determine common SVDM Versions - rename the variable and the functions (remove the text "common") - remove the macro dt-bindings: connector: Ad

Re: [PATCH v2 1/3] usb: typec: Determine common SVDM Versions

2021-01-31 Thread Kyle Tso
On Mon, Feb 1, 2021 at 12:21 AM Guenter Roeck wrote: > > On 1/31/21 7:18 AM, Kyle Tso wrote: > > Changes since v1: > > - removed the "local" variables (svdm_version) in tcpm.c and > > (altmodes/ucsi)/displayport.c > > - added a member "svdm_ver

Re: [PATCH v2 3/3] usb: typec: tcpm: Get Sink VDO from fwnode

2021-01-31 Thread Kyle Tso
On Mon, Feb 1, 2021 at 12:02 AM Guenter Roeck wrote: > > On 1/31/21 7:18 AM, Kyle Tso wrote: > > Commit a079973f462a ("usb: typec: tcpm: Remove tcpc_config > > configuration mechanism") removed the tcpc_config which includes the > > Sink VDO and it is not yet

Re: [REGRESSION] x86/entry: TIF_SINGLESTEP handling is still broken

2021-01-31 Thread Kyle Huey
; which isn’t what the tracer is expects. The state of TF shouldn't really matter here. There should be no user space code execution in the example I gave. This behavior all happens in the kernel and not on the silicon. - Kyle

Re: [REGRESSION] x86/entry: TIF_SINGLESTEP handling is still broken

2021-01-31 Thread Kyle Huey
On Sun, Jan 31, 2021 at 2:27 PM Kyle Huey wrote: > > On Sun, Jan 31, 2021 at 2:20 PM Andy Lutomirski wrote: > > > > > > > > > On Jan 31, 2021, at 2:08 PM, Kyle Huey wrote: > > > > > > On Sun, Jan 31, 2021 at 2:04 PM Andy Lutomirski &g

Re: [REGRESSION] x86/entry: TIF_SINGLESTEP handling is still broken

2021-01-31 Thread Kyle Huey
On Sun, Jan 31, 2021 at 2:20 PM Andy Lutomirski wrote: > > > > > On Jan 31, 2021, at 2:08 PM, Kyle Huey wrote: > > > > On Sun, Jan 31, 2021 at 2:04 PM Andy Lutomirski > > wrote: > >> Indeed, and I have tests for this. > > > > Do you mean

Re: [REGRESSION] x86/entry: TIF_SINGLESTEP handling is still broken

2021-01-31 Thread Kyle Huey
On Sun, Jan 31, 2021 at 2:04 PM Andy Lutomirski wrote: > Indeed, and I have tests for this. Do you mean you already have a test case or that you would like a minimized test case? - Kyle

[PATCH v2 1/3] usb: typec: Determine common SVDM Versions

2021-01-31 Thread Kyle Tso
tners or Cable Plug and Shall continue to operate using this Specification Revision until they are Detached." Also clear the fields newly defined in SVDM version 2.0 for compatibilities. And fix some VDO definitions changed in the Spec. Signed-off-by: Kyle Tso --- Changes since v1: - r

[PATCH v2 2/3] dt-bindings: connector: Add SVDM VDO properties

2021-01-31 Thread Kyle Tso
Add bindings of VDO properties of USB PD SVDM so that they can be used in device tree. Signed-off-by: Kyle Tso --- Changes since v1: dt-bindings: connector: Add SVDM VDO properties - updated the dt-bindings documentations - added more definitions of Product Type VDOs .../bindings/connector/usb

[PATCH v2 3/3] usb: typec: tcpm: Get Sink VDO from fwnode

2021-01-31 Thread Kyle Tso
Commit a079973f462a ("usb: typec: tcpm: Remove tcpc_config configuration mechanism") removed the tcpc_config which includes the Sink VDO and it is not yet added back with fwnode. Add it now. Signed-off-by: Kyle Tso --- Changes since v1: - updated the commit message drivers/usb/

[PATCH v2 0/3] common SVDM version and VDO from dt

2021-01-31 Thread Kyle Tso
patch v1 is here: https://lore.kernel.org/linux-devicetree/20210126084544.682641-1-kyle...@google.com/ Changes from v1

Re: [REGRESSION] x86/entry: TIF_SINGLESTEP handling is still broken

2021-01-30 Thread Kyle Huey
On Sat, Jan 30, 2021 at 5:56 PM Linus Torvalds wrote: > > On Sat, Jan 30, 2021 at 5:32 PM Kyle Huey wrote: > > > > I tested that with 2991552447707d791d9d81a5dc161f9e9e90b163 reverted > > and Yuxuan's patch applied to Linus's tip rr works and passes all > >

[REGRESSION] x86/entry: TIF_SINGLESTEP handling is still broken

2021-01-30 Thread Kyle Huey
and Yuxuan's patch applied to Linus's tip rr works and passes all tests. - Kyle

Re: [PATCH] ptrace: restore the previous single step reporting behavior

2021-01-28 Thread Kyle Huey
On Thu, Jan 28, 2021 at 11:10 AM Linus Torvalds wrote: > You should have pointed to the actual patch. Sorry, I broke the reply threading in my mail client. - Kyle

Re: [PATCH] ptrace: restore the previous single step reporting behavior

2021-01-27 Thread Kyle Huey
Hey everyone, This regression[0] has totally broken rr on 5.11. Could we get someone to look at and merge Yuxuan's patch here? - Kyle [0] https://github.com/rr-debugger/rr/issues/2793

[PATCH 3/3] usb: typec: tcpm: Get Sink VDO from fwnode

2021-01-26 Thread Kyle Tso
Current design only allows TCPM to get the Sink VDO from TCPC configs. Add an additional way from fwnode. Signed-off-by: Kyle Tso --- drivers/usb/typec/tcpm/tcpm.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/usb/typec/tcpm/tcpm.c b/drivers/usb/typec/tcpm/tcpm.c

[PATCH 0/3] common SVDM version and VDO from dt

2021-01-26 Thread Kyle Tso
.org/linux-usb/20210115163311.391332-1-kyle...@google.com/) The field is changed before sending it out of the port. I know this is not a good idea but at least it works.

[PATCH 1/3] usb: typec: Determine common SVDM Versions

2021-01-26 Thread Kyle Tso
tners or Cable Plug and Shall continue to operate using this Specification Revision until they are Detached." Also clear the fields newly defined in SVDM version 2.0 for compatibilities. And fix some ID Header fields changed in the Spec. Signed-off-by: Kyle Tso --- drivers/usb/type

[PATCH 2/3] dt-bindings: connector: Add SVDM VDO properties

2021-01-26 Thread Kyle Tso
Add bindings of VDO properties of USB PD SVDM so that they can be defined in device tree. Signed-off-by: Kyle Tso --- include/dt-bindings/usb/pd.h | 53 +++- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/usb/pd.h b/include/dt

Re: [PATCH] usb: typec: tcpm: Create legacy PDOs for PD2 connection

2021-01-21 Thread Kyle Tso
On Thu, Jan 21, 2021 at 4:41 PM Heikki Krogerus wrote: > > Hi Kyle, > > On Sat, Jan 16, 2021 at 12:33:11AM +0800, Kyle Tso wrote: > > If the port partner is PD2, the PDOs of the local port should follow the > > format defined in PD2 Spec. Dynamically modify the pre-

[PATCH] usb: typec: tcpm: Create legacy PDOs for PD2 connection

2021-01-15 Thread Kyle Tso
If the port partner is PD2, the PDOs of the local port should follow the format defined in PD2 Spec. Dynamically modify the pre-defined PD3 PDOs and transform them into PD2 format before sending them to the PD2 port partner. Signed-off-by: Kyle Tso --- drivers/usb/typec/tcpm/tcpm.c | 62

[PATCH v6 2/3] usb: typec: tcpm: Protocol Error handling

2021-01-14 Thread Kyle Tso
ORTED message after receiving a chunked message. Signed-off-by: Kyle Tso --- changelog since v5: - removed the signed-off - modified the coding style suggested from Heikki - modified more coding style problems (line wrapping limit) drivers/usb/typec/tcpm/tcpm.c

[PATCH v6 3/3] usb: typec: tcpm: Respond Wait if VDM state machine is running

2021-01-14 Thread Kyle Tso
machine stops. Signed-off-by: Kyle Tso --- Changelog since v5: - no change drivers/usb/typec/tcpm/tcpm.c | 80 --- 1 file changed, 73 insertions(+), 7 deletions(-) diff --git a/drivers/usb/typec/tcpm/tcpm.c b/drivers/usb/typec/tcpm/tcpm.c index 70922723da4b

[PATCH v6 1/3] usb: typec: tcpm: AMS and Collision Avoidance

2021-01-14 Thread Kyle Tso
SinkTxOk otherwise. Meanwhile, any AMS initiated by a Sink port will be denied in TCPM if the port partner (Source) sets SinkTxNG except for HARD_RESET and SOFT_RESET. Signed-off-by: Kyle Tso --- Changelog since v5: - removed the signed-off

[PATCH v6 0/3] AMS, Collision Avoidance, and Protocol Error

2021-01-14 Thread Kyle Tso
v5 https://lore.kernel.org/r/20210105163927.1376770-1-kyle...@google.com "usb: typec: tcpm: AMS and Collision Avoidance" - removed the signed-off - modified the coding style suggested from Heikki - added FR_SWAP AMS handling "usb: typec: tcpm: Protocol Error handling"

Re: [PATCH v5 2/3] usb: typec: tcpm: Protocol Error handling

2021-01-13 Thread Kyle Tso
On Tue, Jan 12, 2021 at 9:56 PM Heikki Krogerus wrote: > > On Wed, Jan 06, 2021 at 12:39:26AM +0800, Kyle Tso wrote: > > PD3.0 Spec 6.8.1 describes how to handle Protocol Error. There are > > general rules defined in Table 6-61 which regulate incoming Message > > handling.

Re: [PATCH v5 1/3] usb: typec: tcpm: AMS and Collision Avoidance

2021-01-13 Thread Kyle Tso
On Wed, Jan 13, 2021 at 2:11 PM Badhri Jagan Sridharan wrote: > > Hi Kyle, > > Do you want to handle the FAST_ROLE_SWAP case as well ? > I forgot this part Thanks for catching this. I will fix it. > You would have to fix up in two places: > > #1 > -

Re: [PATCH v5 1/3] usb: typec: tcpm: AMS and Collision Avoidance

2021-01-13 Thread Kyle Tso
On Tue, Jan 12, 2021 at 9:29 PM Heikki Krogerus wrote: > > On Wed, Jan 06, 2021 at 12:39:25AM +0800, Kyle Tso wrote: > > This patch provides the implementation of Collision Avoidance introduced > > in PD3.0. The start of each Atomic Message Sequence (AMS) initiated by > >

[PATCH v5 3/3] usb: typec: tcpm: Respond Wait if VDM state machine is running

2021-01-05 Thread Kyle Tso
machine stops. Signed-off-by: Kyle Tso Signed-off-by: Will McVicker --- drivers/usb/typec/tcpm/tcpm.c | 80 --- 1 file changed, 73 insertions(+), 7 deletions(-) diff --git a/drivers/usb/typec/tcpm/tcpm.c b/drivers/usb/typec/tcpm/tcpm.c index a951307d669d

[PATCH v5 2/3] usb: typec: tcpm: Protocol Error handling

2021-01-05 Thread Kyle Tso
ORTED message after receiving a chunked message. Signed-off-by: Kyle Tso Signed-off-by: Will McVicker --- drivers/usb/typec/tcpm/tcpm.c | 346 +- include/linux/usb/pd.h| 1 + 2 files changed, 257 insertions(+), 90 deletions(-) diff --git a/drivers/usb/

[PATCH v5 1/3] usb: typec: tcpm: AMS and Collision Avoidance

2021-01-05 Thread Kyle Tso
SinkTxOk otherwise. Meanwhile, any AMS initiated by a Sink port will be denied in TCPM if the port partner (Source) sets SinkTxNG except for HARD_RESET and SOFT_RESET. Signed-off-by: Kyle Tso Signed-off-by: Will McVicker --- Changelog since v4: - rebased to ToT drivers/usb/typec/tcpm/tcpm.c | 533

[PATCH v5 0/3] AMS, Collision Avoidance, and Protocol Error

2021-01-05 Thread Kyle Tso
This series include previous patch "[v4] AMS and Collision Avoidance" https://lore.kernel.org/r/20201217030632.903718-1-kyle...@google.com and two more patches "Protocol Error handling" and "Respond Wait if...". The patch "AMS and Collision Avoidance" in [

[PATCH v4] usb: typec: tcpm: AMS and Collision Avoidance

2020-12-16 Thread Kyle Tso
SinkTxOk otherwise. Meanwhile, any AMS initiated by a Sink port will be denied in TCPM if the port partner (Source) sets SinkTxNG except for HARD_RESET and SOFT_RESET. Signed-off-by: Kyle Tso Signed-off-by: Will McVicker --- Changelog since v3: - rebased to ToT and fixed the conflicts - merged the two

[PATCH] ASoC: mmp-sspa: set phase two word length register

2020-11-18 Thread Kyle Russell
, so this should complete the phase two configuration. Signed-off-by: Kyle Russell --- sound/soc/pxa/mmp-sspa.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/soc/pxa/mmp-sspa.c b/sound/soc/pxa/mmp-sspa.c index 52d4d8ace1c3..4803972ee655 100644 --- a/sound/soc/pxa/mmp-sspa.c +++ b

[PATCH] ASoC: mmp-sspa: clear transmit phase bit for non-stereo formats

2020-11-06 Thread Kyle Russell
The transmit phase register value is never cleared during hw params. So once hw params sets this bit to handle a two channel format, it remains configured for dual-phase, which is not desirable for mono playback. Signed-off-by: Kyle Russell --- sound/soc/pxa/mmp-sspa.c | 1 + 1 file changed, 1

Re: [PATCH] perf/x86/intel/uncore: Fix for iio mapping on Skylake Server

2020-11-03 Thread Meyer, Kyle
ey need). Intel does support segments in their default BIOSes starting with CooperLake so they should also support segments in their OS drivers/tools. Thanks, Kyle Meyer From: Alexander Antonov Sent: Tuesday, October 13, 2020 9:37 AM To: Meyer, Kyle; pet...@

Re: [PATCH 3/3] x86/debug: Fix PTRACE_{BLOCK,SINGLE}STEP vs ptrace_get_debugreg(6)

2020-10-27 Thread Kyle Huey
nfortunately we lost DR_STEP for PTRACE_{BLOCK,SINGLE}STEP. > > Fixes: d53d9bc0cf78 ("x86/debug: Change thread.debugreg6 to > thread.virtual_dr6") > Reported-by: Kyle Huey > Signed-off-by: Peter Zijlstra (Intel) > --- > arch/x86/include/asm/ptrace.h |2 ++ &g

Re: [PATCH] Fix compat regression in process_vm_rw()

2020-10-26 Thread Kyle Huey
make it > conditional on in_compat_syscall(). > > Fixes: c3973b401ef2 ("mm: remove compat_process_vm_{readv,writev}") > Reported-by: Kyle Huey > Signed-off-by: Jens Axboe > > --- > > diff --git a/mm/process_vm_access.c b/mm/process_vm_access.c >

[REGRESSION] mm: process_vm_readv testcase no longer works after compat_prcoess_vm_readv removed

2020-10-26 Thread Kyle Huey
should be fairly straightforward to extract the test case from our repository into a standalone program. - Kyle [0] https://rr-project.org/ [1] https://github.com/mozilla/rr/blob/master/src/test/vm_readv_writev.c

Re: [REGRESSION] x86/debug: After PTRACE_SINGLESTEP DR_STEP is no longer reported in dr6

2020-10-26 Thread Kyle Huey
On Mon, Oct 26, 2020 at 10:18 AM Peter Zijlstra wrote: > > On Mon, Oct 26, 2020 at 10:12:30AM -0700, Kyle Huey wrote: > > On Mon, Oct 26, 2020 at 9:55 AM Peter Zijlstra wrote: > > > @@ -935,6 +936,26 @@ static __always_inline void exc_debug_user(struct

Re: [REGRESSION] x86/debug: After PTRACE_SINGLESTEP DR_STEP is no longer reported in dr6

2020-10-26 Thread Kyle Huey
/* > * If dr6 has no reason to give us about the origin of this trap, > * then it's very likely the result of an icebp/int01 trap. This looks good to me (at least the non BTF parts), and I'll test it shortly, but especially now that clearing virtual_dr6 is moved to exc_debug_user I still don't see why it's not ok to copy the entire dr6 value into virtual_dr6 unconditionally. Any extraneous dr6 state from an in-kernel #DB would have been picked up and cleared already when we entered exc_debug_kernel. - Kyle

Re: [REGRESSION] x86/debug: After PTRACE_SINGLESTEP DR_STEP is no longer reported in dr6

2020-10-26 Thread Kyle Huey
On Mon, Oct 26, 2020 at 9:05 AM Peter Zijlstra wrote: > > On Mon, Oct 26, 2020 at 04:55:21PM +0100, Peter Zijlstra wrote: > > On Mon, Oct 26, 2020 at 07:33:08AM -0700, Kyle Huey wrote: > > > After resuming a ptracee with PTRACE_SINGLESTEP, in the following > > >

Re: [REGRESSION] x86/debug: After PTRACE_SINGLESTEP DR_STEP is no longer reported in dr6

2020-10-26 Thread Kyle Huey
> - tracer: ptrace_get_debugreg(6) Right. > Also, can you confirm that pthread_set_debugreg(6) should not do > anything useful? I don't believe it did anything useful. - Kyle [0] https://github.com/torvalds/linux/commit/d53d9bc0cf78#diff-51ce909c2f65ed9cc668bc36cc3c18528541d8a10e84287874cd37a5918abae5L790

[REGRESSION] x86/debug: After PTRACE_SINGLESTEP DR_STEP is no longer reported in dr6

2020-10-26 Thread Kyle Huey
don't see any handling to ever set DR_STEP in virtual_dr6, so I think this code is just broken. Sorry for not testing this when I was CCd on the original patch series :) - Kyle

Re: [PATCH] perf/x86/intel/uncore: Fix for iio mapping on Skylake Server

2020-10-09 Thread Meyer, Kyle
Hello Alexander, Do you plan on supporting multiple segment platforms? Thanks, Kyle Meyer From: alexander.anto...@linux.intel.com Sent: Monday, September 28, 2020 5:21 AM To: pet...@infradead.org; linux-kernel@vger.kernel.org; x...@kernel.org Cc

Re: [PATCH] core/entry: Report syscall correctly for trace and audit

2020-09-14 Thread Kyle Huey
ported-by: Michael Ellerman > Fixes: d88d59b64ca3 ("core/entry: Respect syscall number rewrites") > Cc: Thomas Gleixner > Cc: Kyle Huey > Cc: Andy Lutomirski > Cc: Ingo Molnar > Signed-off-by: Kees Cook > --- > kernel/entry/common.c | 6 -- > 1 file

Re: [PATCH] seccomp: kill process instead of thread for unknown actions

2020-09-07 Thread Kyle Huey
a KILL_THREAD, and > everything I've seen indicates that they aren't _accidentally_ depending > on it either (i.e. they both produce "valid" filters). It's possible > that something out there doesn't, and in that case, we likely need to > make a special cas

[PATCH] brd: expose number of allocated pages in debugfs

2020-08-26 Thread Kyle McMartin
ens [cleaned up the !CONFIG_DEBUG_FS case and API changes for HEAD] Signed-off-by: Kyle McMartin --- drivers/block/brd.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/drivers/block/brd.c b/drivers/block/brd.c index 2723a70eb855..39b9d6aee5b8 100644 --- a

Re: [REGRESSION] x86/cpu fsgsbase breaks TLS in 32 bit rr tracees on a 64 bit system

2020-08-25 Thread Kyle Huey
On Tue, Aug 25, 2020 at 12:32 PM Andy Lutomirski wrote: > > On Tue, Aug 25, 2020 at 11:50 AM Kyle Huey wrote: > > > > On Tue, Aug 25, 2020 at 10:31 AM Kyle Huey wrote: > > > > > > On Tue, Aug 25, 2020 at 9:46 AM Andy Lutomirski wrote: > > > > &

Re: [REGRESSION] x86/cpu fsgsbase breaks TLS in 32 bit rr tracees on a 64 bit system

2020-08-25 Thread Kyle Huey
On Tue, Aug 25, 2020 at 10:31 AM Kyle Huey wrote: > > On Tue, Aug 25, 2020 at 9:46 AM Andy Lutomirski wrote: > > > > On Tue, Aug 25, 2020 at 9:32 AM Kyle Huey wrote: > > > > > > On Tue, Aug 25, 2020 at 9:12 AM Andy Lutomirski > > > wrote: > >

Re: [REGRESSION] x86/cpu fsgsbase breaks TLS in 32 bit rr tracees on a 64 bit system

2020-08-25 Thread Kyle Huey
On Tue, Aug 25, 2020 at 9:46 AM Andy Lutomirski wrote: > > On Tue, Aug 25, 2020 at 9:32 AM Kyle Huey wrote: > > > > On Tue, Aug 25, 2020 at 9:12 AM Andy Lutomirski wrote: > > > I don’t like this at all. Your behavior really shouldn’t depend on > > > whethe

  1   2   3   4   5   6   7   8   9   10   >