summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2015-11-20arm: dts: ls1021a: Add dma-coherent property to usb3 nodeRajesh Bhagat
This sets dma ops as coherent for usb 3.0 platform device Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com> Signed-off-by: Rajesh Bhagat <rajesh.bhagat@freescale.com>
2015-11-03fsl_usdpaa: Remove TLB entries when unmapping memoryRoy Pledge
TLB1 entries must be removed when unmapping a DMA map from a process so they don't point to the wrong physical memory if a new map reuses the same virtual address Signed-off-by: Roy Pledge <Roy.Pledge@freescale.com>
2015-10-20powerpc/t1040/dts: Add interrupts for PHYs connected to L2 Switch portsCodrin Ciubotariu
This patch adds "interrupts" property for Ethernet PHYs connected over QSGMII to the L2 Switch ports, for boards T1040rdb, T1040d4rdb and T1040qds. Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@freescale.com>
2015-10-13t4240dts: correct the ceetm nodeHaiying Wang
The patch e9cacc46fcd4ebd1b2238a2655d08ad42e87f7d2 only added CEETM node qman-ceetm0 in t4240si-post.dts, and defined 8 ceetm channels. It is not correct for T4240 which has QMan 3.x version to support 32 CEETM channels. Besides, T4240 supports 2 CEETMs, so 2 ceetm nodes should be included in this device tree. JIRA issue# QLINUX-3737 Signed-off-by: Haiying Wang <Haiying.wang@freescale.com>
2015-09-24QorIQ/TMU: add TMU node to device tree for QorIQ T1023/T1024Jia Hongtao
The Thermal Monitoring Unit node for T1023/T1024. Signed-off-by: Jia Hongtao <hongtao.jia@freescale.com>
2015-09-24QorIQ/TMU: add TMU node to device tree for QorIQ T1040/T1042Jia Hongtao
This is Thermal Monitoring Unit for QorIQ platform. Signed-off-by: Jia Hongtao <hongtao.jia@freescale.com>
2015-09-23QorIQ/TMU: add TMU node to device tree for LS1021AJia Hongtao
The Thermal Monitoring Unit node for LS1021A. Signed-off-by: Jia Hongtao <hongtao.jia@freescale.com>
2015-09-07Merge branch 'feature/LS1-for-SDK' of ↵jason
ssh://sw-stash.freescale.net/dnnpi/ls1-linux-jason into LS1-SDKV04-SDK1.9
2015-08-21t104xd4rdb: add DS26522 nodes to device treeZhao Qiang
DS26522 is used for tdm, configured by SPI bus. Add nodes under spi node to t104xd4rdb.dtsi. Signed-off-by: Zhao Qiang <qiang.zhao@freescale.com>
2015-07-20Merge branch 'qoriq-sdk' into LS1-SDK-Rev2.0jason
2015-07-14arm: ls1021a: mask interrupts before entering deep sleepChenhui Zhao
Before entering deep sleep, interrupts should be masked. Or, unexpected interrupts may block the process of deep sleep. So, mask interrupts by the following steps: 1. Mask interrupts to RCPM 2. Disable the GIC This will make deep sleep more stable. Signed-off-by: Chenhui Zhao <chenhui.zhao@freescale.com> Change-Id: I601062f8406324a308ef44491fed7cf479eaeba9 Reviewed-on: http://git.am.freescale.net:8181/39602 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
2015-07-10arm: dts: ls1021a: Add transfer mode property in DSPI2 nodeHaikun Wang
DSPI new driver can select transfer mode(tcfq/eoq) to work. The property will be read from dtsi node. Add the property tcfq-mode for LS1021a. Signed-off-by: Haikun Wang <haikun.wang@freescale.com> Change-Id: I09efa9277364b79d075a1de94bd04111e2434576 Reviewed-on: http://git.am.freescale.net:8181/39515 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
2015-07-10arm: dts: ls1021atwr: Enable DSPI2 dts nodeHaikun Wang
Erratum A-008022 has been fixed on LS1021A Rev2.0. So we can use DSPI2 now, this patch enable DSPI2 in dts for LS1021ATWR. Signed-off-by: Haikun Wang <haikun.wang@freescale.com> Change-Id: I00c76415c155a290eecbde8b37e6148b11ed2c07 Reviewed-on: http://git.am.freescale.net:8181/39514 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
2015-07-09arm: ls1021a: change the order of setting PMC interrupt registersChenhui Zhao
In deep sleep process, set interrupt status and polarity registers before enabling PMC interrupts. It is more stable, especially on ls1021a-twr board. Signed-off-by: Chenhui Zhao <chenhui.zhao@freescale.com> Change-Id: I8305e25a76f0bcc636b58178495165c915ac3c1a Reviewed-on: http://git.am.freescale.net:8181/39478 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
2015-07-03arm/dts: Add node for ina220 on LS1021ATWR-RevYuan Yao
Signed-off-by: Yuan Yao <yao.yuan@freescale.com> Change-Id: Iae6ec5f13ae85e26c2bf50efe55e81d91eba3d8d Reviewed-on: http://git.am.freescale.net:8181/39246 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
2015-07-03arm/defconfig: Add Atheros AT803X PHYs supportYuan Yao
Signed-off-by: Yuan Yao <yao.yuan@freescale.com> Change-Id: Iaba32fdf49bddbd7ee9b8f0f77847f7399c08a3f Reviewed-on: http://git.am.freescale.net:8181/39245 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
2015-06-16arm/dts: Add nodes for flexcan devices present on LS1021A-Rev2 SoCBhupesh Sharma
This patch adds the device nodes for flexcan controller(s) present on LS1021A-Rev2 SoC. Signed-off-by: Bhupesh Sharma <bhupesh.sharma@freescale.com> Signed-off-by: Sakar Arora <Sakar.Arora@freescale.com> Change-Id: Ia301d4db49d337e37def2e6667b6e4e1586fd8fc Reviewed-on: http://git.am.freescale.net:8181/38096 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
2015-06-04arm: ls1021a: enable sleep and deep sleep for rev 2.0 siliconChenhui Zhao
On the rev 2.0 silicon of LS1021A, set the WFIL2EN bit in the SCFG_CLUSTERPMCR register to enable sleep and deep sleep. Signed-off-by: Chenhui Zhao <chenhui.zhao@freescale.com> Change-Id: I0ec6933dc1805749d7e4a815f9049301dfcfb63e Reviewed-on: http://git.am.freescale.net:8181/37396 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
2015-06-03ls1021a: dts: Add eTSEC info for 2nd interrupt groupsClaudiu Manoil
Enable support for the second interrupt group register block and the corresponding Rx/Tx/Err interrupt sources, for each eTSEC node. Fix following non-critical issues and inconsistencies: - eTSEC can support 8 H/W queues, show this in the device tree; - remove "fsl,[r|t]x-bit-map" properties, they are obsoleted; - register block size is 0x1000 (4kB memory page), not 0x8000; - reg property has 2 "address" and resp. 2 "size" cells, not 1; - use register block address as queue-group id for consistency; Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com> Change-Id: Iada02221d1f3e06cc019a7b067c9b676c7c0b77d Reviewed-on: http://git.am.freescale.net:8181/37273 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Huan Wang <alison.wang@freescale.com> Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
2015-06-03powerpc/fsl_lbc: removal of dead codeRaghav Dogra
The condition check was not used Signed-off-by: Raghav Dogra <raghav@freescale.com> Change-Id: I82ee7f37db81bb198765857f8fa924d1c633fcc6 Reviewed-on: http://git.am.freescale.net:8181/37262 Reviewed-by: Prabhakar Kushwaha <prabhakar@freescale.com> Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-06-01Merge branch 'qoriq-sdk' into LS1-SDK-Rev2.0jason
2015-05-29ls102xa: nor: Adjust the partition for NOR flash according to the newAlison Wang
mapping table According to the new mapping table, the partition for NOR flash is adjusted. Signed-off-by: Alison Wang <alison.wang@freescale.com> Change-Id: Id535115a4ac53aeadd4c144425800fc566ab76b8 Reviewed-on: http://git.am.freescale.net:8181/37068 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
2015-05-29powerpc/corenet: Enable CLK_QORIQEmil Medve
Change-Id: I1a80ad7b9f6854791bd270b746f93a91439155a6 Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com> Acked-by: Tang Yuantian <Yuantian.Tang@freescale.com> Signed-off-by: Michael Turquette <mturquette@linaro.org> Signed-off-by: Lijun Pan <Lijun.Pan@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/37059 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-25arm: ls1021a: add deep sleep support on TWR-LS1021A-PBChenhui Zhao
Add deep sleep support on TWR-LS1021A-PB, which has CPLD on board instead of FPGA. Enable the ftm0 node in .dts to enable wake-on-Flextimer feature. Change-Id: I0b1234cdd80d852140964240234576705764cd89 Signed-off-by: Chenhui Zhao <chenhui.zhao@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/36250 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Dongsheng Wang <dongsheng.wang@freescale.com> Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
2015-05-22t1023rdb/dts: set ifc nand chip select from 2 to 1Jaiprakash Singh
IFC NAND chip select is wrongly mapped to 2 in reg property of NAND node.Due to this kernel is not able probe NAND flash.Set chip select to 1 in reg property Signed-off-by: Jaiprakash Singh <b44839@freescale.com> Change-Id: I44c020f964c3960ec0208ba6b594f69dd5019e9d Reviewed-on: http://git.am.freescale.net:8181/36183 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Reviewed-by: Prabhakar Kushwaha <prabhakar@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-22bsc9132/pci: Fix PCIe interrput always be triggered on BSC9132Wang Dongsheng
We missed to handle PME and message interrupt when system back from sleep, so system will popup "nobody cared" call trace. Add .pcibios_fixup_phb for BSC9132 platform, PME interrupt handler will be registered in fsl_pcibios_fixup_phb. Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com> Change-Id: I0550322707a7a48116761f2d691304aec217e4a2 Reviewed-on: http://git.am.freescale.net:8181/36664 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Mingkai Hu <Mingkai.Hu@freescale.com> Reviewed-by: Chenhui Zhao <chenhui.zhao@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-21t1024rdb/dts: add ina220 current sense nodeShengzhou Liu
Add support for INA220 current sense. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Change-Id: I08f12b33f73528abc681bfa34027b28eea9dc45b Reviewed-on: http://git.am.freescale.net:8181/36539 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Xiaobo Xie <X.Xie@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-21board/t1023rdb: add ina220 current sense nodeShengzhou Liu
Add support for INA220 current sense. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Change-Id: I8a09e9a41219ce5d31bf8744be1552927cd0b302 Reviewed-on: http://git.am.freescale.net:8181/36538 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Xiaobo Xie <X.Xie@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-19arm: ls1021a: add platform notifier for dma-coherent requirementAlison Wang
This patch adds platform notifier for dma-coherent requirement. Structure arm_coherent_dma_ops is used instead of arm_dma_ops. Signed-off-by: Alison Wang <alison.wang@freescale.com> Change-Id: I55e755b5ead1cb50ff9ca2e6838588a04e5ea9e7 Reviewed-on: http://git.am.freescale.net:8181/36291 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Claudiu Manoil <claudiu.manoil@freescale.com> Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
2015-05-19ls102xa: dts: Remove big-endian-regs property for SAIAlison Wang
As SAI's registers are configured as little-endian mode, big-endian-regs property is not needed. Signed-off-by: Alison Wang <alison.wang@freescale.com> Change-Id: Ibcd07bbdc1a3fa4e738e9e20c977f35405f54d32 Reviewed-on: http://git.am.freescale.net:8181/36160 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
2015-05-19ls102xa: nor: Adjust the partition for NOR flashAlison Wang
As the load address of U-Boot for NOR boot is changed, the partition for NOR flash is adjusted accordingly. Signed-off-by: Alison Wang <alison.wang@freescale.com> Change-Id: Ibf71d76071c78784f651f8e00a7dc65c2cfc5b75 Reviewed-on: http://git.am.freescale.net:8181/36373 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
2015-05-19powerpc/kvm: Disable in-kernel MPIC emulation for PREEMPT_RT_FULLBogdan Purcareata
Current in-kernel MPIC emulation for PowerPC is unsuitable for RT. More specifically, the MPIC lock becomes a sleeping mutex, causing concurrency issues on a KVM guest enter. Converting the lock to a raw_spinlock is still not a viable solution, since the current implementation is prone to induce large latencies with preemption and irqs disabled on the host kernel. Patch aready applied in the upstream 3.18.13 RT patch, version 9 [1]. [1] http://www.spinics.net/lists/linux-rt-users/msg13340.html Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Change-Id: Ie942de00717527ea78c2471f6a5153489f432e89 Reviewed-on: http://git.am.freescale.net:8181/36530 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Scott Wood <scottwood@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-11powerpc/corenet64_smp_defconfig: Enable spi-nor frameworkHou Zhiqiang
Enable CONFIG_MTD_SPI_NOR_BASE for corenet64_smp_defconfig. Verified on P5040DS. Signed-off-by: Hou Zhiqiang <B48286@freescale.com> Change-Id: I534c2bf9d18ef330d14c4d7ed79dcfeb5185d562 Reviewed-on: http://git.am.freescale.net:8181/35462 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Mingkai Hu <Mingkai.Hu@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-05-04powerpc/t1042d4rdb: add DIU support in kernelWang Dongsheng
Add DIU support for T1042d4rdb board. DIU platform code has supported in kernel, this patch just add DT node check for T1042d4rdb. Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com> Change-Id: I2b524265ea3009961da445820193788d0c82e19e Reviewed-on: http://git.am.freescale.net:8181/35832 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Chenhui Zhao <chenhui.zhao@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-30powerpc:rcpm:usb: Fix kernel crash in setting usb as wakeup sourceRamneek Mehresh
Fix kernel crash issue in setting usb as wake-up source for system sleep feature for relevant qoriq platforms (those supporting system sleep via rcpm) Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com> Change-Id: I838234aff00800b6fafbb02ec12de7d3f2cc6075 Reviewed-on: http://git.am.freescale.net:8181/33283 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-28powerpc/defconfig: Correct NR_CPUS for FMAN V3L platformJianhua Xie
There are 24 cpus/threads only for FMAN V3H platform. For FMAN V3L platform like T10xx, there are only 4 cpus/threads. Signed-off-by: Jianhua Xie <jianhua.xie@freescale.com> Change-Id: Idd5acc067b3e7bda9e4a6c39538f9c4078e34016 Reviewed-on: http://git.am.freescale.net:8181/35651 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-28bonding/t1040d4rdb/dts: Add separate usdpaa dt for LAGJianhua Xie
There are 4 Offline/Host Command Ports (O/H n) in t10xx platform. This patch enables OP#2 for LAG use-cases and keep separate dt for usdpaa scenarios for t1040d4rdb. Change-Id: I1df879190f90f0cf7c25200cede9c4f52a7a552e Suggested-by: Pan Jiafei <Jiafei.Pan@freescale.com> Suggested-by: Madalin Bucur <madalin.bucur@freescale.com> Suggested-by: Scott Wood <scottwood@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/35504 Reviewed-by: Pan Jiafei <Jiafei.Pan@freescale.com> Signed-off-by: Jianhua Xie <jianhua.xie@freescale.com> Change-Id: I99d54e16abe6b8bb27099f2096d4ccea69c0b6f5 Reviewed-on: http://git.am.freescale.net:8181/35652 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-28powerpc/t10xx/dts: Remove software feature node from platform dtJianhua Xie
Configurable node based on software feature should not appear in platform dt, since platform dt should only describe hardware. If some software features depend on some kinds of hardware, those software should share those hardware, and provide configurable capabilities in run-time. At least, a separate device tree with usdpaa style for software features will instead to keep platform dt clear. This patch removes software feature related offline port nodes and buffer pool nodes from t10xx platform dt. Change-Id: Ib367f9facfdd6743a704f863728a7f2e0e7955ce Suggested-by: Pan Jiafei <Jiafei.Pan@freescale.com> Suggested-by: Madalin Bucur <madalin.bucur@freescale.com> Suggested-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Jianhua Xie <jianhua.xie@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/35429 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
2015-04-28bonding/t1040/dts: Add separate usdpaa dt for LAGJianhua Xie
There are 4 Offline/Host Command Ports (O/H n) in t10xx platform. This patch enables OP#2 for LAG use-cases and keep separate dt for usdpaa scenarios. Suggested-by: Pan Jiafei <Jiafei.Pan@freescale.com> Suggested-by: Madalin Bucur <madalin.bucur@freescale.com> Acked-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Jianhua Xie <jianhua.xie@freescale.com> Change-Id: Ic39a9f6f5cab759c175c96cab57ac61fce44478f Reviewed-on: http://git.am.freescale.net:8181/35428 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com> Reviewed-by: Jiafei Pan <Jiafei.Pan@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-22t1042d4rdb/dts: Added usdpaa device tree and sharedSandeep Singh
interface device tree source Signed-off-by: Sandeep Singh <sandeep@freescale.com> Change-Id: If7e2e984aa0883f2ceacc30b67cf493b42f3f67d Reviewed-on: http://git.am.freescale.net:8181/35357 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Vakul Garg <vakul@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-22t1040d4rdb/dts: Add usdpaa device tree and usdpaa sharedSandeep Singh
interface device tree. Signed-off-by: Sandeep Singh <sandeep@freescale.com> Change-Id: I27db2e3e2b55c66e8b75ae560f2899c0455bf893 Reviewed-on: http://git.am.freescale.net:8181/34646 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Vakul Garg <vakul@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-21FMD: DSAR: add dsar support to device tree filesEyal Harari
Signed-off-by: Eyal Harari <eyal.harari@freescale.com> Change-Id: I900fd4e19738897af4be22df651b106e7384f30c Reviewed-on: http://git.am.freescale.net:8181/35281 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Mandy Lavi <Mandy.Lavi@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-21Expose RCW in the ccsr_guts structureMandy Lavi
This will enable the reading of essential h/w configuration setup from within the kernel space Change-Id: I8d5ffbf48b02b5ef6ad6bf546f3440485ccd9778 Reviewed-on: http://git.am.freescale.net:8181/35025 Reviewed-by: Igal Liberman <Igal.Liberman@freescale.com> Reviewed-by: Yangbo Lu <yangbo.lu@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com> Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-16t1024rdb/qe-tdm: remove incorrect qoriq-tdm1.0.dtsi for t1024Shengzhou Liu
qoriq-tdm1.0.dtsi is used for TDM instead of QE-TDM. qoriq-tdm1.0.dtsi was included incorrectly in t1024si-post.dtsi, so remove the unused node. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Change-Id: I04db42316df853ad596a466cccc0ac88621a5384 Reviewed-on: http://git.am.freescale.net:8181/34968 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-16powerpc/perf: fix fsl_emb_pmu_start to write correct pmc valueTom Huynh
PMCs on PowerPC increases towards 0x80000000 and triggers an overflow interrupt when the msb is set to collect a sample. Therefore, to setup for the next sample collection, pmu_start should set the pmc value to 0x80000000 - left instead of left which incorrectly delays the next overflow interrupt. Same as commit 9a45a9407c69 ("powerpc/perf: power_pmu_start restores incorrect values, breaking frequency events") for book3s. Signed-off-by: Tom Huynh <tom.huynh@freescale.com> Signed-off-by: Scott Wood <scottwood@freescale.com> (cherry picked from commit d2caa3cebda8b626336e100b80a0ed6f909dccab) Change-Id: I2179f49218e1e0cd836c67714430a86be8535a27 Reviewed-on: http://git.am.freescale.net:8181/35052 Reviewed-by: Richard Schmitt <richard.schmitt@freescale.com> Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-04-13t1023rdb/dts: add usdpaa device tree and usdpaaVakul Garg
shared interface device tree Signed-off-by: Sandeep Singh <sandeep@freescale.com> Change-Id: Id22399683933675957f945f61621f87856d53b2c Reviewed-on: http://git.am.freescale.net:8181/34778 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Vakul Garg <vakul@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-03-30powerpc: add little endian flag to syscall_get_arch()Richard Guy Briggs
Since both ppc and ppc64 have LE variants which are now reported by uname, add that flag (__AUDIT_ARCH_LE) to syscall_get_arch() and add AUDIT_ARCH_PPC64LE variant. Without this, perf trace and auditctl fail. Mainline kernel reports ppc64le (per a058801) but there is no matching AUDIT_ARCH_PPC64LE. Since 32-bit PPC LE is not supported by audit, don't advertise it in AUDIT_ARCH_PPC* variants. See: https://www.redhat.com/archives/linux-audit/2014-August/msg00082.html https://www.redhat.com/archives/linux-audit/2014-December/msg00004.html Signed-off-by: Richard Guy Briggs <rgb@redhat.com> Acked-by: Paul Moore <paul@paul-moore.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> (cherry picked from commit 63f13448d81c910a284b096149411a719cbed501) Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Change-Id: I8bee5c00b6d4e0f3a6a3d322b21c2f103bd9ce00 Reviewed-on: http://git.am.freescale.net:8181/33027 Reviewed-by: Scott Wood <scottwood@freescale.com> Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-03-30sparc: simplify syscall_get_arch()Eric Paris
Include linux/thread_info.h so we can use is_32_bit_task() cleanly. Then just simplify syscall_get_arch() since is_32_bit_task() works for all configuration options. Suggested-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Eric Paris <eparis@redhat.com> (cherry picked from commit 75dddcbd9651eec29708f91149e405cd42cf68d7) Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Change-Id: Ie3eb2b996101ff3fbd8e3d44c708cd0d94bfb9f3 Reviewed-on: http://git.am.freescale.net:8181/33025 Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-03-30powerpc: Relax secure computing on syscall entry traceBogdan Purcareata
The secure_computing_strict will just force the kernel to panic on secure_computing failure. Once SECCOMP_FILTER support is enabled in the kernel, syscalls can be denied without system failure. v4: - rebase on top of 3.19 v3,v2: no changes Upstream-Status: Pending [https://lkml.org/lkml/2015/2/18/53] Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com> Change-Id: Icd077291db86657edce29b8079696fc8e48e554e Reviewed-on: http://git.am.freescale.net:8181/33031 Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
2015-03-30drivers:usb:pm: Fix usb pm support for deep-sleepRamneek Mehresh
Make sure that saving and restoration of usb phy registers only happen in case of deep-sleep, and not for any other feature like sleep, etc. Also export pm_suspend_state() and set_pm_suspend_state() Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com> Change-Id: I2e08208c975ec7aee7ed42e7d424aaa8d14899e3 Reviewed-on: http://git.am.freescale.net:8181/33384 Reviewed-by: Nikhil Badola <nikhil.badola@freescale.com> Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com> Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>