1. 09 Sep, 2003 31 commits
    • Andrew Morton's avatar
      [PATCH] remap file pages MAP_NONBLOCK fix · be98a9cd
      Andrew Morton authored
      From: Rajesh Venkatasubramanian <vrajesh@eecs.umich.edu>
      
      The remap_file_pages system call with MAP_NONBLOCK flag does not
      install file-ptes when the required pages are not found in the
      page cache. Modify the populate functions to install file-ptes
      if the mapping is non-linear and the required pages are not found
      in the page cache.
      
      Patch is for test4-mm6. Compiles and boots. Patch tested using the
      programs at:
      
      http://www-personal.engin.umich.edu/~vrajesh/linux/remap-file-pages/
      be98a9cd
    • Andrew Morton's avatar
      [PATCH] ia32 idle using PNI monitor/mwait · 5335712e
      Andrew Morton authored
      From: "Nakajima, Jun" <jun.nakajima@intel.com>
      
      Attached is a patch that enables PNI (Prescott New Instructions)
      monitor/mwait in the kernel idle handler.
      5335712e
    • Andrew Morton's avatar
      [PATCH] d_delete-d_lookup race fix · ee9966a5
      Andrew Morton authored
      From: Maneesh Soni <maneesh@in.ibm.com>
      
      d_delete() calls dentry_iput() after releasing the per dentry lock.  This
      can race with __d_lookup and lead to situation where we can make dentry
      negative with ref count > 1.  The following patch makes dentry_iput() to
      hold per dentry lock till d_inode is NULL and dentry has been removed from
      d_alias list.
      ee9966a5
    • Andrew Morton's avatar
      [PATCH] ppp devfs oops fix · 1a30ac21
      Andrew Morton authored
      From: Christoph Hellwig <hch@infradead.org>
      
      PPP leaves the chardev registered even if we're going to fail the modprobe.
      1a30ac21
    • Andrew Morton's avatar
      [PATCH] Handle NR_CPUS overflow · a5d77afe
      Andrew Morton authored
      From: john stultz <johnstul@us.ibm.com>
      
      Don't try to support more than NR_CPUS cpus: things overflow.
      
      Also, increase the default in config for some architectures.  (Dave
      Hansen).
      a5d77afe
    • Andrew Morton's avatar
      [PATCH] remove duplicate includes in kernel/ · 4f2a733a
      Andrew Morton authored
      From: "Randy.Dunlap" <rddunlap@osdl.org>
      
      remove duplicate #includes in kernel/
      4f2a733a
    • Andrew Morton's avatar
      [PATCH] sound: remove duplicate includes · f83793cb
      Andrew Morton authored
      From: "Randy.Dunlap" <rddunlap@osdl.org>
      
      remove duplicate #includes in sound/
      f83793cb
    • Andrew Morton's avatar
      [PATCH] make selinux enable param config option, enabled by · beb12afa
      Andrew Morton authored
      From: James Morris <jmorris@redhat.com>
      
      This patch against current bk makes the recently added SELinux boot
      parameter feature a configurable option, and enables SELinux by default
      when selected.  These changes were made following feedback including 
      discussion on the SELinux list.
      
      The rationale for the changes is to allow SELinux to be be configured and
      enabled unconditionally.  If the boot parameter option is selected, then
      SELinux is now enabled unless selinux=0 is specified at the kernel command
      line.
      beb12afa
    • Andrew Morton's avatar
      [PATCH] Fix imm.c again · 94c5d6eb
      Andrew Morton authored
      From: Adrian Bunk <bunk@fs.tum.de>
      
      Earlier patch wasn't correct especially in the !CONFIG_SCSI_IZIP_EPP16
      case, reading all uses of this array (IMM_MODE_STRING is used to print the
      corresponding string in printks).
      
      If I'm not misunderstanding it, CONFIG_SCSI_IZIP_EPP16 means "use 16bit 
      even when 32bit is requested".
      
      It seems the right solution is
      
      static char *IMM_MODE_STRING[] =
      {
              [IMM_AUTODETECT] = "Autodetect",
              [IMM_NIBBLE]     = "SPP",
              [IMM_PS2]        = "PS/2",
              [IMM_EPP_8]      = "EPP 8 bit",
              [IMM_EPP_16]     = "EPP 16 bit",
      #ifdef CONFIG_SCSI_IZIP_EPP16
              [IMM_EPP_32]     = "EPP 16 bit",
      #else
              [IMM_EPP_32]     = "EPP 32 bit",
      #endif
              [IMM_UNKNOWN]    = "Unknown",
      };
      94c5d6eb
    • Andrew Morton's avatar
      [PATCH] reiserfs direct-IO support · 3198c19a
      Andrew Morton authored
      From: Oleg Drokin <green@namesys.com>
      
      This patch implements DirectIO support for reiserfs v3.  This is mostly a
      port from 2.4.
      
      Thanks to Mingming Cao from IBM for some clues in porting.
      3198c19a
    • Andrew Morton's avatar
      [PATCH] Move ikconfig to /proc/config.gz · f261ecb2
      Andrew Morton authored
      From: "Randy.Dunlap" <randy.dunlap@verizon.net>
      
      
      The SuSE kernels place their ikconfig info at /proc/config.gz: in a
      different place, and compressed.  We thought it was a good idea to do it
      that way in 2.6 as well.
      
      - gzip the /proc config file, put it in /proc/config.gz;
      
      - Based on a SuSE patch by Oliver Xymoron <oxymoron@waste.org>, which was
        derived from a patch by Nicholas Leon <nicholas@binary9.net>
      
      - change /proc/ikconfig/built_with to /proc/config_build_info;
      
      - cleanup ikconfig init/exit entry points (static, __init, __exit);
      
      - Makefile help from Sam Ravnborg;
      
      DESC
      ikconfig cleanup
      EDESC
      From: Stephen Hemminger <shemminger@osdl.org>
      
      Simplify and cleanup the code:
      	- use single interface to seq_file where possible
      	- don't need to do as much of the /proc interface, only read
      	- use copy_to_user to avoid char at a time copy
      	- remove unneccesary globals
      	- use const char[] rather than const char * where possible.
      
      Didn't change the version since interface doesn't change.
      f261ecb2
    • Andrew Morton's avatar
      [PATCH] compiler warning fixes for DAC960 on alpha · f5347e30
      Andrew Morton authored
      From: Dave Olien <dmo@osdl.org>
      
      This patch is forwarded from Jay Estabrook at HP.  I've compiled the
      patch on ia32 and ia64 machines and it's good.  I also recreated
      the patch so it would apply to mm5 without fuzzy offsets.
      Here's Jay's summary of the patch:
      
      Here's a very small set of patches against 2.6.0-test4 that help the
      DAC960 driver compile cleaner (gets rid of warnings on Alpha) and help
      it to work on some old OEM'ed DAC960 cards that were sold in our older
      Alphas.
      
      The warnings are all concerned with "conversions to different size
      without cast", as pointers and longs are same size (8-bytes) but ints
      are 4-bytes, on Alpha. I don't believe the change to (long) from (int)
      will affect any 32-bit architectures, but those using LP64 like Alpha,
      ie SPARC64 and prolly IA64, will have the warnings go away.
      
      The change to make the oldest acceptable firmware version 2.70 instead
      of 2.73 is made spcific to Alpha, since it is only those cards that
      DEC OEM'ed from Mylex that would have such (as explained a bit better
      in the patch itself).
      f5347e30
    • Andrew Morton's avatar
      [PATCH] dac960 devfs_name initialisation fix · c6a4440f
      Andrew Morton authored
      From: Andrey Borzenkov <arvidjaar@mail.ru>
      
      DAC960.c does it incorrectly (at least in 2.6.0-test4). It will create
      _directory_ /dev/rd/cNdM making it impossible to create compat block device
      entry with the same name.
      
      The right thing it to create separate directory for each controller/target as 
      in attached trivial patch (untested due to lack of hardware). You will need
      devfsd support for this but then you will need it for cciss or cpqarray as 
      well and possibly for others. Which returns us to the problem of devfsd 
      maintenance ...
      c6a4440f
    • Andrew Morton's avatar
      [PATCH] monolitic_clock, timer_{tsc,hpet} and CPUFREQ · a39e2c39
      Andrew Morton authored
      From: Dmitry Torokhov <dtor_core@ameritech.net>
      
      I noticed that although timer_tsc registers cpufreq notifier to detect
      frequency changes and adjust cpu_khz it does not set cyc2ns_scale.
      a39e2c39
    • Andrew Morton's avatar
      [PATCH] Initialise devfs_name in various block drivers · 8e62b8a7
      Andrew Morton authored
      From: Andrey Borzenkov <arvidjaar@mail.ru>
      
      Various block drivers are currently devfs-unaware.  Andrey's patch attempts
      to give them reasonable representations in devfs.
      
      
       "The attached patch suggests some possible names for non-floppy devices
        based on reading driver source.  I have to ask if these make sense.  At
        least for cciss Mandrake devfsd patch expects different names but it
        seems to be mistake (it assumes single controller always)
      
       "For floppy it is not as simple.  Floppy cannot use genhd and must
        create names manually; but I do not know what names are appropriate or
        expected.
      
       "For acsi the target/lun name may have problem of creating compat names
        (if any) by devfsd.
      
       "Please note that none of them created any devfs name under 2.4 as well.
         So it is not a regression ..."
      8e62b8a7
    • Andrew Morton's avatar
      [PATCH] calibrate_tsc() fix and consolidation · ceffc556
      Andrew Morton authored
      From: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
      
      CONFIG_TIMER_CYCLONE doesn't build at present because calibrate_tsc() was
      made static.
      
      The patch fixes that up and moves all calibrate_tsc functions into a common
      file, avoiding the current code duplication.
      ceffc556
    • Andrew Morton's avatar
      [PATCH] s/spin_lock_irqrestore/spin_unlock_irqrestore · 58807f83
      Andrew Morton authored
      From: Vinay K Nallamothu <vinay-rc@naturesoft.net>
      
      Fix a couple of cut-n-paste errors.
      
      (Why on earth is a scsi driver poking at the RTC hardware?)
      58807f83
    • Linus Torvalds's avatar
      Fix ray_cs for new interrupt handling. · 50dea66b
      Linus Torvalds authored
      Damn 16-bit PCMCIA layer has no type checking. Complete crap.
      50dea66b
    • Linus Torvalds's avatar
      From Stephen Hemminger: we were trying to cast an "unsigned short" · eee4f071
      Linus Torvalds authored
      to a pointer. That was a typo.
      
      Ack'ed by Al Viro.
      eee4f071
    • Eyal Lebedinsky's avatar
      [PATCH] wl3501 with old compiler · e922ffb2
      Eyal Lebedinsky authored
      Fix the ## handling to work with old gcc versions (spaces around the ','
      to make token boundaries work).
      e922ffb2
    • Linus Torvalds's avatar
      Make rxrpc use SEQ_START_TOKEN. · 95a7045a
      Linus Torvalds authored
      95a7045a
    • Joe Perches's avatar
      d5787c80
    • Joe Perches's avatar
      18d0a2b7
    • Joe Perches's avatar
      b95f9e50
    • Stephen Hemminger's avatar
      [PATCH] Fix modularization of Siemens line discipline · b0882dfe
      Stephen Hemminger authored
      Convert SIEMENS R3964 tty line discipline on 2.6.0-test5 to use tty_ldisc owner
      instead of explicit MOD_INC/DEC.
      
      And fix the initializer to be a much more readable C99 one.
      b0882dfe
    • Stephen Hemminger's avatar
      [PATCH] Get rid of Intermezzo warning · 96822634
      Stephen Hemminger authored
      There is a leftover MOD_DEC_USE_COUNT intermezzo, with no matching _INC_
      anywhere.
      
      Since it sets owner on the file system operations there should be no
      need for explicit module manipulation.
      96822634
    • Linus Torvalds's avatar
      Merge bk://linux-dj.bkbits.net/cpufreq · 5be1676c
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      5be1676c
    • Dave Jones's avatar
      [CPUFREQ] add cpufreq_update_policy() · 5f27f461
      Dave Jones authored
      Add a new cpufreq_update_policy call:
      
      Certain cpufreq policy notifers have different needs at different times.
      Thus it needs to be possible to re-evaluate an already set cpufreq policy.
      Note that the cpufreq policy should only be set by one person: the user.
      Not any other in-kernel code [with one exception, of course: during
      booting].
      5f27f461
    • Dave Jones's avatar
      [CPUFREQ] remove $Id$ tags, update filenames · b8f215ca
      Dave Jones authored
      b8f215ca
    • Dave Jones's avatar
      [CPUFREQ] Merge speedstep-smi driver. · e7a4d809
      Dave Jones authored
      From: Hiroshi Miura <miura@da-cha.org>
      
      Intel SpeedStep driver using a BIOS SMI call.
      
      Quoting his original announcement:
      
      "This driver is based on the information from
      
      1. Microsoft Windows XP Document.
      we can get the SMI interface values from ax=E980/int15 BIOS call.
      
      2. Intel SpeedStep Applet Document.(from HP.com)
      http://h18007.www1.hp.com/support/files/evonotebook/us/download/10631.html
      " Adds code to request transition ownership when processing
      the system critical resume message. When a critical hibernate occurs,
      the Applet does not receive any system level notification. The change forces
      the Applet to re-acquire transition ownership upon resume from a critical hibernate. "
      
      This is informative. This saied that  something 'ownership' call is needed on SMI
      interface first.
      
      3. Grover, Andrew's int 15h patch posted to cpufreq ml
      Message-ID: <F760B14C9561B941B89469F59BA3A847E96E28@orsmsx401.jf.intel.com>
      code which call BIOS to get SMI values. I included it.
      
      4. Malik Martin's rev engineering results.
      call is made with BX, CX, EDI register values.
      and need signature 'ISG' when call.
      find function values. bx=1(get) and bx=2(set)
      
      5. Marc Lehmann's 'speedstep' utility,
      sample of assembler code to call SMI.
      
      6. My work.
      find function to return max/min freq which system supportd. (bx=4)
      more values are gotten, but I cannot understand...
      find 'ownership' function value(bx=0, which is other than 1 2 4..).
      
      ToDo(in pregress)
      support governor "auto" and using smi_event call, imprement auto freqchange
      feature.
      test on 440BX/ZX platform.
      
      Memo
       module parameters are override result of an int 15h/eax=E890h call.
       these parameter value are gotten from Windows XP registory."
      
      Also includes some bugfixes, updates and workarounds from me.
      
      NB: A lot of BIOS out there are buggy. You might want to try this driver
      also with Intel's default values -- smi_cmd = 0x82 and smi_port = 0xb2
      e7a4d809
    • Linus Torvalds's avatar
      Merge http://ppc.bkbits.net/for-linus-ppc64 · 2e926a15
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      2e926a15
  2. 10 Sep, 2003 3 commits
  3. 09 Sep, 2003 6 commits