]> rtime.felk.cvut.cz Git - zynq/linux.git/log
zynq/linux.git
13 years agoXilinx: ARM: BSP: Updating test defconfigs for USB pele-alpha2_3.0-release
John Linn [Mon, 6 Dec 2010 19:21:08 +0000 (12:21 -0700)]
Xilinx: ARM: BSP: Updating test defconfigs for USB

This also updates them to match the non-test defconfigs while still
having some test options on.

13 years agoXilinx: ARM: BSP: update defconfigs to include USB
John Linn [Mon, 6 Dec 2010 17:24:16 +0000 (10:24 -0700)]
Xilinx: ARM: BSP: update defconfigs to include USB

The USB driver, host and gagdet, are now working such that USB
should be the default.

13 years agoXilinx: ARM: PSS: Modified the linux usb host controller driver for USB
Naveen Mamindlapalli [Mon, 6 Dec 2010 14:17:00 +0000 (19:47 +0530)]
Xilinx: ARM: PSS: Modified the linux usb host controller driver for USB

Modified the existing linux host controller driver for PSS USB controller changes
and updated the Kconfig files to include the driver in the linux kernel config.

Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com>
13 years agoXilinx: ARM: PSS: Modified the linux usb gadget controller driver
Naveen Mamindlapalli [Mon, 6 Dec 2010 14:13:06 +0000 (19:43 +0530)]
Xilinx: ARM: PSS: Modified the linux usb gadget controller driver

Modified the existing linux gadget controller driver for PSS USB controller changes
and updated the Kconfig file to include the driver in the linux kernel config.

Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com>
13 years agoXilinx: ARM: BSP: Adding USB interrupts
Naveen Mamindlapalli [Mon, 6 Dec 2010 14:09:12 +0000 (19:39 +0530)]
Xilinx: ARM: BSP: Adding USB interrupts

USB interrupt definitions are added.

Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com>
13 years agoXilinx: ARM: BSP: Adding PSS USB controller definitions
Naveen Mamindlapalli [Mon, 6 Dec 2010 14:06:01 +0000 (19:36 +0530)]
Xilinx: ARM: BSP: Adding PSS USB controller definitions

Added the PSS USB controller definitions for host and device mode.

Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com>
13 years agoXilinx: ARM: Updated test defconfigs to use M25 QSPI Flash driver
John Linn [Sat, 4 Dec 2010 16:26:18 +0000 (09:26 -0700)]
Xilinx: ARM: Updated test defconfigs to use M25 QSPI Flash driver

This driver is needed for testing the QSPI flash.

13 years agoXilinx: ARM: Updated NOR partition names to be clearer
John Linn [Thu, 2 Dec 2010 16:42:51 +0000 (09:42 -0700)]
Xilinx: ARM: Updated NOR partition names to be clearer

Since these are in the defconfig files, all must be updated.

13 years agoXilinx: ARM: Updated defconfigs for new partitions in NOR
John Linn [Thu, 2 Dec 2010 16:24:20 +0000 (09:24 -0700)]
Xilinx: ARM: Updated defconfigs for new partitions in NOR

Forgot to add FSBL partition in NOR.

13 years agoXilinx: ARM: BSP: update test defconfigs for new NAND partitions
John Linn [Thu, 2 Dec 2010 14:51:42 +0000 (07:51 -0700)]
Xilinx: ARM: BSP: update test defconfigs for new NAND partitions

Code was added to the NAND driver so that partitions don't have
to be on the command line. The new partitions were added.

13 years agoXilinx: ARM: NAND: Clearing the interrupt in dev_ready function
Naveen Mamindlapalli [Wed, 1 Dec 2010 08:44:11 +0000 (14:14 +0530)]
Xilinx: ARM: NAND: Clearing the interrupt in dev_ready function

The interrupt is cleared in the dev_ready function so that mtd subsystem
reads the correct NAND flash status. The code cleanup is done.

Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com>
13 years agoXilinx: ARM: MTD: Timeout change for HZ value 20
Naveen Mamindlapalli [Wed, 1 Dec 2010 08:39:36 +0000 (14:09 +0530)]
Xilinx: ARM: MTD: Timeout change for HZ value 20

Now the timeout is incremented for HZ value of 20 only.

Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com>
13 years agoXilinx: ARM: BSP: Adding NAND partitions and altering QSPI partitions
John Linn [Tue, 30 Nov 2010 00:42:13 +0000 (17:42 -0700)]
Xilinx: ARM: BSP: Adding NAND partitions and altering QSPI partitions

This commit adds NAND partitions and makes the FSBL partition in the
QSPI.

It sort of is needed for the previous commit for NAND partition support
to the driver as this now creates the platform data for that commit.

13 years agoXilinx: ARM: NAND: adding platform partition support
John Linn [Tue, 30 Nov 2010 00:41:11 +0000 (17:41 -0700)]
Xilinx: ARM: NAND: adding platform partition support

This adds support so that partitions don't have to be specified on
the command line.

13 years agoXilinx: ARM: Updated defconfigs to use CONFIG_PACKET
John Linn [Wed, 24 Nov 2010 16:02:08 +0000 (09:02 -0700)]
Xilinx: ARM: Updated defconfigs to use CONFIG_PACKET

This feature is needed in the kernel for the dhcp client (udhcpc) to
work in busybox.

13 years agoXilinx: ARM: QSPI driver: Use 128 byte pages in MTD driver
Sadanand M [Mon, 22 Nov 2010 06:58:30 +0000 (12:28 +0530)]
Xilinx: ARM: QSPI driver: Use 128 byte pages in MTD driver

There seems to be a problem in the QSPI because of which
writes larger than FIFO size are causing a problem (the
last word in some pages is corrupt). This patch hacks the
m25p80.c driver to use a smaller page size so that there
is no issue with page writes.

Signed-off-by: Sadanand M <sadanan@xilinx.com>
13 years agoXilinx: ARM: QSPI driver: Hack to transmit PP command & addr together
Sadanand M [Mon, 22 Nov 2010 06:49:18 +0000 (12:19 +0530)]
Xilinx: ARM: QSPI driver: Hack to transmit PP command & addr together

There seems to be some problem with QPSI, because of which
some page writes aren't happenning correctly when command
and data are transmitted seperately. This patch hacks the
driver such that data and command are transmitted together,
to fix the issue.

Signed-off-by: Sadanand M <sadanan@xilinx.com>
13 years agoXilinx: ARM: QSPI driver: Fix a bug in copy_read_data
Sadanand M [Mon, 22 Nov 2010 06:32:29 +0000 (12:02 +0530)]
Xilinx: ARM: QSPI driver: Fix a bug in copy_read_data

Add a pair of missing parentheses in xqspipss_copy_read_data(),
which was causing the function to return wrong data, when the
requested length is 3

Signed-off-by: Sadanand M <sadanan@xilinx.com>
13 years agoXilinx: ARM: QSPI driver: Disable linear mode
Sadanand M [Tue, 16 Nov 2010 10:13:09 +0000 (15:43 +0530)]
Xilinx: ARM: QSPI driver: Disable linear mode

Disable linear mode while initializing the controller, in case
this mode may have been used by the boot loader

Signed-off-by: Sadanand M <sadanan@xilinx.com>
13 years agoXilinx: ARM: QSPI driver: Replace white spaces with tabs
Sadanand M [Tue, 16 Nov 2010 10:04:08 +0000 (15:34 +0530)]
Xilinx: ARM: QSPI driver: Replace white spaces with tabs

Replace the white spaces in xqspipss_copy_read_data and
xqspipss_copy_write_data with tabs

Signed-off-by: Sadanand M <sadanan@xilinx.com>
13 years agoXilinx: ARM: QSPI driver: Remove redundant code
Sadanand M [Tue, 16 Nov 2010 09:54:51 +0000 (15:24 +0530)]
Xilinx: ARM: QSPI driver: Remove redundant code

Remove the lines of code which set the value of the Threshold
register to 127, in the xqspipss_fill_tx_fifo() function. This
code has crept in during testing and is not required

Signed-off-by: Sadanand M <sadanan@xilinx.com>
13 years agoXilinx: ARM: QSPI driver: Fix instruction size for WR SR
Sadanand M [Tue, 16 Nov 2010 09:48:15 +0000 (15:18 +0530)]
Xilinx: ARM: QSPI driver: Fix instruction size for WR SR

Fix the instruction size and the tx register offset for
the Write Status register instruction (op code 0x1)

Signed-off-by: Sadanand M <sadanan@xilinx.com>
13 years agoXilinx: ARM: QSPI driver: Check for instructions only in 1st message
Sadanand M [Tue, 16 Nov 2010 09:33:42 +0000 (15:03 +0530)]
Xilinx: ARM: QSPI driver: Check for instructions only in 1st message

Use a flag to indicate the first message in a transfer request
list and check for the instuctions only in the first message of
a request. This is to avoid treating data as instructions and
accidentally writing them to the wrong Tx register

Signed-off-by: Sadanand M <sadanan@xilinx.com>
13 years agoXilinx: ARM: QSPI driver: Use Tx not empty intr to recv data
Sadanand M [Tue, 16 Nov 2010 09:22:15 +0000 (14:52 +0530)]
Xilinx: ARM: QSPI driver: Use Tx not empty intr to recv data

Use the Rx not empty interrupt, along with the Tx empty intr
to check if there is valid data in the Rx FIFO

Signed-off-by: Sadanand M <sadanan@xilinx.com>
13 years agoXilinx: ARM: QSPI driver: Disable CS before last message in the list
Sadanand M [Tue, 16 Nov 2010 09:04:08 +0000 (14:34 +0530)]
Xilinx: ARM: QSPI driver: Disable CS before last message in the list

Disable the chip select, before the last message in the transfer list,
if requested by the higher layer drivers

Signed-off-by: Sadanand M <sadanan@xilinx.com>
13 years agoMerge branch 'master' of /home/linnj/linux_arm/devel/linux-2.6-xarm
GIT Repo [Mon, 8 Nov 2010 23:27:17 +0000 (16:27 -0700)]
Merge branch 'master' of /home/linnj/linux_arm/devel/linux-2.6-xarm

Resolved Conflicts:

arch/arm/configs/xilinx_defconfig

13 years agoXilinx: ARM: Updating test defconfigs for SD and QSPI
John Linn [Mon, 8 Nov 2010 23:13:54 +0000 (16:13 -0700)]
Xilinx: ARM: Updating test defconfigs for SD and QSPI

These are needed for testing.

13 years agoXilinx: ARM: Updated test defconfigs to use high res timers
John Linn [Mon, 8 Nov 2010 23:05:34 +0000 (16:05 -0700)]
Xilinx: ARM: Updated test defconfigs to use high res timers

Since the other defconfigs use high res we want to test with high res.

13 years agoXilinx: ARM: Updated defconfigs to use high res timers
John Linn [Mon, 8 Nov 2010 22:57:54 +0000 (15:57 -0700)]
Xilinx: ARM: Updated defconfigs to use high res timers

Since they are working, make them the default so that they are tested
better.

13 years agoXilinx: ARM: Removed HZ=20 to return to normal HZ
John Linn [Mon, 8 Nov 2010 22:53:10 +0000 (15:53 -0700)]
Xilinx: ARM: Removed HZ=20 to return to normal HZ

This is needed for high res timers to work right. The kernel seems
to behave poorly with HZ=20 such that the console doesn't work.

13 years agoRevert "Revert "Xilinx: ARM: Updated timer to have one-shot mode for high res timers""
John Linn [Mon, 8 Nov 2010 19:24:33 +0000 (12:24 -0700)]
Revert "Revert "Xilinx: ARM: Updated timer to have one-shot mode for high res timers""

This reverts commit eaf007544d69d7578cfd05fd00d83e562662a810.

13 years agoMerge branch 'pele-peep7'
GIT Repo [Fri, 29 Oct 2010 16:46:16 +0000 (10:46 -0600)]
Merge branch 'pele-peep7'

13 years agoMerge branch 'pele-peep7' of /home/linnj/linux_arm/devel/linux-2.6-xlnx-peep5 into...
GIT Repo [Fri, 29 Oct 2010 16:45:55 +0000 (10:45 -0600)]
Merge branch 'pele-peep7' of /home/linnj/linux_arm/devel/linux-2.6-xlnx-peep5 into pele-peep7

13 years agoMerge branch 'pele-alpha2' of /home/linnj/linux_arm/devel/linux-2.6-xarm
GIT Repo [Fri, 29 Oct 2010 16:11:24 +0000 (10:11 -0600)]
Merge branch 'pele-alpha2' of /home/linnj/linux_arm/devel/linux-2.6-xarm

13 years agoXilinx: ARM: Updated def configs to have loop device
John Linn [Fri, 29 Oct 2010 15:43:32 +0000 (09:43 -0600)]
Xilinx: ARM: Updated def configs to have loop device

The loop device is needed to be able to mount a ramdisk image and make
changes to it.

13 years agoXilinx: ARM: Cleanup of development files
John Linn [Wed, 27 Oct 2010 16:39:29 +0000 (10:39 -0600)]
Xilinx: ARM: Cleanup of development files

This removes the ramdisk images and other clutter that shouldn't
be in the repos now that things are more mature.

13 years agoXilinx: ARM: Updated defconfigs to add SD/MMC and QSPI pele-alpha2_2.0-release
John Linn [Wed, 27 Oct 2010 17:35:24 +0000 (11:35 -0600)]
Xilinx: ARM: Updated defconfigs to add SD/MMC and QSPI

The kernel will now include the drivers for these devices.

13 years agoXilinx: SPI flash driver: Add Numonyx flash info
Sadanand M [Tue, 26 Oct 2010 16:23:21 +0000 (21:53 +0530)]
Xilinx: SPI flash driver: Add Numonyx flash info

Update the m25p80.c driver with the Numonyx flash information
present on PEEP.

Signed-off-by: Sadanand M <sadanan@xilinx.com>
13 years agoarm: Xilinx: QSPI: Add flash_platform_data info for qspi flash
Sadanand M [Tue, 26 Oct 2010 16:16:20 +0000 (21:46 +0530)]
arm: Xilinx: QSPI: Add flash_platform_data info for qspi flash

Add flash_platform_data info and partition info for the qspi
flash, in devices.c

Signed-off-by: Sadanand M <sadanan@xilinx.com>
13 years agoarm: XIlinx: QSPI driver: Update command sizes & allow data only transfers
Sadanand M [Tue, 26 Oct 2010 15:09:43 +0000 (20:39 +0530)]
arm: XIlinx: QSPI driver: Update command sizes & allow data only transfers

These changes allow this driver to be used with the standard way of
transmitting SPI data in Linux. This enables the driver to be used
with the m25p80.c driver, among others.

Signed-off-by: Sadanand M <sadanan@xilinx.com>
13 years agoarm: Xilinx: QSPI driver: bug fixes
Sadanand M [Tue, 26 Oct 2010 05:45:27 +0000 (11:15 +0530)]
arm: Xilinx: QSPI driver: bug fixes

Fix a bug while checking the array size in xqspipss_start_transfer
and update xqspipss_copy_read_data, xqspipss_copy_read_data to
set bytes_to_transfer and bytes_to_receive to 0, when they are < 0

Signed-off-by: Sadanand M <sadanan@xilinx.com>
13 years agoXilinx: ARM: Updated GEM driver to not output PHY reg dump
John Linn [Fri, 22 Oct 2010 17:03:30 +0000 (11:03 -0600)]
Xilinx: ARM: Updated GEM driver to not output PHY reg dump

The PHY reg dump was changed from DEBUG to DEBUG verbose to help
reduce some debug info.

13 years agoXilinx: ARM: Update L2 controller latency settings
John Linn [Fri, 22 Oct 2010 16:09:05 +0000 (10:09 -0600)]
Xilinx: ARM: Update L2 controller latency settings

This patch was provided as a diff from Sandeep Dutta. It improved
the EEMBC benchmark results.

13 years agoRevert "temp commit testing qspi flash, not working yet"
John Linn [Thu, 14 Oct 2010 21:32:23 +0000 (15:32 -0600)]
Revert "temp commit testing qspi flash, not working yet"

This reverts commit 012667be984680dd1766cd2b9dcf0ef6e60e61e7.

This was test code that's not working, but was under layers of new
commits to update the QSPI Flash driver.

13 years agomtd/m25p80: retlen is never NULL
Dan Carpenter [Thu, 12 Aug 2010 07:53:52 +0000 (09:53 +0200)]
mtd/m25p80: retlen is never NULL

This is just a cleanup, it doesn't fix any bugs.

These functions all check retlen inconsistently and it generates a
warning in Smatch (http://smatch.sf.net).  If retlen were ever NULL it
would cause an oops and the code has been this way since 2006 so someone
would have complained.  Also I looked at other places that implemented
the mtd read and write functions and they dereference retlen without
checking.

I removed the checks.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
13 years agomtd: m25p80: add support for the Winbond W25Q32 SPI flash chip
Gabor Juhos [Wed, 4 Aug 2010 19:14:27 +0000 (21:14 +0200)]
mtd: m25p80: add support for the Winbond W25Q32 SPI flash chip

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
13 years agomtd: m25p80: add support for the Intel/Numonyx {16,32,64}0S33B SPI flash chips
Gabor Juhos [Thu, 5 Aug 2010 14:58:36 +0000 (16:58 +0200)]
mtd: m25p80: add support for the Intel/Numonyx {16,32,64}0S33B SPI flash chips

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
13 years agomtd: m25p80: add support for the EON EN25P{32, 64} SPI flash chips
Gabor Juhos [Wed, 4 Aug 2010 19:14:25 +0000 (21:14 +0200)]
mtd: m25p80: add support for the EON EN25P{32, 64} SPI flash chips

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
13 years agomtd: m25p80: Make jedec_probe() return proper errno values
Anton Vorontsov [Tue, 22 Jun 2010 16:57:42 +0000 (20:57 +0400)]
mtd: m25p80: Make jedec_probe() return proper errno values

spi_write_then_read() may return its own return codes (e.g. -EIO),
so let's propagate the value down to the probe().

Also, remove jedec == 0 check, it isn't needed as nowadays we use
dedicated SPI device IDs for non-JEDEC flashes.

Suggested-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Anton Vorontsov <avorontsov@mvista.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
13 years agomtd: m25p80: Fix false-positive probing
Anton Vorontsov [Tue, 22 Jun 2010 16:57:34 +0000 (20:57 +0400)]
mtd: m25p80: Fix false-positive probing

Since commit 18c6182bae0acca220ed6611f741034d563cd19f ("Rework
probing/JEDEC code"), m25p80 driver successfully registers chips
even if JEDEC probing fails.

This was needed to support non-JEDEC flashes. Though, it appears
that some platforms (e.g. blackfin bf533 stamp[1]) used the old
behavior to detect if there's any flash connected, so the driver
have to fail on JEDEC probing errors.

This patch restores the old behavior for JEDEC flashes, and adds
"-nonjedec" SPI device IDs for M25Pxx flashes, so that the kernel
still supports non-JEDEC flashes.

[1] http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=5975

Reported-by: Mingquan Pan
Reported-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Anton Vorontsov <avorontsov@mvista.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
13 years agomtd: m25p80: Add support for Macronix 25L8005
Martin Michlmayr [Mon, 7 Jun 2010 18:31:01 +0000 (19:31 +0100)]
mtd: m25p80: Add support for Macronix 25L8005

Add support for Macronix 25L8005.  Tested on a HP t5325 Thin Client.

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
13 years agotemp commit testing qspi flash, not working yet
John Linn [Thu, 14 Oct 2010 18:38:13 +0000 (12:38 -0600)]
temp commit testing qspi flash, not working yet

13 years agoXilinx: ARM: QSPI: updating makefile and kconfig file for new driver
John Linn [Thu, 14 Oct 2010 18:14:08 +0000 (12:14 -0600)]
Xilinx: ARM: QSPI: updating makefile and kconfig file for new driver

The previous commit forgot these details for the new driver. This
also renames the driver file (not everything in the file) so that
it matches other driver file names.

13 years agoARM: Xilinx: QSPI: New driver for the QSPI controller
Sadanand M [Thu, 14 Oct 2010 11:25:23 +0000 (16:55 +0530)]
ARM: Xilinx: QSPI: New driver for the QSPI controller

This driver supports the QSPI flash on PEEP. It supports most
of the generic flash commands. New commands supported by a
specific flash can be easily added to the driver

Signed-off-by: Sadanand M <sadanan@xilinx.com>
13 years agoARM: Xilinx: sdhci.c: Temp hack for card ins status
Sadanand M [Thu, 14 Oct 2010 10:36:12 +0000 (16:06 +0530)]
ARM: Xilinx: sdhci.c: Temp hack for card ins status

Hack the Generic SDIO host controller driver, to not check
for the card insertion status, as the SDIO controller on
PEEP doesn't update this status. Without this hack the
driver assumes that there is no card and errors out

Signed-off-by: Sadanand M <sadanan@xilinx.com>
13 years agoARM: Xilinx: SDIO: Add platform device info
Sadanand M [Thu, 14 Oct 2010 10:31:10 +0000 (16:01 +0530)]
ARM: Xilinx: SDIO: Add platform device info

Add the platform device info for the SDIO controllers in Pele.
These SDIO controllers use the generic SDIO host controller
driver (sdhci.c). This patch also hacks the sdhci.c driver
to not check the card insertion status since this status is
not being reflected in the SDIO controllers on PEEP.

Signed-off-by: Sadanand M <sadanan@xilinx.com>
13 years agoXilinx: PSS NAND Controller driver
Naveen Mamindlapalli [Wed, 13 Oct 2010 13:06:57 +0000 (18:36 +0530)]
Xilinx: PSS NAND Controller driver

Added the HW ECC functionality & modified driver with
raw_int_status1 polling fix in the design.

Signed-off-by: Naveen naveenm@xilinx.com
13 years agoXilinx: ARM: updating kernel def configs to use NEON and VFP
John Linn [Thu, 7 Oct 2010 18:31:24 +0000 (12:31 -0600)]
Xilinx: ARM: updating kernel def configs to use NEON and VFP

To maximize number of features on all the time, the kernel defconfigs
are being updated to turn these features on.

13 years agoRevert "Xilinx: ARM: Updated timer to have one-shot mode for high res timers"
John Linn [Wed, 6 Oct 2010 23:00:18 +0000 (17:00 -0600)]
Revert "Xilinx: ARM: Updated timer to have one-shot mode for high res timers"

This reverts commit 8ca629e418ea8e7bce88fa0b81f1df9a7fbd1dbf.

This commit seems to be causing issues when high res timers are off as I'm
seeing NAND failures.

13 years agoXilinx: ARM: Updated non-SMP kernel defconfigs to not use high res timers
John Linn [Wed, 6 Oct 2010 17:59:12 +0000 (11:59 -0600)]
Xilinx: ARM: Updated non-SMP kernel defconfigs to not use high res timers

The timer code was updated to support one-shot which allows high res timers
to work.  But high res timers require the HZ to be higher than the 10 that
we are currently using.

Values of 60 and up seem to work for non-SMP, but SMP seems to need higher than
that.  The patch for the timer one-shot mode can cause the non-SMP kernel
to not boot due to this problem (or hang while booting).

We talked about it and think that non-high res is probably the right default
for now.  The SMP kernel defaults to non-high res timers.

13 years agoMerge branch 'pele-peep5' into pele-peep5-2.6.35
John Linn [Wed, 6 Oct 2010 16:54:14 +0000 (10:54 -0600)]
Merge branch 'pele-peep5' into pele-peep5-2.6.35

13 years agoXilinx: ARM: updated test def configs for NFS root operation
John Linn [Tue, 5 Oct 2010 15:56:47 +0000 (09:56 -0600)]
Xilinx: ARM: updated test def configs for NFS root operation

Now that we have both ethernet IPs up and running we need to specify
which ethernet to use for NFS root since the 2nd one is not hooked
up to a network.

It seems that NFS root doesn't work if eth0 is not specified on the
kernel command line.

13 years agoXilinx: ARM: Updated timer to have one-shot mode for high res timers
John Linn [Mon, 4 Oct 2010 23:14:08 +0000 (17:14 -0600)]
Xilinx: ARM: Updated timer to have one-shot mode for high res timers

One-shot mode is needed to support high res timers.

13 years agoMerge /home/linnj/linux_ppc/linux-2.6 into pele-peep5-2.6.35
John Linn [Mon, 27 Sep 2010 23:01:06 +0000 (17:01 -0600)]
Merge /home/linnj/linux_ppc/linux-2.6 into pele-peep5-2.6.35

Resolved Conflicts:
arch/arm/Kconfig
arch/arm/Makefile
arch/arm/mm/Kconfig
arch/arm/mm/cache-l2x0.c
arch/powerpc/kernel/head_44x.S
drivers/gpio/Makefile
drivers/mtd/chips/cfi_probe.c
drivers/mtd/nand/Makefile
drivers/net/Makefile
drivers/net/ll_temac_main.c
include/asm-generic/dma-mapping-common.h
include/linux/mtd/cfi.h
include/linux/serial_core.h

13 years agoMerge branch 'pele-peep5' of git://git-dev.xilinx.com/linux-2.6-xlnx into pele-peep5
Brian Hill [Thu, 23 Sep 2010 20:42:29 +0000 (14:42 -0600)]
Merge branch 'pele-peep5' of git://git-dev.xilinx.com/linux-2.6-xlnx into pele-peep5

13 years agoXilinx: ARM: Updates for GEM 1588 support.
Brian Hill [Thu, 23 Sep 2010 20:41:58 +0000 (14:41 -0600)]
Xilinx: ARM: Updates for GEM 1588 support.

- Improved initialization procedure for Time Stamp Unit
- Parse receive packets looking for PTP packets (Yuck.).

13 years agoXilinx: ARM: Add initial GEM hardware packet timestamp support.
Brian Hill [Wed, 22 Sep 2010 15:33:57 +0000 (09:33 -0600)]
Xilinx: ARM: Add initial GEM hardware packet timestamp support.

13 years agoMerge /home/bhill/pele/linux-2.6-xlnx into pele-peep5
John Linn [Tue, 21 Sep 2010 22:33:28 +0000 (16:33 -0600)]
Merge /home/bhill/pele/linux-2.6-xlnx into pele-peep5

13 years agoXilinx: ARM: Correct DT 576001 - zero descriptor tracking memory at initialization.
Brian Hill [Tue, 21 Sep 2010 22:28:34 +0000 (16:28 -0600)]
Xilinx: ARM: Correct DT 576001 - zero descriptor tracking memory at initialization.

When the kernel attempts IP address assignment at bootup it closed the interface
without it having ever been opened.  Some cleanup code which expected only NULL
or valid addresses didn't cope with this situation.

Zero descriptor tracking array at initialization to avoid this problem.

13 years agoXilinx: ARM: updated defconfigs to have performance events
John Linn [Tue, 21 Sep 2010 20:30:27 +0000 (14:30 -0600)]
Xilinx: ARM: updated defconfigs to have performance events

The A9 includes performance events and the kernel supports them so
they are now enabled by default.

13 years agoXilinx: ARM: Correct various GEM hi-traffic issues
Brian Hill [Thu, 16 Sep 2010 16:06:48 +0000 (10:06 -0600)]
Xilinx: ARM: Correct various GEM hi-traffic issues

- Strictly adhere to NAPI budget.
- xemacpss_start_xmit must return NETDEV_TX_BUSY when TX ring full, not
  -ENOSPC
- Correct xemacpss_tx_timeout so that it might actually succeed when needed.

13 years agoMerge /home/bhill/pele/linux-2.6-xlnx into pele-peep5
John Linn [Wed, 15 Sep 2010 20:54:19 +0000 (14:54 -0600)]
Merge /home/bhill/pele/linux-2.6-xlnx into pele-peep5

13 years agoXilinx: ARM: Remove GEM TX bottom-half. This permits correct SMP operation.
Brian Hill [Wed, 15 Sep 2010 19:05:47 +0000 (13:05 -0600)]
Xilinx: ARM: Remove GEM TX bottom-half. This permits correct SMP operation.

Remove GEM TX bottom-half.  TX processing is not so onerous that it require
a bottom half.

TX completion is now performed directly within the interrupt handler, which
can only execute on on processor at a time. No new packet processing locks
are required as NAPI poll routines are guaranteed to no be run on more than one
CPU at the same instant, and other pre-existing locks are sufficient.

13 years agoMerge branch 'pele-peep5' of /home/linnj/linux_arm/devel/linux-2.6-xlnx-peep5 into...
John Linn [Tue, 14 Sep 2010 23:22:05 +0000 (17:22 -0600)]
Merge branch 'pele-peep5' of /home/linnj/linux_arm/devel/linux-2.6-xlnx-peep5 into pele-peep5

13 years agoXilinx: ARM: Adding RTC device to the kernel defconfigs
John Linn [Tue, 14 Sep 2010 22:10:52 +0000 (16:10 -0600)]
Xilinx: ARM: Adding RTC device to the kernel defconfigs

The RTC driver is working on PEEP5 so make it default.

13 years agoXilinx: ARM: Adding I2C eeprom on 2nd I2c bus
John Linn [Tue, 14 Sep 2010 21:43:59 +0000 (15:43 -0600)]
Xilinx: ARM: Adding I2C eeprom on 2nd I2c bus

The second eeprom is needed to do testing on the 2nd I2C core.

13 years agoXilinx: ARM: Correctly calculate GEM multicast MAC hash value.
Brian Hill [Thu, 9 Sep 2010 19:50:50 +0000 (13:50 -0600)]
Xilinx: ARM: Correctly calculate GEM multicast MAC hash value.

13 years agoXilinx: ARM: Cleanup of BSP for I2C and SPI so RTC works.
John Linn [Fri, 3 Sep 2010 22:15:01 +0000 (16:15 -0600)]
Xilinx: ARM: Cleanup of BSP for I2C and SPI so RTC works.

The I2C eeprom was being configured wrong such that it consumed
multiple addresses which conflicted with the next address (0x51)
which is used by the real time clock.

The SPI eeproms were also cleaned up to be simpler.

13 years agoXilinx: ARM: Adding 2nd SPI and I2C devices to platform
John Linn [Fri, 3 Sep 2010 18:12:58 +0000 (12:12 -0600)]
Xilinx: ARM: Adding 2nd SPI and I2C devices to platform

A 2nd SPI device is connected to another SPI EEPROM, the same as the 1st
one. It's working fine now.

A 2nd I2C device is connected to a RTC8564 and it's not working yet.

The 2nd GEM phy address was also updated to hopefully be correct.

13 years agoXilinx: ARM: Updating u-boot.pele image to work with SMP
John Linn [Thu, 2 Sep 2010 15:08:12 +0000 (09:08 -0600)]
Xilinx: ARM: Updating u-boot.pele image to work with SMP

A new image is now needed so that the SMP kernel automatically boots.

13 years agoMerge branch 'pele-peep5' of /home/linnj/linux_arm/devel/linux-2.6-xlnx-peep4-debug...
John Linn [Fri, 27 Aug 2010 21:38:37 +0000 (15:38 -0600)]
Merge branch 'pele-peep5' of /home/linnj/linux_arm/devel/linux-2.6-xlnx-peep4-debug into pele-peep5

13 years agoXilinx: ARM: Adding NAND driver to kernel default configs
John Linn [Fri, 27 Aug 2010 21:35:44 +0000 (15:35 -0600)]
Xilinx: ARM: Adding NAND driver to kernel default configs

The driver has been manually tested and is added to automated tests.

13 years agoXilinx: ARM: Adding NAND driver to test defconfigs
John Linn [Fri, 27 Aug 2010 21:32:28 +0000 (15:32 -0600)]
Xilinx: ARM: Adding NAND driver to test defconfigs

The NAND driver has been manually tested and is now being added
to the automated tests.

13 years agoMerge branch 'pele-peep5' of /home/linnj/linux_arm/devel/linux-2.6-xlnx-peep4-debug...
John Linn [Fri, 27 Aug 2010 13:29:46 +0000 (07:29 -0600)]
Merge branch 'pele-peep5' of /home/linnj/linux_arm/devel/linux-2.6-xlnx-peep4-debug into pele-peep5

13 years agoXilinx: ARM: BSP: SMC initialization code for SRAM interface
Sadanand [Fri, 27 Aug 2010 04:27:27 +0000 (09:57 +0530)]
Xilinx: ARM: BSP: SMC initialization code for SRAM interface

This patch adds initialization code for the SRAM interface of
the PL353 SMC and ioremaps the SRAM memory space.
The SRAM has been tested using mmap from the user space.

Signed-off-by: Sadanand M <sadanan@xilinx.com>
13 years agoMerge branch 'pele-peep5' of /home/linnj/linux_arm/devel/linux-2.6-xlnx-peep4-debug...
John Linn [Thu, 26 Aug 2010 17:21:02 +0000 (11:21 -0600)]
Merge branch 'pele-peep5' of /home/linnj/linux_arm/devel/linux-2.6-xlnx-peep4-debug into pele-peep5

13 years agoRevert "Revert "Revert "Xilinx: ARM: removing DMA from the test temporarily"""
John Linn [Thu, 26 Aug 2010 17:14:25 +0000 (11:14 -0600)]
Revert "Revert "Revert "Xilinx: ARM: removing DMA from the test temporarily"""

This reverts commit 5bba3d52eea661b8b47f3f02a29592f3ab16b9ac.

As confusing as this is, a revert multiple times, this just puts DMA back
into automated testing again now that PEEP5 seems sane.

13 years agoXilinx: ARM: Adding DMA back into the test defconfigs
John Linn [Thu, 26 Aug 2010 17:02:51 +0000 (11:02 -0600)]
Xilinx: ARM: Adding DMA back into the test defconfigs

On Peep5 DMA seems to be sane again, let's put it back into the
automated testing.

13 years agoMerge branch 'pele-peep5' of /home/linnj/linux_arm/devel/linux-2.6-xlnx-peep4-debug...
John Linn [Wed, 25 Aug 2010 21:16:32 +0000 (15:16 -0600)]
Merge branch 'pele-peep5' of /home/linnj/linux_arm/devel/linux-2.6-xlnx-peep4-debug into pele-peep5

13 years agoMerge branch 'pele-peep5' into pele-alpha2 pele-alpha2-release
John Linn [Wed, 25 Aug 2010 21:08:19 +0000 (15:08 -0600)]
Merge branch 'pele-peep5' into pele-alpha2

Resolved Conflicts:
arch/arm/configs/xilinx_defconfig

13 years agoXilinx: ARM: Adding L2 cache to defconfigs for PEEP5
John Linn [Wed, 25 Aug 2010 19:35:40 +0000 (13:35 -0600)]
Xilinx: ARM: Adding L2 cache to defconfigs for PEEP5

PEEP4 had problems with the L2 cache on.  This enables L2 cache
as we're seeing good results with PEEP5.

13 years agoXilinx: MTD Subsystem workaround for HZ=20.
Naveen Mamindlapalli [Wed, 25 Aug 2010 18:16:37 +0000 (23:46 +0530)]
Xilinx: MTD Subsystem workaround for HZ=20.

This is the work around for HZ value of 20. Otherwise the delays
won't work.

Signed-off-by: Naveen naveenm@xilinx.com
13 years agoXilinx: SMC NAND Controller driver
Naveen Mamindlapalli [Wed, 25 Aug 2010 16:04:15 +0000 (21:34 +0530)]
Xilinx: SMC NAND Controller driver

Added the SMC NAND controller driver code into the linux kernel.

Signed-off-by: Naveen naveenm@xilinx.com
13 years agoXilinx: SMC NAND Definitions
Naveen Mamindlapalli [Wed, 25 Aug 2010 16:01:22 +0000 (21:31 +0530)]
Xilinx: SMC NAND Definitions

Added the SMC NAND controller definitions to the device list.

Signed-off-by: Naveen naveenm@xilinx.com
13 years agoXilinx: ARM: Updated kernel default configs for automated testing
John Linn [Tue, 24 Aug 2010 21:02:30 +0000 (15:02 -0600)]
Xilinx: ARM: Updated kernel default configs for automated testing

The automated testing is moved to use NFS root such that the kernel
command line has to be changed.

13 years agoXilinx: ARM: Update defconfigs to include PSS WDT
John Linn [Mon, 23 Aug 2010 20:59:14 +0000 (14:59 -0600)]
Xilinx: ARM: Update defconfigs to include PSS WDT

Both WDTs can't be in the kernel at the same time right now so only
the PSS WDT is on be default.

13 years agoMerge branch 'pele-peep4' of /home/linnj/linux_arm/devel/linux-2.6-xlnx-peep4-debug... pele-alpha2-validation1
John Linn [Fri, 20 Aug 2010 23:16:30 +0000 (17:16 -0600)]
Merge branch 'pele-peep4' of /home/linnj/linux_arm/devel/linux-2.6-xlnx-peep4-debug into pele-peep4

13 years agoXilinx: ARM: GEM: removed debug output
John Linn [Fri, 20 Aug 2010 22:40:36 +0000 (16:40 -0600)]
Xilinx: ARM: GEM: removed debug output

The driver had debug turned on that dumped all the phy registers
when the ifconfig was done.  This turns it off.

13 years agoXilinx: ARM: Updated defconfigs for ramdisk size
John Linn [Fri, 20 Aug 2010 19:48:01 +0000 (13:48 -0600)]
Xilinx: ARM: Updated defconfigs for ramdisk size

Changed to allow a 16 MB ramdisk.

13 years agoMerge branch 'pele-peep4' of /home/linnj/linux_arm/devel/linux-2.6-xlnx-peep4-debug...
John Linn [Fri, 20 Aug 2010 18:05:25 +0000 (12:05 -0600)]
Merge branch 'pele-peep4' of /home/linnj/linux_arm/devel/linux-2.6-xlnx-peep4-debug into pele-peep4