31 May, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation version 2 of the license this program
    is distributed in the hope that it will be useful but without any
    warranty without even the implied warranty of merchantability or
    fitness for a particular purpose see the gnu general public license
    for more details you should have received a copy of the gnu general
    public license along with this program if not write to the free
    software foundation inc 59 temple place suite 330 boston ma 02111
    1307 usa

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 83 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Richard Fontana
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190527070034.021731668@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

02 Feb, 2019

1 commit


28 Aug, 2017

2 commits

  • Add const to bin_attribute structures as they are only passed to the
    functions sysfs_{remove/create}_bin_file. The arguments passed are of
    type const, so declare the structures to be const.

    Done using Coccinelle.

    @m disable optional_qualifier@
    identifier s;
    position p;
    @@
    static struct bin_attribute s@p={...};

    @okay1@
    position p;
    identifier m.s;
    @@
    (
    sysfs_create_bin_file(...,&s@p,...)
    |
    sysfs_remove_bin_file(...,&s@p,...)
    )

    @bad@
    position p!={m.p,okay1.p};
    identifier m.s;
    @@
    s@p

    @change depends on !bad disable optional_qualifier@
    identifier m.s;
    @@
    static
    +const
    struct bin_attribute s={...};

    Signed-off-by: Bhumika Goyal
    Reviewed-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Bhumika Goyal
     
  • pci_device_id are not supposed to change at runtime. All functions
    working with pci_device_id provided by work with
    const pci_device_id. So mark the non-const structs as const.

    Signed-off-by: Arvind Yadav
    Signed-off-by: Greg Kroah-Hartman

    Arvind Yadav
     

31 Aug, 2016

2 commits

  • The EG20T has 4 UART blocks. The clock source for the UART block is
    configured to receive a clock from an external pin by default.

    An internal 25MHz clock in the EG20T can also be used as a clock source
    for the clock.

    The MIPS based Boston platform ties the external clock pin down and relies
    on the internal clock source for the UART to function.

    Boston is based on device tree.

    Add a quirk to allow Boston to be detected via device tree and set the
    correct clock source for UART.

    Signed-off-by: Zubair Lutfullah Kakakhel
    Signed-off-by: Greg Kroah-Hartman

    Zubair Lutfullah Kakakhel
     
  • The default prefetch value for the eg20t device is hard coded to
    0x000affaa.

    Add support for an alternative to be read from DT if available

    Signed-off-by: Zubair Lutfullah Kakakhel
    Signed-off-by: Greg Kroah-Hartman

    Zubair Lutfullah Kakakhel
     

06 Mar, 2016

1 commit

  • The error return err is not initialized for the case when pci_map_rom
    fails and no ROM can me mapped. Fix this by setting ret to -ENODATA;
    (this is the same error value that is returned if the ROM data is
    successfully mapped but does not match the expected ROM signature.).

    Issue found from static code analysis using CoverityScan.

    Signed-off-by: Colin Ian King
    Signed-off-by: Greg Kroah-Hartman

    Colin Ian King
     

09 Feb, 2016

1 commit


08 Nov, 2014

1 commit


09 Mar, 2014

1 commit


07 Jun, 2013

1 commit


04 Jun, 2013

1 commit


22 Nov, 2012

3 commits


17 Aug, 2012

2 commits


19 Apr, 2012

1 commit


16 Nov, 2011

4 commits


23 Aug, 2011

2 commits


26 Jul, 2011

2 commits

  • * 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6: (26 commits)
    amba pl011: workaround for uart registers lockup
    n_gsm: fix the wrong FCS handling
    pch_uart: add missing comment about OKI ML7223
    pch_uart: Add MSI support
    tty: fix "IRQ45: nobody cared"
    PTI feature to allow user to name and mark masterchannel request.
    0 for o PTI Makefile bug.
    tty: serial: samsung.c remove legacy PM code.
    SERIAL: SC26xx: Fix link error.
    serial: mrst_max3110: initialize waitqueue earlier
    mrst_max3110: Change max missing message priority.
    tty: s5pv210: Add delay loop on fifo reset function for UART
    tty/serial: Fix XSCALE serial ports, e.g. ce4100
    serial: bfin_5xx: fix off-by-one with resource size
    drivers/tty: use printk_ratelimited() instead of printk_ratelimit()
    tty: n_gsm: Added refcount usage to gsm_mux and gsm_dlci structs
    tty: n_gsm: Add raw-ip support
    tty: n_gsm: expose gsmtty device nodes at ldisc open time
    pch_phub: Fix register miss-setting issue
    serial: 8250, increase PASS_LIMIT
    ...

    Linus Torvalds
     
  • If dmi_get_system_info() returns NULL, pch_phub_probe() will dereferencea
    a zero pointer.

    This oops was observed on an Atom based board which has no BIOS, but a
    bootloder which doesn't privde DMI data.

    Signed-off-by: Alexander Stein
    Cc: Tomoya MORINAGA
    Cc: Greg KH
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexander Stein
     

02 Jul, 2011

1 commit

  • Register "interrupt delay value" is for GbE which is connected to Bus-m of PCIe.
    However currently, the value is set for Bus-n.
    As a result, the value is not set correctly.
    This patch moves setting the value processing of Bus-n to Bus-m.

    Signed-off-by: Tomoya MORINAGA
    Signed-off-by: Greg Kroah-Hartman

    Tomoya MORINAGA
     

13 May, 2011

1 commit

  • Support new device OKI SEMICONDUCTOR ML7223 IOH(Input/Output Hub).
    The ML7223 IOH is for MP(Media Phone) use.
    The ML7223 is companion chip for Intel Atom E6xx series.
    The ML7223 is completely compatible for Intel EG20T PCH.

    Signed-off-by: Tomoya MORINAGA
    Signed-off-by: Greg Kroah-Hartman

    Tomoya MORINAGA
     

23 Mar, 2011

1 commit


17 Mar, 2011

1 commit

  • * 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6: (76 commits)
    pch_uart: reference clock on CM-iTC
    pch_phub: add new device ML7213
    n_gsm: fix UIH control byte : P bit should be 0
    n_gsm: add a documentation
    serial: msm_serial_hs: Add MSM high speed UART driver
    tty_audit: fix tty_audit_add_data live lock on audit disabled
    tty: move cd1865.h to drivers/staging/tty/
    Staging: tty: fix build with epca.c driver
    pcmcia: synclink_cs: fix prototype for mgslpc_ioctl()
    Staging: generic_serial: fix double locking bug
    nozomi: don't use flush_scheduled_work()
    tty/serial: Relax the device_type restriction from of_serial
    MAINTAINERS: Update HVC file patterns
    tty: phase out of ioctl file pointer for tty3270 as well
    tty: forgot to remove ipwireless from drivers/char/pcmcia/Makefile
    pch_uart: Fix DMA channel miss-setting issue.
    pch_uart: fix exclusive access issue
    pch_uart: fix auto flow control miss-setting issue
    pch_uart: fix uart clock setting issue
    pch_uart : Use dev_xxx not pr_xxx
    ...

    Fix up trivial conflicts in drivers/misc/pch_phub.c (same patch applied
    twice, then changes to the same area in one branch)

    Linus Torvalds
     

15 Mar, 2011

2 commits

  • Default clock source for UARTs on Topcliff is external UART_CLK.
    On CM-iTC USB_48MHz is used instead. After VCO2PLL and DIV
    manipulations UARTs will receive 192 MHz.
    Clock manipulations on Topcliff are controlled in pch_phub.c

    v2: redone against the linux-next tree
    v3: redone against linux/kernel/git/next/linux-next.git snapshot

    Signed-off-by: Denis Turischev
    Signed-off-by: Greg Kroah-Hartman

    Denis Turischev
     
  • Add ML7213 device information.
    ML7213 is companion chip of Intel Atom E6xx series for IVI(In-Vehicle Infotainment).
    ML7213 is completely compatible for Intel EG20T PCH.

    Signed-off-by: Tomoya MORINAGA
    Signed-off-by: Greg Kroah-Hartman

    Tomoya MORINAGA
     

04 Feb, 2011

1 commit

  • Add ML7213 device information.
    ML7213 is companion chip of Intel Atom E6xx series for IVI(In-Vehicle Infotainment).
    ML7213 is completely compatible for Intel EG20T PCH.

    Signed-off-by: Tomoya MORINAGA
    Signed-off-by: Greg Kroah-Hartman

    Tomoya MORINAGA
     

23 Oct, 2010

2 commits

  • This patch fixes up all of the build warnings for the pch_phub driver.

    Cc: Masayuki Ohtake
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • Packet hub driver of Topcliff PCH

    Topcliff PCH is the platform controller hub that is going to be used in
    Intel's upcoming general embedded platform. All IO peripherals in
    Topcliff PCH are actually devices sitting on AMBA bus. Packet hub is
    a special converter device in Topcliff PCH that translate AMBA transactions
    to PCI Express transactions and vice versa. Thus packet hub helps present
    all IO peripherals in Topcliff PCH as PCIE devices to IA system.
    Topcliff PCH has MAC address and Option ROM data.
    These data are in SROM which is connected to PCIE bus.
    Packet hub driver of Topcliff PCH can access MAC address and Option ROM data in
    SROM via sysfs interface.

    Signed-off-by: Greg Kroah-Hartman

    Masayuki Ohtak