Re: [PATCH v3 1/7] ARM: S5PV210: Add a Kconfig entry S5PC110_EVT0_WORKAROUND

2010-07-21 Thread Ben Dooks
On 21/07/10 02:13, MyungJoo Ham wrote:
 On Wed, Jul 21, 2010 at 9:36 AM, Ben Dooks b...@simtec.co.uk wrote:
 On 07/19/10 06:31, MyungJoo Ham wrote:

 Early S5PC110 (EVT0) chip had some issues required workaround from a
 kernel. We can add such workaround codes with this Kconfig entry.

 Signed-off-by: MyungJoo Hammyungjoo@samsung.com
 Signed-off-by: Kyungmin Parkkyungmin.p...@samsung.com
 ---
  arch/arm/mach-s5pv210/Kconfig |7 +++
  1 files changed, 7 insertions(+), 0 deletions(-)

 diff --git a/arch/arm/mach-s5pv210/Kconfig b/arch/arm/mach-s5pv210/Kconfig
 index 631019a..18802e7 100644
 --- a/arch/arm/mach-s5pv210/Kconfig
 +++ b/arch/arm/mach-s5pv210/Kconfig
 @@ -101,4 +101,11 @@ config MACH_SMDKC110
  Machine support for Samsung SMDKC110
  S5PC110(MCP) is one of package option of S5PV210

 +config S5PC110_EVT0_WORKAROUND
 +   bool S5PC110 Early Chip Workaround (EVT0)
 +   help
 + Early S5PC110 (so called EVT0) has errata items that should be
 + addressed; otherwise the kernel may panic or be locked up.
 Enable
 + this option to execute workaround instructions.
 +
  endif

 What happens for non EVT0, is the a performance issue or is it exclusive?

 
 This S5PC110_EVT0_WORKAROUND addresses issues (erratic behaviors, not
 performance issues) of EVT-0 revisions, which is exclusive for these
 EVT-0 only. They do not apply to the later (EVT-1 and so on) chips.

Ok, so does the fix work for just EVT0? Does it exclude supporting other
EVT sillicon as well?

-- 
Ben



--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH v3 1/7] ARM: S5PV210: Add a Kconfig entry S5PC110_EVT0_WORKAROUND

2010-07-21 Thread Kyungmin Park
On Wed, Jul 21, 2010 at 8:47 PM, Ben Dooks b...@simtec.co.uk wrote:
 On 21/07/10 02:13, MyungJoo Ham wrote:
 On Wed, Jul 21, 2010 at 9:36 AM, Ben Dooks b...@simtec.co.uk wrote:
 On 07/19/10 06:31, MyungJoo Ham wrote:

 Early S5PC110 (EVT0) chip had some issues required workaround from a
 kernel. We can add such workaround codes with this Kconfig entry.

 Signed-off-by: MyungJoo Hammyungjoo@samsung.com
 Signed-off-by: Kyungmin Parkkyungmin.p...@samsung.com
 ---
  arch/arm/mach-s5pv210/Kconfig |    7 +++
  1 files changed, 7 insertions(+), 0 deletions(-)

 diff --git a/arch/arm/mach-s5pv210/Kconfig b/arch/arm/mach-s5pv210/Kconfig
 index 631019a..18802e7 100644
 --- a/arch/arm/mach-s5pv210/Kconfig
 +++ b/arch/arm/mach-s5pv210/Kconfig
 @@ -101,4 +101,11 @@ config MACH_SMDKC110
          Machine support for Samsung SMDKC110
          S5PC110(MCP) is one of package option of S5PV210

 +config S5PC110_EVT0_WORKAROUND
 +       bool S5PC110 Early Chip Workaround (EVT0)
 +       help
 +         Early S5PC110 (so called EVT0) has errata items that should be
 +         addressed; otherwise the kernel may panic or be locked up.
 Enable
 +         this option to execute workaround instructions.
 +
  endif

 What happens for non EVT0, is the a performance issue or is it exclusive?


 This S5PC110_EVT0_WORKAROUND addresses issues (erratic behaviors, not
 performance issues) of EVT-0 revisions, which is exclusive for these
 EVT-0 only. They do not apply to the later (EVT-1 and so on) chips.

 Ok, so does the fix work for just EVT0? Does it exclude supporting other
 EVT sillicon as well?

Mr. Ham will reply it.

As I know yes, just FYI now Mr. Ham works on it. you can see it
http://git.infradead.org/users/kmpark/linux-2.6-samsung clock and
cpufreq branch.

If you have a good idea, give your opinions.

Thank you,
Kyungmin Park
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH v3 1/7] ARM: S5PV210: Add a Kconfig entry S5PC110_EVT0_WORKAROUND

2010-07-21 Thread MyungJoo Ham
On Wed, Jul 21, 2010 at 8:47 PM, Ben Dooks b...@simtec.co.uk wrote:
 On 21/07/10 02:13, MyungJoo Ham wrote:
 On Wed, Jul 21, 2010 at 9:36 AM, Ben Dooks b...@simtec.co.uk wrote:
 On 07/19/10 06:31, MyungJoo Ham wrote:

 Early S5PC110 (EVT0) chip had some issues required workaround from a
 kernel. We can add such workaround codes with this Kconfig entry.

 Signed-off-by: MyungJoo Hammyungjoo@samsung.com
 Signed-off-by: Kyungmin Parkkyungmin.p...@samsung.com
 ---
  arch/arm/mach-s5pv210/Kconfig |    7 +++
  1 files changed, 7 insertions(+), 0 deletions(-)

 diff --git a/arch/arm/mach-s5pv210/Kconfig b/arch/arm/mach-s5pv210/Kconfig
 index 631019a..18802e7 100644
 --- a/arch/arm/mach-s5pv210/Kconfig
 +++ b/arch/arm/mach-s5pv210/Kconfig
 @@ -101,4 +101,11 @@ config MACH_SMDKC110
          Machine support for Samsung SMDKC110
          S5PC110(MCP) is one of package option of S5PV210

 +config S5PC110_EVT0_WORKAROUND
 +       bool S5PC110 Early Chip Workaround (EVT0)
 +       help
 +         Early S5PC110 (so called EVT0) has errata items that should be
 +         addressed; otherwise the kernel may panic or be locked up.
 Enable
 +         this option to execute workaround instructions.
 +
  endif

 What happens for non EVT0, is the a performance issue or is it exclusive?


 This S5PC110_EVT0_WORKAROUND addresses issues (erratic behaviors, not
 performance issues) of EVT-0 revisions, which is exclusive for these
 EVT-0 only. They do not apply to the later (EVT-1 and so on) chips.

 Ok, so does the fix work for just EVT0? Does it exclude supporting other
 EVT sillicon as well?

Yes, it works only for EVT0, not for EVT1 or later revisions. When
it's enabled, it does not support EVT1 or others.

However, in the next revision of patches, the EVT determination is
done at run-time, not at compile-time.


 --
 Ben




 ___
 linux-arm-kernel mailing list
 linux-arm-ker...@lists.infradead.org
 http://lists.infradead.org/mailman/listinfo/linux-arm-kernel




-- 
MyungJoo Ham (함명주), Ph.D.
Mobile Software Platform Lab,
Digital Media and Communications (DMC) Business
Samsung Electronics
cell: 82-10-6714-2858
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: [PATCH v3 1/7] ARM: S5PV210: Add a Kconfig entry S5PC110_EVT0_WORKAROUND

2010-07-19 Thread Kukjin Kim
MyungJoo Ham wrote:
 
 Early S5PC110 (EVT0) chip had some issues required workaround from a
 kernel. We can add such workaround codes with this Kconfig entry.
 
 Signed-off-by: MyungJoo Ham myungjoo@samsung.com
 Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
 ---
  arch/arm/mach-s5pv210/Kconfig |7 +++
  1 files changed, 7 insertions(+), 0 deletions(-)
 
 diff --git a/arch/arm/mach-s5pv210/Kconfig b/arch/arm/mach-s5pv210/Kconfig
 index 631019a..18802e7 100644
 --- a/arch/arm/mach-s5pv210/Kconfig
 +++ b/arch/arm/mach-s5pv210/Kconfig
 @@ -101,4 +101,11 @@ config MACH_SMDKC110
 Machine support for Samsung SMDKC110
 S5PC110(MCP) is one of package option of S5PV210
 
 +config S5PC110_EVT0_WORKAROUND
 + bool S5PC110 Early Chip Workaround (EVT0)
 + help
 +   Early S5PC110 (so called EVT0) has errata items that should be
 +   addressed; otherwise the kernel may panic or be locked up. Enable
 +   this option to execute workaround instructions.
 +
  endif
 --

As I said earlier, EVT0 is not real chip and not for mass production.

Why do you submit the EVT0 patch which can only available for you?
It is better to not add code into mainline that is not going to be used.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim kgene@samsung.com, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH v3 1/7] ARM: S5PV210: Add a Kconfig entry S5PC110_EVT0_WORKAROUND

2010-07-19 Thread Kyungmin Park
On Mon, Jul 19, 2010 at 4:59 PM, Kukjin Kim kgene@samsung.com wrote:
 MyungJoo Ham wrote:

 Early S5PC110 (EVT0) chip had some issues required workaround from a
 kernel. We can add such workaround codes with this Kconfig entry.

 Signed-off-by: MyungJoo Ham myungjoo@samsung.com
 Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
 ---
  arch/arm/mach-s5pv210/Kconfig |    7 +++
  1 files changed, 7 insertions(+), 0 deletions(-)

 diff --git a/arch/arm/mach-s5pv210/Kconfig b/arch/arm/mach-s5pv210/Kconfig
 index 631019a..18802e7 100644
 --- a/arch/arm/mach-s5pv210/Kconfig
 +++ b/arch/arm/mach-s5pv210/Kconfig
 @@ -101,4 +101,11 @@ config MACH_SMDKC110
         Machine support for Samsung SMDKC110
         S5PC110(MCP) is one of package option of S5PV210

 +config S5PC110_EVT0_WORKAROUND
 +     bool S5PC110 Early Chip Workaround (EVT0)
 +     help
 +       Early S5PC110 (so called EVT0) has errata items that should be
 +       addressed; otherwise the kernel may panic or be locked up. Enable
 +       this option to execute workaround instructions.
 +
  endif
 --

 As I said earlier, EVT0 is not real chip and not for mass production.

 Why do you submit the EVT0 patch which can only available for you?
 It is better to not add code into mainline that is not going to be used.

Did you read the previous mail? I explain that.
The LSI focus the latest SoCs. but we got the early chip and used it.
You see the chip itself but I see the product which used the chips
whether for mass production or not.

Actually it's management and maintenance problem. you only show the
latest codes and chips to outside.
but I want to maintain our board at mainline.

Thank you,
Kyungmin Park
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html