Age | Commit message (Collapse) | Author |
|
This patch adds code to resume L2 before MMU is enabled in
suspend and cpuidle resume paths. s3c_cpu_resume is moved to the
data section with appropriate comments.
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
|
|
This patch adds support AFTR(ARM OFF TOP RUNNING) mode in
cpuidle driver. L2 cache keeps their data in this mode.
This patch ports the code to the latest interfaces to
save/restore CPU state inclusive of CPU PM notifiers, l2
resume and cpu_suspend/resume.
Signed-off-by: Jaecheol Lee <jc.lee@samsung.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@linaro.org>
[kgene.kim@samsung.com: fixed for non-smp as per Tushar's pointing out]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
|
|
Fix setting up consoles on multiple fiq debugger devices by
splitting the tty driver init into the initcall, and initializing
the single tty device during probe. Has the side effect of moving
the tty device node to /dev/ttyFIQx, where x is the platform device
id, which should normally match the serial port.
To avoid having to pass a different console=/dev/ttyFIQx for every
device, make the fiq debugger a preferred console that will be used
by default if no console was passed on the command line.
Change-Id: I6cc2670628a41e84615859bc96adba189966d647
Signed-off-by: Colin Cross <ccross@android.com>
|
|
The readers list is traversed under the log->mutex lock
(for example from fix_up_readers()), but the deletion of
elements from this list is not being done under this lock.
ST-Ericsson ID: 418270
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: NA
Change-Id: Ib99f2e02b211c17fe54c035e37e648d28be516bb
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/49546
Reviewed-by: Bibek BASU <bibek.basu@stericsson.com>
Tested-by: Bibek BASU <bibek.basu@stericsson.com>
|
|
This patch sets up correct eSCO packet type mask for the
incomming connection request.
ST-Ericsson ID: 413660
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ice423fe276c184d7350c4940efe1e010f5c3751d
Signed-off-by: Sebastian Chlad <sebastian.chlad@tieto.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/48491
Reviewed-by: QABUILD
Reviewed-by: QATEST
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Reviewed-by: Sebastian CHLAD <Sebastian.Chlad@tieto.com>
Tested-by: Sebastian CHLAD <Sebastian.Chlad@tieto.com>
Reviewed-by: Anurag GUPTA-1 <anurag.gupta@stericsson.com>
|
|
There is no need to send RNR immediately when entring local busy.
Also upper layer might clear local busy condition before ack timer
expires saving few cycles for sending RNR.
This also prevents sending two RNRs in some cases where sending one
would be enough i.e received N I-frame can trigger local busy
(sending RNR acking up to N-1 I-frame) and later sending ack (RNR
acking up to N I-frame).
This was affecting TC_ERM_BV_07_C and TC_ERM_BV_22_C with some non
default channel parameters (tx window and receiving buffer sizes).
Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Conflicts:
net/bluetooth/l2cap_core.c
Change-Id: I6f6b6f95d6bca4a5361e84e28d7c2740c5b991ae
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45123
Reviewed-by: SZYMON JANC <szymon.janc@tieto.com>
Tested-by: SZYMON JANC <szymon.janc@tieto.com>
Reviewed-by: QABUILD
Reviewed-by: Andrzej KACZMAREK <andrzej.kaczmarek@tieto.com>
Reviewed-by: Kanak GUPTA <kanak.gupta@stericsson.com>
Reviewed-by: Lukasz RYMANOWSKI <lukasz.rymanowski@stericsson.com>
Reviewed-by: Anurag GUPTA-1 <anurag.gupta@stericsson.com>
Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
|
|
ack_timer should be cleared when sending ACK to avoid acking I-frames
twice.
This commit introduces helper function (only send ack, not clearing
timer) which is used by l2cap_send_ack and l2cap_ack_timeout. This is
to avoid clearing ack timer in timer function.
Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Conflicts:
net/bluetooth/l2cap_core.c
Change-Id: I325e7eb6ecb7e228be573b762dedb07f76327dc2
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45122
Reviewed-by: SZYMON JANC <szymon.janc@tieto.com>
Tested-by: SZYMON JANC <szymon.janc@tieto.com>
Reviewed-by: QABUILD
Reviewed-by: Andrzej KACZMAREK <andrzej.kaczmarek@tieto.com>
Reviewed-by: Kanak GUPTA <kanak.gupta@stericsson.com>
Reviewed-by: Lukasz RYMANOWSKI <lukasz.rymanowski@stericsson.com>
Reviewed-by: Anurag GUPTA-1 <anurag.gupta@stericsson.com>
Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
|
|
In order for panic_notifier_list to be used it needs
to be moved to before we call crash_kexec
ST-Ericsson ID: 403009
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: N/A
Change-Id: I9adea0902b7a52a18ad2af151823a463e6a420a6
Signed-off-by: Johan Bjornstedt <johan.bjornstedt@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45474
Reviewed-by: QATOOLS
Reviewed-by: Magnus TEMPLING <magnus.templing@stericsson.com>
Reviewed-by: QABUILD
Reviewed-by: QATEST
Reviewed-by: Per FRANSSON <per.xx.fransson@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Signed-off-by: Kejun ZHOU <kejun.zhou@linaro.org>
Committer: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
With this patch it is possible to retrieve sec_level from the kernel by
user space. This is needed for SAP working on hciops.
This patch missed to be added when moving to kernel 3.0
ST-Ericsson ID: 256270
ST-Ericsson FOSS-OUT ID: FOSS-OUT-10060
Change-Id: Ic569db392e6f6ee2e546003dec86cc2d62a1fcd7
Signed-off-by: Lukasz Rymanowski <lukasz.rymanowski@tieto.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42169
Reviewed-by: Lukasz RYMANOWSKI <lukasz.rymanowski@stericsson.com>
Tested-by: Lukasz RYMANOWSKI <lukasz.rymanowski@stericsson.com>
Reviewed-by: Hakan GARDRUP <hakan.gardrup@stericsson.com>
Reviewed-by: Henrik POSSUNG <henrik.possung@stericsson.com>
Reviewed-by: Kanak GUPTA <kanak.gupta@stericsson.com>
|
|
Adds ability to setup SCO connection parameters through socket option.
ST-Ericsson Linux next: Not tested, ER 256277
ST-Ericsson ID: 256277
ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10137
Change-Id: If859341019fd9f7cc7c0efe95750779e84fac801
Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30136
Reviewed-by: Par-Gunnar HJALMDAHL <par-gunnar.p.hjalmdahl@stericsson.com>
Tested-by: Par-Gunnar HJALMDAHL <par-gunnar.p.hjalmdahl@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
|
|
Adds handling of extension headers to BNEP control packets.
Adds support for BNEP setup connection request handled in pand.
ST-Ericsson Linux next: -
ST-Ericsson ID: 328144
ST-Ericsson FOSS-OUT-ID: Trivial
Depends-On: Id2cbd106af9b380f63d87ea0b4652ec6cd996fa4
Change-Id: I005e00e2fe934dc19f40533953d5b233676f0d0e
Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18117
Reviewed-by: Par-Gunnar HJALMDAHL <par-gunnar.p.hjalmdahl@stericsson.com>
Reviewed-by: Lukasz RYMANOWSKI <lukasz.rymanowski@stericsson.com>
Reviewed-by: Henrik POSSUNG <henrik.possung@stericsson.com>
|
|
There are 6 buffers and each buffer can be filled with 10 messages. The
size of each buffer is 8k. In shm tx work function, 10 messages are written
to the buffer, if the buffer gets filled during writing these 10 messages
stop writing to buffer and use the next buffer.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 375088
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I146d41e4e415c8ff96c605b4c20546ff7501442a
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43350
Reviewed-by: Durga Prasada Rao BATHINA <durgaprasadarao.b@stericsson.com>
Reviewed-by: QABUILD
Reviewed-by: Sjur BRENDELAND <sjur.brandeland@stericsson.com>
|
|
replace work queue with kthread workqueue for which the priority can be
increased. Priority has to be increased, because ideally there the control
information on flow ctrl i.e ON or OFF should reach caif with no delay.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 372652
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I7a148b3277bcc885ade810df12b47c609a631e21
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42835
Reviewed-by: Hemant-vilas RAMDASI <hemant.ramdasi@stericsson.com>
Reviewed-by: QABUILD
Reviewed-by: QATEST
Reviewed-by: Sjur BRENDELAND <sjur.brandeland@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
In the shm tx work function caif flow control is turned ON and without
acquiring the spin lock. In the rx callback cail flow control is turned
off. The expected sequence would be on caif writing message to modem
via shm, if shm finds that there is no empty space then, it is not sets
caif flow control to OFF. On shm receiving messages from modem, it sets
caif flow control to ON. Now this since this is in interrupt context, there
are chances of this fucntion being preeempted by the caif OFF that is being
set in the tx work function.
Hence create a seperate workqueue and two work functions to turn caif flow
control ON and OFF. With this implementation it is ensured that caif flow
control is turned OFF first by tx work function and turned ON by the rx
callback.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 372652
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ide75415233d7b4560faf25862876c15421df7c2c
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42438
Reviewed-by: QABUILD
Reviewed-by: Hemant-vilas RAMDASI <hemant.ramdasi@stericsson.com>
Reviewed-by: Sjur BRENDELAND <sjur.brandeland@stericsson.com>
|
|
Some added blank line and BUGON for CAIF serial.
Change-Id: If3452ed104b93203fc86fe6a95fd957946447876
Signed-off-by: Erwan Bracq <erwan.bracq@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21527
Reviewed-by: QATEST
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Configure channel priority when configuring HSI interface.
ST-Ericsson Linux next: N/A
ST-Ericsson ID: 365662
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I9880ee8d118dd8fefe7dc8ee46814ee1862cfac8
Signed-off-by: Derek Morton <derek.morton@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42229
Reviewed-by: Christopher BLAIR <chris.blair@stericsson.com>
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com>
Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
|
|
Add support for specifying channel priority when configuring
HSI interface.
ST-Ericsson Linux next: N/A
ST-Ericsson ID: 365662
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I4a1a453edec6122c7d5331db43cb8237c837cc42
Signed-off-by: Derek Morton <derek.morton@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42228
Reviewed-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com>
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Christopher BLAIR <chris.blair@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Added support for IRQ_PRCMU_HSI0 (HSI0_CAWAKE event).
GPIO pin is used to control ACWAKE output line.
ST-Ericsson ID: 365660
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Iefa11ef3466c599af20025ee71f879b9e41c06d9
Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36089
Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
|
|
ST-Ericsson Linux next: NA
ST-Ericsson ID: 365681
ST-Ericsson FOSS-OUT ID: NA
Change-Id: I396c2a4d44ded438308e358aa0ad976a397d4dd6
Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33224
Reviewed-by: Christopher BLAIR <chris.blair@stericsson.com>
Reviewed-by: Derek MORTON <derek.morton@stericsson.com>
Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
|
|
ST-Ericsson Linux next: NA
ST-Ericsson ID: 365683
ST-Ericsson FOSS-OUT ID: NA
Change-Id: I25b92d815447d2746ba25a9db132b242b3da9d9c
Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33223
Reviewed-by: Christopher BLAIR <chris.blair@stericsson.com>
Reviewed-by: Derek MORTON <derek.morton@stericsson.com>
Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
|
|
ST-Ericsson Linux next: NA
ST-Ericsson ID: 343481
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ic59f08e1bb5d858344d95b5d34ae8a5d85d9aa1d
Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32518
Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
|
|
HSIR FRAMEBURSTCNT register set to the max value 0xFF (255).
ST-Ericsson Linux next: NA
ST-Ericsson ID: 361371
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I095f113633d873a60a5622b1d195c28a2b01ceab
Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32216
Reviewed-by: Christopher BLAIR <chris.blair@stericsson.com>
Reviewed-by: Derek MORTON <derek.morton@stericsson.com>
Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
|
|
Added support for HSIR PIPELINED mode (also in drivers/hsi)
Added DMA max burst (in DMA words) as a parameter in hsi.h
DMA channel high priority set to TRUE for HSI
ST-Ericsson ID: 356625
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Id842e61343ce5013992337db085fcbe91dd5b9f7
Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32180
Reviewed-by: Yann GAUTIER <yann.gautier@stericsson.com>
Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
|
|
ST-Ericsson ID: ER338229
Change-Id: I860d98414ee603ab8b992d6688ff02de7cc6fd98
Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/22821
Reviewed-by: Alex MACRO <alex.macro@stericsson.com>
Reviewed-by: QATEST
Reviewed-by: Chris KIMBER <chris.kimber@stericsson.com>
Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
|
|
Change-Id: Id0b4672be6a34cf7fca2494ebb6728b679ad9a63
Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21042
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Reviewed-by: Henrik CARLING <henrik.carling@stericsson.com>
Tested-by: Henrik CARLING <henrik.carling@stericsson.com>
|
|
Change-Id: I1cbd641a712a33f7d9551e8291dd83dd51b62b79
Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21036
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
|
|
Change-Id: Ibe70431ede8a9707b37e3394c22beb9acc42d8cb
Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com>
|
|
Change-Id: I48b038f4d80e6a452aad9a2f077c93e66175c810
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/20174
Reviewed-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com>
Tested-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Add HSI character device kernel configuration
Change-Id: Ic66236e6745634850ef887b96313bbdc6e624972
Signed-off-by: Andras Domokos <andras.domokos@nokia.com>
Signed-off-by: Carlos Chinea <carlos.chinea@nokia.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/20579
Reviewed-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com>
Tested-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Add HSI char device driver to the kernel.
Change-Id: I58a6e1526271781c4532202b4688ee239e6fbc58
Signed-off-by: Andras Domokos <andras.domokos@nokia.com>
Signed-off-by: Carlos Chinea <carlos.chinea@nokia.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/20578
Reviewed-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com>
Tested-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Add OMAP SSI device and driver to the kernel configuration
Change-Id: I7f21d4016a98db6f53efcd03f9ffd176b8845d7c
Signed-off-by: Carlos Chinea <carlos.chinea@nokia.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/20577
Reviewed-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com>
Tested-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Conflicts:
arch/arm/mach-omap2/Makefile
|
|
Introduces the OMAP SSI driver in the kernel.
The Synchronous Serial Interface (SSI) is a legacy version
of HSI. As in the case of HSI, it is mainly used to connect
Application engines (APE) with cellular modem engines (CMT)
in cellular handsets.
It provides a multichannel, full-duplex, multi-core communication
with no reference clock. The OMAP SSI block is capable of reaching
speeds of 110 Mbit/s.
Change-Id: Iea002a8f321cf66ab439552620af001206626ed6
Signed-off-by: Carlos Chinea <carlos.chinea@nokia.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/20576
Reviewed-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com>
Tested-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Adds HSI framework in to the linux kernel.
High Speed Synchronous Serial Interface (HSI) is a
serial interface mainly used for connecting application
engines (APE) with cellular modem engines (CMT) in cellular
handsets.
HSI provides multiplexing for up to 16 logical channels,
low-latency and full duplex communication.
Change-Id: I7f20219c15151e5c36c22a581b581b832abec04d
Signed-off-by: Carlos Chinea <carlos.chinea@nokia.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/20575
Reviewed-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com>
Tested-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
The sim detect irq was not enabled during suspend which meant
that the first irq on wakeup was lost.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 399003
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I5ae895adc38fd2128953010342930cd0c92d27be
Signed-off-by: Paer-Olof Haakansson <par-olof.hakansson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/50784
Reviewed-by: QATOOLS
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Allow userspace not beeing root to update the SIM
voltage level through sysfs. Modem needs to go via userspace
to update the voltage level and that program is currently not root.
Also change sysfs return value when a faulty input is given.
ST-Ericsson ID: 411141
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: -
Change-Id: I3ba59721197b8bd10482806a5471ad635d045bf1
Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/51080
Reviewed-by: Teddie STENVI <teddie.xx.stenvi@stericsson.com>
Reviewed-by: Bibek BASU <bibek.basu@stericsson.com>
Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
|
|
This patch removes netif_carrier_off() call from machine suspend sequence.
Also removes netif_carrier_on() call from resume sequence.
This error is introduced because of the below behaviour.
Important control message PNS_PEP_STATUS_IND message from phonet stack is
getting dropped sometimes in the APE sleep-wakeup transition.
It happens because, the Qdisc (between Phonet and SHRM) changes to "noop"
when APE goes to sleep. The normal Qdisc in operation in pfifo_fast.
When APE wakes up, the transition to pfast_fifo is not fast enough as
it is done in a workqueue.
So before the switch happens, APE receives 3 packets very quickly and must grant
credits in any of the 3 packets. This does not happen. Hence modem cannot send
any new packet as it has exhausted all its credits and APE cannot
send credit-grant message as it will not receive any new packet.
This leads to a deadlock situation for IP data transfer.
ST-Ericsson ID: 405569
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I94e1d117c4c191e27a08f6a558b26c442a750816
Signed-off-by: Hemant Ramdasi <hemant.ramdasi@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/47661
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Reviewed-by: Dinesh Kumar SHARMA (STE) <dinesh.sharma@stericsson.com>
Reviewed-by: QABUILD
Reviewed-by: Durga Prasada Rao BATHINA <durgaprasadarao.b@stericsson.com>
|
|
St-Ericsson Linux next: NA
St-Ericsson Id: 419832
St-Ericsson FOSS-OUT ID: Trivial
Change-Id: I5a90032c32da0ae9c1963fcd132b5506ec75e591
Signed-off-by: Ashok G <ashok.g@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/50523
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Bibek BASU <bibek.basu@stericsson.com>
Reviewed-by: Arun MURTHY <arun.murthy@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Apart from checking the modem reset based on the shrm protocol internal state
machine, PRCMU registers can also be checked to know the modem reset status
before accessing the GOP registers.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 413508
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I3fefea9d001ccd7a0478967706fec083085ac7f3
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/48278
Reviewed-by: QABUILD
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Before writing to GOP we mush ensure that hostaccess_port is high. Along with
that its better to check the modem awake status, to confirm that modem is awake
and we dont end up with a freeze on writing to GOP.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 413508
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ia1bfa7adb8b472745f53ddd03878f25b3ed62375
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/48277
Reviewed-by: QABUILD
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Before accessing the GOP registers checks are present to verify the modem
reset status and the availability of hostaccess_port. There are chances
of preemtion happening between the check and access to GOP during which
if modem has reset, then we will end up with a system freeze.
Hence secure that the check and access to GOP happends at a time without
preemption.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 413508
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Change-Id: I481e925b3a457ad3c8c82a5b7986dba6b2a4457b
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/48276
Reviewed-by: QABUILD
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
ST-Ericsson Linux next: NA
ST-Ericsson ID: 413508
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ie34c827ba78398ce81403c6ee24cd82b4f2100c1
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/48275
Reviewed-by: QABUILD
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
In places of APE handling modem ISR, its clear that modem is awake since it has
sent the interrupt and it should be waiting for the ACK for the interrupt. But
still its better to check since there are cases where modem behaves
unexpectedly.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 413508
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: If9f13388aabeb6b9721ae7274b0d2216d1bca027
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/48274
Reviewed-by: QABUILD
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
the variable boot_state is used to monitor the check the access for the GOP
register. Hence on APE initiated modem reset, this flag must be reset as there
can be possibility that very soon after ape initiated modem reset, there is
some 100msec for modem to send to send modem reset ack and in the mean time
if ape tries to access the GOP register then it might end up with system
freeze. Hence reset the flag on ape initiated modem reset.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 413508
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I8ce1c2b2df4608dc3cb4b7a0b3c6ed95857ea4a6
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/48273
Reviewed-by: QABUILD
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
After sendig AC_MSG_PEND timer is started and on getting AC_READ_NOTI timer
is stopped.
There are possibility of preemtion happening after writting to GOP register(for
sending AC_MSG_PEND) and starting the timer. Hence acquire a spin lock to
ensure that hrtimer is started after sending MSG_PEND interrupt.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 413524
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ic3d5d6e9259dc22ca6a4741b1cdd3792f33777fb
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/48272
Reviewed-by: QABUILD
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
ST-Ericsson Linux next: -
ST-Ericsson ID: 402239
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ia08165f58c0d55db7ed97a0c74cd4b493cf14495
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/47128
Reviewed-by: QABUILD
Reviewed-by: QATEST
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
/local/scratch/hudson_prod/sandbox/build-roots/u8500-lbp-dev/kernel/
Documentation/DocBook/shrm.xml:2153: parser error : EntityRef: expecting ';'
<title>&shm_mod_stuck_kw_task</title>
^
unable to parse /local/scratch/hudson_prod/sandbox/build-roots/u8500-lbp-dev/
kernel/Documentation/DocBook/shrm.xml
/bin/cp: cannot stat `*.*htm*': No such file or directory
make[4]: *** [Documentation/DocBook/shrm.html] Error 1
make[4]: *** Waiting for unfinished jobs....
ST-Ericsson Linux next: NA
ST-Ericsson ID: 407459
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I916a0aace48eb04b9707c3d2f3f6b4c47ce08b30
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/46539
Reviewed-by: Maria STURESSON <maria.sturesson@stericsson.com>
Reviewed-by: QATEST
Reviewed-by: Henrik CARLING <henrik.carling@stericsson.com>
|
|
On APE side after FIFO fill, shrm driver stops further receiving messages from
the user space and keeps waiting indefinetly for the modem to read and empty
the fifo. If modem is not responsive then it ends up in an indefinite loop.
Hence after arriving at fifo full wait for some time say 1sec and then issue
a modem reset which will turn out in a MSR.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 407459
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I9ac5cc4029f6b092809297513810798805485b60
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/46338
Reviewed-by: Ashok G X <ashok.g@stericsson.com>
Tested-by: Ashok G X <ashok.g@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
On APE sending msg_pend notification, the only way when APE gets to know that
modem is not responsive, is when it ends up with a FIFO full. In order to get
this FIFO full on common channel it might take 30min. Hence add a timer and
start the timer on msg_pend_notification and cancel the timer at read_noti.
If timer expires within this time then its for sure that modem is not
responsive. Initiate MSR in that case.
The current timer value is 6sec.
Since there are two timers and on expiry of either of the timer, modem_reset
is called, have added flag so as to ensure that modem_rest is not called
simultaneously on exit of both the timer in short span of time.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 407459
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: If3e7b61ee57ea4b1d386a50c8c4b99c2cd701e13
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/46337
Reviewed-by: Ashok G X <ashok.g@stericsson.com>
Tested-by: Ashok G X <ashok.g@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
change the inactivity timer of audio and common messages to 25ms.
Since there is audio patch every 20ms, the inactivity timer can be 25ms.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 410076
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I9c66012b7283bcf60786ef3475111ce398cf9044
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45200
Reviewed-by: Bibek BASU <bibek.basu@stericsson.com>
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Tested-by: Bibek BASU <bibek.basu@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|