1. 13 Feb, 2004 40 commits
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/netfix-2.6 · 8a81d818
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      8a81d818
    • Anton Blanchard's avatar
      [PATCH] cleanup debugger hooks · 49555a7c
      Anton Blanchard authored
      Theres still more to do here, but at least the ifdef mess is gone. No
      more checking for NULL before calling functions, that was playing with
      fire. Oh yeah and lots more deletions :)
      
      Clean up the debugger hooks, it was way too easy to screw up.
      And we did. And Linus hit it.
      
      - create CONFIG_DEBUGGER so we can enable kernel debugging options but not
        have any trace of debugger gunk.
      - remove a bunch of xmon prototypes so no one gets the urge to call them
      - Use die() instead of panic in a number of places, it gives us much better
        debug information.
      - Get rid of the ifdef madness
      49555a7c
    • Anton Blanchard's avatar
      [PATCH] various xmon cleanups · 2d1eb995
      Anton Blanchard authored
      Heres a patch I've had for a while, it removes a bunch of debugger code
      which is good :) The next patch will sanitise it (and the rest of the
      debugger hooks).
      
      Various xmon cleanups
      
      - recover from bad SPR read/write (we get a program check)
      - remove some old code (bat and segment register stuff)
      - update the help text to match reality
      - add a "press ? for help" when xmon first appears to make rusty happy
      - protect against flushing bad parts of memory from Milton
      - dont print iseries specific stuff on pseries in SPR dump (S)
      - add code to dump the segment table or SLB
      - remove a number of functions that wouldnt work on LPAR
      2d1eb995
    • Anton Blanchard's avatar
      [PATCH] add thread_info to oops output · 5c234152
      Anton Blanchard authored
      - Add thread_info to pointer, its a useful piece of information.
      - Do the kallsyms lookup on the link register
      - Remove extra newline on one call to die()
      5c234152
    • Anton Blanchard's avatar
      [PATCH] Fix ppc64 build problem · be63a940
      Anton Blanchard authored
      From: Paul Mackerras <paulus@samba.org>
      
      Recent changes in include/linux/*.h meant that likely()
      isn't defined here (since we don't set __KERNEL__), and thus
      we don't get some prototypes and we can't use do_div.  This
      fixes the resulting compile errors and warnings.
      
      Remove %L handling from sprintf - we don't need it, and it
      meant we needed do_div from asm/div64.h, which gives problems
      when __KERNEL__ isn't defined.  Also add a prototype for
      strlen to kill a warning.
      be63a940
    • David S. Miller's avatar
      Merge davem@nuts.davemloft.net:/disk1/BK/netfix-2.6 · d5acfb1f
      David S. Miller authored
      into kernel.bkbits.net:/home/davem/netfix-2.6
      d5acfb1f
    • David S. Miller's avatar
    • Jeroen Vreeken's avatar
      [AX25]: Fix locking in ax25_rt_free(). · 013b3273
      Jeroen Vreeken authored
      013b3273
    • Linus Torvalds's avatar
    • Len Brown's avatar
      merge · bb49d1d1
      Len Brown authored
      bb49d1d1
    • Len Brown's avatar
      f6497de6
    • Len Brown's avatar
      Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.2 · 22a50562
      Len Brown authored
      into intel.com:/home/lenb/src/linux-acpi-test-2.6.3
      22a50562
    • Linus Torvalds's avatar
      Make G5 defconfig a bit saner. In particular, we want firewire · b9438745
      Linus Torvalds authored
      and we do _not_ want the broken MACZILOG serial driver.
      b9438745
    • Linus Torvalds's avatar
      Fix broken ppc64 kernel debugger call. · 6a94c129
      Linus Torvalds authored
      This turned what _should_ have been a nice
      easy oops into a nightmare of debugging.
      
      Kernel debuggers suck.
      6a94c129
    • Benjamin Herrenschmidt's avatar
      [PATCH] Fix incorrect kfree in radeonfb · a394cc86
      Benjamin Herrenschmidt authored
      I missed a kfree -> framebuffer_release() in the new radeonfb.
      
      Thanks to Luca for noticing it.
      a394cc86
    • Benjamin Herrenschmidt's avatar
      [PATCH] ppc64: export clear_user_page · 8ea2623b
      Benjamin Herrenschmidt authored
      Some drivers need clear_user_page, is should be exported
      8ea2623b
    • Benjamin Herrenschmidt's avatar
      [PATCH] ppc64: CONFIG_PPC_PMAC implies CONFIG_ADB_PMU · 7d3905c3
      Benjamin Herrenschmidt authored
      This avoids a link error if PPC_PMAC is set and the user forgets to set
      ADB_PMU.  (The PMU driver is mandatory for pmac)
      7d3905c3
    • Jeff Garzik's avatar
      Bump libata, ata_piix to version 1.0. · 3e5b8391
      Jeff Garzik authored
      Also update copyrights for 2004.
      3e5b8391
    • Andrew Morton's avatar
      [PATCH] ppc32: Update IBM Spruce defconfig · f0bb091d
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      From: Randy Vinson <rvinson@mvista.com>
      
      - Update the IBM Spruce defconfig
      f0bb091d
    • Andrew Morton's avatar
      [PATCH] ppc32: PPC44x MMU update/fixes · 2e4df191
      Andrew Morton authored
      From: Matt Porter <mporter@kernel.crashing.org>
      
      The following patch enhances and fixes a number of bugs in PPC44x MMU
      handling.
      2e4df191
    • Andrew Morton's avatar
      [PATCH] ppc32: PPC4xx cleanup · 889043f6
      Andrew Morton authored
      From: Matt Porter <mporter@kernel.crashing.org>
      
      The following patch removes some obsolete PPC4xx platforms that Paul and I
      have discussed and some minor cleanup.
      889043f6
    • Andrew Morton's avatar
      [PATCH] ppc32: IBM 40x and 4xx fixes · cec6721d
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      On IBM 40x and IBM 4xx (or more specifically, all Book E processors), the
      Save/Restor Registers 2 and 3 Critical Save and Restore Registers 0 and 1
      are logically and functionally equivalent.  And since the 40x is the early
      variant on the Book E model, make generic 4xx/BookE code refer to
      CSRR0/CSRR1, and map these to SRR2/SRR3 on 40x.
      cec6721d
    • Andrew Morton's avatar
      [PATCH] ppc32: use todc time functions for PPC_PREP · 959fb245
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      - Convert PPC_PREP to using the todc_time.c functions instead of its own
        copy of them.
      959fb245
    • Andrew Morton's avatar
      [PATCH] ppc32: Fix compilation of IBM Spruce & !CONFIG_SERIAL_TEXT_DEBUG · 79648638
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      From: Randy Vinson <rvinson@mvista.com>
      
      - Fix compilation of IBM Spruce when CONFIG_SERIAL_TEXT_DEBUG=n
      79648638
    • Andrew Morton's avatar
      [PATCH] ppc32: boot and platform fixes · 0ee5a7d5
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      From: Randy Vinson <rvinson@mvista.com>
      
      - Fixup IBM Spruce support (GEN550, general fixes and cleanups).
      - Forward-port the INTERACTIVE_CONSOLE bits from 2.4.
      - Forward-port the bootinfo code.
      - Add a weak get_mem_size() function.
      0ee5a7d5
    • Andrew Morton's avatar
      [PATCH] Suppress reiserfs page allocation wanring · 39ef4295
      Andrew Morton authored
      From: Nikita Danilov <Nikita@Namesys.COM>
      
      Some stage in reiserfs balancing (fix_nodes() function) has to be performed
      without ever scheduling.  If it schedules, it has to be restarted.  As we
      don't want to restart often, we first try to do atomic allocation, and if
      it fails, GFP_NOFS allocation is done, and fix_nodes() restarted.
      39ef4295
    • Andrew Morton's avatar
      [PATCH] Fix fadvise() parameter checking · e0fc5036
      Andrew Morton authored
      From: Ulrich Drepper <drepper@redhat.com>
      
      The len parameter for fadvise has a signed type and negative values passed
      must be rejected.  The attached patch does the job.
      e0fc5036
    • Andrew Morton's avatar
      [PATCH] Make serial console work for any port · 4ddb0339
      Andrew Morton authored
      From: Bjorn Helgaas <bjorn.helgaas@hp.com>
      
      The current serial console code only works for ports that are either
      defined in SERIAL_PORT_DFNS (and set up by serial8250_isa_init_ports()) or
      registered by early_serial_setup().
      
      On ia64, SERIAL_PORT_DFNS is empty because we discover everything via ACPI
      and PCI.  And we only use early_serial_setup() for one port described by
      the HCDP firmware table.
      
      This patch against 2.6.3-rc2 makes it work for any valid port.  If we don't
      know about the port early, we just return -ENODEV from the setup()
      function, which leaves the serial console disabled.  After the driver has
      found all the ports, we try to register the serial console again if it
      hasn't been enabled already.
      
      I think the "port->type == PORT_UNKNOWN" test is cleaner than the
      "port->ops" test -- it more clearly gets to the point of "do we know about
      this port".
      4ddb0339
    • Andrew Morton's avatar
      [PATCH] swap extent merging fix · fe252bd7
      Andrew Morton authored
      From: Hugh Dickins <hugh@veritas.com>
      
      Fix a screwup in the merging of swap extents: not only do they have to be
      contiguous on-disk, they have to be logically contiguous in file offset too.
      fe252bd7
    • Andrew Morton's avatar
      [PATCH] Alpha: fix "extern inline" logic for core IO functions · 9ae91ee6
      Andrew Morton authored
      From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      
      Again...  This time due to pci.h->dmapool.h->io.h included in core logic
      files before __EXTERN_INLINE definition.
      
      To prevent such troubles in the future, make io.h/core_xx.h included before
      anything else.  Also, this allows to get rid of some duplicated #include's.
      9ae91ee6
    • Andrew Morton's avatar
      [PATCH] sh: pvr2fb updates · d8d3ff3d
      Andrew Morton authored
      From: Paul Mundt <lethal@linux-sh.org>
      
      Sanity fixes in pvr2fb_check_var() so we don't constantly report an invalid
      pixclock..  also fixup FB_SYNC_BROADCAST setting so this doesn't get
      improperly assigned in the VO_VGA case.
      d8d3ff3d
    • Andrew Morton's avatar
      [PATCH] sh: hitfb updates (and accel) · b197d6e3
      Andrew Morton authored
      From: Paul Mundt <lethal@linux-sh.org>
      
      This updates hitfb, and also adds basic accel support.  Also as we don't need
      the generic cfb_copyarea anymore, we no longer link cfbcopyarea.o in at build
      time.
      b197d6e3
    • Andrew Morton's avatar
      [PATCH] sh: Misc build fixes · 74cc3c1a
      Andrew Morton authored
      From: Paul Mundt <lethal@linux-sh.org>
      
      Misc build fixes.. also not horribly exciting.
      74cc3c1a
    • Andrew Morton's avatar
      [PATCH] sh: Add H8/300 support to sh-sci · b7e711ba
      Andrew Morton authored
      From: Paul Mundt <lethal@linux-sh.org>
      
      This adds support for the H8/300 series to the sh-sci driver.  Patch from
      Yoshinori Sato.
      b7e711ba
    • Andrew Morton's avatar
      [PATCH] sh: hd64461 updates · f4dd156e
      Andrew Morton authored
      From: Paul Mundt <lethal@linux-sh.org>
      
      This updates a number of the hd64461 cchip definitions (needed by hitfb), and
      also adds some additional I/O routines.
      f4dd156e
    • Andrew Morton's avatar
      [PATCH] sh: Fix hp680 board support · 55dcf046
      Andrew Morton authored
      From: Paul Mundt <lethal@linux-sh.org>
      
      This adds the missing setup code for the hp680 board.  Patch from Andriy
      Skulysh.
      55dcf046
    • Andrew Morton's avatar
      [PATCH] sh: preempt fixes · c35bd557
      Andrew Morton authored
      From: Paul Mundt <lethal@linux-sh.org>
      
      This fixes up a number of other outstanding preemption issues in the sh
      backend (in addition to the ones already fixed in previous patches).
      
      Patch from Kaz Kojima.
      c35bd557
    • Andrew Morton's avatar
      [PATCH] sh: preempt safe lazy fpu handling · 41dd42aa
      Andrew Morton authored
      From: Paul Mundt <lethal@linux-sh.org>
      
      This updates the lazy fpu handling to be preempt safe.  Patches from SUGIOKA
      Toshinobu and Kaz Kojima.
      41dd42aa
    • Andrew Morton's avatar
      [PATCH] sh: RTC fixes · dd9cd732
      Andrew Morton authored
      From: Paul Mundt <lethal@linux-sh.org>
      
      Re-read RTC registers if MSB of R64CNT was changed while reading them on SH-4
      which has unreliable CF bit.
      
      Patch from SUGIOKA Toshinobu and Masaki Saitoh.
      dd9cd732
    • Andrew Morton's avatar
      [PATCH] sh: Wrap fb_read/writeX() to __raw_read/writeX() · 70fa9749
      Andrew Morton authored
      From: Paul Mundt <lethal@linux-sh.org>
      
      This adds sh to the list of platforms that wrap fb_readX/fb_writeX() to
      __raw_readX/__raw_writeX().  This is needed so that the generic fb read/write
      routines will wrap properly through the sh machvec and use the appropriate
      board-specific I/O routines.
      70fa9749