1. 08 5月, 2009 2 次提交
    • R
      oprofile: introduce module_param oprofile.cpu_type · 7e4e0bd5
      Robert Richter 提交于
      This patch removes module_param oprofile.force_arch_perfmon and
      introduces oprofile.cpu_type=archperfmon instead. This new parameter
      can be reused for other models and architectures.
      
      Currently only archperfmon is supported.
      
      Cc: Andi Kleen <ak@linux.intel.com>
      Signed-off-by: NRobert Richter <robert.richter@amd.com>
      7e4e0bd5
    • A
      oprofile: re-add force_arch_perfmon option · 1dcdb5a9
      Andi Kleen 提交于
      This re-adds the force_arch_perfmon option that was in the original
      arch perfmon patchkit. Originally this was rejected in favour
      of a generalized perfmon=name option, but it turned out implementing
      the later in a reliable way is hard (and it would have been easy
      to crash the kernel if a user gets it wrong)
      
      But now Atom and Core i7 support being readded a user would
      need to update their oprofile userland to beyond 0.9.4 to use oprofile again
      on Atom or Core i7.
      
      To avoid this problem readd the force_arch_perfmon option.
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      Signed-off-by: NRobert Richter <robert.richter@amd.com>
      1dcdb5a9
  2. 19 4月, 2009 1 次提交
  3. 18 4月, 2009 1 次提交
  4. 14 4月, 2009 1 次提交
  5. 07 4月, 2009 1 次提交
  6. 03 4月, 2009 1 次提交
  7. 02 4月, 2009 2 次提交
  8. 30 3月, 2009 1 次提交
  9. 28 3月, 2009 1 次提交
  10. 26 3月, 2009 1 次提交
  11. 25 3月, 2009 1 次提交
    • J
      dynamic debug: combine dprintk and dynamic printk · e9d376f0
      Jason Baron 提交于
      This patch combines Greg Bank's dprintk() work with the existing dynamic
      printk patchset, we are now calling it 'dynamic debug'.
      
      The new feature of this patchset is a richer /debugfs control file interface,
      (an example output from my system is at the bottom), which allows fined grained
      control over the the debug output. The output can be controlled by function,
      file, module, format string, and line number.
      
      for example, enabled all debug messages in module 'nf_conntrack':
      
      echo -n 'module nf_conntrack +p' > /mnt/debugfs/dynamic_debug/control
      
      to disable them:
      
      echo -n 'module nf_conntrack -p' > /mnt/debugfs/dynamic_debug/control
      
      A further explanation can be found in the documentation patch.
      Signed-off-by: NGreg Banks <gnb@sgi.com>
      Signed-off-by: NJason Baron <jbaron@redhat.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      e9d376f0
  12. 24 3月, 2009 2 次提交
  13. 21 3月, 2009 1 次提交
    • Y
      PCI: allow assignment of memory resources with a specified alignment · 32a9a682
      Yuji Shimada 提交于
      This patch allows memory resources to be assigned with a specified
      alignment at boot-time or run-time. The patch is useful when we use PCI
      pass-through, because page-aligned memory resources are required to
      securely share PCI resources with guest drivers.
      
      If you want to assign the resource at boot time, please set
      "pci=resource_alignment=" boot parameter.
      
      This is format of "pci=resource_alignment=" boot parameter:
      
              [<order of align>@][<domain>:]<bus>:<slot>.<func>[; ...]
                      Specifies alignment and device to reassign
                      aligned memory resources.
                      If <order of align> is not specified, PAGE_SIZE is
                      used as alignment.
                      PCI-PCI bridge can be specified, if resource
                      windows need to be expanded.
      
      This is example:
      
              pci=resource_alignment=20@07:00.0;18@0f:00.0;00:1d.7
      
      If you want to assign the resource at run-time, please set
      "/sys/bus/pci/resource_alignment" file, and hot-remove the device and
      hot-add the device.  For this purpose, fakephp or PCI hotplug interfaces
      can be used.
      
      The format of "/sys/bus/pci/resource_alignment" file is the same with
      boot parameter. You can use "," instead of ";".
      
      For example:
      
              # cd /sys/bus/pci
              # echo -n 20@12:00.0 > resource_alignment
              # echo 1 > devices/0000:12:00.0/remove
              # echo 1 > rescan
      Reviewed-by: NAlex Chiang <achiang@hp.com>
      Reviewed-by: NYu Zhao <yu.zhao@intel.com>
      Signed-off-by: NYuji Shimada <shimada-yxb@necst.nec.co.jp>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      32a9a682
  14. 20 3月, 2009 1 次提交
  15. 10 3月, 2009 1 次提交
  16. 06 3月, 2009 1 次提交
  17. 02 3月, 2009 1 次提交
  18. 26 2月, 2009 1 次提交
    • D
      ide: ide.c 'clear' fix, update "ide=nodma" documentation · 0af80c04
      David Fries 提交于
      Documentation/kernel-parameters.txt
      - ide=nodma is no longer valid.
      
      drivers/ide/Kconfig
      - The module is ide-core.ko not ide.
      
      drivers/ide/ide.c
      - It took me a while to figure out what the arguments %d.%d:%d to nodma
        module parameter ment, so I added a comment to each.
      - Added a comment to each of the sscanf lines.
      - There is a bug, if j is 0 it would previously clear all the other bits
        except the current device, changed in three different places.
        mask &= (1 << i) should be mask &= ~(1 << i).
      Signed-off-by: NDavid Fries <david@fries.net>
      [bart: s/disk/device/ in ide.c, beautify patch description]
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      0af80c04
  19. 25 2月, 2009 1 次提交
  20. 24 2月, 2009 1 次提交
  21. 23 2月, 2009 2 次提交
  22. 06 2月, 2009 2 次提交
    • M
      integrity: IMA as an integrity service provider · 3323eec9
      Mimi Zohar 提交于
      IMA provides hardware (TPM) based measurement and attestation for
      file measurements. As the Trusted Computing (TPM) model requires,
      IMA measures all files before they are accessed in any way (on the
      integrity_bprm_check, integrity_path_check and integrity_file_mmap
      hooks), and commits the measurements to the TPM. Once added to the
      TPM, measurements can not be removed.
      
      In addition, IMA maintains a list of these file measurements, which
      can be used to validate the aggregate value stored in the TPM.  The
      TPM can sign these measurements, and thus the system can prove, to
      itself and to a third party, the system's integrity in a way that
      cannot be circumvented by malicious or compromised software.
      
      - alloc ima_template_entry before calling ima_store_template()
      - log ima_add_boot_aggregate() failure
      - removed unused IMA_TEMPLATE_NAME_LEN
      - replaced hard coded string length with #define name
      Signed-off-by: NMimi Zohar <zohar@us.ibm.com>
      Signed-off-by: NJames Morris <jmorris@namei.org>
      3323eec9
    • M
      integrity: IMA hooks · 6146f0d5
      Mimi Zohar 提交于
      This patch replaces the generic integrity hooks, for which IMA registered
      itself, with IMA integrity hooks in the appropriate places directly
      in the fs directory.
      Signed-off-by: NMimi Zohar <zohar@us.ibm.com>
      Acked-by: NSerge Hallyn <serue@us.ibm.com>
      Signed-off-by: NJames Morris <jmorris@namei.org>
      6146f0d5
  23. 05 2月, 2009 1 次提交
  24. 18 1月, 2009 1 次提交
  25. 09 1月, 2009 3 次提交
  26. 08 1月, 2009 3 次提交
    • A
      resource: allow MMIO exclusivity for device drivers · e8de1481
      Arjan van de Ven 提交于
      Device drivers that use pci_request_regions() (and similar APIs) have a
      reasonable expectation that they are the only ones accessing their device.
      As part of the e1000e hunt, we were afraid that some userland (X or some
      bootsplash stuff) was mapping the MMIO region that the driver thought it
      had exclusively via /dev/mem or via various sysfs resource mappings.
      
      This patch adds the option for device drivers to cause their reserved
      regions to the "banned from /dev/mem use" list, so now both kernel memory
      and device-exclusive MMIO regions are banned.
      NOTE: This is only active when CONFIG_STRICT_DEVMEM is set.
      
      In addition to the config option, a kernel parameter iomem=relaxed is
      provided for the cases where developers want to diagnose, in the field,
      drivers issues from userspace.
      Reviewed-by: NMatthew Wilcox <willy@linux.intel.com>
      Signed-off-by: NArjan van de Ven <arjan@linux.intel.com>
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      e8de1481
    • A
      USB: storage: make the "quirks=" module parameter writable · c838ea46
      Alan Stern 提交于
      This patch (as1190) makes usb-storage's "quirks=" module parameter
      writable, so that users can add entries for their devices at runtime
      with no need to reboot or reload usb-storage.
      
      New codes are added for the SANE_SENSE, CAPACITY_HEURISTICS, and
      CAPACITY_OK flags.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      c838ea46
    • A
      USB: usb-storage: add "quirks=" module parameter · d4f373e5
      Alan Stern 提交于
      This patch (as1163b) adds a "quirks=" module parameter to usb-storage.
      This will allow people to make short-term changes to their
      unusual_devs list without rebuilding the entire driver.  Testing will
      become much easier, and less-sophisticated users will be able to
      access their buggy devices after a simple config-file change instead
      of having to wait for a new kernel release.
      
      The patch also adds a documentation entry for usb-storage's
      "delay_use" parameter, which has been around for years but but was
      never listed among the kernel parameters.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      d4f373e5
  27. 07 1月, 2009 4 次提交
  28. 29 12月, 2008 1 次提交