[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [RFC PATCH 0/2] enable rtc and correct wall time for arm.


  • To: "Jianyong Wu (Arm Technology China)" <Jianyong.Wu@xxxxxxx>, "minios-devel@xxxxxxxxxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxxxxxxxxx>, "sharan.santhanam@xxxxxxxxx" <sharan.santhanam@xxxxxxxxx>, "simon.kuenzer@xxxxxxxxx" <simon.kuenzer@xxxxxxxxx>, "Santiago.Pagani@xxxxxxxxx" <Santiago.Pagani@xxxxxxxxx>
  • From: "Jianyong Wu (Arm Technology China)" <Jianyong.Wu@xxxxxxx>
  • Date: Wed, 20 Nov 2019 10:29:49 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=04KALgwUguuakdSlcUq0GP4xTYV3KewR6D9ZqyFy+Kk=; b=LRe1ui0ALOtsiZg+FFKY9J8KWMq8X4tbjADXXNs2FeU8Mu/VKveIKrqcysMvw5r+ffYnaIMOaA/W4vCpaakDPKjlViRnT2i7J3rWd2LT1V/3h36XZP55wjkTGhgPJKCtx6N6bEa0GtjlHZybXe1TRvxtSo1ECrK66kvFtrPqelBH+fSKKeNZ7m3YJusTgL5gCBx/aYNEXwEq/dEFhjoqtLzQrNxCOLHO5gUXuO/1T89emLvd2X8BqweQTtJgqZbFORDJIk4kn+4yiSBj4Oy2eqqkRvB2BM7CuUcJMFMFOhhcuBAxaoQdZTlOmfWyeqBprxf92f/kE8q9EjWzjKlFSQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lfeSWHmfPJTNhjeLl73WRVzqXD+CZ8s/ZFPljwxdOHXx3Op5QGGQ7ibSPUkPIEdqavne/h/bUAaijpcAB1/791xa/DsgUwtLoKBrdC0JJ1LHSriTgmOXSeYPTxtrDs+bGUsPaxxa1/by9QbjYpglnItBapS3KJKdFMsTSb9Ev/N+Woagj3OeqasdtWW+vFqWzs9DJ1iEwb7FmA75BjZ8VbkjsjLEseMoPVHj3KeCt9J1TgUB459WYSMKpGNp02PAX15T9vLIfaM+/awwhRngpyTOTP7y7y3fsiACfBL7NkjZyaedSMBempCKjV8/HJKax4R5UPuJmThFL/kRqb4JJA==
  • Authentication-results: spf=fail (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.xenproject.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.xenproject.org; dmarc=none action=none header.from=arm.com;
  • Authentication-results-original: spf=none (sender IP is ) smtp.mailfrom=Jianyong.Wu@xxxxxxx;
  • Cc: "Justin He \(Arm Technology China\)" <Justin.He@xxxxxxx>
  • Delivery-date: Wed, 20 Nov 2019 10:30:04 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Original-authentication-results: spf=none (sender IP is ) smtp.mailfrom=Jianyong.Wu@xxxxxxx;
  • Thread-index: AQHVnPzf3BSV9xN2nUi9djVaZA/OeqeT4L9g
  • Thread-topic: [RFC PATCH 0/2] enable rtc and correct wall time for arm.

Hi all,

Any comments?

Thanks
Jianyong

> -----Original Message-----
> From: Jianyong Wu <jianyong.wu@xxxxxxx>
> Sent: Sunday, November 17, 2019 12:10 PM
> To: minios-devel@xxxxxxxxxxxxxxxxxxxx; sharan.santhanam@xxxxxxxxx;
> simon.kuenzer@xxxxxxxxx; Santiago.Pagani@xxxxxxxxx
> Cc: Justin He (Arm Technology China) <Justin.He@xxxxxxx>; Jianyong Wu
> (Arm Technology China) <Jianyong.Wu@xxxxxxx>
> Subject: [RFC PATCH 0/2] enable rtc and correct wall time for arm.
>
> Currently, get wall time in arm will only return boot up time as no rtc 
> avalible.
> pl031 is chose as the rtc device and its driver implemented here, then correct
> the wall time by introduceing rtc_gettimeofday.
>
> Jianyong Wu (2):
>   enable rtc pl031 for arm
>   correct wall time for arm64
>
>  plat/common/arm/generic_timer.c |   3 +-
>  plat/common/arm/rtc.c           | 144
> ++++++++++++++++++++++++++++++++
>  plat/common/arm/time.c          |   9 ++
>  plat/common/include/arm/time.h  |   1 +
>  plat/common/include/rtc.h       |  45 ++++++++++
>  plat/kvm/Makefile.uk            |   1 +
>  plat/kvm/arm/setup.c            |   3 +
>  7 files changed, 205 insertions(+), 1 deletion(-)  create mode 100644
> plat/common/arm/rtc.c  create mode 100644 plat/common/include/rtc.h
>
> --
> 2.17.1

IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.