public inbox for qemu-devel@nongnu.org
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: Yodel Eldar <yodel.eldar@yodel.dev>, qemu-devel@nongnu.org
Subject: Re: [PATCH 02/15] hw/alpha/dp264: Fix block comment style problems
Date: Thu, 26 Mar 2026 10:11:15 +1000	[thread overview]
Message-ID: <dd439b70-37d1-412b-8d4c-a1ef7012cb66@linaro.org> (raw)
In-Reply-To: <20260310-qomify-alpha-v1-2-4375b00a85ff@yodel.dev>

On 3/11/26 08:31, Yodel Eldar wrote:
> Use leading "/*", internal "*", and trailing "*/" for block comments.
> 
> Signed-off-by: Yodel Eldar <yodel.eldar@yodel.dev>
> ---
>   hw/alpha/dp264.c | 22 +++++++++++++---------
>   1 file changed, 13 insertions(+), 9 deletions(-)


Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~

> 
> diff --git a/hw/alpha/dp264.c b/hw/alpha/dp264.c
> index 98219f0456..27fbcee637 100644
> --- a/hw/alpha/dp264.c
> +++ b/hw/alpha/dp264.c
> @@ -26,12 +26,14 @@ static uint64_t cpu_alpha_superpage_to_phys(void *opaque, uint64_t addr)
>       return addr;
>   }
>   
> -/* Note that there are at least 3 viewpoints of IRQ numbers on Alpha systems.
> -    (0) The dev_irq_n lines into the cpu, which we totally ignore,
> -    (1) The DRIR lines in the typhoon chipset,
> -    (2) The "vector" aka mangled interrupt number reported by SRM PALcode,
> -    (3) The interrupt number assigned by the kernel.
> -   The following function is concerned with (1) only.  */
> +/*
> + * Note that there are at least 3 viewpoints of IRQ numbers on Alpha systems.
> + *  (0) The dev_irq_n lines into the cpu, which we totally ignore,
> + *  (1) The DRIR lines in the typhoon chipset,
> + *  (2) The "vector" aka mangled interrupt number reported by SRM PALcode,
> + *  (3) The interrupt number assigned by the kernel.
> + * The following function is concerned with (1) only.
> + */
>   
>   static int clipper_pci_map_irq(PCIDevice *d, int irq_num)
>   {
> @@ -132,9 +134,11 @@ static void clipper_init(MachineState *machine)
>       pci_dev = pci_create_simple(pci_bus, -1, "cmd646-ide");
>       pci_ide_create_devs(pci_dev);
>   
> -    /* Load PALcode.  Given that this is not "real" cpu palcode,
> -       but one explicitly written for the emulation, we might as
> -       well load it directly from and ELF image.  */
> +    /*
> +     * Load PALcode.  Given that this is not "real" cpu palcode,
> +     * but one explicitly written for the emulation, we might as
> +     * well load it directly from and ELF image.
> +     */
>       palcode_filename = qemu_find_file(QEMU_FILE_TYPE_BIOS,
>                                         machine->firmware ?: "palcode-clipper");
>       if (palcode_filename == NULL) {
> 



  reply	other threads:[~2026-03-26  0:12 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-10 22:31 [PATCH 00/15] hw/alpha: QOMify Clipper and Typhoon Yodel Eldar
2026-03-10 22:31 ` [PATCH 01/15] hw/alpha/typhoon: Fix whitespace and block comment style problems Yodel Eldar
2026-03-26  0:11   ` Richard Henderson
2026-03-10 22:31 ` [PATCH 02/15] hw/alpha/dp264: Fix " Yodel Eldar
2026-03-26  0:11   ` Richard Henderson [this message]
2026-03-10 22:31 ` [PATCH 03/15] hw/alpha/dp264: Validate kernel and initrd sizes Yodel Eldar
2026-03-26  0:11   ` Richard Henderson
2026-03-26  2:04     ` Yodel Eldar
2026-03-26  3:07       ` Richard Henderson
2026-03-26 14:23         ` Yodel Eldar
2026-03-10 22:31 ` [PATCH 04/15] hw/alpha/dp264: Use rom_add_blob_fixed() for initrd params Yodel Eldar
2026-03-26  0:17   ` Richard Henderson
2026-03-10 22:31 ` [PATCH 05/15] hw/alpha/typhoon: Create instance_init and class_init Yodel Eldar
2026-03-11 12:43   ` Philippe Mathieu-Daudé
2026-03-11 18:07     ` Yodel Eldar
2026-03-10 22:31 ` [PATCH 06/15] hw/alpha/dp264: Add CPUs as children of the machine Yodel Eldar
2026-03-10 22:31 ` [PATCH 07/15] hw/alpha: Use QOM composition for the Typhoon chipset Yodel Eldar
2026-03-10 22:31 ` [PATCH 08/15] hw/alpha: Set CPU link properties and use them Yodel Eldar
2026-03-10 22:31 ` [PATCH 09/15] hw/alpha: Convert IRQ pointers to named GPIOs Yodel Eldar
2026-03-10 22:31 ` [PATCH 10/15] hw/alpha: Expose RAM to typhoon via QOM property link Yodel Eldar
2026-03-11 12:39   ` Philippe Mathieu-Daudé
2026-03-10 22:31 ` [PATCH 11/15] hw/alpha: Explicitly define TyphoonClass in alpha_sys.h Yodel Eldar
2026-03-10 22:31 ` [PATCH 12/15] hw/alpha: Move PCI IRQ mapping to TyphoonClass subclass Yodel Eldar
2026-03-10 22:31 ` [PATCH 13/15] hw/alpha: Move minimum PCI device slot to TyphoonClass Yodel Eldar
2026-03-10 22:31 ` [PATCH 14/15] hw/alpha: Use QOM path resolution to get Typhoon PCI bus Yodel Eldar
2026-03-11 13:05   ` Yodel Eldar
2026-03-10 22:31 ` [PATCH 15/15] hw/alpha: Split typhoon_init() into instance_init and realize Yodel Eldar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dd439b70-37d1-412b-8d4c-a1ef7012cb66@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=yodel.eldar@yodel.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox