1. 07 Jul, 2022 1 commit
  2. 06 Aug, 2020 1 commit
  3. 16 Aug, 2019 3 commits
  4. 31 Oct, 2018 1 commit
  5. 02 Nov, 2017 1 commit
    • Greg Kroah-Hartman's avatar
      License cleanup: add SPDX GPL-2.0 license identifier to files with no license · b2441318
      Greg Kroah-Hartman authored
      Many source files in the tree are missing licensing information, which
      makes it harder for compliance tools to determine the correct license.
      
      By default all files without license information are under the default
      license of the kernel, which is GPL version 2.
      
      Update the files which contain no license information with the 'GPL-2.0'
      SPDX license identifier.  The SPDX identifier is a legally binding
      shorthand, which can be used instead of the full boiler plate text.
      
      This patch is based on work done by Thomas Gleixner and Kate Stewart and
      Philippe Ombredanne.
      
      How this work was done:
      
      Patches were generated and checked against linux-4.14-rc6 for a subset of
      the use cases:
       - file had no licensing information it it.
       - file was a */uapi/* one with no licensing information in it,
       - file was a */uapi/* one with existing licensing information,
      
      Further patches will be generated in subsequent months to fix up cases
      where non-standard...
      b2441318
  6. 12 Jan, 2016 1 commit
  7. 27 Jul, 2015 2 commits
  8. 05 Mar, 2015 1 commit
  9. 16 May, 2014 1 commit
  10. 19 Mar, 2013 2 commits
    • Hanjun Guo's avatar
      Fix kexec oops when iosapic was removed · ffa90955
      Hanjun Guo authored
      
      Iosapic hotplug was supported in IA64 code, but will lead to kexec oops
      when iosapic was removed. here is the code logic:
      
      iosapic_remove
        iosapic_free
          memset(&iosapic_lists[index], 0, sizeof(iosapic_lists[0]))
            iosapic_lists[index].addr was set to 0;
      
      and then kexec a new kernel
      kexec_disable_iosapic
        iosapic_write(rte->iosapic,..)
          __iosapic_write(iosapic->addr, reg, val);
            addr was set to 0 when iosapic_remove, and oops happened
      
      The call trace is:
      Starting new kernel
      kexec[11336]: Oops 8804682956800 [1]
      Modules linked in: raw(N) ipv6(N) acpi_cpufreq(N) binfmt_misc(N) fuse(N) nls_iso
      8859_1(N) loop(N) ipmi_si(N) ipmi_devintf(N) ipmi_msghandler(N) mca_ereport(N) s
      csi_ereport(N) nic_ereport(N) pcie_ereport(N) err_transport(N) nvlist(PN) dm_mod
      (N) tpm_tis(N) tpm(N) ppdev(N) tpm_bios(N) serio_raw(N) i2c_i801(N) iTCO_wdt(N)
      i2c_core(N) iTCO_vendor_support(N) sg(N) ioatdma(N) igb(N) mptctl(N) dca(N) parp
      ort_pc(N) parport(N) container(N) button(N) usbhid(N) hid(N) uhci_hcd(N) ehci_hc
      d(N) usbcore(N) sd_mod(N) crc_t10dif(N) ext3(N) mbcache(N) jbd(N) fan(N) process
      or(N) ide_pci_generic(N) ide_core(N) ata_piix(N) libata(N) mptsas(N) mptscsih(N)
       mptbase(N) scsi_transport_sas(N) scsi_mod(N) thermal(N) thermal_sys(N) hwmon(N)
      
      Supported: Yes, External
      
      Pid: 11336, CPU 0, comm:                kexec
      psr : 0000101009522030 ifs : 8000000000000791 ip  : [<a00000010004c160>]    Tain
      ted: P          N  (2.6.32.12_RAS_V1R3C00B011)
      ip is at kexec_disable_iosapic+0x120/0x1e0
      unat: 0000000000000000 pfs : 0000000000000791 rsc : 0000000000000003
      rnat: 0000000000000000 bsps: 0000000000000000 pr  : 65519aa6a555a659
      ldrs: 0000000000000000 ccv : 00000000ea3cf51e fpsr: 0009804c8a70033f
      csd : 0000000000000000 ssd : 0000000000000000
      b0  : a00000010004c150 b6  : a000000100012620 b7  : a00000010000cda0
      f6  : 000000000000000000000 f7  : 1003e0000000002000000
      f8  : 1003e0000000050000003 f9  : 1003e0000028fb97183cd
      f10 : 1003ee9f380df3c548b67 f11 : 1003e00000000000000cc
      r1  : a0000001016cf660 r2  : 0000000000000000 r3  : 0000000000000000
      r8  : 0000001009526030 r9  : a000000100012620 r10 : e00000010053f600
      r11 : c0000000fec34040 r12 : e00000078f76fd30 r13 : e00000078f760000
      r14 : 0000000000000000 r15 : 0000000000000000 r16 : 0000000000000000
      r17 : 0000000000000000 r18 : 0000000000007fff r19 : 0000000000000000
      r20 : 0000000000000000 r21 : e00000010053f590 r22 : a000000100cf0000
      r23 : 0000000000000036 r24 : e0000007002f8a84 r25 : 0000000000000022
      r26 : e0000007002f8a88 r27 : 0000000000000020 r28 : 0000000000000002
      r29 : a0000001012c8c60 r30 : 0000000000000000 r31 : 0000000000322e49
      
      Call Trace:
       [<a000000100018ca0>] show_stack+0x80/0xa0
                                      sp=e00000078f76f8f0 bsp=e00000078f761380
       [<a000000100019300>] show_regs+0x640/0x920
                                      sp=e00000078f76fac0 bsp=e00000078f761328
       [<a00000010002a130>] die+0x190/0x2e0
                                      sp=e00000078f76fad0 bsp=e00000078f7612e8
       [<a000000100922fa0>] ia64_do_page_fault+0x840/0xb20
                                      sp=e00000078f76fad0 bsp=e00000078f761288
       [<a00000010000d5c0>] ia64_native_leave_kernel+0x0/0x270
                                      sp=e00000078f76fb60 bsp=e00000078f761288
       [<a00000010004c160>] kexec_disable_iosapic+0x120/0x1e0
                                      sp=e00000078f76fd30 bsp=e00000078f761200
       [<a000000100016970>] machine_shutdown+0x110/0x140
                                      sp=e00000078f76fd30 bsp=e00000078f7611c8
       [<a000000100133530>] kernel_kexec+0xd0/0x120
                                      sp=e00000078f76fd30 bsp=e00000078f7611a0
       [<a0000001000eca40>] sys_reboot+0x480/0x4e0
                                      sp=e00000078f76fd30 bsp=e00000078f761128
       [<a00000010000d420>] ia64_ret_from_syscall+0x0/0x20
                                      sp=e00000078f76fe30 bsp=e00000078f761120
      Kernel panic - not syncing: Fatal exception
      
      With Tony and Toshi's advice, the patch removes the "rte" from rte_list
      when the iosapic was removed.
      Signed-off-by: default avatarHanjun Guo <guohanjun@huawei.com>
      Signed-off-by: default avatarJianguo Wu <wujianguo@huawei.com>
      Acked-by: default avatarToshi Kani <toshi.kani@hp.com>
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      ffa90955
    • Hanjun Guo's avatar
      iosapic: fix a minor typo in comments · c74edea3
      Hanjun Guo authored
      
      describeinterrupts -> describe interrupts
      Signed-off-by: default avatarHanjun Guo <guohanjun@huawei.com>
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      c74edea3
  11. 03 Jan, 2013 1 commit
    • Greg Kroah-Hartman's avatar
      IA64: drivers: remove __dev* attributes. · 5b5e76e9
      Greg Kroah-Hartman authored
      
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: Fenghua Yu <fenghua.yu@intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      5b5e76e9
  12. 28 Mar, 2012 1 commit
  13. 29 Mar, 2011 5 commits
  14. 05 Oct, 2010 1 commit
    • Tony Luck's avatar
      [IA64] Initialize interrupts later (from init_IRQ()) · 4de0a759
      Tony Luck authored
      
      Thomas Gleixner is cleaning up the generic irq code, and ia64 ran
      into problems because it calls register_intr() before early_irq_init()
      is called.  Move the call to acpi_boot_init() from setup_arch() to
      init_IRQ().
      
      As a bonus - moving the call later means we no longer need the
      hacks in iosapic.c to switch between the bootmem and regular
      allocator - we can just used kzalloc() for allocation.
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      4de0a759
  15. 27 Sep, 2010 1 commit
    • Tony Luck's avatar
      [IA64] Stop using the deprecated __do_IRQ() code path · 5d4bff94
      Tony Luck authored
      Thomas Gleixner <tglx@linutronix.de> wrote:
      >__do_IRQ() has been deprecated after a two years migration phase in
      >commit 0e57aa11
      
      . Since then another 18 months have gone by ...
      
      Mostly trivial stuff for this. The only tricky part was realizing
      that the new handler_*_irq() paths do not use desc->chip->end(irq).
      Not a problem for the edge case as the ia64 iosapic routine for
      that was nop(). But the "level" case handled interrupt migration
      there.  Just use a slightly modified version of the "end" routine
      as "unmask" for the level triggered case.
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      5d4bff94
  16. 30 Mar, 2010 1 commit
    • Tejun Heo's avatar
      include cleanup: Update gfp.h and slab.h includes to prepare for breaking... · 5a0e3ad6
      Tejun Heo authored
      include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
      
      percpu.h is included by sched.h and module.h and thus ends up being
      included when building most .c files.  percpu.h includes slab.h which
      in turn includes gfp.h making everything defined by the two files
      universally available and complicating inclusion dependencies.
      
      percpu.h -> slab.h dependency is about to be removed.  Prepare for
      this change by updating users of gfp and slab facilities include those
      headers directly instead of assuming availability.  As this conversion
      needs to touch large number of source files, the following script is
      used as the basis of conversion.
      
        http://userweb.kernel.org/~tj/misc/slabh-sweep.py
      
      The script does the followings.
      
      * Scan files for gfp and slab usages and update includes such that
        only the necessary includes are there.  ie. if only gfp is used,
        gfp.h, if slab is used, slab.h.
      
      * When the script inserts a new include, it looks at the include
        bloc...
      5a0e3ad6
  17. 14 Dec, 2009 1 commit
  18. 11 Aug, 2009 1 commit
  19. 15 Jun, 2009 3 commits
  20. 28 Apr, 2009 1 commit
    • Yinghai Lu's avatar
      irq: change ->set_affinity() to return status · d5dedd45
      Yinghai Lu authored
      
      according to Ingo, change set_affinity() in irq_chip should return int,
      because that way we can handle failure cases in a much cleaner way, in
      the genirq layer.
      
      v2: fix two typos
      
      [ Impact: extend API ]
      Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Suresh Siddha <suresh.b.siddha@intel.com>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Cc: linux-arch@vger.kernel.org
      LKML-Reference: <49F654E9.4070809@kernel.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      d5dedd45
  21. 25 Feb, 2009 1 commit
  22. 12 Jan, 2009 1 commit
  23. 26 Dec, 2008 1 commit
  24. 13 Dec, 2008 1 commit
  25. 01 Aug, 2008 1 commit
    • Tony Luck's avatar
      [IA64] Move include/asm-ia64 to arch/ia64/include/asm · 7f30491c
      Tony Luck authored
      
      After moving the the include files there were a few clean-ups:
      
      1) Some files used #include <asm-ia64/xyz.h>, changed to <asm/xyz.h>
      
      2) Some comments alerted maintainers to look at various header files to
      make matching updates if certain code were to be changed. Updated these
      comments to use the new include paths.
      
      3) Some header files mentioned their own names in initial comments. Just
      deleted these self references.
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      7f30491c
  26. 24 Jun, 2008 1 commit
  27. 27 May, 2008 1 commit
  28. 06 Mar, 2008 1 commit
  29. 04 Mar, 2008 1 commit
    • Kenji Kaneshige's avatar
      [IA64] Fix irq migration in multiple vector domain · a6cd6322
      Kenji Kaneshige authored
      
      Fix the problem that the following error message is sometimes displayed
      at irq migration when vector domain is enabled.
      
          "Unexpected interrupt vector %d on CPU %d is not mapped to any IRQ!"
      
      The cause of this problem is an interrupt is sent to the previous
      target CPU after cleaning up vector to irq mapping table. To clean up
      vector to irq map on the previous target CPU safty, change the irq
      migration in multiple vector domain as follows. The original idea is
      from x86 interrupt management code.
      
          - Delay vector to irq table cleanup until the interrupts are sent
            to new target CPUs. By this, it is ensured that target CPU is
            completely changed on the interrupt controller side.
      
          - Even after the interrupts are sent to new target CPUs, there can
            be pended interrupts remaining on the previous target CPU. So we
            need to delay clearning up vector to irq table until the pended
            interrupt is handled. For this, send IPI to the previous target
            CPU with lower priority vector and clean up vector to irq table
            in its handler.
      
      This patch affects only to irq migration code with multiple vector
      domain is enabled.
      Signed-off-by: default avatarKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      a6cd6322
  30. 08 Dec, 2007 1 commit