Linux Kernel Mailing List | 1 Jun 2006 01:59

[PATCH] ext3 resize: fix double unlock_super()

commit 6855a3a6c3ab611c3a393be846c1e36120033b18
tree fc8b79da08a45dead0733ebe2e092ed39e30be01
parent e6ed89ac9f5da16fea5111651b6de0ff0a76a5c2
author Andrew Morton <akpm <at> osdl.org> Wed, 31 May 2006 11:25:31 -0700
committer Linus Torvalds <torvalds <at> g5.osdl.org> Thu, 01 Jun 2006 06:27:10 -0700

[PATCH] ext3 resize: fix double unlock_super()

From: Andrew Morton <akpm <at> osdl.org>

Spotted by Jan Capek <jca <at> sysgo.com>

Cc: "Stephen C. Tweedie" <sct <at> redhat.com>
Cc: Andreas Dilger <adilger <at> clusterfs.com>
Cc: Jan Capek <jca <at> sysgo.com>
Signed-off-by: Andrew Morton <akpm <at> osdl.org>
Signed-off-by: Linus Torvalds <torvalds <at> osdl.org>

 fs/ext3/resize.c |    1 -
 1 files changed, 1 deletion(-)

diff --git a/fs/ext3/resize.c b/fs/ext3/resize.c
index 8aac533..34b39e9 100644
--- a/fs/ext3/resize.c
+++ b/fs/ext3/resize.c
 <at>  <at>  -767,7 +767,6  <at>  <at>  int ext3_group_add(struct super_block *s
 	if (input->group != sbi->s_groups_count) {
 		ext3_warning(sb, __FUNCTION__,
 			     "multiple resizers run on filesystem!");
-		unlock_super(sb);
(Continue reading)

Linux Kernel Mailing List | 1 Jun 2006 01:59

[PATCH] fbcon: fix scrollback with logo issue immediately after boot

commit 308af9290ad1844c1b4e93ff4919f8009efbe018
tree cd97885e8faf22b57f5f4281114a1479466aca77
parent 6855a3a6c3ab611c3a393be846c1e36120033b18
author David Hollister <david.hollister <at> amd.com> Wed, 31 May 2006 11:25:36 -0700
committer Linus Torvalds <torvalds <at> g5.osdl.org> Thu, 01 Jun 2006 06:27:10 -0700

[PATCH] fbcon: fix scrollback with logo issue immediately after boot

From: David Hollister <david.hollister <at> amd.com>

After the system boots with the logo, if the first action is a scrollback, the
screen may become garbled.  This patch ensures that the softback_curr value is
updated along with softback_in following the scrollback.

Signed-off-by: David Hollister <david.hollister <at> amd.com>
Signed-off-by: Jordan Crouse <jordan.crouse <at> amd.com>
Cc: "Antonino A. Daplas" <adaplas <at> gmail.com>
Signed-off-by: Andrew Morton <akpm <at> osdl.org>
Signed-off-by: Linus Torvalds <torvalds <at> osdl.org>

 drivers/video/console/fbcon.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
index ca02071..953eb8c 100644
--- a/drivers/video/console/fbcon.c
+++ b/drivers/video/console/fbcon.c
 <at>  <at>  -2631,7 +2631,7  <at>  <at>  static int fbcon_scrolldelta(struct vc_d
 					scr_memcpyw((u16 *) q, (u16 *) p,
 						    vc->vc_size_row);
(Continue reading)

Linux Kernel Mailing List | 1 Jun 2006 01:59

[PATCH] spanned_pages is not updated at a case of memory hot-add

commit 25a6df952542ad9f284421b6ffe28f3eb3df1305
tree 8b0649ff83f5455fcca4f255bf2189a5cbf81fc8
parent 308af9290ad1844c1b4e93ff4919f8009efbe018
author Yasunori Goto <y-goto <at> jp.fujitsu.com> Wed, 31 May 2006 11:25:42 -0700
committer Linus Torvalds <torvalds <at> g5.osdl.org> Thu, 01 Jun 2006 06:27:10 -0700

[PATCH] spanned_pages is not updated at a case of memory hot-add

From: Yasunori Goto <y-goto <at> jp.fujitsu.com>

If hot-added memory's address is smaller than old area, spanned_pages will
not be updated.  It must be fixed.

example) Old zone_start_pfn = 0x60000, and spanned_pages = 0x10000
         Added new memory's start_pfn = 0x50000, and end_pfn = 0x60000

  new spanned_pages will be still 0x10000 by old code.
  (It should be updated to 0x20000.) Because old_zone_end_pfn will be
  0x70000, and end_pfn smaller than it. So, spanned_pages will not be
  updated.

In current code, spanned_pages is updated only when end_pfn is updated.
But, it should be updated by subtraction between bigger end_pfn and new
zone_start_pfn.

Signed-off-by: Yasunori Goto <y-goto <at> jp.fujitsu.com>
Signed-off-by: Dave Hansen <haveblue <at> us.ibm.com>
Signed-off-by: Andrew Morton <akpm <at> osdl.org>
Signed-off-by: Linus Torvalds <torvalds <at> osdl.org>

(Continue reading)

Linux Kernel Mailing List | 1 Jun 2006 01:59

[PATCH] powerpc: Fix boot on eMac

commit 5a47d749e3d067e057d276075fed1d91749d3841
tree 2a03904cd989d508d994a822ca413592d2e04bd4
parent 8d16b76421f0b3216012ee2d7819355e1cb847e5
author Benjamin Herrenschmidt <benh <at> kernel.crashing.org> Wed, 31 May 2006 11:26:51 -0700
committer Linus Torvalds <torvalds <at> g5.osdl.org> Thu, 01 Jun 2006 06:27:11 -0700

[PATCH] powerpc: Fix boot on eMac

From: Benjamin Herrenschmidt <benh <at> kernel.crashing.org>

Prevent calling of some platform functions on the clock chips of the eMac
as it seems to cause it to lockup at boot.  For now, add a quirk to prevent
that from happening.  Later, I might find out what's wrong and fix it but
that doesn't seem to be important as the machine appear to work fine
without running those.  It's possible that Darwin doesn't run them.

Signed-off-by: Benjamin Herrenschmidt <benh <at> kernel.crashing.org>
Cc: Nathan Pilatzke <nathanpilatzke <at> gmail.com>
Cc: Paul Mackerras <paulus <at> samba.org>
Cc: Jean Delvare <khali <at> linux-fr.org>
Signed-off-by: Andrew Morton <akpm <at> osdl.org>
Signed-off-by: Linus Torvalds <torvalds <at> osdl.org>

 arch/powerpc/platforms/powermac/low_i2c.c |   12 ++++++++++++
 1 files changed, 12 insertions(+)

diff --git a/arch/powerpc/platforms/powermac/low_i2c.c b/arch/powerpc/platforms/powermac/low_i2c.c
index df2343e..c896ce8 100644
--- a/arch/powerpc/platforms/powermac/low_i2c.c
+++ b/arch/powerpc/platforms/powermac/low_i2c.c
(Continue reading)

Linux Kernel Mailing List | 1 Jun 2006 01:59

[PATCH] tpm: more bios log parsing fixes

commit 44d7aff035118e8c3993aa3fa05d358d1008e982
tree 0b454482cde4dac8200357ddb4e0f015b8e266bb
parent de66a695bef17264b2472c06e981c068bfa0636e
author Seiji Munetoh <seiji.munetoh <at> gmail.com> Wed, 31 May 2006 11:25:52 -0700
committer Linus Torvalds <torvalds <at> g5.osdl.org> Thu, 01 Jun 2006 06:27:10 -0700

[PATCH] tpm: more bios log parsing fixes

From: Seiji Munetoh <seiji.munetoh <at> gmail.com>

Change the binary output format to actual ACPI TCPA log structure since the
current format does not contain all event-data information that need to
verify the PCRs in TPM.  tpm_binary_bios_measurements_show() uses
get_event_name() to convert the binary event-data to ascii format, and puts
them as binary.  However, to verify the PCRs, the event-data must be a
actual binary event-data used by SHA1 calc.  in BIOS.

So, I think actual ACPI TCPA log is good for this binary output format.
That way, any userland tools easily parse this data with reference to TCG
PC specification.

Signed-off-by: Seiji Munetoh <seiji.munetoh <at> gmail.com>
Acked-by: Kylene Hall <kjhall <at> us.ibm.com>
Signed-off-by: Andrew Morton <akpm <at> osdl.org>
Signed-off-by: Linus Torvalds <torvalds <at> osdl.org>

 drivers/char/tpm/tpm_bios.c |   48 +++-----------------------------------------
 1 files changed, 4 insertions(+), 44 deletions(-)

diff --git a/drivers/char/tpm/tpm_bios.c b/drivers/char/tpm/tpm_bios.c
(Continue reading)

Linux Kernel Mailing List | 1 Jun 2006 01:59

[PATCH] IPMI: reserve I/O ports separately

commit d61a3ead268084cc271d7b2aa2950fc822a37cf5
tree f131ce216814f65a560dd04cc0627e94dfb930f2
parent 44d7aff035118e8c3993aa3fa05d358d1008e982
author Corey Minyard <minyard <at> acm.org> Wed, 31 May 2006 11:25:57 -0700
committer Linus Torvalds <torvalds <at> g5.osdl.org> Thu, 01 Jun 2006 06:27:10 -0700

[PATCH] IPMI: reserve I/O ports separately

From: Corey Minyard <minyard <at> acm.org>

This patch is pretty important to get in for IPMI, new systems have been
changing the way ACPI and IPMI interact, and this works around the problems
for now.  This is a temporary fix until we get proper ACPI handling in
IPMI.

Fixed releasing already-allocated regions when a later request fails, and
forward-ported it to HEAD.

Some BIOSes reserve disjoint I/O regions in their ACPI tables for the IPMI
controller.  This causes problems when trying to register the entire I/O
region.  Therefore we must register each I/O port separately.

Signed-off-by: Jordan Hargrave <Jordan_Hargrave <at> dell.com>
Signed-off-by: Matt Domsch <Matt_Domsch <at> dell.com>
Signed-off-by: Corey Minyard <minyard <at> acm.org>
Signed-off-by: Andrew Morton <akpm <at> osdl.org>
Signed-off-by: Linus Torvalds <torvalds <at> osdl.org>

 drivers/char/ipmi/ipmi_si_intf.c |   38 ++++++++++++++++++++++----------------
 1 files changed, 22 insertions(+), 16 deletions(-)
(Continue reading)

Linux Kernel Mailing List | 1 Jun 2006 01:59

[PATCH] revert "swsusp add check for suspension of X controlled devices"

commit 760f1fce030ccc620ec430a8aff8fc604e7891ed
tree d2e14b5c6d101e4b368300d2a7e6c6fd438133a8
parent d61a3ead268084cc271d7b2aa2950fc822a37cf5
author Andrew Morton <akpm <at> osdl.org> Wed, 31 May 2006 11:26:03 -0700
committer Linus Torvalds <torvalds <at> g5.osdl.org> Thu, 01 Jun 2006 06:27:11 -0700

[PATCH] revert "swsusp add check for suspension of X controlled devices"

From: Andrew Morton <akpm <at> osdl.org>

Revert commit ff4da2e262d2509fe1bacff70dd00934be569c66.

It broke APM suspend, probably because APM doesn't switch back to a VT
when suspending.

Tracked down by Matt Mackall <mpm <at> selenic.com>

Rafael sayeth:
  "It only fixed the theoretical issue that a quick-handed user could
   switch to X after processes have been frozen and before the devices
   are suspended.

   With the current userland suspend tools it shouldn't be necessary."

Cc: Pavel Machek <pavel <at> ucw.cz>
Cc: "Rafael J. Wysocki" <rjw <at> sisk.pl>
Signed-off-by: Andrew Morton <akpm <at> osdl.org>
Signed-off-by: Linus Torvalds <torvalds <at> osdl.org>

 drivers/base/power/suspend.c |    5 +----
(Continue reading)

Linux Kernel Mailing List | 1 Jun 2006 01:59

[PATCH] tpm: bios log parsing fixes

commit de66a695bef17264b2472c06e981c068bfa0636e
tree fcf9e1073978ed8626642ec404bb1bbadcbf18bb
parent 25a6df952542ad9f284421b6ffe28f3eb3df1305
author Seiji Munetoh <seiji.munetoh <at> gmail.com> Wed, 31 May 2006 11:25:47 -0700
committer Linus Torvalds <torvalds <at> g5.osdl.org> Thu, 01 Jun 2006 06:27:10 -0700

[PATCH] tpm: bios log parsing fixes

From: Seiji Munetoh <seiji.munetoh <at> gmail.com>

Fix "tcpa_pc_event" misalignment between enum, strings and TCG PC spec and
output of the event which contains a hash data.

Signed-off-by: Seiji Munetoh <seiji.munetoh <at> gmail.com>
Acked-by: Kylene Hall <kjhall <at> us.ibm.com>
Signed-off-by: Andrew Morton <akpm <at> osdl.org>
Signed-off-by: Linus Torvalds <torvalds <at> osdl.org>

 drivers/char/tpm/tpm_bios.c |   41 +++++++++++++++++++++++++----------------
 1 files changed, 25 insertions(+), 16 deletions(-)

diff --git a/drivers/char/tpm/tpm_bios.c b/drivers/char/tpm/tpm_bios.c
index e45f0d3..6038017 100644
--- a/drivers/char/tpm/tpm_bios.c
+++ b/drivers/char/tpm/tpm_bios.c
 <at>  <at>  -105,6 +105,12  <at>  <at>  static const char* tcpa_event_type_strin
 	"Non-Host Info"
 };

+struct tcpa_pc_event {
(Continue reading)

Linux Kernel Mailing List | 1 Jun 2006 01:59

[PATCH] hrtimer: export symbols

commit 8d16b76421f0b3216012ee2d7819355e1cb847e5
tree a2e82e62bfcf5ea0f58b17faadc4504ec6dfc933
parent 760f1fce030ccc620ec430a8aff8fc604e7891ed
author Stephen Hemminger <shemminger <at> osdl.org> Wed, 31 May 2006 11:26:09 -0700
committer Linus Torvalds <torvalds <at> g5.osdl.org> Thu, 01 Jun 2006 06:27:11 -0700

[PATCH] hrtimer: export symbols

From: Stephen Hemminger <shemminger <at> osdl.org>

I want to use the hrtimer's in the netem (Network Emulator) qdisc.  But the
necessary symbols aren't exported for module use.

Also needed by SystemTap.

Signed-off-by: Stephen Hemminger <shemminger <at> osdl.org>
Acked-by: Ingo Molnar <mingo <at> elte.hu>
Cc: Thomas Gleixner <tglx <at> linutronix.de>
Cc: "Stone, Joshua I" <joshua.i.stone <at> intel.com>
Signed-off-by: Andrew Morton <akpm <at> osdl.org>
Signed-off-by: Linus Torvalds <torvalds <at> osdl.org>

 kernel/hrtimer.c |    6 ++++++
 1 files changed, 6 insertions(+)

diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
index b7f0388..01fa2ae 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
 <at>  <at>  -456,6 +456,7  <at>  <at>  #endif
(Continue reading)

Linux Kernel Mailing List | 1 Jun 2006 01:59

[MIPS] Fix marking buddy of pte global for MIPS32 w/36-bit physical address

commit 6e9538917c5f62c1a1598da9b898702800801b98
tree 03ee3776796394870e60f74773f6b23b090dad83
parent 343fdc39713d9c2fe836523e8f2dfc6a3ac39122
author Sergei Shtylyov <sshtylyov <at> ru.mvista.com> Sun, 16 Apr 2006 23:27:21 +0400
committer Ralf Baechle <ralf <at> linux-mips.org> Thu, 01 Jun 2006 00:28:30 +0100

[MIPS] Fix marking buddy of pte global for MIPS32 w/36-bit physical address

In case of CONFIG_64BIT_PHYS_ADDR, set_pte() and pte_clear() functions
only set _PAGE_GLOBAL bit in the pte_low field of the buddy PTEs,
forgetting to propagate ito to pte_high. Thus, the both pages might not
really be made global for the CPU (since it AND's the G-bit of the
odd / even PTEs together to decide whether they're global or not). Thus,
if only a single page is allocated via vmalloc() or ioremap(), it's not
really global for CPU (and it must be, since this is kernel mapping),
and thus its ASID is compared against the current process' one -- so,
we'll get into trouble sooner or later...  Also, pte_none() will fail
on global pages because _PAGE_GLOBAL bit is set in both pte_low and
pte_high, and pte_val() will return u64 value consisting of those fields
concateneted.

Signed-off-by: Sergei Shtylyov <sshtylyov <at> ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf <at> linux-mips.org>

 include/asm-mips/pgtable.h |   88 +++++++++++++++++++++++++--------------------
 1 files changed, 49 insertions(+), 39 deletions(-)

diff --git a/include/asm-mips/pgtable.h b/include/asm-mips/pgtable.h
index 702a28f..174a3cd 100644
--- a/include/asm-mips/pgtable.h
(Continue reading)


Gmane