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

Re: [Minios-devel] [UNIKRAFT PATCHv3 5/7] plat/common: Find and register IRQ for arch_timer


  • To: Julien Grall <Julien.Grall@xxxxxxx>, Santiago Pagani <Santiago.Pagani@xxxxxxxxx>, "minios-devel@xxxxxxxxxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxxxxxxxxx>, Simon Kuenzer <simon.kuenzer@xxxxxxxxx>, Sharan Santhanam <Sharan.Santhanam@xxxxxxxxx>
  • From: "Justin He (Arm Technology China)" <Justin.He@xxxxxxx>
  • Date: Tue, 17 Sep 2019 07:01:46 +0000
  • Accept-language: en-US, zh-CN
  • 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=n2dZrUSFA07YaPgzK/UkT30IcYhjLPewos/HAU9qooU=; b=mZKq1rRw7kjBoF3Y5mefYS2ll8pk+MGB0xUPXo7sbr9lCdcbuntSbJ+UunYl4W1ZKIs5lPeJ1cRk0bB0wbfJrP/8mcVWGa2F+eO4XEXnP7yk0Bixozb61noSdzEk5AtUP7G6WjQTVgvYZ1d/ZXtF0qxrPMMBI7ng2oi1OM0Ehje03i3idnWwwsOBzppWAD6OWSIUn/7a/GtwIEM7+IICNpUpBPTcict5hdnSwxSlVD3vPw2hWwBjkTh/CbGdbgeDXhvhcfrSOPf6ZGLMPPjwMBbRjMcXv8rrb9LoaPerM+uUqRRdmhAgi5aBkxzlMxYgkBNEko1ZgJvl7Vi26Wa0Qw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZoJNR/cI8ct7OlVffvdhwXuvgGAyoc4b0I/aGwnmw4vTWyi07ze4Vrhaj1o/yYvn79l4uiiqcgxDU2w+ChO4DIYl63Qun6odzMsVKBTVyuwJryrgq/DHTn3Ytd6/ZvvpplJIrQ+bTtTrVVHvesIZewIc7+1zlL2VDSX9fYd4ZggxLxT/WYTgwQ11r2FQhjJDomMFELzAl572VFQFgg5PGzxbUr1xCaiYYvjuwvRitgS5z1eJUqrfN6wW31mtYHHBZVo/EwGvXstjtuFL5Sih+AUZ1et8JVT98HsTga6PTgFSzWRQEvdfVmnqcPboqAkF11nGVYApdnoTSXv2HTZV8A==
  • Authentication-results: spf=temperror (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=Justin.He@xxxxxxx;
  • Cc: "Kaly Xin \(Arm Technology China\)" <Kaly.Xin@xxxxxxx>, nd <nd@xxxxxxx>, "Jianyong Wu \(Arm Technology China\)" <Jianyong.Wu@xxxxxxx>, "Wei Chen \(Arm Technology China\)" <Wei.Chen@xxxxxxx>
  • Delivery-date: Tue, 17 Sep 2019 07:02:13 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Nodisclaimer: True
  • Original-authentication-results: spf=none (sender IP is ) smtp.mailfrom=Justin.He@xxxxxxx;
  • Thread-index: AQHVRuMI4eqgfPiDNkactshV+eW3nqckwa4AgAlWQkCAAOsNgIAAtvSg
  • Thread-topic: [UNIKRAFT PATCHv3 5/7] plat/common: Find and register IRQ for arch_timer

Hi Julien (welcome back from holiday 😊 )

> -----Original Message-----
> From: Julien Grall <julien.grall@xxxxxxx>
> Sent: 2019年9月17日 3:53
> To: Justin He (Arm Technology China) <Justin.He@xxxxxxx>; Santiago
> Pagani <Santiago.Pagani@xxxxxxxxx>; minios-devel@xxxxxxxxxxxxxxxxxxxx;
> Simon Kuenzer <simon.kuenzer@xxxxxxxxx>; Sharan Santhanam
> <Sharan.Santhanam@xxxxxxxxx>
> Cc: Kaly Xin (Arm Technology China) <Kaly.Xin@xxxxxxx>; Wei Chen (Arm
> Technology China) <Wei.Chen@xxxxxxx>; Jianyong Wu (Arm Technology
> China) <Jianyong.Wu@xxxxxxx>
> Subject: Re: [UNIKRAFT PATCHv3 5/7] plat/common: Find and register IRQ
> for arch_timer
> 
> On 9/16/19 8:52 AM, Justin He (Arm Technology China) wrote:
> > Hi  Santiago
> 
> Hi all,
> 
> @Santiago, it is quite difficult to follow the thread when you start
> your answer with "COMMENT". May I ask you to configure your e-mail
> client to quote properly (i.e >)?
> 
> Furthermore, disclaimer footer should be avoided on the mailing list.
> You are basically saying this is confidential but you send to everyone
> (mailing list are archived)...
OK
> 
> [...]
> 
> >> COMMENT: There is nothing that we would like to do here? Not even
> >> disable the IRQ? As the timer is not stopped, when the counter
> overflows
> >> we would get a new interrupt otherwise (although the overflow could
> >> happen in a very very long time, right?)
> >
> > In previous version, we added a generic_timer_mask_irq() in
> > generic_timer_irq_handler. But as per the suggestion [1] from Julien, we
> > removed it. Besides, we referred to the minios logic at [2], it only called
> > unmask and mask in block_domain (which is equivalent to unikraft's
> > generic_timer_cpu_block)
> 
> Looking at my comments again, I am not sure where I suggested to remove
> generic_timer_mask_irq()... Can you expand it?
Okay... sorry for my mistakes. I will add generic_timer_mask_irq() back.
> 
> FWIW, the two main comments on the previous versions were:
>     1) isb() should be added after updating the system register to
> ensure that the system system is synchronized
>     2) This is common code between arm32 and arm64. But the system
> register name are arm64... Accesses should be stub in arch-specific
> header so the code can work for both arm32 and arm64.
I renamed plat/common/arm/time.c to plat/common/arm/time_arm64.c
Seems that is not enough for you?  If no, I have no objections to make 
a stub  for arm32.

--
Cheers,
Justin (Jia He)



> 
>  From a quick look 1) has been addressed, 2) is still pending.
> 
> Cheers,
> 
> --
> Julien Grall
_______________________________________________
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®.