1. 16 Feb, 2004 4 commits
    • Andrew Morton's avatar
      [PATCH] SELinux: context mount support - LSM/FS · 86d3ef68
      Andrew Morton authored
      From: James Morris <jmorris@redhat.com>
      
      This series of patches adds support for SELinux 'context mounts', which
      allows filesystems to be assigned security context information at mount time.
       For example, some filesystems do not support extended attributes (e.g.  NFS,
      vfat), and this feature allows security contexts to be assigned to them on a
      per-mountpoint basis.  It is also useful when the existing labeling on a
      filesystem is untrusted or unwanted for some reason (e.g.  removable media),
      and needs to be overridden with a safe default.
      
      The first patch below consists of infrastructure changes to the kernel:
      
      - A new LSM hook has been added, sb_copy_data, which allows the security
        module to copy security-specific mount data once the superblock has been
        setup by the filesystem.
      
      - The sb_kern_mount hook has been modified to take this security data as a
        parameter, and would typically be used at that point to configure the
        security parameters of the filesystem being mounted.
      
      - Allocation and freeing of the security data has been implemented in the
        core fs code as it is cleaner than trying to do it purely via LSM hooks,
        and should make maintenance easier.  This code will be compiled away if LSM
        is not enabled.
      86d3ef68
    • Anton Blanchard's avatar
      [PATCH] fix ppc64 LPAR · 50d8ab92
      Anton Blanchard authored
      This fixes pSeries LPAR (logical partitioned) machines.  We weren't
      initialising the pci_dma_ops stuff.
      50d8ab92
    • Benjamin Herrenschmidt's avatar
      [PATCH] Update platinumfb driver · f9e10476
      Benjamin Herrenschmidt authored
      This updates the PowerMac-only platinumfb driver to use the new mac-io
      device infrastructure.  It also switch allocation to the new
      framebuffer_alloc/release and fix a couple of bugs.
      f9e10476
    • Benjamin Herrenschmidt's avatar
      [PATCH] radeonfb: limit ioremap size & debug output · f2d07c25
      Benjamin Herrenschmidt authored
      This adds a limit on how much of the framebuffer is ioremap'ed by
      radeonfb, thus enabling it to work with 128Mb VRAM or more on an x86
      with 900Mb of lowmem in the linear mapping.
      
      It also adds a significant amount of debug messages and adds a CONFIG
      option to enable the debugging output, that should help with diagnosing
      new problems. Among others, it dumps the connector info as I understand
      them (so far, they give "strange" informations on laptops, I need more
      data on more various laptops to see if there's a pattern I can really use
      to figure out on which connector the LVDS is)
      
      Regarding the "lid closed at boot", ultimately, we may want to default
      to the VGA output in those cases, though I'm not sure what logic to use
      here. Maybe we could standardize some way for the platform to provide
      this "environment" information to the driver, but i wouldn't rely on it.
      
      More reliably, if we can find out that there is an LVDS output, and
      LVDS is disabled, just ignore the flat panel...
      
      We could assume any mobility chip has LVDS, which is true, but that would
      still cause a problem for laptops with an additional DVI output (only
      Macs so far afaik).
      f2d07c25
  2. 15 Feb, 2004 16 commits
    • Jeff Garzik's avatar
      [PATCH] Update mac network drivers · e93aa383
      Jeff Garzik authored
      This should merge up the final piece of the ppc32/64 saga: the mac
      PowerMac MACE and Airport network drivers.
      
      Both of them are ported to the mac-io infrastructure, all probe code
      rewritting & cleaned up, better error handling & resource management.
      e93aa383
    • Linus Torvalds's avatar
      Fix radeonfb to use the proper BIOS reference divider for · c727c2f4
      Linus Torvalds authored
      flat-panel displays.
      
      From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      c727c2f4
    • Benjamin Herrenschmidt's avatar
      [PATCH] fix radeonfb "noaccel" command line · c4512259
      Benjamin Herrenschmidt authored
      Fix proper detection of the "noaccel" command line argument for
      new radeonfb so we can boot without acceleration. Useful when
      diagnosing an accel-related problem.
      c4512259
    • Linus Torvalds's avatar
      Fix user-visible typo in printk. · 4cc25af9
      Linus Torvalds authored
      Somebody has been watching lord of the rings a bit too
      much.. "My precioussssss.."
      4cc25af9
    • Linus Torvalds's avatar
      Fix new radeon clock calculation. · a60e227b
      Linus Torvalds authored
      From Peter Osterlund <petero2@telia.com>
      
      This code only ends up being used when all else fails,
      so probably very few people actually ever saw this.
      a60e227b
    • Linus Torvalds's avatar
      Merge http://linux-mh.bkbits.net/bluetooth-2.6 · 5dc2eddb
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      5dc2eddb
    • Marcel Holtmann's avatar
      [Bluetooth] Revert reference counting fixes · 52500c61
      Marcel Holtmann authored
      The RFCOMM TTY code don't leak reference counting, because the TTY layer
      will call the ->close() method even if open fails and the reference count
      is decreased there.
      
      Patch from David Woodhouse <dwmw2@infradead.org>
      52500c61
    • Peter Osterlund's avatar
      [PATCH] Missing initialization code for old radeon driver · 937531b3
      Peter Osterlund authored
      You can still build the old driver, but it doesn't work unless you also
      enable it like this..
      937531b3
    • Benjamin Herrenschmidt's avatar
      [PATCH] fbcon notified of suspend/resume · 9b74976d
      Benjamin Herrenschmidt authored
      This makes fbcon ask for notification of events from fbdev to deal with
      suspend/resume (stop cursor on suspend, refresh screen on resume).
      Could probably do more (like dealing better with the cursor timer), but
      this simple implementation works fine enough for now.
      9b74976d
    • Benjamin Herrenschmidt's avatar
      [PATCH] fbdev state management · f8048030
      Benjamin Herrenschmidt authored
      This adds some "state" information for power management to fbdev's,
      along with a notifier mecanism to inform clients of state changes.  It
      also "uses" this mecanism in the function fb_set_suspend() which was an
      empty placeholder previously, and "shields" various places that access
      the HW when state isn't running.  (It's best to not call them in the
      first place, but the current state of fbcon makes that _very_ difficult)
      f8048030
    • Benjamin Herrenschmidt's avatar
      [PATCH] Update aty128fb video driver · b6c81047
      Benjamin Herrenschmidt authored
      This updates the aty128fb driver.  It adds more PCI IDs, uses the new
      framebuffer alloc/release functions, make BIOS PLL data access more
      reliable (using ROM whenever possible, with a fallback to RAM BIOS
      image), cleanup the Power Management stuff (get rid of PowerMac specific
      stuffs, use real PCI ones instead), along with some style cleanups
      b6c81047
    • Benjamin Herrenschmidt's avatar
      [PATCH] Fix fbdev pixmap locking · 7b377012
      Benjamin Herrenschmidt authored
      This removes the broken locking code in the pixmaps, and rewrite the
      buffer access function to properly call fb_sync when needed.  The old
      broken loocking is useless as we are covered by the console semaphore in
      all cases hopefully (except if I missed one :)
      7b377012
    • Benjamin Herrenschmidt's avatar
      [PATCH] shield fbdev operations with console semaphore · 29d6f8c4
      Benjamin Herrenschmidt authored
      This fixes the fbdev ioctl's and fbcon cursor management with the
      console semaphore, which is the best we can do at this point in 2.6,
      thus fixing a bunch of races where we could have, for example, tried to
      blit while changing mode, etc..
      29d6f8c4
    • Benjamin Herrenschmidt's avatar
      [PATCH] Fix Oops & warning on PPC in rivafb · ca3f481d
      Benjamin Herrenschmidt authored
      Independently from the other fbdev updates I'm cooking (some of them
      will be in your mailbox rsn), this fixes an error in parameter passing
      to a function in rivafb (only used on ppc) that could cause an oops and
      definitely causes a warning at compile time.
      ca3f481d
    • Benjamin Herrenschmidt's avatar
    • Rusty Russell's avatar
      [PATCH] Sparc no longer F*cked Up · 103e6e39
      Rusty Russell authored
      From: Keith M Wesolowski <wesolows@foobazco.org>
      
      As of 2.6.3, restore_flags will no longer modify cwp on sparc.
      Therefore you can apply this patch to the locking guide.
      
      [ Indeed.  I'll also remove the atomic comments from Hacking
        Guide as part of my revision there when I get back to it.  --RR ]
      103e6e39
  3. 14 Feb, 2004 14 commits
  4. 13 Feb, 2004 6 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/sctp-2.6 · c54c4df5
      David S. Miller authored
      into kernel.bkbits.net:/home/davem/sctp-2.6
      c54c4df5