[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] tools: Move MASK_INSR to common-macros.h
- To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- From: Luca Fancellu <Luca.Fancellu@xxxxxxx>
- Date: Fri, 9 Jun 2023 10:10:05 +0000
- Accept-language: en-GB, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=WB6SQNBRWIkjfM8eI97XnBZEBH+3QYHy6iLNKMT4L8c=; b=mHYMaDPNbAJ9CE4RLefJblT/8S2a1iEzYUKv4JzorcqNYPHxUdi99xHWkVpTDYmv//L5/1kzCNS9TWPT0hFmyJIdmGL9NJepgwZ1TltAcKI1zMBlKNxEXIvEUMy9a/KF1bcd06p98/ZHyZDE6Umz+clImdhbdajEaBDQN2rGp1FV2IOlpP9Yi183tvG1qvKZvYos2qBDOTC2YVpw8cT3TE5YQt8gKdjkd+UdNGK9lkO7IbmiNd/4hl8fvBgh6NQ+AFZ+qXseULmVw94Lj099fXy7LSQ+KusgAmf1kMOBiN4OfogLpR49Y6leSWo0rIOI8WjCqUw6ulkT+NVKx010gA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZqcYNDg89ZxH+eRGh3+pdjGoeOFQx1D0xJ1A4oRNuGbGOwCFp1njdOKudn9nUWkqAZeW7Nap1pjewBjyKgJCaveu2LMrWCdB+361cws6neODVRFMM8nQLHUGecNEN5mTmpUJncFI+0daV4j1tQzL65nK2R+1Nvu1Y8NbQeQCpL9TfxKKehSDZJZ9aPof1bwJ+OaKTirPj7yMC58HktRZMjaA8HqaEApO3nvL/UOhM2sfwff6zXR5trXSMwlswPWYN0kdabuwbKfTXPdJt1TdTSIZ2DfzIR3Zpvc3NYUla/ibEHG4YMCtPmbxoUrlcHVP6qRYRVGvcKKRH/LG5tSRlg==
- Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>
- Delivery-date: Fri, 09 Jun 2023 10:11:01 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Nodisclaimer: true
- Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Thread-index: AQHZmjBTIpVZOkjuH06O82Z2wJSQ2a+BTMwAgADy7ICAAAD5AA==
- Thread-topic: [PATCH] tools: Move MASK_INSR to common-macros.h
> On 9 Jun 2023, at 11:06, Andrew Cooper <andrew.cooper3@xxxxxxxxxx> wrote:
>
> On 08/06/2023 8:37 pm, Luca Fancellu wrote:
>>> On 8 Jun 2023, at 18:40, Andrew Cooper <andrew.cooper3@xxxxxxxxxx> wrote:
>>>
>>> MASK_EXTR() and MASK_INSR() are a matching pair. Keep them together.
>>>
>>> Fixes: 56a7aaa16bfe ("tools: add physinfo arch_capabilities handling for
>>> Arm")
>> I don’t think this patch is fixing a bug:
>>
>> ### Fixes:
>>
>> If your patch fixes a bug in a specific commit, e.g. you found an issue using
>> ``git bisect``, please use the `Fixes:` tag with the first 12 characters of
>> the commit id, and the one line summary.
>
> That a poor explanation...
>
> Fixes: is about corrections to the patch, not bugs.
>
> 56a7aaa16bfe is unlikely to be backported, but if a downstream were to
> backport your SVE patches, Fixes: identify all other patches they need
> to take.
>
> Fixes: was specifically invented to let tooling (partially) automate the
> task if finding new patches to backport, based on what had already been
> backported.
Ok this makes sense, so that a tool can easily understand where to put the
focus.
>
> Concrete bugs are the majority reason for a Fixes tag, sure, but not the
> only reason. In this case, a downstream absolutely doesn't want to get
> into a position where these macros aren't together in a pair, because it
> there will be a case in the future where it causes a build error.
>
>>> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
>> But it makes sense, so
>>
>> Reviewed-by: Luca Fancellu <luca.fancellu@xxxxxxx>
>
> Thanks. As you've already indicated that you're ok with fixing up
> x86-emulate.h in v2, I'll retain this.
sure, thanks for fixing it
>
> ~Andrew
|