Ronald G. Minnich (rminnich(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3468
-gerrit
commit 4dd83bbe10f5c9469e717187dc7c2310cf4e2164
Author: Paul Menzel <paulepanter(a)users.sourceforge.net>
Date: Fri Jun 14 23:42:45 2013 +0200
cpu/x86/lapic/lapic_cpu_init.c: Remove double startup IPI for AMD AGESA processors
Many CPU families no longer need the double startup IPI.
Add CPU_AMD_AGESA as one indicator that it is not needed,
as all AMD processors using AGESA – currently
Family 10h to 15h – should not need it.
Successfully tested on ASRock E350M1 with a Family 14h processor.
This is a kludgy approach but it works.
Change-Id: Ib310f2e5ab4b463a82bf0fa9fa9141b556cabf60
Signed-off-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
---
src/cpu/x86/lapic/lapic_cpu_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cpu/x86/lapic/lapic_cpu_init.c b/src/cpu/x86/lapic/lapic_cpu_init.c
index fbc8aa4..08cbe96 100644
--- a/src/cpu/x86/lapic/lapic_cpu_init.c
+++ b/src/cpu/x86/lapic/lapic_cpu_init.c
@@ -167,7 +167,7 @@ static int lapic_start_cpu(unsigned long apicid)
return 0;
}
-#if !CONFIG_CPU_AMD_MODEL_10XXX
+#if !CONFIG_CPU_AMD_MODEL_10XXX && !CONFIG_CPU_AMD_AGESA
num_starts = 2;
#else
num_starts = 1;
Ronald G. Minnich (rminnich(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3468
-gerrit
commit 6e669594a15db67c9ee8e2632d05540a8e3bf9e6
Author: Paul Menzel <paulepanter(a)users.sourceforge.net>
Date: Fri Jun 14 23:42:45 2013 +0200
cpu/x86/lapic/lapic_cpu_init.c: Remove double startup IPI for AMD AGESA processors
Many CPU families no longer the double startup IPI.
Add CPU_AMD_AGESA as one indicator that it is not needed,
as all AMD processors using AGESA – currently
Family 10h to 15h – should not need it.
Successfully tested on ASRock E350M1 with a Family 14h processor.
Change-Id: Ib310f2e5ab4b463a82bf0fa9fa9141b556cabf60
Signed-off-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
---
src/cpu/x86/lapic/lapic_cpu_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cpu/x86/lapic/lapic_cpu_init.c b/src/cpu/x86/lapic/lapic_cpu_init.c
index fbc8aa4..08cbe96 100644
--- a/src/cpu/x86/lapic/lapic_cpu_init.c
+++ b/src/cpu/x86/lapic/lapic_cpu_init.c
@@ -167,7 +167,7 @@ static int lapic_start_cpu(unsigned long apicid)
return 0;
}
-#if !CONFIG_CPU_AMD_MODEL_10XXX
+#if !CONFIG_CPU_AMD_MODEL_10XXX && !CONFIG_CPU_AMD_AGESA
num_starts = 2;
#else
num_starts = 1;
the following patch was just integrated into master:
commit cd24e3f6a7adecfc9d3b2a2dd2f81d84acffa91b
Author: Peter Stuge <peter(a)stuge.se>
Date: Sat Jul 6 20:10:36 2013 +0200
lenovo/x60: Add "IBM ThinkPad Embedded Controller" SMBIOS OEM String
The Linux thinkpad_acpi.c driver looks for this string while
reading information about the system it is running on.
This commit does not make the module load but it is one of
several things that the module looks for on a ThinkPad.
The use of 3 defines for the serial number template
seems odd but it's done in a way that eliminates
magic numbers, yet avoids use of strcpy, strlen,
strindex, strchr, or strspan: we can have some
correctness assured at compile time. Also, the
defines can be copy/pasted for other mainboards
and we should void errors due to people not changing
magic numbers.
Change-Id: Ief5f28d2e27bf959cb579c4c8eea9eecc9a89a7c
Signed-off-by: Peter Stuge <peter(a)stuge.se>
Signed-off-by: Ronald G. Minnich <rminnich(a)gmail.com>
Reviewed-on: http://review.coreboot.org/3620
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
Reviewed-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
See http://review.coreboot.org/3620 for details.
-gerrit
Paul Menzel (paulepanter(a)users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3776
-gerrit
commit a2f7ede95fc3215df35ecf6bf2fca6a7d1f2070a
Author: Paul Menzel <paulepanter(a)users.sourceforge.net>
Date: Wed Jul 17 14:07:27 2013 +0200
inteltool/inteltool.c: Prepend hexadecimal values with `0x`
Currently, it is not clear what base is used in inteltool’s output.
$ sudo ./inteltool | grep Model
CPU: ID 0x1067a, Processor Type 0, Family 6, Model 17, Stepping a
$ grep -i model /proc/cpuinfo
model : 23
model name : Pentium(R) Dual-Core CPU E5300 @ 2.60GHz
[…]
To avoid confusion, make it clear, that `inteltool` outputs hexadecimal
numbers by prepending it explicitly with `0x`.
$ sudo ./inteltool | grep Model
CPU: ID 0x1067a, Processor Type 0x0, Family 0x6, Model 0x17, Stepping 0xa
The `#` flag in the format string is not used for consistency, as
prepending `0x` is already done once in the code.
Change-Id: I379e11bfd804e82e2a3c460b1de915a93513bf5f
Signed-off-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
---
util/inteltool/inteltool.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/inteltool/inteltool.c b/util/inteltool/inteltool.c
index 7d892cb..219d84e 100644
--- a/util/inteltool/inteltool.c
+++ b/util/inteltool/inteltool.c
@@ -374,7 +374,7 @@ int main(int argc, char *argv[])
* left-shifted "Extended Model" fields.
* http://download.intel.com/design/processor/applnots/24161832.pdf
*/
- printf("CPU: ID 0x%x, Processor Type %x, Family %x, Model %x, Stepping %x\n",
+ printf("CPU: ID 0x%x, Processor Type 0x%x, Family 0x%x, Model 0x%x, Stepping 0x%x\n",
id, (id >> 12) & 0x3, ((id >> 8) & 0xf) + ((id >> 20) & 0xff),
((id >> 12) & 0xf0) + ((id >> 4) & 0xf), (id & 0xf));
Paul Menzel (paulepanter(a)users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3777
-gerrit
commit b58f3245cd31c78f72d162fdb4b48610819ea225
Author: Damien Zammit <damien(a)zamaudio.com>
Date: Wed Jul 17 23:59:40 2013 +1000
inteltool/inteltool.c: Add CPUID raw model and remove colon
The output now looks like
$ sudo ./inteltool
CPU: ID 0x1067a, Processor Type 0, Family 6, Model 17, Stepping a
[…]
and is useful for finding out the Intel processor under `src/cpu/intel`.
While at it, remove the colon after »Processor Type« too.
Change-Id: I1b939ab9466f053c0b86683df145c7d2c8baadb4
Signed-off-by: Damien Zammit <damien(a)zamaudio.com>
Signed-off-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
---
util/inteltool/inteltool.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/util/inteltool/inteltool.c b/util/inteltool/inteltool.c
index 5cd964a..7d892cb 100644
--- a/util/inteltool/inteltool.c
+++ b/util/inteltool/inteltool.c
@@ -374,8 +374,8 @@ int main(int argc, char *argv[])
* left-shifted "Extended Model" fields.
* http://download.intel.com/design/processor/applnots/24161832.pdf
*/
- printf("CPU: Processor Type: %x, Family %x, Model %x, Stepping %x\n",
- (id >> 12) & 0x3, ((id >> 8) & 0xf) + ((id >> 20) & 0xff),
+ printf("CPU: ID 0x%x, Processor Type %x, Family %x, Model %x, Stepping %x\n",
+ id, (id >> 12) & 0x3, ((id >> 8) & 0xf) + ((id >> 20) & 0xff),
((id >> 12) & 0xf0) + ((id >> 4) & 0xf), (id & 0xf));
/* Determine names */
Paul Menzel (paulepanter(a)users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3776
-gerrit
commit c6a6b351696396e36e36cc729acba332f579bc29
Author: Paul Menzel <paulepanter(a)users.sourceforge.net>
Date: Wed Jul 17 14:07:27 2013 +0200
inteltool/inteltool.c: Prepend hexadecimal values with `0x`
Currently, it is not clear what base is used in inteltool’s output.
$ sudo ./inteltool | grep Model
CPU: Processor Type: 0, Family 6, Model 17, Stepping a
$ grep -i model /proc/cpuinfo
model : 23
model name : Pentium(R) Dual-Core CPU E5300 @ 2.60GHz
[…]
To avoid confusion, make it clear, that `inteltool` outputs hexadecimal
numbers by prepending it explicitly with `0x`.
$ sudo ./inteltool | grep Model
CPU: Processor Type: 0x0, Family 0x6, Model 0x17, Stepping 0xa
The `#` flag in the format string is not used for consistency, as
prepending `0x` is already done once in the code.
Change-Id: I379e11bfd804e82e2a3c460b1de915a93513bf5f
Signed-off-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
---
util/inteltool/inteltool.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/inteltool/inteltool.c b/util/inteltool/inteltool.c
index 5cd964a..9343dbc 100644
--- a/util/inteltool/inteltool.c
+++ b/util/inteltool/inteltool.c
@@ -374,7 +374,7 @@ int main(int argc, char *argv[])
* left-shifted "Extended Model" fields.
* http://download.intel.com/design/processor/applnots/24161832.pdf
*/
- printf("CPU: Processor Type: %x, Family %x, Model %x, Stepping %x\n",
+ printf("CPU: Processor Type: 0x%x, Family 0x%x, Model 0x%x, Stepping 0x%x\n",
(id >> 12) & 0x3, ((id >> 8) & 0xf) + ((id >> 20) & 0xff),
((id >> 12) & 0xf0) + ((id >> 4) & 0xf), (id & 0xf));
Paul Menzel (paulepanter(a)users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3776
-gerrit
commit 55f9c6e91db754aed3c6007ebc8543c07b5b8a0c
Author: Paul Menzel <paulepanter(a)users.sourceforge.net>
Date: Wed Jul 17 14:07:27 2013 +0200
inteltool/inteltool.c: Prepend hexadecimal values with `0x`
Currently, it is not clear what base is used in inteltool’s output.
$ sudo ./inteltool | grep Model
CPU: Processor Type: 0, Family 6, Model 17, Stepping a
$ grep -i model /proc/cpuinfo
model : 23
model name : Pentium(R) Dual-Core CPU E5300 @ 2.60GHz
[…]
To avoid confusion, make it clear, that `inteltool` outputs hexadecimal
numbers by prepending it with `0x` by using the `#` flag in the format
string.
$ sudo ./inteltool | grep Model
CPU: Processor Type: 0, Family 0x6, Model 0x17, Stepping 0xa
Change-Id: I379e11bfd804e82e2a3c460b1de915a93513bf5f
Signed-off-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
---
util/inteltool/inteltool.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/inteltool/inteltool.c b/util/inteltool/inteltool.c
index 5cd964a..d4ebe58 100644
--- a/util/inteltool/inteltool.c
+++ b/util/inteltool/inteltool.c
@@ -374,7 +374,7 @@ int main(int argc, char *argv[])
* left-shifted "Extended Model" fields.
* http://download.intel.com/design/processor/applnots/24161832.pdf
*/
- printf("CPU: Processor Type: %x, Family %x, Model %x, Stepping %x\n",
+ printf("CPU: Processor Type: %#x, Family %#x, Model %#x, Stepping %#x\n",
(id >> 12) & 0x3, ((id >> 8) & 0xf) + ((id >> 20) & 0xff),
((id >> 12) & 0xf0) + ((id >> 4) & 0xf), (id & 0xf));