Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
OpenBMC Firmware
talos-obmc-linux
Commits
04228460
Commit
04228460
authored
14 years ago
by
Russell King
Browse files
Options
Download
Plain Diff
Merge branch 'fix' of
git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6
parents
7c0ab43e
24c78557
Changes
259
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
106 additions
and
47 deletions
+106
-47
Documentation/accounting/getdelays.c
Documentation/accounting/getdelays.c
+1
-0
Documentation/kernel-parameters.txt
Documentation/kernel-parameters.txt
+0
-5
Documentation/scsi/scsi_mid_low_api.txt
Documentation/scsi/scsi_mid_low_api.txt
+31
-28
Documentation/trace/postprocess/trace-vmscan-postprocess.pl
Documentation/trace/postprocess/trace-vmscan-postprocess.pl
+10
-1
MAINTAINERS
MAINTAINERS
+2
-2
Makefile
Makefile
+1
-1
arch/arm/common/it8152.c
arch/arm/common/it8152.c
+1
-0
arch/arm/include/asm/hardware/it8152.h
arch/arm/include/asm/hardware/it8152.h
+1
-0
arch/arm/mach-at91/include/mach/at91_mci.h
arch/arm/mach-at91/include/mach/at91_mci.h
+2
-0
arch/arm/mach-ixp4xx/common-pci.c
arch/arm/mach-ixp4xx/common-pci.c
+1
-1
arch/arm/mach-pxa/sleep.S
arch/arm/mach-pxa/sleep.S
+2
-2
arch/arm/mach-s3c2412/Kconfig
arch/arm/mach-s3c2412/Kconfig
+7
-0
arch/arm/mach-s3c2412/Makefile
arch/arm/mach-s3c2412/Makefile
+2
-1
arch/arm/mach-s3c2416/Kconfig
arch/arm/mach-s3c2416/Kconfig
+1
-0
arch/arm/mach-s5pv210/mach-aquila.c
arch/arm/mach-s5pv210/mach-aquila.c
+6
-0
arch/arm/mach-s5pv210/mach-goni.c
arch/arm/mach-s5pv210/mach-goni.c
+6
-0
arch/arm/mach-shmobile/include/mach/entry-macro.S
arch/arm/mach-shmobile/include/mach/entry-macro.S
+26
-4
arch/arm/mach-shmobile/include/mach/vmalloc.h
arch/arm/mach-shmobile/include/mach/vmalloc.h
+1
-1
arch/arm/plat-s3c24xx/Kconfig
arch/arm/plat-s3c24xx/Kconfig
+1
-1
arch/mips/mm/sc-mips.c
arch/mips/mm/sc-mips.c
+4
-0
No files found.
Documentation/accounting/getdelays.c
View file @
04228460
...
...
@@ -516,6 +516,7 @@ int main(int argc, char *argv[])
default:
fprintf
(
stderr
,
"Unknown nla_type %d
\n
"
,
na
->
nla_type
);
case
TASKSTATS_TYPE_NULL
:
break
;
}
na
=
(
struct
nlattr
*
)
(
GENLMSG_DATA
(
&
msg
)
+
len
);
...
...
This diff is collapsed.
Click to expand it.
Documentation/kernel-parameters.txt
View file @
04228460
...
...
@@ -2175,11 +2175,6 @@ and is between 256 and 4096 characters. It is defined in the file
reset_devices [KNL] Force drivers to reset the underlying device
during initialization.
resource_alloc_from_bottom
Allocate new resources from the beginning of available
space, not the end. If you need to use this, please
report a bug.
resume= [SWSUSP]
Specify the partition device for software suspend
...
...
This diff is collapsed.
Click to expand it.
Documentation/scsi/scsi_mid_low_api.txt
View file @
04228460
...
...
@@ -1044,9 +1044,9 @@ Details:
/**
* queuecommand - queue scsi command, invoke 'done' on completion
* queuecommand - queue scsi command, invoke scp->scsi_done on completion
* @shost: pointer to the scsi host object
* @scp: pointer to scsi command object
* @done: function pointer to be invoked on completion
*
* Returns 0 on success.
*
...
...
@@ -1074,42 +1074,45 @@ Details:
*
* Other types of errors that are detected immediately may be
* flagged by setting scp->result to an appropriate value,
* invoking the 'done' callback, and then returning 0 from this
* function. If the command is not performed immediately (and the
* LLD is starting (or will start) the given command) then this
* function should place 0 in scp->result and return 0.
* invoking the scp->scsi_done callback, and then returning 0
* from this function. If the command is not performed
* immediately (and the LLD is starting (or will start) the given
* command) then this function should place 0 in scp->result and
* return 0.
*
* Command ownership. If the driver returns zero, it owns the
* command and must take responsibility for ensuring the 'done'
* callback is executed. Note: the driver may call done before
* returning zero, but after it has called done, it may not
* return any value other than zero. If the driver makes a
* non-zero return, it must not execute the command's done
* callback at any time.
*
* Locks: struct Scsi_Host::host_lock held on entry (with "irqsave")
* and is expected to be held on return.
* command and must take responsibility for ensuring the
* scp->scsi_done callback is executed. Note: the driver may
* call scp->scsi_done before returning zero, but after it has
* called scp->scsi_done, it may not return any value other than
* zero. If the driver makes a non-zero return, it must not
* execute the command's scsi_done callback at any time.
*
* Locks: up to and including 2.6.36, struct Scsi_Host::host_lock
* held on entry (with "irqsave") and is expected to be
* held on return. From 2.6.37 onwards, queuecommand is
* called without any locks held.
*
* Calling context: in interrupt (soft irq) or process context
*
* Notes: This function should be relatively fast. Normally it will
* not wait for IO to complete. Hence the 'done' callback is invoked
* (often directly from an interrupt service routine) some time after
* this function has returned. In some cases (e.g. pseudo adapter
* drivers that manufacture the response to a SCSI INQUIRY)
* the 'done' callback may be invoked before this function returns.
* If the 'done' callback is not invoked within a certain period
* the SCSI mid level will commence error processing.
* If a status of CHECK CONDITION is placed in "result" when the
* 'done' callback is invoked, then the LLD driver should
* perform autosense and fill in the struct scsi_cmnd::sense_buffer
* Notes: This function should be relatively fast. Normally it
* will not wait for IO to complete. Hence the scp->scsi_done
* callback is invoked (often directly from an interrupt service
* routine) some time after this function has returned. In some
* cases (e.g. pseudo adapter drivers that manufacture the
* response to a SCSI INQUIRY) the scp->scsi_done callback may be
* invoked before this function returns. If the scp->scsi_done
* callback is not invoked within a certain period the SCSI mid
* level will commence error processing. If a status of CHECK
* CONDITION is placed in "result" when the scp->scsi_done
* callback is invoked, then the LLD driver should perform
* autosense and fill in the struct scsi_cmnd::sense_buffer
* array. The scsi_cmnd::sense_buffer array is zeroed prior to
* the mid level queuing a command to an LLD.
*
* Defined in: LLD
**/
int queuecommand(struct scsi_cmnd * scp,
void (*done)(struct scsi_cmnd *))
int queuecommand(struct Scsi_Host *shost, struct scsi_cmnd * scp)
/**
...
...
This diff is collapsed.
Click to expand it.
Documentation/trace/postprocess/trace-vmscan-postprocess.pl
View file @
04228460
...
...
@@ -373,9 +373,18 @@ EVENT_PROCESS:
print
"
$regex_lru_isolate
/o
\n
";
next
;
}
my
$isolate_mode
=
$
1
;
my
$nr_scanned
=
$
4
;
my
$nr_contig_dirty
=
$
7
;
$perprocesspid
{
$process_pid
}
->
{
HIGH_NR_SCANNED
}
+=
$nr_scanned
;
# To closer match vmstat scanning statistics, only count isolate_both
# and isolate_inactive as scanning. isolate_active is rotation
# isolate_inactive == 0
# isolate_active == 1
# isolate_both == 2
if
(
$isolate_mode
!=
1
)
{
$perprocesspid
{
$process_pid
}
->
{
HIGH_NR_SCANNED
}
+=
$nr_scanned
;
}
$perprocesspid
{
$process_pid
}
->
{
HIGH_NR_CONTIG_DIRTY
}
+=
$nr_contig_dirty
;
}
elsif
(
$tracepoint
eq
"
mm_vmscan_lru_shrink_inactive
")
{
$details
=
$
5
;
...
...
This diff is collapsed.
Click to expand it.
MAINTAINERS
View file @
04228460
...
...
@@ -405,7 +405,7 @@ S: Supported
F: drivers/usb/gadget/amd5536udc.*
AMD GEODE PROCESSOR/CHIPSET SUPPORT
P:
Jordan Crouse
P:
Andres Salomon <dilinger@queued.net>
L: linux-geode@lists.infradead.org (moderated for non-subscribers)
W: http://www.amd.com/us-en/ConnectivitySolutions/TechnicalResources/0,,50_2334_2452_11363,00.html
S: Supported
...
...
@@ -4605,7 +4605,7 @@ F: drivers/pcmcia/
F: include/pcmcia/
PCNET32 NETWORK DRIVER
M: Don Fry <pcnet32@
verizon.net
>
M: Don Fry <pcnet32@
frontier.com
>
L: netdev@vger.kernel.org
S: Maintained
F: drivers/net/pcnet32.c
...
...
This diff is collapsed.
Click to expand it.
Makefile
View file @
04228460
VERSION
=
2
PATCHLEVEL
=
6
SUBLEVEL
=
37
EXTRAVERSION
=
-rc
6
EXTRAVERSION
=
-rc
8
NAME
=
Flesh-Eating Bats with Fangs
# *DOCUMENTATION*
...
...
This diff is collapsed.
Click to expand it.
arch/arm/common/it8152.c
View file @
04228460
...
...
@@ -352,3 +352,4 @@ struct pci_bus * __init it8152_pci_scan_bus(int nr, struct pci_sys_data *sys)
return
pci_scan_bus
(
nr
,
&
it8152_ops
,
sys
);
}
EXPORT_SYMBOL
(
dma_set_coherent_mask
);
This diff is collapsed.
Click to expand it.
arch/arm/include/asm/hardware/it8152.h
View file @
04228460
...
...
@@ -76,6 +76,7 @@ extern unsigned long it8152_base_address;
IT8152_PD_IRQ(0) Audio controller (ACR)
*/
#define IT8152_IRQ(x) (IRQ_BOARD_START + (x))
#define IT8152_LAST_IRQ (IRQ_BOARD_START + 40)
/* IRQ-sources in 3 groups - local devices, LPC (serial), and external PCI */
#define IT8152_LD_IRQ_COUNT 9
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-at91/include/mach/at91_mci.h
View file @
04228460
...
...
@@ -74,6 +74,8 @@
#define AT91_MCI_TRTYP_BLOCK (0 << 19)
#define AT91_MCI_TRTYP_MULTIPLE (1 << 19)
#define AT91_MCI_TRTYP_STREAM (2 << 19)
#define AT91_MCI_TRTYP_SDIO_BYTE (4 << 19)
#define AT91_MCI_TRTYP_SDIO_BLOCK (5 << 19)
#define AT91_MCI_BLKR 0x18
/* Block Register */
#define AT91_MCI_BLKR_BCNT(n) ((0xffff & (n)) << 0)
/* Block count */
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-ixp4xx/common-pci.c
View file @
04228460
...
...
@@ -513,4 +513,4 @@ int dma_set_coherent_mask(struct device *dev, u64 mask)
EXPORT_SYMBOL
(
ixp4xx_pci_read
);
EXPORT_SYMBOL
(
ixp4xx_pci_write
);
EXPORT_SYMBOL
(
dma_set_coherent_mask
);
This diff is collapsed.
Click to expand it.
arch/arm/mach-pxa/sleep.S
View file @
04228460
...
...
@@ -353,8 +353,8 @@ resume_turn_on_mmu:
@
Let
us
ensure
we
jump
to
resume_after_mmu
only
when
the
mcr
above
@
actually
took
effect
.
They
call
it
the
"cpwait"
operation
.
mrc
p15
,
0
,
r
1
,
c2
,
c0
,
0
@
queue
a
dependency
on
CP15
sub
pc
,
r2
,
r
1
,
lsr
#
32
@
jump
to
virtual
addr
mrc
p15
,
0
,
r
0
,
c2
,
c0
,
0
@
queue
a
dependency
on
CP15
sub
pc
,
r2
,
r
0
,
lsr
#
32
@
jump
to
virtual
addr
nop
nop
nop
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-s3c2412/Kconfig
View file @
04228460
...
...
@@ -28,9 +28,16 @@ config S3C2412_DMA
config S3C2412_PM
bool
select S3C2412_PM_SLEEP
help
Internal config node to apply S3C2412 power management
config S3C2412_PM_SLEEP
bool
help
Internal config node to apply sleep for S3C2412 power management.
Can be selected by another SoCs with similar sleep procedure.
# Note, the S3C2412 IOtiming support is in plat-s3c24xx
config S3C2412_CPUFREQ
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-s3c2412/Makefile
View file @
04228460
...
...
@@ -14,7 +14,8 @@ obj-$(CONFIG_CPU_S3C2412) += irq.o
obj-$(CONFIG_CPU_S3C2412)
+=
clock.o
obj-$(CONFIG_CPU_S3C2412)
+=
gpio.o
obj-$(CONFIG_S3C2412_DMA)
+=
dma.o
obj-$(CONFIG_S3C2412_PM)
+=
pm.o sleep.o
obj-$(CONFIG_S3C2412_PM)
+=
pm.o
obj-$(CONFIG_S3C2412_PM_SLEEP)
+=
sleep.o
obj-$(CONFIG_S3C2412_CPUFREQ)
+=
cpu-freq.o
# Machine support
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-s3c2416/Kconfig
View file @
04228460
...
...
@@ -27,6 +27,7 @@ config S3C2416_DMA
config S3C2416_PM
bool
select S3C2412_PM_SLEEP
help
Internal config node to apply S3C2416 power management
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-s5pv210/mach-aquila.c
View file @
04228460
...
...
@@ -378,6 +378,12 @@ static struct max8998_regulator_data aquila_regulators[] = {
static
struct
max8998_platform_data
aquila_max8998_pdata
=
{
.
num_regulators
=
ARRAY_SIZE
(
aquila_regulators
),
.
regulators
=
aquila_regulators
,
.
buck1_set1
=
S5PV210_GPH0
(
3
),
.
buck1_set2
=
S5PV210_GPH0
(
4
),
.
buck2_set3
=
S5PV210_GPH0
(
5
),
.
buck1_max_voltage1
=
1200000
,
.
buck1_max_voltage2
=
1200000
,
.
buck2_max_voltage
=
1200000
,
};
#endif
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-s5pv210/mach-goni.c
View file @
04228460
...
...
@@ -518,6 +518,12 @@ static struct max8998_regulator_data goni_regulators[] = {
static
struct
max8998_platform_data
goni_max8998_pdata
=
{
.
num_regulators
=
ARRAY_SIZE
(
goni_regulators
),
.
regulators
=
goni_regulators
,
.
buck1_set1
=
S5PV210_GPH0
(
3
),
.
buck1_set2
=
S5PV210_GPH0
(
4
),
.
buck2_set3
=
S5PV210_GPH0
(
5
),
.
buck1_max_voltage1
=
1200000
,
.
buck1_max_voltage2
=
1200000
,
.
buck2_max_voltage
=
1200000
,
};
#endif
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-shmobile/include/mach/entry-macro.S
View file @
04228460
/*
*
Copyright
(
C
)
2010
Magnus
Damm
*
Copyright
(
C
)
2008
Renesas
Solutions
Corp
.
*
*
This
program
is
free
software
; you can redistribute it and/or modify
...
...
@@ -14,24 +15,45 @@
*
along
with
this
program
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
USA
*/
#include <mach/hardware.h>
#include <mach/irqs.h>
#define INTCA_BASE 0xe6980000
#define INTFLGA_OFFS 0x00000018 /* accept pending interrupt */
#define INTEVTA_OFFS 0x00000020 /* vector number of accepted interrupt */
#define INTLVLA_OFFS 0x00000030 /* priority level of accepted interrupt */
#define INTLVLB_OFFS 0x00000034 /* previous priority level */
.
macro
disable_fiq
.
endm
.
macro
get_irqnr_preamble
,
base
,
tmp
ldr
\
base
,
=
INT
FLGA
ldr
\
base
,
=
INT
CA_BASE
.
endm
.
macro
arch_ret_to_user
,
tmp1
,
tmp2
.
endm
.
macro
get_irqnr_and_base
,
irqnr
,
irqstat
,
base
,
tmp
ldr
\
irqnr
,
[
\
base
]
/
*
The
single
INTFLGA
read
access
below
results
in
the
following
:
*
*
1
.
INTLVLB
is
updated
with
old
priority
value
from
INTLVLA
*
2
.
Highest
priority
interrupt
is
accepted
*
3
.
INTLVLA
is
updated
to
contain
priority
of
accepted
interrupt
*
4
.
Accepted
interrupt
vector
is
stored
in
INTFLGA
and
INTEVTA
*/
ldr
\
irqnr
,
[
\
base
,
#
INTFLGA_OFFS
]
/
*
Restore
INTLVLA
with
the
value
saved
in
INTLVLB
.
*
This
is
required
to
support
interrupt
priorities
properly
.
*/
ldrb
\
tmp
,
[
\
base
,
#
INTLVLB_OFFS
]
strb
\
tmp
,
[
\
base
,
#
INTLVLA_OFFS
]
/
*
Handle
invalid
vector
number
case
*/
cmp
\
irqnr
,
#
0
beq
1000
f
/
*
intevt
to
irq
number
*/
/
*
Convert
vector
to
irq
number
,
same
as
the
evt2irq
()
macro
*/
lsr
\
irqnr
,
\
irqnr
,
#
0x5
subs
\
irqnr
,
\
irqnr
,
#
16
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-shmobile/include/mach/vmalloc.h
View file @
04228460
...
...
@@ -2,6 +2,6 @@
#define __ASM_MACH_VMALLOC_H
/* Vmalloc at ... - 0xe5ffffff */
#define VMALLOC_END 0xe6000000
#define VMALLOC_END 0xe6000000
UL
#endif
/* __ASM_MACH_VMALLOC_H */
This diff is collapsed.
Click to expand it.
arch/arm/plat-s3c24xx/Kconfig
View file @
04228460
...
...
@@ -8,7 +8,7 @@ config PLAT_S3C24XX
default y
select NO_IOPORT
select ARCH_REQUIRE_GPIOLIB
select S3C_DEV
ICE
_NAND
select S3C_DEV_NAND
select S3C_GPIO_CFG_S3C24XX
help
Base platform code for any Samsung S3C24XX device
...
...
This diff is collapsed.
Click to expand it.
arch/mips/mm/sc-mips.c
View file @
04228460
...
...
@@ -68,6 +68,9 @@ static struct bcache_ops mips_sc_ops = {
*/
static
inline
int
mips_sc_is_activated
(
struct
cpuinfo_mips
*
c
)
{
unsigned
int
config2
=
read_c0_config2
();
unsigned
int
tmp
;
/* Check the bypass bit (L2B) */
switch
(
c
->
cputype
)
{
case
CPU_34K
:
...
...
@@ -83,6 +86,7 @@ static inline int mips_sc_is_activated(struct cpuinfo_mips *c)
c
->
scache
.
linesz
=
2
<<
tmp
;
else
return
0
;
return
1
;
}
static
inline
int
__init
mips_sc_probe
(
void
)
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
3
4
5
…
13
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment