<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
</head><body style="">
<div>
Hi Ayan Kumar Halder,
</div>
<div>
 
</div>
<div>
Ya you are right. But ARM only supports AMBA bus, your board may have some controller
</div>
<div>
which acts as bridge b/w PCI and AMBA.
</div>
<div>
 
</div>
<div>
Regards,
</div>
<div>
Varka Bhadram
</div>
<div>
<br/>On June 2, 2014 at 2:29 PM AYAN KUMAR HALDER <ayankumarh@gmail.com> wrote:
<br/>> Hi Varka,
<br/>>
<br/>> This is a arm based custom platform in which we have both AMBA bus as
<br/>> well as pci bus (pci slots which can fit addon cards).
<br/>> There is no restriction(as far as I understand) that ARM based
<br/>> platforms cannot have PCI bus.
<br/>>
<br/>> Regards,
<br/>> Ayan Kumar Halder
<br/>>
<br/>>
<br/>> On Mon, Jun 2, 2014 at 1:28 PM, Varka Bhadram <varkab@cdac.in> wrote:
<br/>> > My first doubt is why ARM is having PCI bus... ? I think it has AMBA Bus ...
<br/>> >
<br/>> >
<br/>> > On June 1, 2014 at 11:40 PM AYAN KUMAR HALDER <ayankumarh@gmail.com> wrote:
<br/>> >> Hi,
<br/>> >>
<br/>> >> I am working with Linux hibernation framework on ARM based custom SOC
<br/>> >> which has SATA controller on PCI bus.
<br/>> >>
<br/>> >> I see that when the system resumes from hibernation, the SATA
<br/>> >> controller(drivers/ata/ahci.c) on PCI bus fails to come up. My
<br/>> >> understanding is that the hibernation calls 'freeze' of all devices.
<br/>> >> The SATA controller receives the power state event as PM_EVENT_FREEZE
<br/>> >> ( ie pdev->dev.power.power_state.event = PM_EVENT_FREEZE). Thus when
<br/>> >> system restores the hibernation image, ahci_pci_device_resume gets
<br/>> >> called in which ahci_pci_reset_controller/ahci_pci_init_controller
<br/>> >> does not get called. So SATA controller fails to come up.
<br/>> >>
<br/>> >> Please let me know if my understanding is correct or not. If so, then
<br/>> >> in ahci_pci_device_resume() should we change the following
<br/>> >> if (pdev->dev.power.power_state.event == PM_EVENT_SUSPEND)
<br/>> >> to
<br/>> >> if (pdev->dev.power.power_state.event == PM_EVENT_FREEZE)
<br/>> >>
<br/>> >> In hibernation , as we power down the system, so I understand that the
<br/>> >> sata controller need to be reset and re-initialized for proper
<br/>> >> functioning.
<br/>> >>
<br/>> >> Regards,
<br/>> >> Ayan Kumar Halder
<br/>> >>
<br/>> > Regards,
<br/>> > Varka Bhadram
<br/>> >
<br/>> >
<br/>> > -------------------------------------------------------------------------------------------------------------------------------
<br/>> > [ C-DAC is on Social-Media too. Kindly follow us at:
<br/>> > Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]
<br/>> >
<br/>> > This e-mail is for the sole use of the intended recipient(s) and may
<br/>> > contain confidential and privileged information. If you are not the
<br/>> > intended recipient, please contact the sender by reply e-mail and destroy
<br/>> > all copies and the original message. Any unauthorized review, use,
<br/>> > disclosure, dissemination, forwarding, printing or copying of this email
<br/>> > is strictly prohibited and appropriate legal action will be taken.
<br/>> > -------------------------------------------------------------------------------------------------------------------------------
<br/>>
<br/>> _______________________________________________
<br/>> Kernelnewbies mailing list
<br/>> Kernelnewbies@kernelnewbies.org
<br/>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
</div>
<br />-------------------------------------------------------------------------------------------------------------------------------
<br />[ C-DAC is on Social-Media too. Kindly follow us at:
<br />Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]
<br />
<br />This e-mail is for the sole use of the intended recipient(s) and may
<br />contain confidential and privileged information. If you are not the
<br />intended recipient, please contact the sender by reply e-mail and destroy
<br />all copies and the original message. Any unauthorized review, use,
<br />disclosure, dissemination, forwarding, printing or copying of this email
<br />is strictly prohibited and appropriate legal action will be taken.
<br />-------------------------------------------------------------------------------------------------------------------------------
</body></html>