public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* bk pull on 2.4 ia64 linux tree
@ 2005-03-18 21:03 Bjorn Helgaas
  0 siblings, 0 replies; 3+ messages in thread
From: Bjorn Helgaas @ 2005-03-18 21:03 UTC (permalink / raw)
  To: linux-ia64

Hi Marcelo,

Please do a

	bk pull http://lia64.bkbits.net/to-marcelo-2.4

This will update the following files:

 arch/ia64/configs/dig           |   20 ++++++++++++-----
 arch/ia64/configs/generic       |   20 ++++++++++++-----
 arch/ia64/configs/numa          |   20 ++++++++++++-----
 arch/ia64/configs/ski           |   17 ++++++++++----
 arch/ia64/configs/zx1           |   20 ++++++++++++-----
 arch/ia64/defconfig             |   20 ++++++++++++-----
 arch/ia64/hp/common/sba_iommu.c |    9 +++++++
 arch/ia64/kernel/entry.S        |   27 +++++++++++++++++-----
 arch/ia64/kernel/ivt.S          |   47 +++++++++++++++++++++-------------------
 arch/ia64/kernel/palinfo.c      |    2 -
 arch/ia64/kernel/process.c      |    2 -
 arch/ia64/kernel/unwind.c       |   38 +++++++++++++++++++-------------
 arch/ia64/vmlinux.lds.S         |    7 +++++
 include/asm-ia64/pgtable.h      |    9 ++++---
 14 files changed, 178 insertions(+), 80 deletions(-)

through these ChangeSets:

<kaos@sgi.com> (05/03/18 1.1466)
   [IA64] Tighten up unw_unwind_to_user check
   
   Detect user space by the unwind frame with predicate PRED_USER_STACK
   set, instead of a user space IP.  Tighten up the last ditch check for
   running off the top of the kernel stack.
   
   Based on a suggestion by David Mosberger, reworked to fit the current
   tree.  This survives my stress test which used to break 2.6.9 kernels.
   Unlike 2.6.11, the stress test now unwinds to the correct point, so
   gdb can get the user space registers.
   
   Signed-off-by: Keith Owens <kaos@sgi.com>
   Signed-off-by: Tony Luck <tony.luck@intel.com>

<bjorn.helgaas@hp.com> (05/03/12 1.1464)
   ia64: Update defconfigs.

<yanmin.zhang@intel.com> (05/03/12 1.1463)
   [IA64] clean up ptrace corner cases
   
   Patch from yanmin.zhang@intel.com to fix up some corner cases
   in ptrace.  Many thanks to davidm for reviewing and improving.
   
   Backported to 2.4 by Bjorn Helgaas (bjorn.helgaas@hp.com).

<kaos@sgi.com> (05/03/12 1.1462)
   [IA64] Sanity check unw_unwind_to_user
   
   Signed-off-by: Keith Owens <kaos@sgi.com>
   Signed-off-by: Tony Luck <tony.luck@intel.com>

<bjorn.helgaas@hp.com> (05/03/12 1.1461)
   ia64: add missing syscall-slot.

<bjorn.helgaas@hp.com> (04/08/31 1.1459)
   ia64: fix perfmon typo in /proc/pal/CPU*/processor_info w.r.t. BERR
   
   Initially reported by Danny Kwong from HP.
   
   Signed-Off-By: stephane eranian <eranian@hpl.hp.com>
   Signed-Off-By: Bjorn Helgaas <bjorn.helgaas@hp.com>

<davidm@tiger.hpl.hp.com> (04/08/03 1.1455)
   ia64: Fix _PAGE_CHG_MASK so PROT_NONE works again.  Caught by Linus.

<davidm@tiger.hpl.hp.com> (04/08/03 1.1454)
   Fix pte_modify() bug which allowed mprotect() to change too many bits.
   Found by Russell King.

<bjorn.helgaas@hp.com> (04/07/02 1.1451)
   ia64: round iommu allocations to power-of-two sizes.
   
   Round IOVA allocations to power-of-two sizes to avoid
   REO/Grande defect AR2305.

<bjorn.helgaas@hp.com> (04/07/02 1.1450)
   [PATCH] ia64: force all kernel sections into one and the same segment
   
   Older versions of the linker do not handle cross-segment segment-relative
   relocations properly.  This becomes a real problem when the linker decides
   to put .text and .text.init into different segments (for whatever reasons)
   because in that case, broken linkers will produce a broken unwind section,
   which can cause nasty Heisenbugs, where, for example, unwinding may or may
   not work depending on the exact value of the IP in a function.
   
   [Backport of Keith Owens' 2.6 change]


Thanks!

Bjorn



^ permalink raw reply	[flat|nested] 3+ messages in thread
* bk pull on 2.4 ia64 linux tree
@ 2004-05-12 20:33 Bjorn Helgaas
  0 siblings, 0 replies; 3+ messages in thread
From: Bjorn Helgaas @ 2004-05-12 20:33 UTC (permalink / raw)
  To: linux-ia64

Hi Marcelo,

Please do a

	bk pull http://lia64.bkbits.net/to-marcelo-2.4

This will update the following files:

 arch/ia64/configs/dig         |   14 +
 arch/ia64/configs/generic     |   14 +
 arch/ia64/configs/numa        |   14 +
 arch/ia64/configs/ski         |   10 -
 arch/ia64/configs/zx1         |   14 +
 arch/ia64/defconfig           |   14 +
 arch/ia64/ia32/binfmt_elf32.c |    6 
 arch/ia64/ia32/elfcore32.h    |  393 ++++++++++++++++++++++++++++--------------
 arch/ia64/ia32/sys_ia32.c     |   12 -
 arch/ia64/kernel/unwind.c     |    2 
 arch/ia64/mm/hugetlbpage.c    |   10 -
 include/asm-ia64/ia32.h       |   96 +++++-----
 12 files changed, 393 insertions(+), 206 deletions(-)

through these ChangeSets:

<bjorn.helgaas@hp.com> (04/05/10 1.1364)
   ia64: Update defconfig to current generic config.

<bjorn.helgaas@hp.com> (04/05/05 1.1363)
   ia64: Update defconfigs.

<steiner@sgi.com> (04/05/05 1.1362)
   ia64: fix HUGETLB null pointer dereference
   
   If the mmap fails, do_mmap_pgoff attempts to unmap the vma range it
   was mapping. Depending on where it failed during the mmap, some of the
   higher level PGD/PMDs may not have been assigned, so referencing them
   may cause NULL pointer dereferences.
   
   If you attempt to allocate a LOT more huge pages than are physically
   available, the kernel may reference invalid PGDs or PMDs. 
   
   Here is the 2.4 backtrace of a failure. If the mmap fails,
   do_mmap_pgoff attempts to unmap the vma range it was mapping.
   Depending on where it failed during the mmap, some of the higher level
   PGD/PMDs may not have been assigned.
   
   The bug (at least in 2.4) exists on all platforms but on our platform
   attempts to dereference NULL pointers usually cause MCAs. (If a
   platform has zeros in page 0, you may be lucky & the code would appear
   to work, but it is still a bug).
   
           Stack traceback for pid 6817
           0xe00025307ba50000     6817     6663  0  148   D  0xe00025307ba50420  toy
           0xe00000000445e180 unmap_hugepage_range+0x160  << mca surfaced here
           0xe00000000445e300 zap_hugepage_range+0x80
           0xe00000000452dbc0 do_mmap_pgoff+0xea0
           0xe000000004432910 sys_mmap+0x210
           0xe00000000440e2a0 ia64_ret_from_syscall
   
   The MCA was caused by the NULL pmd dereference in huge_pte_offset. The
   MCA doesn't surface until the bad data is consumed.

<bjorn.helgaas@hp.com> (04/04/07 1.1348.1.8)
   ia64: Fix ia32 core dumps.

<arun.sharma@intel.com> (04/04/07 1.1348.1.7)
   [PATCH] ia64: make ia32 core dumps work
   
   The attached patch implements core dump functionality for IA-32
   applications running on ia64.

<bjorn.helgaas@hp.com> (04/04/07 1.1348.1.5)
   Cset exclude: arun.sharma@intel.com[helgaas]|ChangeSet|20040405163028|42090

<arun.sharma@intel.com> (04/04/05 1.1319.5.2)
   [PATCH] ia64: make ia32 core dumps work
   
   The attached patch implements core dump functionality for IA-32
   applications running on ia64.

<davidm@tiger.hpl.hp.com> (04/04/05 1.1319.5.1)
   ia64: Fix typo in unwinder which could cause NULL-pointer dereferences.


Thanks!

Bjorn

^ permalink raw reply	[flat|nested] 3+ messages in thread
* bk pull on 2.4 ia64 linux tree
@ 2004-03-12 23:05 Bjorn Helgaas
  0 siblings, 0 replies; 3+ messages in thread
From: Bjorn Helgaas @ 2004-03-12 23:05 UTC (permalink / raw)
  To: linux-ia64

Hi Marcelo,

Please do a

	bk pull http://lia64.bkbits.net/to-marcelo-2.4

This will update the files shown below.

Thanks,
  Bjorn


 arch/ia64/ia32/ia32_signal.c   |    2 
 arch/ia64/kernel/Makefile      |    2 
 arch/ia64/kernel/ia64_ksyms.c  |    2 
 arch/ia64/kernel/mca.c         | 2056 +++++++++--------------------------------
 arch/ia64/kernel/pci.c         |    4 
 arch/ia64/kernel/ptrace.c      |   48 
 arch/ia64/kernel/salinfo.c     |   59 +
 arch/ia64/kernel/signal.c      |    6 
 arch/ia64/kernel/smpboot.c     |    1 
 arch/ia64/kernel/unwind.c      |  238 ++--
 arch/ia64/kernel/unwind_i.h    |   10 
 arch/ia64/sn/kernel/mca.c      |   92 +
 arch/ia64/tools/Makefile       |    1 
 include/asm-ia64/a.out.h       |    4 
 include/asm-ia64/bugs.h        |    6 
 include/asm-ia64/byteorder.h   |    4 
 include/asm-ia64/checksum.h    |    4 
 include/asm-ia64/current.h     |    4 
 include/asm-ia64/errno.h       |    6 
 include/asm-ia64/fcntl.h       |    6 
 include/asm-ia64/ioctl.h       |    6 
 include/asm-ia64/ioctls.h      |    6 
 include/asm-ia64/mca.h         |   59 -
 include/asm-ia64/mman.h        |    6 
 include/asm-ia64/namei.h       |    4 
 include/asm-ia64/page.h        |    8 
 include/asm-ia64/param.h       |    6 
 include/asm-ia64/poll.h        |    6 
 include/asm-ia64/posix_types.h |    6 
 include/asm-ia64/processor.h   |   23 
 include/asm-ia64/resource.h    |    6 
 include/asm-ia64/scatterlist.h |    4 
 include/asm-ia64/siginfo.h     |    6 
 include/asm-ia64/signal.h      |    4 
 include/asm-ia64/socket.h      |    8 
 include/asm-ia64/sockios.h     |    9 
 include/asm-ia64/stat.h        |    4 
 include/asm-ia64/statfs.h      |    6 
 include/asm-ia64/termbits.h    |    6 
 include/asm-ia64/termios.h     |    4 
 include/asm-ia64/types.h       |    6 
 include/asm-ia64/uaccess.h     |    2 
 include/asm-ia64/unaligned.h   |    5 
 include/asm-ia64/unwind.h      |    6 
 include/asm-ia64/user.h        |    4 
 45 files changed, 882 insertions(+), 1883 deletions(-)

through these ChangeSets:

<bjorn.helgaas@hp.com> (04/03/04 1.1320)
   ia64: Remove obsolete sigcontext comment.

<bjorn.helgaas@hp.com> (04/03/04 1.1319)
   ia64: Use __builtin_trap() in BUG() when available.

<kaos@sgi.com> (04/03/04 1.1318)
   ia64: copy SAL records so we don't drop them when events occur fast
   
   Taking a copy of the record ensures that a continuous stream of CPE or
   CMC errors will still process some of the records.  Using a copy also
   saves space.  The buffers in mca.c are maximum size and are permanently
   allocated.  Doing a kmalloc in salinfo_log_wakeup uses smaller records
   (actual size rather than maximum) and the records will only exist for
   as long as they are required.

<davidm@tiger.hpl.hp.com> (04/03/04 1.1317)
   ia64: Fix bug in ia64_get_scratch_nat_bits()/ia64_put_scratch_nat_bits().

<davidm@tiger.hpl.hp.com> (04/03/03 1.1316)
   ia64: Back-port from libunwind: fix off-by-one error in kernel-unwinder.
   
   There are no known failures due to this bug, but it's clearly a bug and
   given the right compiler, it could trigger and lead to bad stack traces etc.

<kaos@sgi.com> (04/03/03 1.1315)
   ia64: add OEM data decode for SGI MCA handler
   
   salinfo_decode can call into the kernel to decode oem data, via the
   optional and platform specific program called salinfo_decode_oem.  SGI
   SN platforms decode oemdata by calling from kernel into the prom.

<bjorn.helgaas@hp.com> (04/03/03 1.1314)
   ia64: unwind: Add some UNW_DEBUG stuff and remove KDB bits to follow 2.6.

<kaos@sgi.com> (04/03/03 1.1313)
   ia64: update unwind with 2.6 fixes.
   
   The unwind code in 2.4.25 has drifted away from the 2.6.3 version,
   including some missing bug fixes.  This patch bring 2.4.25 unwind as
   close to 2.6.3 as possible.  Changes are :-
   
   * Move unw_table_entry from one header to another.
   * Add Fenghua Yu's change to pt_regs_off.  This is not really in 2.4
     yet, even though the comment says it is.
   * Comment and white space changes.
   * Bug fix to alloc_reg_state().
   * Replace struct_offset() with offsetof().
   * Export unw_* symbols.
   * Avoid deadlock on script->lock.
   
   
   I am not happy with the kludge that avoids the deadlock on
   script->lock, anybody got a better solution?  The kludge assumes that
   the first field in an ia64 rwsem is a spinlock.  I have hit this unwind
   deadlock a couple of times during processing of asynchronous MCA
   events, so I want it fixed.
   
   After this patch, the main differences between 2.4 and 2.6 are the
   handing of the gate page and its DSO data.

<arun.sharma@intel.com> (04/03/03 1.1312)
   ia64: Fix and optimize sys32_rt_sigtimedwait().
   
   Don't pass garbage timespec to sys_rt_sigtimedwait()
   when the user supplied NULL, and optimize uinfo slightly.

<kaos@sgi.com> (04/02/18 1.1310)
   ia64: Delete redundant ia64_mca_check_errors
   
   salinfo automatically processes all record types on all cpus at boot
   time, ia64_mca_check_errors is now redundant.  This also removes the
   need for a called_from_init flag on ia64_mca_log_sal_error_record.

<kaos@ocs.com.au> (04/02/11 1.1308)
   ia64: remove include/asm-ia64/offset.hs in "make mrproper"
   
   Some generated files are not being removed by make clean/mrproper.
   
   include/asm-ia64/offsets.h is built by 'make dep' so must be removed by
   'make mrproper', otherwise 'make dep clean' fails.

<kaos@sgi.com> (04/02/10 1.1306)
   ia64: Periodically check for outstanding MCA or INIT records.

<kaos@ocs.com.au> (04/02/10 1.1305)
   ia64: Correct "did we recover from MCA" test and move up a level.

<bjorn.helgaas@hp.com> (04/02/10 1.1304)
   ia64: (desc_abi): Check for Linux ABI # (3) instead of SysV4 ABI # (0).
   
   This and the corresponding change to arch/ia64/kernel/entry.h:
       (PT_REGS_SAVES): Add unwabi 3 directive (the official Linux ABI #).
   
   are tied to the pt_regs rearrangement in the "kernel entry exit
   optimization" patch from Rohit Seth, Fengua Yu, and Arun Sharma:
   
       The main items covered by this patch are:
       1) Support for 16 bytes instructions as per SDM2.1 (CSD/SSD in pt_regs)
       2) f10-f11 are added as additional scratch registers for kernel's use.
       3) Re-arrange pt_regs to access less cache lines in system call. Reduce
       scratch register saving/restoring in system call path.
       4) A few instruction reorg in low-level code.

<kaos@sgi.com> (04/02/06 1.1290.1.14)
   ia64: MCA, salinfo: calculate irq_safe once and pass it around.
   
   (Patch from Ben Woodward)

<kaos@sgi.com> (04/02/06 1.1290.1.13)
   ia64: Synchronize mca.c with 2.6.  White space, comment, #ifdef, etc.

<bjorn.helgaas@hp.com> (04/02/04 1.1290.1.11)
   ia64: Tidy up MCA printk's.

<kaos@sgi.com> (04/02/04 1.1290.1.10)
   ia64: Reorder mca.c to remove the need for forward declarations and to
   	consolidate related code.

<kaos@sgi.com> (04/02/04 1.1290.1.9)
   ia64: Delete dead variables and functions from mca.c.

<kaos@sgi.com> (04/02/04 1.1290.1.8)
   ia64: Mark MCA variables and functions static where possible

<kaos@sgi.com> (04/02/04 1.1290.1.7)
   ia64: Delete all MCA/INIT/etc record printing code, moved to salinfo_decode in
   	user space.

<kaos@sgi.com> (04/02/04 1.1290.1.6)
   ia64: Avoid deadlock when using printk() for MCA and INIT records.

<davidm@tiger.hpl.hp.com> (04/01/23 1.1276.5.2)
   ia64: Drop copyright notices on header files which are either entirely trivial
   	or ended up being trivial variations of another file.  Fix some
   	missing attributions and rephrase existing attributions for specifity.

<bjorn.helgaas@hp.com> (04/01/21 1.1276.4.2)
   ia64: (acpi_hp_csr_space): Export only if CONFIG_ACPI.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-03-18 21:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-18 21:03 bk pull on 2.4 ia64 linux tree Bjorn Helgaas
  -- strict thread matches above, loose matches on Subject: below --
2004-05-12 20:33 Bjorn Helgaas
2004-03-12 23:05 Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox