[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 6/6] dp8393x: Rewrite dp8393x_get() / dp8393x_put()
From: |
Finn Thain |
Subject: |
Re: [RFC PATCH 6/6] dp8393x: Rewrite dp8393x_get() / dp8393x_put() |
Date: |
Sun, 4 Jul 2021 11:46:05 +1000 (AEST) |
On Sat, 3 Jul 2021, Philippe Mathieu-Daudé wrote:
> Instead of accessing N registers via a single address_space API
> call using a temporary buffer (stored in the device state) and
> updating each register, move the address_space call in the
> register put/get. The load/store and word size checks are moved
> to put/get too. This simplifies a bit, making the code easier
> to read.
>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
I tried this series with a Linux/m68k guest but network activity hanged
the emulator. The cause of the problem is somewhere in this patch.
BTW, I've become suspicious of the word "rewrite". In this case I think it
describes a commit that is attempting to do too much and needs to be split
up to make it easier to review (and debug).
- Re: [RFC PATCH 4/6] dp8393x: Store CAM registers as 16-bit, (continued)
[PATCH 5/6] dp8393x: Replace address_space_rw(is_write=1) by address_space_write(), Philippe Mathieu-Daudé, 2021/07/03
[RFC PATCH 6/6] dp8393x: Rewrite dp8393x_get() / dp8393x_put(), Philippe Mathieu-Daudé, 2021/07/03
- Re: [RFC PATCH 6/6] dp8393x: Rewrite dp8393x_get() / dp8393x_put(), Mark Cave-Ayland, 2021/07/03
- Re: [RFC PATCH 6/6] dp8393x: Rewrite dp8393x_get() / dp8393x_put(),
Finn Thain <=
- Re: [RFC PATCH 6/6] dp8393x: Rewrite dp8393x_get() / dp8393x_put(), Mark Cave-Ayland, 2021/07/04
- Re: [RFC PATCH 6/6] dp8393x: Rewrite dp8393x_get() / dp8393x_put(), Finn Thain, 2021/07/04
- Re: [RFC PATCH 6/6] dp8393x: Rewrite dp8393x_get() / dp8393x_put(), Mark Cave-Ayland, 2021/07/05
- Re: [RFC PATCH 6/6] dp8393x: Rewrite dp8393x_get() / dp8393x_put(), Finn Thain, 2021/07/06
- Re: [RFC PATCH 6/6] dp8393x: Rewrite dp8393x_get() / dp8393x_put(), Mark Cave-Ayland, 2021/07/07
- Re: [RFC PATCH 6/6] dp8393x: Rewrite dp8393x_get() / dp8393x_put(), Finn Thain, 2021/07/09