Hi Julien
> -Original Message-
> From: Julien Grall
> Sent: Monday, November 7, 2022 5:02 AM
> To: Wei Chen ; xen-devel@lists.xenproject.org
> Cc: nd ; Penny Zheng ; Stefano
> Stabellini ; Bertrand Marquis
> ; Volodymyr Babchuk
>
> Subject: Re: [PAT
Hi Julien
> -Original Message-
> From: Xen-devel On Behalf Of
> Julien Grall
> Sent: Monday, November 7, 2022 4:56 AM
> To: Wei Chen ; xen-devel@lists.xenproject.org
> Cc: nd ; Penny Zheng ; Stefano
> Stabellini ; Bertrand Marquis
> ; Volodymyr Babchuk
>
>
Hi Julien
> -Original Message-
> From: Julien Grall
> Sent: Monday, November 7, 2022 5:30 PM
> To: Penny Zheng ; Wei Chen
> ; xen-devel@lists.xenproject.org
> Cc: nd ; Stefano Stabellini ; Bertrand
> Marquis ; Volodymyr Babchuk
>
> Subject: Re: [PATCH v6 09
> -Original Message-
> From: Julien Grall
> Sent: Monday, November 7, 2022 6:38 PM
> To: Penny Zheng ; Wei Chen
> ; xen-devel@lists.xenproject.org
> Cc: nd ; Stefano Stabellini ; Bertrand
> Marquis ; Volodymyr Babchuk
>
> Subject: Re: [PATCH v6 10/11] xen/a
7; static
shared memory feature 'SUPPORTED'.
[1] https://lore.kernel.org/all/20220908135513.1800511-1-penny.zh...@arm.com/
[2]
https://www.kernel.org/doc/Documentation/devicetree/bindings/reserved-memory/xen%2Cshared-memory.txt
Penny Zheng (13):
xen/arm: re-arrange the static shared memory
more clear and
tidy.
Signed-off-by: Penny Zheng
---
xen/arch/arm/domain_build.c | 46 ++---
1 file changed, 23 insertions(+), 23 deletions(-)
diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c
index c0fd13f6ed..d2b9e60b5c 100644
--- a/xen/arch/arm/
P2M mapping.
Signed-off-by: Penny Zheng
---
xen/arch/arm/domain_build.c | 93 +++--
1 file changed, 68 insertions(+), 25 deletions(-)
diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c
index d2b9e60b5c..92763e96fc 100644
--- a/xen/arch/arm
t
going to cover it.
This commit introduces a new field "mem" to cover both scenarios.
"struct membank" is used when host address is provided, whereas
"struct meminfo" shall be used when host address not provided.
Signed-off-by: Penny Zheng
---
xen/arch/arm/bootf
27;. This will avoid continuing to grow
'membank'.
Signed-off-by: Penny Zheng
---
xen/arch/arm/bootfdt.c| 40 +++
xen/arch/arm/domain_build.c | 35 ---
xen/arch/arm/include/asm/kernel.h | 2 +-
xen/arch/arm/include/asm/setup.
on freeing.
Signed-off-by: Penny Zheng
---
xen/arch/arm/domain_build.c | 83 -
1 file changed, 82 insertions(+), 1 deletion(-)
diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c
index fbb196d8a4..3de96882a5 100644
--- a/xen/arch/arm/domain_build.c
unprovided host address.
So in "assign_shared_memory", we just need to assign these static shared pages
to its owner domain using function "assign_pages", and add as many
additional reference as the number of borrowers.
Signed-off-by: Penny Zheng
---
xen/arch/arm/domain_build.c | 160 +++
" to
cover both scenarios.
Signed-off-by: Penny Zheng
---
xen/arch/arm/domain_build.c | 54 ++---
1 file changed, 51 insertions(+), 3 deletions(-)
diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c
index faf0784bb0..d0f7fc8fd7 100644
--- a/xen
match too.
Also, to make codes tidy and clear, we extract codes about parsing
"xen,shared-mem" property from function "process_shm" and move them into
a new helper "parse_shm_property".
Signed-off-by: Penny Zheng
---
xen/arch/arm/bootfdt.c | 87
" could be only provided in borrower domain, and the value
must be smaller than size. And include according docs in booting.txt.
Signed-off-by: Penny Zheng
---
docs/misc/arm/device-tree/booting.txt | 19 ++--
xen/arch/arm/bootfdt.c| 32 ++-
This commit amends docs(booting.txt) to include the new scenario where host
address is not provided in "xen,shared-mem" property, and we also add a new
example to explain in details.
We also fix some buggy info in the docs, like SHMID is "my-shared-mem-1",
not "0x1"
When host address is provided in "xen,shared-mem" property([pbase,
gbase, psize]), it is easy to decide where to map to the borrower
domain if "xen,offset" is also provided.
The partially-shared region shall be starting at pbase + offset, and
ending at pbase + size.
Signed
ory block the offset locates, and the borrower memory map shall start
at this block offset.
Signed-off-by: Penny Zheng
---
xen/arch/arm/domain_build.c | 31 ++-
1 file changed, 30 insertions(+), 1 deletion(-)
diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/
After patching previous commits, we could make feature of "static shared memory"
supported in SUPPORT.md.
Signed-off-by: Penny Zheng
---
SUPPORT.md | 2 +-
xen/arch/arm/Kconfig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/SUPPORT.md b/SUPPOR
bose print.
When users setting "cpufreq=amd-pstate", a new amd-pstate driver
shall be registered and used. Actual implmentation will be introduced
in the following commits.
Signed-off-by: Penny Zheng
---
docs/misc/xen-command-line.pandoc | 8 +++-
xen/arch/x86/acpi/cpufreq/Make
From: Penny Zheng
If cpufreq_driver->target exists, the ->governor decides what frequency
within the limits is used. But when cpufreq_driver->setpolicy exists,
the CPUFreq scaling driver bypasses the governor layer and implement
their own performance scaling algorithms. And we intr
vg freq 200 KHz
Setting CPU in performance mode
Sampling and Outputs:
Avg freq 464 KHz
Avg freq 422 KHz
Avg freq 464 KHz
```
Penny Zheng (11):
xen/x86: add CPPC feature flag for AMD processors
xen/x86: introduce new sub-hypercall to get CPPC data
xen/x86
From: Penny Zheng
The amd-pstate driver may support multiple working modes, passive and active.
Introduce a new variable to keep track of which mode is currently enabled.
This variable will also help to choose which cpufreq driver to be registered.
Signed-off-by: Penny Zheng
---
docs/misc
uot; could leverage common governors such as
*ondemand*, *performance*, etc, to manage the performance hints. In the
future, we will introduce an advanced active mode to enable autonomous
performence level selection.
Signed-off-by: Penny Zheng
---
xen/arch/x86/acpi/cpufreq/amd-psta
"
and "Shared Memory Support".
Right now, xen will only implement "Full MSR Support", and this new
feature flag indicates whether processor has this feature or not.
Signed-off-by: Penny Zheng
---
xen/arch/x86/include/asm/cpufeature.h | 1 +
xen/include/public/arch-x86/
From: Penny Zheng
amd-pstate on active mode bypasses the scaling governor layer, and
provides its own P-state selection algorithms. Consequently, when
it is used, the driver's -> setpolicy() callback is invoked
to register per-CPU utilization update callbacks, not the ->target()
ca
Frequency/Performance as anchor points to
create linear mapping of CPPC abstract performance to CPU frequency.
As Xen is uncapable of parsing the ACPI dynamic table, this commit
introduces a new sub-hypercall to get required CPPC data from
dom0 kernel.
Signed-off-by: Penny Zheng
---
xen/arch/x86
When _CPC table could not provide processor frequency range
values for OS governor, we need to read processor max frequency
as anchor point.
For AMD processors, we rely on parsing DMI table to get processor
max speed.
Signed-off-by: Penny Zheng
---
xen/arch/x86/dmi_scan.c| 19
From: Penny Zheng
HWP, amd-pstate, amd-pstate-epp are all the implementation
of ACPI CPPC (Collaborative Processor Performace Control),
so we introduce cppc_mode flag to print CPPC-related para.
And HWP and amd-pstate-epp are both governor-less driver,
so we introduce hw_auto flag to bypass
[AMD Official Use Only - AMD Internal Distribution Only]
Hi,
> -Original Message-
> From: Andrew Cooper
> Sent: Tuesday, December 3, 2024 4:32 PM
> To: Penny, Zheng ; xen-devel@lists.xenproject.org
> Cc: Stabellini, Stefano ; Huang, Ray
> ; Ragiadakou, Xenia ;
>
[AMD Official Use Only - AMD Internal Distribution Only]
Hi,
> -Original Message-
> From: Jan Beulich
> Sent: Tuesday, December 3, 2024 5:01 PM
> To: Penny, Zheng
> Cc: Stabellini, Stefano ; Huang, Ray
> ; Ragiadakou, Xenia ;
> Andryuk, Jason ; Andrew Coope
Introduce helper set_amd_cppc_para and get_amd_cppc_para to
SET/GET CPPC-related para for amd-pstate/amd-pstate-epp driver.
Signed-off-by: Penny Zheng
---
xen/arch/x86/acpi/cpufreq/amd-pstate.c | 119 +
xen/drivers/acpi/pmstat.c | 24 -
xen/include/acpi
one new AMD CPU frequency driver `amd-pstate-epp`
for active mode.
Signed-off-by: Penny Zheng
---
xen/arch/x86/acpi/cpufreq/amd-pstate.c | 122 +++--
xen/arch/x86/acpi/cpufreq/hwp.c| 10 +-
xen/include/acpi/cpufreq/cpufreq.h | 5 +
xen/include/public/sysctl.h
[AMD Official Use Only - AMD Internal Distribution Only]
Hi,
> -Original Message-
> From: Jason Andryuk
> Sent: Thursday, December 5, 2024 3:12 AM
> To: Jürgen Groß ; Penny, Zheng ;
> Stefano Stabellini ; Oleksandr Tyshchenko
>
> Cc: Huang, Ray ; Ragiadakou
c perf caps data.
Also, as Xen couldn't read and process PCC-type register, this commit
includes a new flag pcc_unsupported in struct acpi_processor_flags to
tell whether platform supports PCC-type register.
Signed-off-by: Penny Zheng
---
drivers/acpi/cppc_a
_processor_probe() and export it as a new function
acpi_cppc_processor_parse().
Also, replace logical processor id with ACPI ID, to show correct print
info in Xen dom0 PVH guest.
Signed-off-by: Penny Zheng
---
drivers/acpi/cppc_acpi.c | 93 +++-
1 file change
From: Roger Pau Monne
When running as a PVH dom0 the ACPI MADT is crafted by Xen in order to
report the correct numbers of vCPUs that dom0 has, so the host MADT is
not provided to dom0. This creates issues when parsing the power and
performance related data from ACPI dynamic tables, as the ACPI
As Xen is uncapable of parsing the ACPI dynamic table, this commit
introduces a new sub-hypercall XEN_PM_CPPC to deliver CPPC perf
caps data.
Signed-off-by: Penny Zheng
---
drivers/acpi/cppc_acpi.c | 1 +
drivers/xen/xen-acpi-processor.c | 89 +++-
include
and performance
related data from a PVH dom0"
Penny Zheng (3):
acpi/cppc: extract _cpc entry parsing logic
xen/cppc: get xen-required cppc perf caps data
xen/cppc: introduce cppc data upload sub-hypercall
Roger Pau Monne (1):
xen/acpi: upload power and performance related data from a
n commit "xen/acpi: upload power and performance
related data from a PVH dom0"(
https://patchwork.kernel.org/project/xen-devel/patch/20241203225338.1336-1-jason.andr...@amd.com/),
which is still under review.
Penny Zheng (3):
acpi/cppc: extract _cpc entry parsing logic
xen/cppc: get xe
From: Roger Pau Monné
When running as a PVH dom0 the ACPI MADT is crafted by Xen in order to
report the correct numbers of vCPUs that dom0 has, so the host MADT is
not provided to dom0. This creates issues when parsing the power and
performance related data from ACPI dynamic tables, as the ACPI
_processor_probe() and export it as a new function
acpi_cppc_processor_parse().
Also, replace logical processor id with ACPI ID, to show correct print
info in Xen dom0 PVH guest.
Signed-off-by: Penny Zheng
---
drivers/acpi/cppc_acpi.c | 95 +++-
1 file change
c perf caps data.
Also, as Xen couldn't read and process PCC-type register, this commit
includes a new flag pcc_unsupported in struct acpi_processor_flags to
tell whether platform supports PCC-type register.
Signed-off-by: Penny Zheng
---
drivers/acpi/cppc_a
As Xen is uncapable of parsing the ACPI dynamic table, this commit
introduces a new sub-hypercall XEN_PM_CPPC to deliver CPPC perf
caps data.
Signed-off-by: Penny Zheng
---
drivers/acpi/cppc_acpi.c | 1 +
drivers/xen/xen-acpi-processor.c | 89 +++-
include
When _CPC table could not provide processor frequency range
values for OS governor, we need to read processor max frequency
as anchor point.
For AMD processors, we export max frequency value from amd_log_freq()
Signed-off-by: Penny Zheng
---
v1 -> v2:
- new commit
---
xen/arch/x86/cpu/am
:
```
Setting CPU in powersave mode
Sampling and Outputs:
Avg freq 200 KHz
Avg freq 200 KHz
Avg freq 200 KHz
Setting CPU in performance mode
Sampling and Outputs:
Avg freq 464 KHz
Avg freq 422 KHz
Avg freq 464 KHz
```
Penny Zheng (11):
-cppc" could leverage common governors such as
*ondemand*, *performance*, etc, to manage the performance hints. In the
future, we will introduce an advanced active mode to enable autonomous
performence level selection.
Signed-off-by: Penny Zheng
---
v1 -> v2:
- re-construct union caps an
Frequency/Performance as anchor points to
create linear mapping of CPPC abstract performance to CPU frequency.
As Xen is uncapable of parsing the ACPI dynamic table, this commit
introduces a new sub-hypercall to propagate required CPPC data from
dom0 kernel.
Signed-off-by: Penny Zheng
---
v1 ->
"
and "Shared Memory Support".
Right now, xen will only implement "Full MSR Support", and this new
feature flag indicates whether processor has this feature or not.
Signed-off-by: Penny Zheng
---
v1 -> v2:
- Remove A flag, as the feature is Xen-only
---
xen/arch/x86/i
bose print.
When users setting "cpufreq=amd-cppc", a new amd-cppc driver
shall be registered and used. Actual implmentation will be introduced
in the following commits.
Signed-off-by: Penny Zheng
---
v1 -> v2:
- Obey to alphabetic sorting and also strict it with CONFIG_AMD
- Remove un
From: Penny Zheng
amd-cppc on active mode bypasses the scaling governor layer, and
provides its own P-state selection algorithms in hardware. Consequently,
when it is used, the driver's -> setpolicy() callback is invoked
to register per-CPU utilization update callbacks, not the
Intel's hwp Energy Performance Preference value is compatible with
CPPC's Energy Performance Preference value, so this commit abstracts
the value and re-place it in common header file cpufreq.h, to be
used not only for hwp in the future.
Signed-off-by: Penny Zheng
---
v1 -> v2:
From: Penny Zheng
The amd-cppc driver may support multiple working modes, passive and active.
Introduce `active` tag for users to explicitly select active mode and a new
variable `opt_cpufreq_active` to keep track of which mode is currently enabled.
Specific implementation will be introduced in
new AMD CPU frequency driver `amd-cppc-epp`
for active mode.
Signed-off-by: Penny Zheng
---
v1 -> v2:
- Remove redundant epp_mode
- Remove pointless initializer
- Define sole caller read_epp_init_once and epp_init value to read
pre-defined BIOS epp value only once
- Combine the commit &
Introduce helper set_amd_cppc_para and get_amd_cppc_para to
SET/GET CPPC-related para for amd-cppc/amd-cppc-epp driver.
Signed-off-by: Penny Zheng
---
v1 -> v2:
- Give the variable des_perf an initializer of 0
- Use the strncmp()s directly in the if()
---
xen/arch/x86/acpi/cpufreq/amd-cpp
From: Penny Zheng
HWP, amd-cppc, amd-cppc-epp are all the implementation
of ACPI CPPC (Collaborative Processor Performace Control),
so we introduce cppc_mode flag to print CPPC-related para.
And HWP and amd-cppc-epp are both governor-less driver,
so we introduce hw_auto flag to bypass governor
[AMD Official Use Only - AMD Internal Distribution Only]
Hi,
> -Original Message-
> From: Jan Beulich
> Sent: Thursday, January 9, 2025 6:55 PM
> To: Penny, Zheng
> Cc: Stabellini, Stefano ; Huang, Ray
> ; Ragiadakou, Xenia ;
> Andryuk, Jason ; Andrew Cooper
>
[AMD Official Use Only - AMD Internal Distribution Only]
Hi,
> -Original Message-
> From: Jan Beulich
> Sent: Thursday, January 9, 2025 6:13 PM
> To: Penny, Zheng
> Cc: Stabellini, Stefano ; Huang, Ray
> ; Ragiadakou, Xenia ;
> Andryuk, Jason ; Andrew Coope
[AMD Official Use Only - AMD Internal Distribution Only]
Hi,
> -Original Message-
> From: Jan Beulich
> Sent: Thursday, January 9, 2025 7:24 PM
> To: Penny, Zheng
> Cc: Stabellini, Stefano ; Huang, Ray
> ; Ragiadakou, Xenia ;
> Andryuk, Jason ; Andrew Cooper
>
[AMD Official Use Only - AMD Internal Distribution Only]
Hi,
> -Original Message-
> From: Jan Beulich
> Sent: Thursday, January 9, 2025 7:38 PM
> To: Penny, Zheng
> Cc: Stabellini, Stefano ; Huang, Ray
> ; Ragiadakou, Xenia ;
> Andryuk, Jason ; Andrew Coope
[AMD Official Use Only - AMD Internal Distribution Only]
Hi,
> -Original Message-
> From: Jan Beulich
> Sent: Wednesday, January 15, 2025 4:32 PM
> To: Penny, Zheng
> Cc: Stabellini, Stefano ; Huang, Ray
> ; Ragiadakou, Xenia ;
> Andryuk, Jason ; Andrew Co
[AMD Official Use Only - AMD Internal Distribution Only]
Hi,
> -Original Message-
> From: Jan Beulich
> Sent: Thursday, January 9, 2025 5:59 PM
> To: Penny, Zheng
> Cc: Stabellini, Stefano ; Huang, Ray
> ; Ragiadakou, Xenia ;
> Andryuk, Jason ; Andrew Cooper
>
[AMD Official Use Only - AMD Internal Distribution Only]
Hi,
> -Original Message-
> From: Jan Beulich
> Sent: Thursday, January 9, 2025 5:46 PM
> To: Penny, Zheng
> Cc: Stabellini, Stefano ; Huang, Ray
> ; Ragiadakou, Xenia ;
> Andryuk, Jason ; Andrew Coope
As Xen is uncapable of parsing the ACPI dynamic table, this commit
introduces a new sub-hypercall XEN_PM_CPPC to deliver CPPC perf
caps data.
Signed-off-by: Penny Zheng
---
v2 -> v3:
- Adapt to the changes from new commit "xen: introduces XEN_PM_PSD
sub-hypercall for solely delivery of _
[Public]
Hi,
> -Original Message-
> From: Jan Beulich
> Sent: Monday, March 24, 2025 10:28 PM
> To: Penny, Zheng
> Cc: Huang, Ray ; Andrew Cooper
> ; Roger Pau Monné ;
> Anthony PERARD ; Orzel, Michal
> ; Julien Grall ; Stefano Stabellini
> ; xen-devel@lis
[Public]
Hi,
Sorry for the late reply, got side-tracked for a while
> -Original Message-
> From: Alejandro Vallejo
> Sent: Thursday, March 13, 2025 8:03 PM
> To: Penny, Zheng ; xen-devel@lists.xenproject.org
> Cc: Huang, Ray ; Andrew Cooper
> ; Anthony PERARD ;
>
[Public]
Hi,
> -Original Message-
> From: Jan Beulich
> Sent: Monday, March 24, 2025 10:09 PM
> To: Penny, Zheng
> Cc: Huang, Ray ; Andrew Cooper
> ; Roger Pau Monné ;
> Anthony PERARD ; Orzel, Michal
> ; Julien Grall ; Stefano Stabellini
> ; xen-devel@lis
[Public]
Hi
> -Original Message-
> From: Jan Beulich
> Sent: Wednesday, March 26, 2025 6:43 PM
> To: Penny, Zheng
> Cc: Huang, Ray ; Andrew Cooper
> ; Anthony PERARD ;
> Orzel, Michal ; Julien Grall ; Roger
> Pau Monné ; Stefano Stabellini ;
> xen-devel@lis
As function xsm_sysctl() is solely invoked in sysctl.c, we need to
wrap around it with CONFIG_SYSCTL
Signed-off-by: Penny Zheng
---
v1 -> v2
- remove unnecessary redundancy in dummy handler
- re-place #ifdef into function body
---
xen/include/xsm/xsm.h | 4
xen/xsm/dummy.c
[Public]
Hi,
> -Original Message-
> From: Jan Beulich
> Sent: Thursday, March 20, 2025 4:47 PM
> To: Penny, Zheng
> Cc: Huang, Ray ; Andrew Cooper
> ; Anthony PERARD ;
> Orzel, Michal ; Julien Grall ; Roger Pau
> Monné ; Stefano Stabellini ;
> Daniel
>
[Public]
Hi,
> -Original Message-
> From: Jan Beulich
> Sent: Monday, March 24, 2025 11:01 PM
> To: Penny, Zheng
> Cc: Huang, Ray ; Andrew Cooper
> ; Anthony PERARD ;
> Orzel, Michal ; Julien Grall ; Roger Pau
> Monné ; Stefano Stabellini ;
> xen-
&
[Public]
Hi,
> -Original Message-
> From: Jan Beulich
> Sent: Tuesday, March 25, 2025 6:49 PM
> To: Penny, Zheng
> Cc: Huang, Ray ; Andrew Cooper
> ; Anthony PERARD ;
> Orzel, Michal ; Julien Grall ; Roger
> Pau Monné ; Stefano Stabellini ;
> xen-devel@lis
perfc_control() and perfc_copy_info() are responsible for providing control
of perf counters via XEN_SYSCTL_perfc_op in DOM0, so they both shall
be wrapped.
Signed-off-by: Penny Zheng
---
- add transient #ifdef in sysctl.c for correct compilation
---
xen/common/perfc.c | 2 ++
xen/common
The following functions is to deal with XEN_SYSCTL_readconsole sub-op, and
shall be wrapped:
- xsm_readconsole
- read_console_ring
Signed-off-by: Penny Zheng
---
v1 -> v2:
- remove redundant dummy handle
- add transient #ifdef in sysctl.c for correct compilation
---
xen/common/sysct
much as
possible.
It is based on Stefano Stabellini's commit "xen: introduce kconfig options to
disable hypercalls"(
https://lore.kernel.org/xen-devel/20241219092917.3006174-1-sergiy_kib...@epam.com)
Penny Zheng (17):
xen/x86: remove "depends on !PV_SHIM_EXCLUSIVE"
xe
[Public]
Hi,
> -Original Message-
> From: Jan Beulich
> Sent: Monday, March 24, 2025 11:48 PM
> To: Penny, Zheng
> Cc: Huang, Ray ; Andrew Cooper
> ; Roger Pau Monné ; xen-
> de...@lists.xenproject.org; Nicola Vetrini
> Subject: Re: [PATCH v3 07/15] xen/cpu
put the guardian in Makefile for the whole file.
Signed-off-by: Stefano Stabellini
Signed-off-by: Sergiy Kibrik
Signed-off-by: Penny Zheng
---
- use "depends on" for config OVERLAY_DTB
- no need to wrap declaration
- add transient #ifdef in sysctl.c for correct compilation
---
xe
[Public]
Hi
> -Original Message-
> From: Jan Beulich
> Sent: Monday, March 24, 2025 11:12 PM
> To: Penny, Zheng
> Cc: Huang, Ray ; Andrew Cooper
> ; Roger Pau Monné ;
> Anthony PERARD ; Orzel, Michal
> ; Julien Grall ; Stefano Stabellini
> ; xen-devel@lists.x
[1]
[1] https://lists.xen.org/archives/html/xen-devel/2023-03/msg00040.html
Signed-off-by: Jan Beulich
Signed-off-by: Penny Zheng
---
xen/arch/x86/Kconfig | 6 ++
xen/arch/x86/hvm/Kconfig | 1 -
xen/drivers/video/Kconfig | 4 ++--
3 files changed, 4 insertions(+), 7 deletions(-)
diff
Users could only access trace buffers via hypercal XEN_SYSCTL_tbuf_op,
so this commit makes CONFIG_TRACEBUFFER depend on CONFIG_SYSCTL
Signed-off-by: Penny Zheng
Reviewed-by: Stefano Stabellini
---
xen/common/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/xen/common/Kconfig b/xen
[Public]
Hi,
> -Original Message-
> From: Jan Beulich
> Sent: Monday, March 24, 2025 11:26 PM
> To: Penny, Zheng
> Cc: Huang, Ray ; Andrew Cooper
> ; Anthony PERARD ;
> Orzel, Michal ; Julien Grall ; Roger Pau
> Monné ; Stefano Stabellini ;
> xen-
&
The following function shall be wrapped:
- scheduler_id
Signed-off-by: Penny Zheng
Reviewed-by: Stefano Stabellini
---
xen/common/sched/core.c | 2 ++
xen/common/sysctl.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/xen/common/sched/core.c b/xen/common/sched/core.c
index
CONFIG_SYSCTL
Signed-off-by: Penny Zheng
---
v1 -> v2:
- rename to CONFIG_PM_STATS
- fix indention and stray semicolon
- make code movements into a new commit
- No need to wrap inline functions and declarations
---
xen/arch/x86/acpi/cpu_idle.c | 2 ++
xen/arch/x86/acpi/cpufreq/hw
Function avail_domheap_pages() is only invoked by get_outstanding_claims(),
so it could be inlined into its sole caller.
Move up avail_heap_pages() to avoid declaration before
get_outstanding_claims().
Signed-off-by: Penny Zheng
---
v1 -> v2:
- let avail_domheap_pages() being inlined into
The following function is only to serve spinlock profiling via
XEN_SYSCTL_lockprof_op, so it shall be wrapped:
- spinlock_profile_control
Signed-off-by: Penny Zheng
---
v1 -> v2:
- add transient #ifdef in sysctl.c for correct compilation
---
xen/common/spinlock.c | 2 ++
xen/common/sysct
All coverage-related op shall be wrapped around with CONFIG_SYSCTL,
so this commit makes CONFIG_COVERAGE depend on CONFIG_SYSCTL.
Signed-off-by: Penny Zheng
Reviewed-by: Stefano Stabellini
---
v1 -> v2:
- commit message refactor
---
---
xen/Kconfig.debug | 2 +-
1 file changed, 1 insert
From: Stefano Stabellini
We intend to introduces a new Kconfig CONFIG_SYSCTL, which shall only
be disabled on some dom0less systems, to reduce Xen footprint.
Signed-off-by: Stefano Stabellini
Signed-off-by: Sergiy Kibrik
Signed-off-by: Penny Zheng
---
v1 -> v2:
- complement missing com
Function sched_adjust_global is designed for XEN_SYSCTL_scheduler_op, so
itself and its calling flow, like .adjust_global, shall all be wrapped.
Signed-off-by: Penny Zheng
Reviewed-by: Stefano Stabellini
---
v1 -> v2:
- no need to wrap declarations
- add transient #ifdef in sysctl.c for corr
From: Stefano Stabellini
We intend to wrap around sysctl hypercall, and also correct the order
alphabetically
We also need to removes all transient "#ifdef CONFIG_SYSCTL"-s in sysctl.c.
Signed-off-by: Stefano Stabellini
Signed-off-by: Sergiy Kibrik
Signed-off-by: Penny Zheng
--
- cpupool_unassign_cpu
Signed-off-by: Penny Zheng
Reviewed-by: Stefano Stabellini
---
v1 -> v2:
- no need to wrap declaration
- add transient #ifdef in sysctl.c for correct compilation
---
xen/common/sched/cpupool.c | 8
xen/common/sysctl.c| 2 +-
2 files changed, 9 insertions(+), 1 delet
LIVEPATCH mechanism relies on LIVEPATCH_SYSCTL hypercall, so CONFIG_LIVEPATCH
shall depend on CONFIG_SYSCTL
Signed-off-by: Penny Zheng
Reviewed-by: Stefano Stabellini
---
v1 -> v2:
- commit message refactor
---
xen/common/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
the handler for sub-hypercall
XEN_PM_PDC, and shall stay with the other handlers together in
drivers/cpufreq/cpufreq.c.
This commit also applies various style corrections while moving these
functions
Signed-off-by: Penny Zheng
---
v1 -> v2:
- new commit
---
xen/drivers/acpi/pmsta
The following functions are only used to deal with XEN_SYSCTL_physinfo,
then they shall be wrapped:
- arch_do_physinfo
- get_outstanding_claims
Signed-off-by: Penny Zheng
---
v1 -> v2:
- no need to wrap declaration
- add transient #ifdef in sysctl.c for correct compilation
---
xen/arch/
The following functions are only to deal with XEN_SYSCTL_page_offline_op,
then shall be wrapped:
- xsm_page_offline
- online_page
- query_page_offline
Signed-off-by: Penny Zheng
Reviewed-by: Stefano Stabellini
---
v1 -> v2:
- add transient #ifdef in sysctl.c for correct compilation
- no need
[Public]
Hi,
> -Original Message-
> From: Jan Beulich
> Sent: Monday, March 24, 2025 11:52 PM
> To: Penny, Zheng
> Cc: Huang, Ray ; Andrew Cooper
> ; Roger Pau Monné ; xen-
> de...@lists.xenproject.org
> Subject: Re: [PATCH v3 08/15] xen/amd: export processor ma
[Public]
Hi,
> -Original Message-
> From: Jan Beulich
> Sent: Wednesday, March 26, 2025 6:55 PM
> To: Penny, Zheng
> Cc: Huang, Ray ; Andrew Cooper
> ; Anthony PERARD ;
> Orzel, Michal ; Julien Grall ; Roger Pau
> Monné ; Stefano Stabellini ;
> xen-
&
[Public]
Hi,
> -Original Message-
> From: Jan Beulich
> Sent: Thursday, March 27, 2025 3:48 PM
> To: Penny, Zheng
> Cc: Huang, Ray ; Andrew Cooper
> ; Anthony PERARD ;
> Orzel, Michal ; Julien Grall ; Roger
> Pau Monné ; Stefano Stabellini ;
> xen-devel@lis
[Public]
> -Original Message-
> From: Jan Beulich
> Sent: Tuesday, April 1, 2025 5:02 PM
> To: Penny, Zheng
> Cc: xen-devel@lists.xenproject.org; Huang, Ray ;
> Andrew Cooper ; Roger Pau Monné
> ; Anthony PERARD ; Orzel,
> Michal ; Julien Grall ; Stefano
>
[Public]
> -Original Message-
> From: Jan Beulich
> Sent: Tuesday, April 1, 2025 2:38 PM
> To: Penny, Zheng
> Cc: Huang, Ray ; Andrew Cooper
> ; Anthony PERARD ;
> Orzel, Michal ; Julien Grall ; Roger
> Pau Monné ; Stefano Stabellini ;
> xen-devel@lists.x
-off-by: Penny Zheng
---
v2 -> v3:
- new commit
---
drivers/xen/xen-acpi-processor.c | 82
include/xen/interface/platform.h | 8 ++--
2 files changed, 56 insertions(+), 34 deletions(-)
diff --git a/drivers/xen/xen-acpi-processor.c b/drivers/xen/xen-a
[Public]
Hi,
> -Original Message-
> From: Jan Beulich
> Sent: Tuesday, April 1, 2025 10:47 PM
> To: Penny, Zheng
> Cc: Huang, Ray ; Stefano Stabellini
> ; Julien Grall ; Bertrand Marquis
> ; Orzel, Michal ;
> Volodymyr Babchuk ; Andrew Cooper
> ; Anthony
701 - 800 of 1115 matches
Mail list logo