All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jon Hunter <jon-hunter@ti.com>
To: "Mohammed, Afzal" <afzal@ti.com>
Cc: "tony@atomide.com" <tony@atomide.com>,
	"paul@pwsan.com" <paul@pwsan.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH 3/3] ARM: OMAP2+: gpmc: handle additional timings
Date: Tue, 12 Jun 2012 12:36:53 -0500	[thread overview]
Message-ID: <4FD77E35.3050703@ti.com> (raw)
In-Reply-To: <C8443D0743D26F4388EA172BF4E2A7A93E997D9E@DBDE01.ent.ti.com>


On 06/12/2012 01:37 AM, Mohammed, Afzal wrote:
> Hi Jon,
> 
> On Tue, Jun 12, 2012 at 00:19:35, Hunter, Jon wrote:
>  
>> What boards have been tested with this change?
> 
> Beagle board, after applying all 5 series of patches, without all
> patch series it can't be tested for beagle board as it depended on
> bootloader, not this API
> 
>>> +	u16 bus_turnaround;
>>> +	u16 cycle2cycle_delay;
>>> +
>>> +	u16 wait_monitoring;
>>> +	u16 clk_activation;
>>> +
>>>  	/* The following are only on OMAP3430 */
>>>  	u16 wr_access;		/* WRACCESSTIME */
>>>  	u16 wr_data_mux_bus;	/* WRDATAONADMUXBUS */
>>
>> In general, I agree with this, but if we apply this today, it seems that
>> we *may* be clearing these fields if they have been configured by the
>> bootloader and hence this could introduce a regression (potentially).
>>
>> So we ever need to test boards that this change impacts or at least
>> verify that this change would not impact these boards because these
>> fields have not been configured.
> 
> Yes, it is the exactly the reason this patch has been splitted out
> of gpmc driver conversion series. To find out whether enhancing
> existing API cause any regression and if so, then it can be easily
> root caused and would not be confused with driver conversion.
> 
> This was the only change required w.r.t old interface, need to make
> sure that this won't causes breakage on any of the boards (the boards
> which were unknowingly depending on bootloader for these settings).
> I have only beagle board & omap3evm (both would not get affected
> by this change with existing code) and others can't be validated.
> Once this is in lo tree or mainline, this change can be validated
> for different boards.

Should you at least warn, if you are going to over-write a value?

Jon


WARNING: multiple messages have this Message-ID (diff)
From: jon-hunter@ti.com (Jon Hunter)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/3] ARM: OMAP2+: gpmc: handle additional timings
Date: Tue, 12 Jun 2012 12:36:53 -0500	[thread overview]
Message-ID: <4FD77E35.3050703@ti.com> (raw)
In-Reply-To: <C8443D0743D26F4388EA172BF4E2A7A93E997D9E@DBDE01.ent.ti.com>


On 06/12/2012 01:37 AM, Mohammed, Afzal wrote:
> Hi Jon,
> 
> On Tue, Jun 12, 2012 at 00:19:35, Hunter, Jon wrote:
>  
>> What boards have been tested with this change?
> 
> Beagle board, after applying all 5 series of patches, without all
> patch series it can't be tested for beagle board as it depended on
> bootloader, not this API
> 
>>> +	u16 bus_turnaround;
>>> +	u16 cycle2cycle_delay;
>>> +
>>> +	u16 wait_monitoring;
>>> +	u16 clk_activation;
>>> +
>>>  	/* The following are only on OMAP3430 */
>>>  	u16 wr_access;		/* WRACCESSTIME */
>>>  	u16 wr_data_mux_bus;	/* WRDATAONADMUXBUS */
>>
>> In general, I agree with this, but if we apply this today, it seems that
>> we *may* be clearing these fields if they have been configured by the
>> bootloader and hence this could introduce a regression (potentially).
>>
>> So we ever need to test boards that this change impacts or at least
>> verify that this change would not impact these boards because these
>> fields have not been configured.
> 
> Yes, it is the exactly the reason this patch has been splitted out
> of gpmc driver conversion series. To find out whether enhancing
> existing API cause any regression and if so, then it can be easily
> root caused and would not be confused with driver conversion.
> 
> This was the only change required w.r.t old interface, need to make
> sure that this won't causes breakage on any of the boards (the boards
> which were unknowingly depending on bootloader for these settings).
> I have only beagle board & omap3evm (both would not get affected
> by this change with existing code) and others can't be validated.
> Once this is in lo tree or mainline, this change can be validated
> for different boards.

Should you at least warn, if you are going to over-write a value?

Jon

  reply	other threads:[~2012-06-12 17:36 UTC|newest]

Thread overview: 100+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-11 14:01 [PATCH 0/3] Prepare for GPMC driver conversion Afzal Mohammed
2012-06-11 14:01 ` Afzal Mohammed
2012-06-11 14:01 ` [PATCH 1/3] ARM: OMAP2+: nand: unify init functions Afzal Mohammed
2012-06-11 14:01   ` Afzal Mohammed
2012-06-11 15:43   ` Jon Hunter
2012-06-11 15:43     ` Jon Hunter
2012-06-12  5:50     ` Mohammed, Afzal
2012-06-12  5:50       ` Mohammed, Afzal
2012-06-11 14:01 ` [PATCH 2/3] ARM: OMAP2+: onenand: cleanup for gpmc driver conversion Afzal Mohammed
2012-06-11 14:01   ` Afzal Mohammed
2012-06-11 18:36   ` Jon Hunter
2012-06-11 18:36     ` Jon Hunter
2012-06-12  6:16     ` Mohammed, Afzal
2012-06-12  6:16       ` Mohammed, Afzal
2012-06-12 17:30       ` Jon Hunter
2012-06-12 17:30         ` Jon Hunter
2012-06-13  5:03         ` Mohammed, Afzal
2012-06-13  5:03           ` Mohammed, Afzal
2012-06-13 16:38           ` Jon Hunter
2012-06-13 16:38             ` Jon Hunter
2012-06-14  5:40             ` Mohammed, Afzal
2012-06-14  5:40               ` Mohammed, Afzal
2012-06-14 17:53               ` Jon Hunter
2012-06-14 17:53                 ` Jon Hunter
2012-06-15  6:52                 ` Mohammed, Afzal
2012-06-15  6:52                   ` Mohammed, Afzal
2012-06-11 14:02 ` [PATCH 3/3] ARM: OMAP2+: gpmc: handle additional timings Afzal Mohammed
2012-06-11 14:02   ` Afzal Mohammed
2012-06-11 18:49   ` Jon Hunter
2012-06-11 18:49     ` Jon Hunter
2012-06-12  6:37     ` Mohammed, Afzal
2012-06-12  6:37       ` Mohammed, Afzal
2012-06-12 17:36       ` Jon Hunter [this message]
2012-06-12 17:36         ` Jon Hunter
2012-06-13  4:56         ` Mohammed, Afzal
2012-06-13  4:56           ` Mohammed, Afzal
2012-06-13 11:32           ` Tony Lindgren
2012-06-13 11:32             ` Tony Lindgren
2012-06-13 11:54             ` Tony Lindgren
2012-06-13 11:54               ` Tony Lindgren
2012-06-13 11:58               ` Mohammed, Afzal
2012-06-13 11:58                 ` Mohammed, Afzal
2012-06-14 10:10                 ` Mohammed, Afzal
2012-06-14 10:10                   ` Mohammed, Afzal
2012-06-14 10:19                   ` Tony Lindgren
2012-06-14 10:19                     ` Tony Lindgren
2012-06-14 10:39                     ` Mohammed, Afzal
2012-06-14 10:39                       ` Mohammed, Afzal
2012-06-14 11:49                       ` Tony Lindgren
2012-06-14 11:49                         ` Tony Lindgren
2012-06-14 11:59                         ` Mohammed, Afzal
2012-06-14 11:59                           ` Mohammed, Afzal
2012-06-14 12:09                         ` Mohammed, Afzal
2012-06-14 12:09                           ` Mohammed, Afzal
2012-06-14 12:21                           ` Mohammed, Afzal
2012-06-14 12:21                             ` Mohammed, Afzal
2012-06-14 12:30                             ` Tony Lindgren
2012-06-14 12:30                               ` Tony Lindgren
2012-06-14 11:52                       ` Tony Lindgren
2012-06-14 11:52                         ` Tony Lindgren
2012-06-14 11:56                         ` Mohammed, Afzal
2012-06-14 11:56                           ` Mohammed, Afzal
2012-06-14 12:29                           ` Tony Lindgren
2012-06-14 12:29                             ` Tony Lindgren
2012-06-14 12:53                             ` Mohammed, Afzal
2012-06-14 12:53                               ` Mohammed, Afzal
2012-06-14 16:53                               ` Tony Lindgren
2012-06-14 16:53                                 ` Tony Lindgren
2012-06-15  5:42                                 ` Mohammed, Afzal
2012-06-15  5:42                                   ` Mohammed, Afzal
2012-06-15  6:16                                   ` Mohammed, Afzal
2012-06-15  6:16                                     ` Mohammed, Afzal
2012-06-15 10:45                                     ` Tony Lindgren
2012-06-15 10:45                                       ` Tony Lindgren
2012-06-15 10:49                                       ` Mohammed, Afzal
2012-06-15 10:49                                         ` Mohammed, Afzal
2012-06-13 12:34             ` Mohammed, Afzal
2012-06-13 12:34               ` Mohammed, Afzal
2012-06-13 12:42               ` Tony Lindgren
2012-06-13 12:42                 ` Tony Lindgren
2012-06-13 14:04                 ` Mohammed, Afzal
2012-06-13 14:04                   ` Mohammed, Afzal
2012-06-14  6:32                   ` Tony Lindgren
2012-06-14  6:32                     ` Tony Lindgren
2012-06-14  9:29   ` Tony Lindgren
2012-06-14  9:29     ` Tony Lindgren
2012-06-14  9:41     ` Mohammed, Afzal
2012-06-14  9:41       ` Mohammed, Afzal
2012-06-14 11:23       ` Tony Lindgren
2012-06-14 11:23         ` Tony Lindgren
2012-06-12 10:27 ` [PATCH 0/3] Prepare for GPMC driver conversion Mohammed, Afzal
2012-06-12 10:27   ` Mohammed, Afzal
2012-06-13 11:33   ` Tony Lindgren
2012-06-13 11:33     ` Tony Lindgren
2012-06-13 12:40     ` Mohammed, Afzal
2012-06-13 12:40       ` Mohammed, Afzal
2012-06-13 16:46       ` Jon Hunter
2012-06-13 16:46         ` Jon Hunter
2012-06-14  5:58         ` Mohammed, Afzal
2012-06-14  5:58           ` Mohammed, Afzal

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=4FD77E35.3050703@ti.com \
    --to=jon-hunter@ti.com \
    --cc=afzal@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=paul@pwsan.com \
    --cc=tony@atomide.com \
    /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.