Re: [edk2-devel] Python-3.6.8 UEFI : fork support

2025-02-17 Thread Yoshinoya via groups.io
Hi, JP, Thanks a lot! best wishes, At 2025-02-17 23:51:25, "Jayaprakash, N via groups.io" wrote: Hi Yoshinoya, The MP Services UEFI protocol has been used to run the CPUID instructions on a given CPU core and to read / write the MSRs from given CPU core.

Re: [edk2-devel] Python-3.6.8 UEFI : fork support

2025-02-17 Thread Yoshinoya via groups.io
t; wrote: Hi Yoshinoya, It’s not supported in UEFI. You can see that macros are not defined as part of pyconfig.h https://github.com/tianocore/edk2-libc/blob/master/AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Include/pyconfig.h So this functionality doesn’t get compiled for UEFI.

[edk2-devel] Python-3.6.8 UEFI : fork support

2025-02-16 Thread Yoshinoya via groups.io
Hi, Michael I am studying Python368 uefi code. I have a question, ask for help. I found some marco defines in edk2module.c "HAVE_FORK / HAVE_FORK1 / HAVE_SPAWNV / etc" It seems about multi-thread support functions, so my question is: 1. Have these functions been tested on uefi shell environme

[edk2-devel] current edk lib is compiler independent lib code?

2025-01-21 Thread Yoshinoya via groups.io
Hi, Is current EDK2 lib code compiler independent? For example: I compile BaseLib with VS2015 C compiler. Then, i try to compile a PEIM with VS2022 compiler, and this PEIM would link the VS2015 compiled BaseLib binary. Is it ok? Thanks -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive al

[edk2-devel] Question about xml-cli support in UEFI BIOS

2024-11-29 Thread Yoshinoya via groups.io
Hi, I find a website:GitHub - intel/xml-cli: UFFAF - UEFI Firmware Foundational Automation Framework (formerly XmlCli) It could change bios setting with some script automatically. It could help to accelerate the process of motherboard validation and testing. I think maybe some addon drivers are

[edk2-devel] Is Uart Baselib code compatible with RS485 device?

2024-11-26 Thread Yoshinoya via groups.io
Hi, Current UDK UART related code runs well with RS232 compatible COM port. Such as BaseSerialPort Lib. Could this lib use on RS485 COM Port? Some PCIE-UART card supports RS485, Could i use this type device with UDK base code? Thanks -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You

Re: [edk2-devel] Why Not support Multiprocessor wakeup structure

2024-11-21 Thread Yoshinoya via groups.io
Maybe it's too fresh, so not many vendor support it? At 2024-11-12 19:54:09, "Yoshinoya via groups.io" wrote: Hello, I found acpi spec introduces a multiprocessor wakeup structure. It seems normal udk code not support this feature. Why not support multip

[edk2-devel] Why Not support Multiprocessor wakeup structure

2024-11-12 Thread Yoshinoya via groups.io
Hello, I found acpi spec introduces a multiprocessor wakeup structure. It seems normal udk code not support this feature. Why not support multiprocessor wakeup structure in normal udk codebase? Because OS limitations? Ovmf with tdx feature supports this feature. And linux with tdx f

Re: [edk2-devel] [PATCH] MdeModulePkg/PciBusDxe: Fix hotplug functionality for USB4 bridge

2024-08-15 Thread Yoshinoya
Hi, Hsueh: It seems pcie device's hot plug operation is rare during UEFI BIOS phase. Does this patch aim to solve usb4 storage hot-plug during UEFI BIOS phase? -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120354): https://edk2.groups.i

[edk2-devel] uncompress peims during car phase

2024-06-20 Thread Yoshinoya
Hello A question about compressed peims in uefi bios. for example: Current x86 cache size is large enough. Is there possible to process compressed peim during cache as ram phase? Is there any limitations? Thanks -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent

[edk2-devel] processing compressed section during CAR phase

2024-06-11 Thread Yoshinoya
Hello A question about compressed peims in uefi bios. for example: Current x86 cache size is large enough. Is there possible to process compressed peim during cache as ram phase? Is there any limitations? Thanks -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent

Re: 回复: Re: [edk2-devel] Is DEBUG output function safe for MP case?

2024-06-05 Thread Yoshinoya
tect DEBUG() invoking. For runtime (for example SMM AP code), the upper method may not work becaseu OS may take control on Serial Port. fanjianf...@byosoft.com.cn 发件人: Yoshinoya 发送时间: 2024-06-03 16:24 收件人: devel; fanjianfeng 主题: Re:回复: [edk2-devel] Is DEBUG output function safe for MP case?

[edk2-devel] pci command supports CXL device type

2024-06-05 Thread Yoshinoya
Hello Maybe current shell pci command doesn't support parse cxl device type. Do we have plan to update this command? Thanks -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119505): https://edk2.groups.io/g/devel/message/119505 Mute Th

Re: 回复: [edk2-devel] Is DEBUG output function safe for MP case?

2024-06-03 Thread Yoshinoya
inf from MdePkg) fanjianf...@byosoft.com.cn 发件人: Yoshinoya 发送时间: 2024-05-31 14:22 收件人: devel@edk2.groups.io 主题: [edk2-devel] Is DEBUG output function safe for MP case? Hello I ask for help for debug output in multi-core case. Is the current DEBUG marco safe for AP Cores to output message? If the ou

[edk2-devel] Is DEBUG output function safe for MP case?

2024-05-30 Thread Yoshinoya
Hello I ask for help for debug output in multi-core case. Is the current DEBUG marco safe for AP Cores to output message? If the output message is too long, it takes too much time, will it cause some abnormal exception? Thanks -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages

[edk2-devel] What PTSS abbreviation means

2024-05-22 Thread Yoshinoya
Hello I find some data struct's name has PTSS abbreviation in KabylakeOpenBoardPkg. So, what does PTSS mean? Thanks -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#119125): https://edk2.groups.io/g/devel/message/119125 Mute This To

[edk2-devel] PcdMemoryProfilePropertyMask declared as dynamic type

2024-04-08 Thread Yoshinoya
Hello, PcdMemoryProfilePropertyMask declared as a PcdsFixedAtBuild type It means user should recompile source code if he wants to change this pcd default value. So, could we declare it as a PcdsDynamic type? So, user could change PcdMemoryProfilePropertyMask's setting value through BIOS Setup

Re: [edk2-devel] Refactoring the UEFI shell

2024-04-03 Thread Yoshinoya
Hi, Sheng: Could you help to implement a new redirection mechanism? For example: User wants to output messages on screen, and also redirect the output messages into a file at the same time . Current redirection mechanism is a alternative choice. At 2024-03-27 18:27:34, "Sheng Le

Re: [edk2-devel] Is there a way to create filesystem in UEFI Shell ?

2024-04-03 Thread Yoshinoya
Maybe ref to ramdisk sample, create a memory type block io device, then mount file system on it. UEFI supports fat file system, some 3rd drivers could be added to support ext4 filesystem. Search them on github website At 2024-04-01 11:43:59, "John Chew" wrote: Hi Michael, Th

[edk2-devel] Question about SMM code privilege switch

2024-03-03 Thread Yoshinoya
Hi,I found smm code privilege switch sample code in project mu.For example : switch ring0 to ring3 through tss gate call.So, is there any plan to introduce it to udk smm sample code? Thanks -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (

[edk2-devel] Question about SMM code privilege switch

2024-02-27 Thread Yoshinoya
Hi,I found smm code privilege switch sample code in project mu.For example : switch ring0 to ring3 through tss gate call.So, is there any plan to introduce it to udk smm sample code? Thanks -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (

Re: [edk2-devel] Question about the boundary and difference between System Firmware and UEFI CXL drivers

2023-12-13 Thread Yoshinoya
, a dedicated uefi driver's code could be implemented in a part of UEFI BIOS, and no seperate driver exists. 在 2023-12-11 15:09:34,"Yuquan Wang" 写道: On 2023-12-08 15:42, Yoshinoya wrote: | There is a description about UEFI Drivers in 1.4 Abbreviations in this doc. UEFI

Re: [edk2-devel] Question about the boundary and difference between System Firmware and UEFI CXL drivers

2023-12-07 Thread Yoshinoya
There is a description about UEFI Drivers in 1.4 Abbreviations in this doc. UEFI Drivers : UEFI CXL Bus and memory device drivers. I think UEFI CXL Drivers is a part of System Firmware(UEFI BIOS). These UEFI Drivers may do some basic configuation for some direct attached clx type-3 device

Re: [edk2-devel] question about PrmPkg

2023-11-19 Thread Yoshinoya
>On 11/17/2023 3:42 AM, Laszlo Ersek wrote: >> On 11/17/23 03:15, Yoshinoya wrote: >>> Hi, >>> I find there is a PrmPkg in udk source code. >>> Based on its Readme.md, its goal is to offload smm code to sci os >>> mechanisms. >>> >>> So,

[edk2-devel] question about PrmPkg

2023-11-16 Thread Yoshinoya
Hi, I find there is a PrmPkg in udk source code. Based on its Readme.md, its goal is to offload smm code to sci os mechanisms. So, is there any actual use case on real platform now? It seems it's just a conceptional prototype. Thanks -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all m

Re: [edk2-devel] question about cxl device enumeration in pci bus driver

2023-11-16 Thread Yoshinoya
ide_Rev1p0.pdf Brian J. Johnson Enterprise X86 Lab Hewlett Packard Enterprise From: Yoshinoya [mailto:yoshinoyat...@163.com] Sent: Monday, November 6, 2023 at 5:20 AM To:devel@edk2.groups.io Cc:jonathan.came...@huawei.com, Laszlo Ersek , kra...@redhat.com, Ni, Ray , Sayanta Pattanayak Subj

Re: [edk2-devel] Use dynamic pcd in smm mode

2023-11-08 Thread Yoshinoya
Hi, Laszlo: Got it. Thanks a lot! I study the udk code, and find there are no smm pcd drivers, so can't use dynamic pcd in smm code. At 2023-11-07 20:45:16, "Laszlo Ersek" wrote: >On 11/7/23 12:31, Yoshinoya wrote: >> Hi, All: >> Could dynamic

[edk2-devel] Use dynamic pcd in smm mode

2023-11-07 Thread Yoshinoya
Hi, All: Could dynamic PCD be used in smm driver code? It seems pcd has pei/dxe drivers, but not have smm related infrastructur drivers. Thanks -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#110842): https://edk2.groups.io/g/devel/mes

Re: [edk2-devel] question about cxl device enumeration in pci bus driver

2023-11-06 Thread Yoshinoya
reboot? Could anyone help to explain the procedure draftly? Thanks 在 2023-10-27 09:29:31,"Yoshinoya" 写道: Hi, Thanks for reply! I download code from this git https://github.com/SayantaP-arm/edk2-platforms/ For this ARM edk2 sample package, it provided cxldxe driver w

Re: [edk2-devel] [PATCH edk2-platforms v3 00/16] MTCP-over-KCS support

2023-10-31 Thread Yoshinoya
I/O access. It doesn’t require any special HW, just require the I/O cycle or memory cycle can be delivered to the management controller. Yes, we can consider MCTP is a software layer protocol and the that protocol is HW (transport interface) agnostic. Abner From: Yoshinoya Sent: Tuesda

Re: [edk2-devel] [PATCH edk2-platforms v3 00/16] MTCP-over-KCS support

2023-10-30 Thread Yoshinoya
Hi, Abner: I ask you a favor. KCS actually layer on LPC interface. KCS is a usual BMC-to-CPU communication channel. Does MCTP-over-KCS feature require some special LPC interface hardware changes? Or, MCTP is just a software stack and it uses current LPC interface, not any special hardward desi

Re: [edk2-devel] question about cxl device enumeration in pci bus driver

2023-10-26 Thread Yoshinoya
gt; > On Thu, Oct 26, 2023 at 10:36:35AM +0800, Yoshinoya wrote: >> > >> >> CXL Host Bridge / Root Port / Switch / Device enumeration / HDM Config, >> >> maybe could be integrated into pci drivers stack. >> > >> > Point being? Ca

Re: [edk2-devel] question about cxl device enumeration in pci bus driver

2023-10-26 Thread Yoshinoya
some cxl discovery code into dxe pci bus driver. Thanks At 2023-10-26 21:35:38, "Jonathan Cameron via groups.io" wrote: >On Thu, 26 Oct 2023 11:49:28 +0200 >"Laszlo Ersek" wrote: > >> On 10/26/23 10:33, Gerd Hoffmann wrote: >> > On

Re: [edk2-devel] question about cxl device enumeration in pci bus driver

2023-10-25 Thread Yoshinoya
today's pci bus driver. But I might be wrong. Can you list any missing logic in pci bus driver? Thanks, Ray From: devel@edk2.groups.io on behalf of Yoshinoya Sent: Wednesday, October 25, 2023 2:01 PM To: devel@edk2.groups.io Subject: [edk2-devel] question about cxl device enumeration in pci

[edk2-devel] question about cxl device enumeration in pci bus driver

2023-10-24 Thread Yoshinoya
Hi, CXL devices are more polular. Is there any plan to add cxl device enumeration in pci bus driver? Thanks -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#110016): https://edk2.groups.io/g/devel/message/110016 Mute This Topic: https://gr

Re: [edk2-devel] Question about OvmfPackage cxl emulation support

2023-10-24 Thread Yoshinoya
Hi, Gerd: Got it! Thanks At 2023-10-24 16:05:06, "Gerd Hoffmann" wrote: >On Tue, Oct 24, 2023 at 02:48:33PM +0800, Yoshinoya wrote: >> Hi, Lersek: >> I have a question about acpi tables in OvmfPkg. >> >> >> Does qemu create acpi t

Re: [edk2-devel] Question about OvmfPackage cxl emulation support

2023-10-23 Thread Yoshinoya
Hi, Lersek: I have a question about acpi tables in OvmfPkg. Does qemu create acpi tables template for Ovmf BIOS ? I could not find any acpi tables template(asl files) for x86 platform in OvmfPkg. best wishes, At 2023-10-21 11:50:01, "Yoshinoya" wrote: Hi, Lers

Re: [edk2-devel] Question about OvmfPackage cxl emulation support

2023-10-20 Thread Yoshinoya
Hi, Lersek: Got it! Thanks At 2023-10-19 19:58:52, "Laszlo Ersek" wrote: >On 10/19/23 03:51, Yoshinoya wrote: >> Hi, >> I findd qemu supports cxl emulation, but it uses seabios as virtual >> machine firmware. >> >> Does UEFI Ov

[edk2-devel] Question about OvmfPackage cxl emulation support

2023-10-18 Thread Yoshinoya
Hi, I findd qemu supports cxl emulation, but it uses seabios as virtual machine firmware. Does UEFI OvmfPackage have a plan to support CXL device enumeration and declaration? Thanks -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#1097

[edk2-devel] Does RedfishPkg support BMC Chip's lan over usb feature?

2023-06-29 Thread Yoshinoya
Hi, The communication between BIOS and BMC usually is IPMI over LPC interface. The communication also supports with IPMI over IP. BMC chip has ability to emulate itself as a usb network card, and connected with motherboard's usb physical port. So, current redfishpkg supports BMC chip's lan over

[edk2-devel] UsbNetworkPkg not find in UDK 202305 stable version

2023-06-25 Thread Yoshinoya
Hello, I have a question about UsbNetworkPkg. UsbNetworkPkg not find in UDK 202305 stable version, so where could download it? Here is a sample paste about UsbNetworkPkg https://edk2.groups.io/g/devel/message/102688?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Acreated%2C0%2Cusb+lan%2C20%2C2%2C0%2C98122714 Th

[edk2-devel] PciHostBridge: dynamic pcie bus limit assignment

2023-05-23 Thread Yoshinoya
Hello, Does PciHostBridge driver support dynamic pcie bus limit assignement? For example, Xeon chip supports allocating pci bus range dynamically. So, on a dedicated motherboard, during BIOS Post, user could change every cpu socket's bus limit assignment dynamically , and so user could influene

[edk2-devel] Set PCIE MMIO Range as XD attribute

2023-03-21 Thread Yoshinoya
Hi, On x86 platform, there is cpu feature called as execute disable bit(aka: XD). At BIOS stage, usually allocates an address range as PCIE MMIO range. Is there a simple mechanism to set this PCIE MMIO rage's attribute as XD? Thanks -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all me

[edk2-devel] PciBus scan: Does it support scan from EndBusNum to StartBusNum?

2023-02-22 Thread Yoshinoya
Hi Usually PciBus scan is from low bus num to high bus num. So, does it support scan from end bus num to start bus num? Thanks -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#100442): https://edk2.groups.io/g/devel/message/100442 Mute T

[edk2-devel] PciBus scan: Does it support scan from EndBusNum to StartBusNum?

2023-02-22 Thread Yoshinoya
Hi Usually PciBus scan is from low bus num to high bus num. So, does it support scan from end bus num to start bus num? Thanks -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#100443): https://edk2.groups.io/g/devel/message/100443 Mu

[edk2-devel] PciBus scan: Does it support scan from EndBusNum to StartBusNum?

2023-02-22 Thread Yoshinoya
Hi Usually PciBus scan is from low bus num to high bus num. So, does it support scan from end bus num to start bus num? Thanks -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#100441): https://edk2.groups.io/g/devel/message/100441 Mute T

[edk2-devel] PciBus scan: Does it support scan from EndBusNum to StartBusNum?

2023-02-20 Thread Yoshinoya
Hi Usually PciBus scan is from low bus num to high bus num. So, does it support scan from end bus num to start bus num? Thanks -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#100400): https://edk2.groups.io/g/devel/message/100400 Mute T

[edk2-devel] PciBus driver: support pcie 4.0 bus/device enumeration ?

2023-01-03 Thread Yoshinoya
Hello: Currently, more and more platforms support PCIE 4.0 or above bus. So, udk pci bus driver supports pcie 4.0 new added features? Such as emergency power reduction, extended msi data field. best wishes, -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. Vie

[edk2-devel] Access 64bit address space in 32bit mode

2022-11-07 Thread Yoshinoya
Hello Is it possible to access 64bit address space in 32bit mode? For example, opcode prefix 0x66/67 could let code running in 16bit mode to access 32bit data/address. Or, establishing page table is a must requirement for accessing 64bit address space. Thanks -=-=-=-=-=-=-=-=-=-=-=- Grou

Re: [edk2-devel] Python368.efi failed to run in shell environment

2022-10-20 Thread Yoshinoya
ter/AppPkg/Applications/Python/Python-3.6.8/GCCCompilationBKMs.rst Regards, JP From: Yoshinoya Sent: 19 October 2022 14:01 To: Jayaprakash, N Cc: Kinney, Michael D ; devel@edk2.groups.io Subject: Re:RE: Re:RE: [edk2-devel] Python368.efi failed to run in shell environment Hi, JP:

Re: [edk2-devel] Python368.efi failed to run in shell environment

2022-10-19 Thread Yoshinoya
8 17:04:42, "Jayaprakash, N" wrote: Hi Yoshinoya, Could you provide some details about the platform on which you are trying to run? What tools you used for building the Python interpreter? If you could raise a bug with relevant details, we can take a look at this issue. R

Re: [edk2-devel] Python368.efi failed to run in shell environment

2022-10-11 Thread Yoshinoya
Hi, JP: It seems PyImport_ImportModule("encoding.utf_8") failed. Do you have any suggestions? THank you very much! best wishes, At 2022-10-06 00:28:46, "Kinney, Michael D" wrote: +JP Mike From: devel@edk2.groups.io On Behalf Of Yoshinoya Sent: Wednes

[edk2-devel] Python368.efi failed to run in shell environment

2022-10-05 Thread Yoshinoya
Hi I tried to run Python368.efi in shell environment. but failed, the tips was; Fatal Python error: Py_Initialize: can't initialize sys standard streams Does anybody have ever met this error? Python368.efi is a sample python app in AppPkg\Applications\Python\Python-3.6.8 Thanks -=-=-=-=-=-=-