Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64659
b: refs/heads/master
c: 0491d1f
h: refs/heads/master
i:
  64657: 5744373
  64655: fe75b4b
v: v3
  • Loading branch information
Ralf Baechle authored and Jeff Garzik committed Aug 31, 2007
1 parent 43ba1d7 commit f56701c
Show file tree
Hide file tree
Showing 110 changed files with 410 additions and 774 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5e7a39275b00ec881790ce47b8f7363fdfa097fa
refs/heads/master: 0491d1f3fd93f838d8bfb75b12acfba39d06a4da
2 changes: 1 addition & 1 deletion trunk/Documentation/i2c/busses/i2c-piix4
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Supported adapters:
Datasheet: Publicly available at the Intel website
* ServerWorks OSB4, CSB5, CSB6 and HT-1000 southbridges
Datasheet: Only available via NDA from ServerWorks
* ATI IXP200, IXP300, IXP400, SB600, SB700 and SB800 southbridges
* ATI IXP200, IXP300, IXP400, SB600 and SB700 southbridges
Datasheet: Not publicly available
* Standard Microsystems (SMSC) SLC90E66 (Victory66) southbridge
Datasheet: Publicly available at the SMSC website http://www.smsc.com
Expand Down
41 changes: 17 additions & 24 deletions trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@ trivial patch so apply some common sense.
or does something very odd once a month document it.

PLEASE remember that submissions must be made under the terms
of the OSDL certificate of contribution and should include a
Signed-off-by: line. The current version of this "Developer's
Certificate of Origin" (DCO) is listed in the file
Documentation/SubmittingPatches.
of the OSDL certificate of contribution
(http://www.osdl.org/newsroom/press_releases/2004/2004_05_24_dco.html)
and should include a Signed-off-by: line.

6. Make sure you have the right to send any changes you make. If you
do changes at work you may find your employer owns the patch
Expand Down Expand Up @@ -2058,18 +2057,12 @@ L: http://lists.sourceforge.net/mailman/listinfo/ipw2100-devel
W: http://ipw2200.sourceforge.net
S: Supported

IOC3 ETHERNET DRIVER
IOC3 DRIVER
P: Ralf Baechle
M: ralf@linux-mips.org
L: linux-mips@linux-mips.org
S: Maintained

IOC3 SERIAL DRIVER
P: Pat Gefre
M: pfg@sgi.com
L: linux-kernel@linux-mips.org
S: Maintained

IP MASQUERADING:
P: Juanjo Ciarlante
M: jjciarla@raiz.uncu.edu.ar
Expand Down Expand Up @@ -2601,19 +2594,6 @@ M: shemminger@linux-foundation.org
L: netem@lists.linux-foundation.org
S: Maintained

NETERION (S2IO) Xframe 10GbE DRIVER
P: Ramkrishna Vepa
M: ram.vepa@neterion.com
P: Rastapur Santosh
M: santosh.rastapur@neterion.com
P: Sivakumar Subramani
M: sivakumar.subramani@neterion.com
P: Sreenivasa Honnur
M: sreenivasa.honnur@neterion.com
L: netdev@vger.kernel.org
W: http://trac.neterion.com/cgi-bin/trac.cgi/wiki/TitleIndex?anonymous
S: Supported

NETFILTER/IPTABLES/IPCHAINS
P: Rusty Russell
P: Marc Boucher
Expand Down Expand Up @@ -2754,6 +2734,19 @@ M: adaplas@gmail.com
L: linux-fbdev-devel@lists.sourceforge.net (subscribers-only)
S: Maintained

NETERION (S2IO) Xframe 10GbE DRIVER
P: Ramkrishna Vepa
M: ram.vepa@neterion.com
P: Rastapur Santosh
M: santosh.rastapur@neterion.com
P: Sivakumar Subramani
M: sivakumar.subramani@neterion.com
P: Sreenivasa Honnur
M: sreenivasa.honnur@neterion.com
L: netdev@vger.kernel.org
W: http://trac.neterion.com/cgi-bin/trac.cgi/wiki/TitleIndex?anonymous
S: Supported

OPENCORES I2C BUS DRIVER
P: Peter Korsgaard
M: jacmet@sunsite.dk
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/i386/mm/hugetlbpage.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ hugetlb_get_unmapped_area(struct file *file, unsigned long addr,
return -ENOMEM;

if (flags & MAP_FIXED) {
if (prepare_hugepage_range(addr, len))
if (prepare_hugepage_range(addr, len, pgoff))
return -EINVAL;
return addr;
}
Expand Down
6 changes: 4 additions & 2 deletions trunk/arch/ia64/mm/hugetlbpage.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,10 @@ int huge_pmd_unshare(struct mm_struct *mm, unsigned long *addr, pte_t *ptep)
* Don't actually need to do any preparation, but need to make sure
* the address is in the right region.
*/
int prepare_hugepage_range(unsigned long addr, unsigned long len)
int prepare_hugepage_range(unsigned long addr, unsigned long len, pgoff_t pgoff)
{
if (pgoff & (~HPAGE_MASK >> PAGE_SHIFT))
return -EINVAL;
if (len & ~HPAGE_MASK)
return -EINVAL;
if (addr & ~HPAGE_MASK)
Expand Down Expand Up @@ -149,7 +151,7 @@ unsigned long hugetlb_get_unmapped_area(struct file *file, unsigned long addr, u

/* Handle MAP_FIXED */
if (flags & MAP_FIXED) {
if (prepare_hugepage_range(addr, len))
if (prepare_hugepage_range(addr, len, pgoff))
return -EINVAL;
return addr;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/mips/tx4938/toshiba_rbtx4938/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ static void __init txx9_spi_init(unsigned long base, int irq)
.flags = IORESOURCE_IRQ,
},
};
platform_device_register_simple("spi_txx9", 0,
platform_device_register_simple("txx9spi", 0,
res, ARRAY_SIZE(res));
}

Expand Down
27 changes: 4 additions & 23 deletions trunk/arch/sparc64/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,27 +217,8 @@ struct irq_handler_data {
void (*pre_handler)(unsigned int, void *, void *);
void *pre_handler_arg1;
void *pre_handler_arg2;

u32 msi;
};

void sparc64_set_msi(unsigned int virt_irq, u32 msi)
{
struct irq_handler_data *data = get_irq_chip_data(virt_irq);

if (data)
data->msi = msi;
}

u32 sparc64_get_msi(unsigned int virt_irq)
{
struct irq_handler_data *data = get_irq_chip_data(virt_irq);

if (data)
return data->msi;
return 0xffffffff;
}

static inline struct ino_bucket *virt_irq_to_bucket(unsigned int virt_irq)
{
unsigned int real_irq = virt_to_real_irq(virt_irq);
Expand Down Expand Up @@ -327,7 +308,7 @@ static void sun4u_irq_disable(unsigned int virt_irq)

if (likely(data)) {
unsigned long imap = data->imap;
unsigned long tmp = upa_readq(imap);
u32 tmp = upa_readq(imap);

tmp &= ~IMAP_VALID;
upa_writeq(tmp, imap);
Expand Down Expand Up @@ -760,7 +741,7 @@ unsigned int sun4v_build_msi(u32 devhandle, unsigned int *virt_irq_p,
break;
}
if (devino >= msi_end)
return -ENOSPC;
return 0;

sysino = sun4v_devino_to_sysino(devhandle, devino);
bucket = &ivector_table[sysino];
Expand All @@ -774,8 +755,8 @@ unsigned int sun4v_build_msi(u32 devhandle, unsigned int *virt_irq_p,

data = kzalloc(sizeof(struct irq_handler_data), GFP_ATOMIC);
if (unlikely(!data)) {
virt_irq_free(*virt_irq_p);
return -ENOMEM;
prom_printf("IRQ: kzalloc(irq_handler_data) failed.\n");
prom_halt();
}
set_irq_chip_data(bucket->virt_irq, data);

Expand Down
1 change: 1 addition & 0 deletions trunk/arch/sparc64/kernel/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ struct pci_dev *of_create_pci_dev(struct pci_pbm_info *pbm,
sd->host_controller = pbm;
sd->prom_node = node;
sd->op = of_find_device_by_node(node);
sd->msi_num = 0xffffffff;

sd = &sd->op->dev.archdata;
sd->iommu = pbm->iommu;
Expand Down
18 changes: 10 additions & 8 deletions trunk/arch/sparc64/kernel/pci_sun4v.c
Original file line number Diff line number Diff line change
Expand Up @@ -940,13 +940,13 @@ static int pci_sun4v_setup_msi_irq(unsigned int *virt_irq_p,
if (msi_num < 0)
return msi_num;

err = sun4v_build_msi(pbm->devhandle, virt_irq_p,
pbm->msiq_first_devino,
(pbm->msiq_first_devino +
pbm->msiq_num));
if (err < 0)
devino = sun4v_build_msi(pbm->devhandle, virt_irq_p,
pbm->msiq_first_devino,
(pbm->msiq_first_devino +
pbm->msiq_num));
err = -ENOMEM;
if (!devino)
goto out_err;
devino = err;

msiqid = ((devino - pbm->msiq_first_devino) +
pbm->msiq_first);
Expand All @@ -971,7 +971,7 @@ static int pci_sun4v_setup_msi_irq(unsigned int *virt_irq_p,
if (pci_sun4v_msi_setvalid(pbm->devhandle, msi_num, HV_MSIVALID_VALID))
goto out_err;

sparc64_set_msi(*virt_irq_p, msi_num);
pdev->dev.archdata.msi_num = msi_num;

if (entry->msi_attrib.is_64) {
msg.address_hi = pbm->msi64_start >> 32;
Expand All @@ -993,6 +993,8 @@ static int pci_sun4v_setup_msi_irq(unsigned int *virt_irq_p,

out_err:
free_msi(pbm, msi_num);
sun4v_destroy_msi(*virt_irq_p);
*virt_irq_p = 0;
return err;

}
Expand All @@ -1004,7 +1006,7 @@ static void pci_sun4v_teardown_msi_irq(unsigned int virt_irq,
unsigned long msiqid, err;
unsigned int msi_num;

msi_num = sparc64_get_msi(virt_irq);
msi_num = pdev->dev.archdata.msi_num;
err = pci_sun4v_msi_getmsiq(pbm->devhandle, msi_num, &msiqid);
if (err) {
printk(KERN_ERR "%s: getmsiq gives error %lu\n",
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/sparc64/mm/hugetlbpage.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ hugetlb_get_unmapped_area(struct file *file, unsigned long addr,
return -ENOMEM;

if (flags & MAP_FIXED) {
if (prepare_hugepage_range(addr, len))
if (prepare_hugepage_range(addr, len, pgoff))
return -EINVAL;
return addr;
}
Expand Down
12 changes: 5 additions & 7 deletions trunk/arch/um/kernel/dyn.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,11 @@ SECTIONS
*(.gnu.warning)

. = ALIGN(4096);
__syscall_stub_start = .;
*(.__syscall_stub*)
__syscall_stub_end = .;
. = ALIGN(4096);
} =0x90909090
. = ALIGN(4096);
.syscall_stub : {
__syscall_stub_start = .;
*(.__syscall_stub*)
__syscall_stub_end = .;
}
.fini : {
KEEP (*(.fini))
} =0x90909090
Expand Down Expand Up @@ -140,8 +138,8 @@ SECTIONS
.got : { *(.got.plt) *(.got) }
_edata = .;
PROVIDE (edata = .);
__bss_start = .;
.bss : {
__bss_start = .;
*(.dynbss)
*(.bss .bss.* .gnu.linkonce.b.*)
*(COMMON)
Expand Down
11 changes: 5 additions & 6 deletions trunk/arch/um/kernel/uml.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,12 @@ SECTIONS
/* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning)
*(.gnu.linkonce.t*)
}

. = ALIGN(4096);
.syscall_stub : {
__syscall_stub_start = .;
*(.__syscall_stub*)
__syscall_stub_end = .;
. = ALIGN(4096);
__syscall_stub_start = .;
*(.__syscall_stub*)
__syscall_stub_end = .;
. = ALIGN(4096);
}

#include "asm/common.lds.S"
Expand Down
15 changes: 0 additions & 15 deletions trunk/arch/um/os-Linux/sys-x86_64/registers.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/

#include <errno.h>
#include <sys/ptrace.h>
#include <string.h>
#include "ptrace_user.h"
#include "uml-config.h"
Expand All @@ -18,20 +17,6 @@
static unsigned long exec_regs[MAX_REG_NR];
static unsigned long exec_fp_regs[HOST_FP_SIZE];

int save_fp_registers(int pid, unsigned long *fp_regs)
{
if(ptrace(PTRACE_GETFPREGS, pid, 0, fp_regs) < 0)
return -errno;
return 0;
}

int restore_fp_registers(int pid, unsigned long *fp_regs)
{
if(ptrace(PTRACE_SETFPREGS, pid, 0, fp_regs) < 0)
return -errno;
return 0;
}

void init_thread_registers(union uml_pt_regs *to)
{
memcpy(to->skas.regs, exec_regs, sizeof(to->skas.regs));
Expand Down
6 changes: 6 additions & 0 deletions trunk/arch/um/sys-x86_64/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@ int is_syscall(unsigned long addr)
return(instr == 0x050f);
}

int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu )
{
panic("dump_fpu");
return(1);
}

int get_fpregs(unsigned long buf, struct task_struct *child)
{
panic("get_fpregs");
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/x86_64/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
CONFIG_HIBERNATION=y
CONFIG_PM_STD_PARTITION=""
CONFIG_SUSPEND_SMP=y

#
# ACPI (Advanced Configuration and Power Interface) Support
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/ata/ata_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <linux/libata.h>

#define DRV_NAME "ata_generic"
#define DRV_VERSION "0.2.13"
#define DRV_VERSION "0.2.12"

/*
* A generic parallel ATA driver using libata
Expand Down
Loading

0 comments on commit f56701c

Please sign in to comment.