All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	"BALATON Zoltan" <balaton@eik.bme.hu>
Cc: John Snow <jsnow@redhat.com>, Huacai Chen <chenhuacai@kernel.org>,
	Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
	qemu-devel@nongnu.org
Subject: Re: [PATCH 2/2] via-ide: Fix fuloong2e support
Date: Sun, 27 Dec 2020 09:43:12 -0800	[thread overview]
Message-ID: <f7e3aa00-ef00-612c-6f8c-86bd19986b98@roeck-us.net> (raw)
In-Reply-To: <cdf2cf0e-bde8-a854-5206-4e55bdcc733f@amsat.org>

On 12/27/20 9:24 AM, Philippe Mathieu-Daudé wrote:
> On 12/27/20 5:40 PM, BALATON Zoltan via wrote:
>> On Sun, 27 Dec 2020, Philippe Mathieu-Daudé wrote:
>>> On 12/25/20 12:23 AM, BALATON Zoltan wrote:
>>>> From: Guenter Roeck <linux@roeck-us.net>
>>>>
>>>> Fuloong2e needs to use legacy mode for IDE support to work with Linux.
>>>> Add property to via-ide driver to make the mode configurable, and set
>>>> legacy mode for Fuloong2e.
>>>>
>>>
>>> Fixes: 4ea98d317eb ("ide/via: Implement and use native PCI IDE mode")?
>>
>> Not really. That patch did what it said (only emulating (half) native
>> mode instead of only emulating legacy mode) so it wasn't broken per se
>> but it turned out that approach wasn't good enough for all use cases so
>> this now takes a different turn (emulating either legacy or half-native
>> mode based on option property). Therefore. I don't think Fixes: applies
>> in this case. It fixes an issue with a guest but replaces previous patch
>> with different approach. (Even though it reuses most of it.)
> 
> Well, if Linux guest got broken by this commit, why not name it a "fix"?
> Anyway I don't mind how it is called. I find important to refer to the
> commit hash to help navigating between commits while reviewing history.
> 
> What about:
> 
> '''
> The legacy mode for IDE support has been removed in commit 4ea98d317eb
> ("ide/via: Implement and use native PCI IDE mode"). When using a Linux
> guest, the Fuloong2e machine requires the legacy mode.
> Add property to via-ide driver to make the mode configurable, and set
> legacy mode for Fuloong2e.
> '''
> 
> Guenter, is that OK with you? (I can update when applying this series
> via the MIPS tree).
> 

Sure, I don't really care about the commit message as long as the problem
is fixed.

Guenter


  reply	other threads:[~2020-12-27 17:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-24 23:23 [PATCH 0/2] Fix via-ide for fuloong2e BALATON Zoltan via
2020-12-24 23:23 ` [PATCH 2/2] via-ide: Fix fuloong2e support BALATON Zoltan via
2020-12-27 15:18   ` Philippe Mathieu-Daudé
2020-12-27 16:40     ` BALATON Zoltan via
2020-12-27 17:24       ` Philippe Mathieu-Daudé
2020-12-27 17:43         ` Guenter Roeck [this message]
2020-12-27 22:27         ` BALATON Zoltan via
2020-12-24 23:23 ` [PATCH 1/2] ide: Make room for flags in PCIIDEState and add one for legacy mode BALATON Zoltan via
2020-12-27 14:16   ` Philippe Mathieu-Daudé
2020-12-25  0:37 [PATCH 2/2] via-ide: Fix fuloong2e support Guenter Roeck

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=f7e3aa00-ef00-612c-6f8c-86bd19986b98@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=balaton@eik.bme.hu \
    --cc=chenhuacai@kernel.org \
    --cc=f4bug@amsat.org \
    --cc=jsnow@redhat.com \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=qemu-devel@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.