https://github.com/rntmancuso/linux-xlnx-prof

sort by:
Revision Author Date Message Commit Date
3f7c2d5 mtd: m25p80: Fix sparse warnings - do not define device_node *np again - is dual must be u32 because of_property_read_u32 Warning log: drivers/mtd/devices/m25p80.c:1238:22: warning: symbol 'np' shadows an earlier one drivers/mtd/devices/m25p80.c:1148:36: originally declared here drivers/mtd/devices/m25p80.c:1337:23: warning: symbol 'np' shadows an earlier one drivers/mtd/devices/m25p80.c:1148:36: originally declared here drivers/mtd/devices/m25p80.c:1244:45: warning: incorrect type in argument 3 (different signedness) drivers/mtd/devices/m25p80.c:1244:45: expected unsigned int [usertype] *out_value drivers/mtd/devices/m25p80.c:1244:45: got int static *<noident> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Suneel Garapati <suneel.garapati@xilinx.com> 01 July 2013, 12:42:18 UTC
d96dfcf mtd: m25p80: Use conditional compilation for OF function calls Place the code which calls OF api's under conditional compilation parameter CONFIG_OF. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 01 July 2013, 07:23:47 UTC
371bcf5 spi: xilinx-qps: Fix qspi issues wrt read and write to flash Use correct offset while copying the data to TXD1/2/3 register. In case of dual parallel, write/read must be of double byte resolution, hence, use TXD0 register as hack on hw limitation, and on RXD register always parse 4 bytes. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 01 July 2013, 07:23:29 UTC
8913aa4 microblaze: Don't mark arch_kgdb_ops as const. Other architectures don't do it, and it conflicts with the extern'd definition in include/linux/kgdb.h. The patch fails checkpatch but it reflects current functions declaration and solved compilation error. Signed-off-by: Graeme Smecher <gsmecher@threespeedlogic.com> CC: Michal Simek <monstr@monstr.eu> CC: linux-kernel@vger.kernel.org Signed-off-by: Michal Simek <michal.simek@xilinx.com> 01 July 2013, 07:22:43 UTC
2827507 mtd: m25p80: Use conditional compilation for OF function calls in probe Place the code which calls OF api's under conditional compilation parameter CONFIG_OF and default initialize the variable otherwise. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 20 June 2013, 05:48:29 UTC
7e946f4 mtd: m25p80: xilinx: Add support for zynq dual qspi configs added member variables shift isparallel isstacked to m25p structure and are used in read /write/erase functions to support dual configs. Remove the iffery on XILINX_QSPI and initialize the m25p structure members for dual stack and parallel mode support only if the connected controller is zynq qspi. The changes regarding dual qspi support needs discussion on mainline and will be re-visited later. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 20 June 2013, 05:40:52 UTC
5def683 spi: xilinx-qps: Add support for dual stack and parallel configurations Added support in the driver to update accordingly the linear qspi cfg register based on is-dual property. is-dual=1 implies dual parallel configuration and is-dual=0 could be single or dual stack and user has to manually enable CONFIG_SPI_XILINX_PS_QSPI_DUAL_STACKED as Kconfig parameter to use dual stack configuration. Created CONFIG_SPI_XILINX_PS_QSPI_DUAL_STACKED Kconfig entry to provide support for Dual Stack configuration. Based on SPI_MASTER_U_PAGE bitmask in the transfer flags, choice is made to select upper/lower flash. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 20 June 2013, 05:40:29 UTC
52ae18d mtd: m25p80: Add erase/read/write support for large flash sizes Added support for large size flash memories greater than 16MB using 3 byte addressing and bank selection. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 19 June 2013, 12:47:39 UTC
7f1a600 mtd: m25p80: xilinx: Force 3 byte addressing for zynq qspi for large flash size Hack the addr width to 3 in case of large size flash connected to zynq qspi controller and force this only if the connected spi controller is zynq ps qspi. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 19 June 2013, 12:47:26 UTC
cb3d0b2 mtd: m25p80: Modify m25p_addr2cmd logic Instead of directly copying the addr to cmd buffer, use a for loop based on the addr width. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 19 June 2013, 12:46:59 UTC
2c5848b mtd: m25p80: Add support to program bank or extended address register Added opcode to program extended address register. Added function write_ear to program bank or extended address register. Added curbank member to m25p structure. This needs discussion on mainline and will be re-visited later. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 19 June 2013, 12:46:14 UTC
37f45b1 mtd: m25p80: Add check on flag status register for Micron flash devices In wait_till_ready, after poll on status register, if check_fsr is set poll on flag status register to check no program/erase operation is in execution. check_fsr is set only if E_FSR flag is added to flash entry in flash_info structure. This needs discussion on mainline and will be re-visited later. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 19 June 2013, 12:46:08 UTC
cd1f7b1 mtd: m25p80: Create read_spi_reg and add read for flag status reg Created read_spi_reg to perform atomic register read operation. Added read_fsr and modified read_sr to call read_spi_reg. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 19 June 2013, 12:46:01 UTC
6bf46ab mtd: m25p80: Add member jedec_id to m25p structure Added jedec_id variable to hold id of flash memory. Updated in probe call with the detected flash ID. This needs discussion on mainline and will be re-visited later. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 19 June 2013, 12:45:53 UTC
3565ce3 mtd: m25p80: Created E_FSR flag for Micron n25q family flash devices Created new flag E_FSR in flash_info structure to support flag status register present in n25q Micron flash family. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 19 June 2013, 12:45:45 UTC
f8ce083 mtd: m25p80: Add Micron flash entries for greater than 256Mb size Added entries for micron flash memories for sizes 256Mb, 512Mb and 1Gb including voltage variants. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Acked-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 19 June 2013, 12:45:37 UTC
eb1a22e mtd: m25p80: Modified Micron 256Mb flash info structure entry Modified entry for micron flash memory 256Mb. Member name is suffix with 'a13'. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Acked-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 19 June 2013, 12:45:30 UTC
c3d5224 mtd: m25p80: Increase wait duration during read Increased the value of MAX_READY_WAIT_JIFFIES from 40 to 480 based on the inputs from Micron considering large size flash memories. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Acked-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 19 June 2013, 12:45:23 UTC
ceaabb5 mtd: m25p80: Fix spansion bank reg comment and fix above 80 char lines Changed the comment for spansion bank read opcode and break the lines larger than 80 chars. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 19 June 2013, 12:45:16 UTC
f7d385f spi: xilinx-qps: Modify the tx logic to use txd1/2/3 Tx logic is modified to utilize TxD1/2/3 registers and few other constraints. Transmit length is split into multiples of 4 bytes and the remainder is transmitted using TxD1/2/3. Also, a transmit on TxD1/2/3 needs a check for Tx empty before using TXD0 and vice versa. Towards this requirement, tx_fill_fifo is updated to fill only if tx length is greater than 4 bytes. For any length the remainder bytes is first pushed to TxD1/2/3 and enables interrupts to wait for tx empty interrupt and transfer the remaining in interrupt routine. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 19 June 2013, 12:45:07 UTC
5dcab02 spi: xilinx-qps: Remove switch logic in xqspips_copy_read_data Instead of switch cases, handle the copy of data from rxd to buffer using memcpy with check on endianess. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 19 June 2013, 12:44:54 UTC
7a056ea spi: xilinx-qps: Added macros for bank instructions and lqspi Opcode definitions for Bank instructions of Spansion and Micron. Opcode definition for Flag status register read and added these opcodes to Instruction format table. Macro for linear qspi config register upper page bit mask. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 19 June 2013, 12:44:45 UTC
e82b46d spi: xilinx-qps: Modified comments for LQSPI register masks Modified comments for LQSPI Config register TWO_MEM and SEP_BUS bit masks. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 19 June 2013, 12:44:36 UTC
7a0bc8d spi: xilinx-qps: Use readl/writel for read/write register Use readl/writel api's instead of raw read/write registers. Signed-off-by: Suneel Garapati <suneel.garapati@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 19 June 2013, 12:44:29 UTC
6a3a714 net: xemacps: Free net_device after it is used last The net_device structure is freed to early. Free it after its last user is done. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> 18 June 2013, 15:56:59 UTC
c2e3db4 net: xemacps: Disable clocks only once When the driver is removed clocks may be disabled due to runtime PM. If this happens, remove() must not disable the clocks again. Therefore, check the runtime PM status in remove() and take the appropriate action. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> 18 June 2013, 15:56:42 UTC
fb4300e clk: zynq: pll: Fix wait for PLL lock The condition for waiting for the PLL lock when enabling the PLL was inversed, waiting for a non-locked PLL. Invert the condition when waiting for the PLL lock, so we actually wait for a locked PLL. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 18 June 2013, 15:15:14 UTC
48915fd remoteproc: mb: Remove not used zynq_cpun_start extern Just clean up. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 17 June 2013, 06:32:53 UTC
07916ab DT: Add documentation for gpio-xilinx Describe gpio-xilinx binding. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 17 June 2013, 06:32:52 UTC
568fae3 GPIO: xilinx: Use BIT macro Use BIT macro from linux/bitops.h. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 17 June 2013, 06:32:51 UTC
386b81d GPIO: xilinx: Use __raw_readl/__raw_writel IO functions This driver can be used on Xilinx ARM Zynq platform where in_be32/out_be32 functions are not implemented. Use __raw_readl/__raw_writel functions which are implemented on Microblaze and PowerPC. For ARM readl/writel functions are used instead. The correct way how to implement this is to detect endians directly on IP. But for the gpio case without interrupt connected(it means without interrupt logic) there are just 2 registers data and tristate where auto detection can't be done. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 17 June 2013, 06:32:51 UTC
b23d352 GPIO: xilinx: Synchronization with mainline version Fix all issues which have been found in upstreaming this driver. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 17 June 2013, 06:32:50 UTC
df2a198 GPIO: xilinx: Simplify driver probe function Simplification is done by using OF helper function which increase readability of code and remove (if (var) var = be32_to_cpup;) assignment. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 17 June 2013, 06:32:49 UTC
28b3b61 microblaze: Remove incorrect file path Trivial. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 17 June 2013, 06:32:49 UTC
d79400a dts: zynq base trd: Enabled genlock sync Enabled genlock synchronization for VDMA's used in HW design. Signed-off-by: Radhey Shyam Pandey <radheys@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 14 June 2013, 05:45:23 UTC
cb9effd dts: zynq base trd: logiCVC hw parameter set logiCVC pixel-clock-active-high parameter set to high. [transmits pixel data on rising pixel clock edge] Signed-off-by: Radhey Shyam Pandey <radheys@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 14 June 2013, 05:45:15 UTC
520dbe7 dts: zynq base trd: Disable print of EDID info Printing log of EDID info on monitor detect is removed. Signed-off-by: Radhey Shyam Pandey <radheys@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 14 June 2013, 05:45:06 UTC
339d59a arm: zynq: Remove input event debugging from TRD defconfig Disable input device event debugging. Picked from zynq defconfig. Signed-off-by: Radhey Shyam Pandey <radheys@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 14 June 2013, 05:43:35 UTC
87b76d3 defconfig: Enable zynq edac driver Just enable it. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 12 June 2013, 06:01:39 UTC
aadaafd defconfig: Enable Cadence TTC for TRD Synchronization. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 12 June 2013, 06:01:16 UTC
43ed4d4 edac: zynq: Added support for zynq ddr ecc Created zynq_edac files which add support to report the ddr ecc to edac framework. Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 12 June 2013, 05:49:58 UTC
081ef8d drivers: uio: Fix UIO device registration failure Until recently uio_get_minor() returned 0 for success and a negative value on failure. This became non-negative for suceess and negative for failure. Restore the original return value spec so that we can successfully initialize UIO devices with a non-zero minor device number. Cc: "Hans J. Koch" <hjk@hansjkoch.de> Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 11 June 2013, 14:42:25 UTC
2636078 zynq: pcie: Fix comments coding style Trivial. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 10 June 2013, 07:35:58 UTC
575c4c4 gpio: zynq: Removed static irq allocation Removed static irq allocation. AXI PCIe driver has been changed to use dynamic irq allocation in below commit "zynq: pcie: Removed static irq allocation" (sha1: 0bec56c81b8c4968eab33416b9e214a90e2f3241) Signed-off-by: Srikanth Thokala <sthokal@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 10 June 2013, 07:34:52 UTC
0bec56c zynq: pcie: Removed static irq allocation This patch removes static allocation of MSI IRQs. Signed-off-by: Srikanth Thokala <sthokal@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 10 June 2013, 07:32:35 UTC
9271aad arm: dt: zynq: Use 'xlnx,xuartps' compatibility string Append the 'xlnx,xuartps' compatibility string, which is used in mainline Linux, to all xuartps nodes. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 06 June 2013, 05:51:46 UTC
f0bfeff Revert "of: Export of_irq_count for modules" This reverts commit 7293d8531d860a6cd8e24a50e8e6e8c80f14856e. Modules shouldn't use of_irq_count() but better to use driver resources which are already initialized. Both remoteproc drivers have been fixed that's why we can revert this patch. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 05 June 2013, 10:20:44 UTC
5d212ab remoteproc: Do not use of_irq_count in xilinx drivers Driver resources are already filled and driver can use them. The reason is that of_irq_count() is not exported for modules in the mainline. The next patch which revert this patch which we have in our tree. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 05 June 2013, 10:20:27 UTC
95ed5c6 xilinx_emacps: Don't assert NETIF_F_FRAGLIST feature In xemacps_probe(), do not set NETIF_F_FRAGLIST in ndev->features, only NETIF_F_SG. xemacps_start_xmit() handles skb_shinfo(skb)->nr_frags, but not skb_shinfo(skb)->frag_list. Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 05 June 2013, 08:48:48 UTC
2102eab xilinx_emacps: Fix deadlock in xemacps_reinit_for_txtimeout() In xemacps_reinit_for_txtimeout(), do not hold tx_lock when calling tasklet_disable(). If xemacps_tx_poll() starts to run between acquiring tx_lock and tasklet_disable(), we are caught in a deadlock because tasklet_disable() waits until xemacps_tx_poll() has finished. Also use netif_wake_queue() instead of netif_start_queue(), and don't forget to update ndev->trans_start. Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 05 June 2013, 08:48:47 UTC
191f690 xilinx_emacps: Restart transmission in xemacps_tx_poll(). In xemacps_tx_poll(), restart transmission if there are still buffers in the BD list [and at least one packet was transmitted]. It is possible that transmission has stopped due to an error, and we don't want to wait for the next xemacps_start_xmit(). Also, use netif_wake_queue() instead of netif_start_queue() so that __netif_schedule() is invoked. Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 05 June 2013, 08:48:46 UTC
6cd3c14 xilinx_emacps: Remove sop checks in xemacps_tx_poll() In xemacps_tx_poll(), we don't need to check sop == 1 after setting sop = 1 (or breaking the loop). This is a cleanup for the commit "Xilinx: ARM: EmacPs: Fix a potential bug for multi-BD packets" on Jul 30, 2012. Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 05 June 2013, 08:48:46 UTC
fcc674f xilinx_emacps: Check hwcnt in xemacps_tx_poll() In xemacps_tx_poll(), loop only while bdcount < SEND_BD_CNT - freecnt (formerly known as hwcnt). Otherwise, we may loop through the whole Tx BD list since "free" BDs always have the USED bit set. This should not result in an error since no LAST bit is found, but it eats up time. This issue was introduced by the commit "xilinx_emacps: Optimize the BD handling logic" on Jan 21, 2013. Note that there is no corresponding issue for the Rx BD list because its freecnt is 0. Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 05 June 2013, 08:48:45 UTC
30cbd71 xilinx_emacps: Don't check TXSR_TXCOMPL in xemacps_tx_poll() It doesn't really make sense to stop in xemacps_tx_poll() when TXSR_TXCOMPL is not set. The logic works the other way round: When a buffer becomes ready after reading TXSR, there is no reason why we shouldn't process it. This is similar to xemacps_rx_poll() where RXSR_FRAMERX isn't checked either. We do stop when no buffers are available, though. In this case, skip netif_start_queue() because nothing has changed. Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 05 June 2013, 08:48:44 UTC
167b3c7 xilinx_emacps: Handle NAPI "rotten packets" When xemacps_rx_poll() has processed the Rx BD ring until it is empty, another packet may come in before we have unmasked the Rx interrupts. No interrupt is signalled for it, and it is left to rot in the BD ring until the next packet is received. This is what NAPI calls a "rotting packet", and it actually seems to occur quite often in heavy traffic (about 30 times per second), sometimes leading to Rx stalls. The solution is standard: Check the Rx BD ring again after unmasking the Rx interrupts, and reschedule NAPI (and remask the interrupts) when a new packet is detected. Note that we no longer need an inner loop around xemacps_rx(); the latter returns when the BD list is empty or the budget is reached, so we are usually done. [Previously, xemacps_rx() would also return when XEMACPS_RECV_BD_CNT was reached, so we had to loop over it.] Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 05 June 2013, 08:48:44 UTC
017a83f xilinx_emacps: Fix skb allocation in xemacps_rx() In xemacps_rx(), allocate the new skb before handling the old one. If netdev_alloc_skb() fails, we don't want the Rx BD list to get stuck in an inconsistent state; instead, we try again with the next interrupt. We also return numbdfree now when skb allocation fails, not 0. Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 05 June 2013, 08:48:43 UTC
1e1fa31 xilinx_emacps: Fix panic in xemacps_mii_probe() The code checks phydev only when phy_node != NULL, resulting in a panic when phy_node == NULL (because phydev == NULL). We now check phydev also when phy_node == NULL, generating an error message. This issue was introduced by the commit "xilinx_emacps: Add support for EMIO" on Apr 03, 2013. Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 05 June 2013, 08:48:42 UTC
430d5b3 xilinx_emacps: Fix xemacps_read() and xemacps_write() The 'base' argument in xemacps_read() and xemacps_write() must be cast to 'void *' before adding 'reg', not afterwards. Otherwise, pointer arithmetic will do the wrong thing if, e.g., 'base' is a 'u32 *'. This issue was introduced by the commit "xilinx_emacps: Remove sparse errors" on Jan 21, 2013. Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 05 June 2013, 08:48:42 UTC
ce863da net: xilinx_emacps: Don't disconnect phy in remove The phy is always connected in xemacps_open() so it should only disconnect it in its cleanup counterpart xemapcs_close(). Remove the extraneous phy_disconnect() in xemacps_remove accordingly. Reported-by: Davor Joja <davorjoja@logicbricks.com> Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 05 June 2013, 08:48:41 UTC
f39b18a Revert "serial: Add OF alias support for uartlite" This reverts commit b871088c8964ad313cd368daca5e0f1020aed18d. Device-tree BSP generates port-number which is used for setup proper device ID that's why we don't need to care about positions in aliases node. Both are synchronized by device-tree BSP. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 05 June 2013, 08:48:40 UTC
bd0e343 watchdog: xilinx: Remove SETTIMEOUT Based on my upstream discussion this feature shouldn't be implemented for this watchdog because there is no option to set up timeout. Every application has to check return value that this feature is not implemented. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 05 June 2013, 08:48:40 UTC
54c2d98 ARM: zynq: Use generic cpu idle function for wfi Use cpu_do_idle for entering the wfi mode. Based on Sanjay Singh Rawat patch in hotplug.c. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 05 June 2013, 08:48:39 UTC
0ffd2e0 net: ll_temac: Remove sparse warning Remove sparse warning to be able to catch others. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 05 June 2013, 08:48:38 UTC
bbd723e microblaze: Use static inline functions in cacheflush.h Using static inline functions ensure proper type checking which also remove compilation warning for no MMU Compilation warning: arch/microblaze/include/asm/cacheflush.h: warning: 'addr' may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Michal Simek <michal.simek@xilinx.com> 05 June 2013, 08:48:38 UTC
f373226 microblaze: Fix sparse warnings arch/microblaze/include/asm/uaccess.h:101:3: warning: cast removes address space of expression arch/microblaze/include/asm/uaccess.h:107:2: warning: cast removes address space of expression Signed-off-by: Michal Simek <michal.simek@xilinx.com> 03 June 2013, 07:17:32 UTC
2e6c19e Revert "ll_temac: Fix some compatibility things to get it work on 3.3" This reverts commit 898b18df67b7f20238e9c189f4d40c6f13188d29. This problem is not with ll_temac driver anymore. Synchronize it with mainline code. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 03 June 2013, 07:17:32 UTC
564dda2 zynq: Fix smp code not to rewrite code when starting address is 0x0 This is used by remoteproc. 03 June 2013, 07:17:32 UTC
d8bd477 remoteproc: zynq: Do not deallocate already allocated IPI This causes issue when for example remoteproc wants to use system IPI which is already allocated which end up that the driver clears system IPI mapping. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 03 June 2013, 07:17:31 UTC
1e67086 microblaze: Reversed logic in futex cmpxchg futex_atomic_cmpxchg_inatomic exchanged if the values were unequal rather than equal. This caused incorrect behavior of robust futexes. Signed-off-by: Kirk Meyer <kirk.meyer@sencore.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 03 June 2013, 07:17:31 UTC
39d3666 arm: dt: zed: fixing xadc register area Removed the extra zero in the register area size. Signed-off-by: Veena Kumar <veena.kumar@xilinx.com> Reviewed-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 03 June 2013, 07:15:29 UTC
fa700ff ARM: zynq: use generic cpu idle function for wfi use cpu_do_idle for entering the wfi mode. Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 30 May 2013, 14:50:08 UTC
b5f1bac arm: zynq: remove Makefile.boot Since we have converted zynq to multiplatform build, Makefile.boot is not used anyway. Remove it. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 30 May 2013, 14:50:07 UTC
5f16484 char: devcfg: Remove de-documented user-mode feature This bit has become un-documented, as it is a bootrom only feature. It is marked as "do no modify", so the driver should only set it as part of a read-modify-write process. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 24 May 2013, 06:07:12 UTC
54e8cbf char: xdevcfg: Ensure PCAP loopback is disabled Some versions of the Zynq first stage boot loader enable PCAP loopback during boot regardless of whether or not the boot image includes PL configuration. This behavior only appears in certain boot modes (notably QSPI boot). Attempting to configure the PL with the loopback bit set will result in timeouts and will prevent successful configuration. In order to avoid this problem, and to avoid dependency on the version of the FSBL used to boot the system, ensure that the loopback enable bit is cleared when loading the driver. Signed-off-by: Rob Armstrong <ra@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 24 May 2013, 05:40:22 UTC
4c8e6d7 misc: si570: Fix compiler warning Fix potentially uninitialized variable. Signed-off-by: Davor Joja <davorjoja@logicbricks.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 23 May 2013, 06:56:29 UTC
fc6331b char: xdevcfg: Allow userspace fclk controls In order to have simple control over the FPGA clocks, controls can be exported to userspace through sysfs. The files 'fclk_export' and 'fclk_unexport' are created under the devcfg device node in sysfs. Reading those files returns the valid values to write to the corresponding file. Writing a valid value to 'fclk_export' exports clock controls for the chosen clock in the 'fclk' subdirectory. Similarly, writing a valid value to 'fclk_unexport' reverts the export. Currently the CCF API functions 'clk_enable'/'clk_disable', 'clk_round_rate' and 'clk_set_rate' are exported (clk_(un)prepare is implicitly done during (un-)export). enable: Writing non-zero to this file enables the clock. Writing zero disables it. round_rate: Writing a frequency in Hz to it sets the frequency to be rounded. Reading the file prints the set frequency and the rounded frequency. set_rate: Reading this file returns the current clock frequency. Writing sets a new frequency. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 23 May 2013, 06:54:14 UTC
fe97eb8 zynq: SMP crashkernel support Add hook to arm crashkernel to support crashkernel on smp systems where it is necessary to disable nonboot cpus. Based on Stephen Warren's patch: "ARM: call disable_nonboot_cpus() from machine_shutdown()" https://patchwork.kernel.org/patch/1925071/ which is already applied too. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 23 May 2013, 06:54:14 UTC
fefbd4b ARM: call disable_nonboot_cpus() from machine_shutdown() On Tegra at least, this change allows kexec to work with SMP enabled. Without this, machine_shutdown() simply puts all CPUs into a loop. If the code of that loop is over-written, the CPUs may hang or crash (which I do observe in practice), or cause the kexec'd kernel not to be able to initialize them. This fix has the added benefit that the kexec always happens on the boot CPU, and thus kexec mirrors the initial kernel boot as much as possible. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 23 May 2013, 06:54:13 UTC
a3d46f7 net: emacps: Move request_irq to the end of probe function Move request_irq function to the end of emacps probe because when system crashes there could be unhadled interrupts when crashkernel come again and after request_irq driver starts to handle it but not all things are initialized yet. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 23 May 2013, 06:54:12 UTC
fda2191 zynq: Add support for zynq_cpu_kill function Use simple hook to slcr to stop cpu. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 23 May 2013, 06:54:12 UTC
6024846 arm: zynq: slcr: Fix array size An array holding status bits was defined too small. This is fixed by removing the static array size with a compile time calculation. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 23 May 2013, 06:54:11 UTC
60bae44 arm: Generate proper load section addresses Moving to multiplatform caused that LOAD session were wrongly generated for our images. simpleImage is currently used by Qemu. Wrong - before this patch: Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align LOAD 0x008000 0xc0008000 0xc0008000 0x4fffe8 0x507fe8 RWE 0x8000 LOAD 0x507fe8 0xc050ffe8 0xc050ffe8 0x8b130 0xb5a88 RWE 0x8000 NOTE 0x52c2ac 0xc05342ac 0xc05342ac 0x00024 0x00024 R E 0x4 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RWE 0x4 Correct - after this patch: Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align LOAD 0x008000 0xc0008000 0x00008000 0x4fffe8 0x507fe8 RWE 0x8000 LOAD 0x507fe8 0xc050ffe8 0x0050ffe8 0x8b130 0xb5a88 RWE 0x8000 NOTE 0x52c2ac 0xc05342ac 0x005342ac 0x00024 0x00024 R E 0x4 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RWE 0x4 Signed-off-by: Michal Simek <michal.simek@xilinx.com> 23 May 2013, 06:54:11 UTC
fe70359 microblaze: Use proper casting for inb/inw/inl in io.h We are going to move to asm-generic/io.h but let's fix compilation warnings first for 3.10. Warning message: arch/microblaze/include/asm/io.h:126:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define inb(port) readb((u8 *)((port))) ... Signed-off-by: Michal Simek <michal.simek@xilinx.com> 23 May 2013, 06:52:06 UTC
d9aa19f video: xylonfb: Add missing header It should be the part of patch "Merge tag 'v3.9' into master-next" (sha1: 79a6cbd54869ed374f0d4ac6f2627c399b9eb34e) The patch fix compilation errors: drivers/video/xylon/xylonfb/of/../core/../misc/xylonfb-adv7511.c:220:1: error: unknown type name 'irqreturn_t' drivers/video/xylon/xylonfb/of/../core/../misc/xylonfb-adv7511.c:228:9: error: 'IRQ_HANDLED' undeclared (first use in this function) ... Signed-off-by: Michal Simek <michal.simek@xilinx.com> 22 May 2013, 13:49:21 UTC
ccc147d arm: zynq defconfig: Remove input event debugging In the general Zynq defconfig input device event debugging is enabled, which fills the log buffer with evbug messages when using a keyboard or mouse. These messages aren't useful unless actively debugging input devices and can obscure more relevant log messages, so disable them by default. Signed-off-by: Rob Armstrong <ra@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 20 May 2013, 18:13:57 UTC
ae63882 arm: smp: ipi_timer is not used anywhere Remove this unused function declaration. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 20 May 2013, 18:04:11 UTC
2eaefde zynq: Enable cadence macb driver We will use this driver. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 20 May 2013, 18:04:11 UTC
5e13c28 zynq: Enable suspend support by default Enable SRAM driver and suspend support. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 20 May 2013, 18:04:10 UTC
8dff121 arm: zynq: pm: Fix compilation error The variable 'scu_base' had been renamed to 'zynq_scu_base'. pm.c has not been updated accordingly. Fixing this with a simple search and replace: s/scu_base/zynq_scu_base Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 20 May 2013, 18:04:09 UTC
dcc265f Revert "arm: zynq: pm: Use generic OCM allocator" This reverts commit 6e847915770c5046b357a8c1f314cc2902c833d2. The commit breaks compilation when CONFIG_SUSPEND is set. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 20 May 2013, 18:04:09 UTC
6501fe6 arm: Remove CONFIG_CPU_DCACHE_DISABLE Origin patch: Xilinx: ARM: Added the ability to disable the D cache (sha1: 944dbf527b3b223d3b675dc5074faa3188df05d7) is probably not valid for now. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 20 May 2013, 05:30:34 UTC
bfa7dea char: devcfg: Update xilinx header Update header. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 20 May 2013, 05:30:34 UTC
67f0cbc char: xilinx_hwicap: Checkpatch.pl cleanup Remove checkpatch warning: WARNING: Use #include <linux/io.h> instead of <asm/io.h> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 20 May 2013, 05:30:33 UTC
d9b21c8 usb: xilinxps_udc: Fixed sparse errors Fixed sparse errors. Signed-off-by: Naveen Mamindlapalli <naveenm@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 20 May 2013, 05:30:32 UTC
912b7f2 char: xdevcfg: Create device node Automatically create the devcfg device node in /dev/ and obtain the device major dynamically. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> 16 May 2013, 13:24:56 UTC
596f2cc xilinx: ppc: Fix Kconfig warning warning: (PPC_E500MC && PPC_BOOK3S_32 && PPC_BOOK3S_64 && PPC_BOOK3E_64 && ISS4xx && 440EP && 440EPX && 460EX && 460SX && 476FPE && APM821xx) selects PPC_FPU which has unmet direct dependencies (XILINX_VIRTEX_5_FXT) Signed-off-by: Michal Simek <michal.simek@xilinx.com> 16 May 2013, 13:24:56 UTC
334ba1d watchdog: wdtps: Fix coding style violations Check by checkpatch.pl. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 16 May 2013, 13:24:55 UTC
3ff8162 watchdog: wdtps: Fix header information Just update and fix date. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 16 May 2013, 13:24:54 UTC
5ead10b spi: xilinx-qps: Fix coding style issues Fix some checkpatch.pl warnings. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 16 May 2013, 13:24:54 UTC
13c2ec6 dma: axivdma: Fix coding style issue Avoid CamelCase. Signed-off-by: Michal Simek <michal.simek@xilinx.com> 16 May 2013, 13:24:53 UTC
back to top