mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1] xen: remove a confusing comment on auto-translated guest I/O
@ 2023-08-02 16:31 Petr Tesarik
  2023-08-02 18:56 ` Boris Ostrovsky
  2023-08-22  5:49 ` Juergen Gross
  0 siblings, 2 replies; 3+ messages in thread
From: Petr Tesarik @ 2023-08-02 16:31 UTC (permalink / raw)
  To: Juergen Gross, Boris Ostrovsky, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, Dave Hansen,
	maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT),
	H. Peter Anvin, moderated list:XEN HYPERVISOR X86,
	open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)
  Cc: Roberto Sassu, petr

From: Petr Tesarik <petr.tesarik.ext@huawei.com>

After removing the conditional return from xen_create_contiguous_region(),
the accompanying comment was left in place, but it now precedes an
unrelated conditional and confuses readers.

Fixes: 989513a735f5 ("xen: cleanup pvh leftovers from pv-only sources")
Signed-off-by: Petr Tesarik <petr.tesarik.ext@huawei.com>
---
 arch/x86/xen/mmu_pv.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/x86/xen/mmu_pv.c b/arch/x86/xen/mmu_pv.c
index e0a975165de7..804a5441324c 100644
--- a/arch/x86/xen/mmu_pv.c
+++ b/arch/x86/xen/mmu_pv.c
@@ -2310,12 +2310,6 @@ int xen_create_contiguous_region(phys_addr_t pstart, unsigned int order,
 	int            success;
 	unsigned long vstart = (unsigned long)phys_to_virt(pstart);
 
-	/*
-	 * Currently an auto-translated guest will not perform I/O, nor will
-	 * it require PAE page directories below 4GB. Therefore any calls to
-	 * this function are redundant and can be ignored.
-	 */
-
 	if (unlikely(order > MAX_CONTIG_ORDER))
 		return -ENOMEM;
 
-- 
2.25.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] xen: remove a confusing comment on auto-translated guest I/O
  2023-08-02 16:31 [PATCH v1] xen: remove a confusing comment on auto-translated guest I/O Petr Tesarik
@ 2023-08-02 18:56 ` Boris Ostrovsky
  2023-08-22  5:49 ` Juergen Gross
  1 sibling, 0 replies; 3+ messages in thread
From: Boris Ostrovsky @ 2023-08-02 18:56 UTC (permalink / raw)
  To: Petr Tesarik, Juergen Gross, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, Dave Hansen,
	maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT),
	H. Peter Anvin, moderated list:XEN HYPERVISOR X86,
	open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)
  Cc: Roberto Sassu, petr



On 8/2/23 12:31 PM, Petr Tesarik wrote:
> From: Petr Tesarik <petr.tesarik.ext@huawei.com>
> 
> After removing the conditional return from xen_create_contiguous_region(),
> the accompanying comment was left in place, but it now precedes an
> unrelated conditional and confuses readers.
> 
> Fixes: 989513a735f5 ("xen: cleanup pvh leftovers from pv-only sources")
> Signed-off-by: Petr Tesarik <petr.tesarik.ext@huawei.com>

Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] xen: remove a confusing comment on auto-translated guest I/O
  2023-08-02 16:31 [PATCH v1] xen: remove a confusing comment on auto-translated guest I/O Petr Tesarik
  2023-08-02 18:56 ` Boris Ostrovsky
@ 2023-08-22  5:49 ` Juergen Gross
  1 sibling, 0 replies; 3+ messages in thread
From: Juergen Gross @ 2023-08-22  5:49 UTC (permalink / raw)
  To: Petr Tesarik, Boris Ostrovsky, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, Dave Hansen,
	maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT),
	H. Peter Anvin, moderated list:XEN HYPERVISOR X86,
	open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)
  Cc: Roberto Sassu, petr


[-- Attachment #1.1.1: Type: text/plain, Size: 485 bytes --]

On 02.08.23 18:31, Petr Tesarik wrote:
> From: Petr Tesarik <petr.tesarik.ext@huawei.com>
> 
> After removing the conditional return from xen_create_contiguous_region(),
> the accompanying comment was left in place, but it now precedes an
> unrelated conditional and confuses readers.
> 
> Fixes: 989513a735f5 ("xen: cleanup pvh leftovers from pv-only sources")
> Signed-off-by: Petr Tesarik <petr.tesarik.ext@huawei.com>

Pushed to xen/tip.git for-linus-6.6


Juergen


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3149 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-22  5:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-02 16:31 [PATCH v1] xen: remove a confusing comment on auto-translated guest I/O Petr Tesarik
2023-08-02 18:56 ` Boris Ostrovsky
2023-08-22  5:49 ` Juergen Gross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®