Age | Commit message (Collapse) | Author |
|
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>
|
|
ST-Ericsson Linux next: NA
ST-Ericsson ID: 402285
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I94eb660c8a06070954c1b8920042ff465a85db84
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43027
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>
|
|
Adds additional dump area information which contains
information of fuses in db8500.
ST-Ericsson Linux next: -
ST-Ericsson ID: 404278
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: If2aea9493c0942700acc676c40dc9b6e344ef891
Signed-off-by: Rikard Olsson <rikard.p.olsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45155
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Changes the IPC protocol to version 0x02 which used the same protocol
for both common and audio links. Since this protocol is not suitable
for DMA transfers, the link must be configured in interrupt transfer
mode.
ST-Ericsson ID: 409301
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: NA
Change-Id: Ifb7fc0ad008983e59bcfe97f59d9aea128613888
Signed-off-by: Chris Blair <chris.blair@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/44936
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
|
|
Handles the scenario where the modem wakes up the APE and the modem
irq is serviced before the IPC driver is resumed. The event is
regsitered and serviced later when the driver resume hook is called.
ST-Ericsson ID: 405458
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: NA
Change-Id: I441decea1cbc657e8dc13ca63a3116f50581c6a7
Signed-off-by: Chris Blair <chris.blair@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/44410
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Rickard EVERTSSON <rickard.evertsson@stericsson.com>
Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
|
|
ac_sleep_disable_count is flag used t control the power management state machine
this counter is increased in 3 places
ca_wake_req
ac_msg_pend_notify_0
ac-msg_pend_notify_1
and decremented in 3 places
ac_read_notify_0
ac_read_notify_1
ca_sleep_req
ac_msg_pend_notify is called from 2 places,
shm_write_msg
ac_read_notify
it gets called from "shm_write_msg" when there is only one message in the shared
memory and otherwise from "ac_read_notify"
LOGS
<6>[ 72.793395] send_ac_msg_pend_notify_1_work I:2
<6>[ 72.793609] shm_ac_read_notif_1_tasklet D:1
<6>[ 72.793731] send_ac_msg_pend_notify_1_work I:2
<6>[ 72.793853] send_ac_msg_pend_notify_1_work I:3
<6>[ 72.793914] shm_ac_read_notif_1_tasklet D:2
<6>[ 72.804840] send_ac_msg_pend_notify_1_work I:3
<6>[ 72.805053] shm_ac_read_notif_1_tasklet D:2
From the above logs send_ac_msg_pend_notify_1_work is called twice. No problem
if this is called twice, but for state machine counter ac_sleep_disable_count
this causes problem which doesnt allow the system to enter sleep.
This function is called twice in a real time seq, first time from the
ac_read_notify, here assume that there is only one message, and hence after
notifying modem will call ac_msg_pend_notify. Modem on receiving this interrupt
will update the shared read pointer and send the ack. After updating the shared
read pointer and before APE receiving the ACK, there is some msg write req
coming to shrm. shm driver shm_write_msg is called. Here it finds that this is
the only message in shared memory, because the shared read and write pointer are
same. Hence send_ac_msg_pend_notify_1_work is called again. Even though msg_pend
is notified twice we receive read_notification only onece.
Counter ac_sleep_disable_count is incremented in ca_wake_req to 1. Then in
ac_msg_pend_notify to 2, then decremented in ac_read_notify. Hence it doesnt
increase beyond 2
Fix would be to check if ac_msg_pend is called twice before ac_read_notify is
received, then in that case dont increment the ac_sleep_disable_count in
ac_msg_pend_notify.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 401826
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ie4ed0ae33b011a798d620a8db531fad8c23b1d7a
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43169
Reviewed-by: Bibek BASU <bibek.basu@stericsson.com>
Reviewed-by: QABUILD
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Adds the implementation of the driver protocol state machine.
ST-Ericsson ID: 369397
ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224
ST-Ericsson Linux next: NA
Change-Id: Iffa99154ab2d3f0150c96c7bc535ffe26f6988db
Signed-off-by: Chris Blair <chris.blair@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36501
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Adds netlink support to the modem driver. Userspace can send requests
for status on the link and they can subscribe for broadcasrs on the
link.
ST-Ericsson ID: 369397
ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224
ST-Ericsson Linux next: NA
Change-Id: I9159080c7337498368da759ca2b20106dd41381c
Signed-off-by: Chris Blair <chris.blair@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36499
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Adds the net device interface from the modem to userspace.
ST-Ericsson ID: 369397
ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224
ST-Ericsson Linux next: NA
Change-Id: Ib1cafdc1558305d808870b0fdafa8e7029ec5a6b
Signed-off-by: Chris Blair <chris.blair@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36494
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
ape_req interrupt is not to be used as mailbox interrupt serves as a
wakeup interrupt to ARM.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 402718
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I069bfb6b93fdb02b6ce106bfccba23820d6284b8
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43026
Reviewed-by: QATOOLS
Reviewed-by: Bibek BASU <bibek.basu@stericsson.com>
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
|
|
A new shared-mem IPC logical channel (mapID=200) allows APE
to send and receive messages to the modem in support of the
calibration of the RealTimeClock.
The modem can measure the 32KHz clock drift (against network clock)
and report the drift to the APE. This new logical channel supports
this reporting and can be accessed via a new /dev/rtc_calibration
device.
ST-Ericsson ID: 362204
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ic0ed097c1bbd8b3a6816642840c258e598b79715
Signed-off-by: Mark Godfrey <mark.godfrey@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36440
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
change write permissions for syfs attributes
to user only, give only read permissions
for group and others.
Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
|
|
ST-Ericsson Linux next: NA
ST-Ericsson ID: 354484
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I9b086aae5dc697c1b0fccc0913b170c3ef32ea97
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/41014
Reviewed-by: QABUILD
Reviewed-by: Bibek BASU <bibek.basu@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Adds the char device interface from the modem to userspace.
ST-Ericsson ID: 369397
ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224
ST-Ericsson Linux next: NA
Change-Id: Ia0a5e8a8e95f28ee4a812795db91dc872b39f560
Signed-off-by: Chris Blair <chris.blair@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36491
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Use prcmu_read instead of global prcmu address variable.
ST-Ericsson Linux next: -
ST-Ericsson ID: 370799
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I55db2ab4d2fdc647e03791b88c1669bef62d07f5
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/39654
|
|
Reduce the timeout to 2sec for now as modem doesnt go to sleep.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 400364
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Icd9fed7b22d23d000aecf7643b0664fcd4ed2905
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40785
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Bibek BASU <bibek.basu@stericsson.com>
Tested-by: Bibek BASU <bibek.basu@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
API that can be used by modem control driver to reset the mailbox state
on receiving the modem reset interrupt. This APE will be called in case
of modem silen reboot.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 341807
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Idc7e4eeeaa410185d34c1be9abcb59f4dd0a60af
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/39815
Reviewed-by: Bibek BASU <bibek.basu@stericsson.com>
Reviewed-by: QABUILD
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Adds the debug related functionality for the modem driver.
ST-Ericsson ID: 369397
ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224
ST-Ericsson Linux next: NA
Change-Id: I1b1144dd01b574410a86d34169e01621f56271cb
Signed-off-by: Chris Blair <chris.blair@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36486
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Adds the IPC driver TX queue related functionality
ST-Ericsson ID: 369397
ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224
ST-Ericsson Linux next: NA
Change-Id: I09982aea887877b7793e17edb250d2c9ea9b2996
Signed-off-by: Chris Blair <chris.blair@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36484
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Adds utility functions to be used by the IPC protocol.
ST-Ericsson ID: 369397
ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224
ST-Ericsson Linux next: NA
Change-Id: I27a1329b980f69671c7ae7f2c975ade80d6aa409
Signed-off-by: Chris Blair <chris.blair@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36479
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Adds the M6718 modem IPC SPI driver procotol framework and types.
Placeholders remain where future parts of the protocol will be
called.
ST-Ericsson ID: 369397
ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224
ST-Ericsson Linux next: NA
Change-Id: Id4cd5a7fa730c06838c9dd5b1a1cc0045135fdd4
Signed-off-by: Chris Blair <chris.blair@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36466
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
While writing to the modem GOP registers, check if modem is in reset
else writing to GOP registers while modem being in reset will lead
to system dreeze.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 375164
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ic4534c1b9c9eee09eb09fad298adddc6bfcb7c3f
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/39433
Reviewed-by: QABUILD
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
On shrm receiving modem reset interrupt, it will disable interrupts and
schedule a tasklet for initiating MSR if enabled. The tasklet function
includes stopping the network queue. But as soon as ISR is served, if
phonet starts ending message, shrm will return with a -ve value. Hence
phonet retries sending the same message again. This will lead to a dedlock
and finally ends up with a watchdog timeout.
Hence stop the network queue on receiving modem reset interrupt in the
interrupt handler.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 375164
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Id608024590cea26e15f04afa7786e245825da2ed
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/39434
Reviewed-by: Bibek BASU <bibek.basu@stericsson.com>
Tested-by: Bibek BASU <bibek.basu@stericsson.com>
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
|
|
Implement a protocol for APE - Modem communication which helps in
achieving system power management.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 350108
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Id42b0d50d118d5d3215a60f3123c365db20cfc6b
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36183
Reviewed-by: Bibek BASU <bibek.basu@stericsson.com>
Reviewed-by: QATOOLS
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
|
|
Detects modem crashdump ready and informs userspace
ST-Ericsson Linux next: NA
ST-Ericsson ID: 354626
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I204eeb48b7353509b07b9e3c6ec08bc7026985fa
Signed-off-by: Bibek Basu <bibek.basu@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34170
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Sandeep TRIPATHY <sandeep.tripathy@stericsson.com>
Tested-by: Sandeep TRIPATHY <sandeep.tripathy@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
add support for 32 dsp buffer
ST-Ericsson Linux next: NA
ST-Ericsson ID: 367390
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Id031ef5879906230b2dac8b3723bdef58da9bd4a
Signed-off-by: Bibek Basu <bibek.basu@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/39093
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
|
|
Adds the modem state driver to the M6718 modem IPC interface.
ST-Ericsson ID: 369397
ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224
ST-Ericsson Linux next: NA
Change-Id: I5566277b950aa0be954f4350bdc1ed38c7afd7d8
Signed-off-by: Chris Blair <chris.blair@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36434
Reviewed-by: Derek MORTON <derek.morton@stericsson.com>
Reviewed-by: QATOOLS
Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
Reviewed-by: QABUILD
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Adds support for the M6718 modem IPC SPI driver. This patch adds the
spi driver under which the protocol will be added.
ST-Ericsson ID: 369397
ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224
ST-Ericsson Linux next: NA
Change-Id: Ifa60efa9cb6a9d30b02b88b563624a293bc0930c
Signed-off-by: Chris Blair <chris.blair@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36433
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Adds support for the STE M6718 modem to the modem access framework.
ST-Ericsson ID: 369397
ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-12224
ST-Ericsson Linux next: NA
Change-Id: Iefbd8db9a7ab77c21fb09cbb3699a7d34ee555e1
Signed-off-by: Chris Blair <chris.blair@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36316
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Releases the mutex when the requested modem is not found.
ST-Ericsson ID: 369397
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: NA
Change-Id: Iee00b1dd24251afcff31ce2e03f07832e26ac725
Signed-off-by: Chris Blair <chris.blair@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36315
Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
Reviewed-by: QABUILD
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Workqueue updates no longer guarantee fixed workqueue to worker
kthread association, so giving RT priority to the irq worker won't
work. Use kthread_worker which guarantees specific kthread association
instead. This also makes setting the priority cleaner.
ST-Ericsson ID: 361756
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Id54eafae1391ef8b09e93a4815efa1b674d3d90d
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36062
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Reviewed-by: QABUILD
Tested-by: Christoffer LONNERFORS <christoffer.lonnerfors@stericsson.com>
Reviewed-by: Arun MURTHY <arun.murthy@stericsson.com>
|
|
Fix the most obvious violations of the kernel coding style
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
|
|
Number of DSP read buffers has ben increased to 16
to avoid message loss when system waking up.
Updated check for message pending with atomic_dec_return
API which is more proper in this case.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 367390
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I99ef44ead99a2b9eb856c01e025423a990b0ba98
Signed-off-by: Bibek Basu <bibek.basu@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36973
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
atomic_dec_and_test wrongly used.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 367390
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I37ffaa0afd6df3472469842925030e8a04a42a6b
Signed-off-by: Bibek Basu <bibek.basu@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36026
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|