Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2217584pxk; Sat, 26 Sep 2020 22:53:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1jFdPiNdXRJp7nHYj1X4mN7lsy6PEyu4aEg6EvJveJjEzKsUV3QXqezY53LoHWgV3ocsN X-Received: by 2002:a50:fe07:: with SMTP id f7mr9948745edt.173.1601186001361; Sat, 26 Sep 2020 22:53:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1601186001; cv=pass; d=google.com; s=arc-20160816; b=h5VZiHbvrNW7uSOh7YGF+5QWd1lwa+OFFo4mUYMKJRGi4xZITDnqqwHIPhCDMK8Pgs Bzah3uPrJuXs5gOwdN03Tfall2LzXOkseHCi21L+c/opHzSi6eJtXC9gpFwZIXOLdNMB s9sIA6HyQ3b9dy5nfHoq29z9REsskYl34NE/z40Nkk7wxaoXQUKsyPmZsc8acNj2hCLe NqvvU1To8nZJAF76eFF9EzrnfJx1mVBAwyVp8VCYWNFBlqUcN0dB3xPCRCGDL8jYd37Y sgYsGdrfGE3xkYDRgFEdGunx9AW8qQ8AaDyJTRha/AulMQVcVb1u9NPkWrxne1qwANHU 2HMA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:wdcipoutbound:user-agent:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature:ironport-sdr :dkim-signature; bh=Q9zHDhTOdzBFTb+QNBGZ/EKhYndqeDMWFhuF6S8aTOY=; b=ew+At/JByoAA325gAjPKPBvjhQKPUOz2iPpqCk5QcbGydA2f3RSE/CTeWw1gZd6M5I DAXBE5D2attU9d9CZpy7R6Vl2NAaC3dlQtjMjTNTn12YQSSqC7wtgz6eajAFGY2pvFaP jqMbMQmS5Q+aRi8YogSPkENVEJBui9o0nkjZOuYevGiHi1/1edA3qj+NO68dmxx1v6G9 SXlT0GBdd/lpv0bAyLMHS3HHmYQ4DSM7FhehcYVearBFsZ0UbHq4+XF0OXOygaH23vB8 Ii5NGrzkcPFcp94QURaLPaL9zRP48i4OeAg4tpJvIhghm543SEvlHF/K0HQ8hsQ7e0Pj 4g+Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=hpTsgx56; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=DBFxnRJ0; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x25si5316477edr.508.2020.09.26.22.52.58; Sat, 26 Sep 2020 22:53:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=hpTsgx56; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=DBFxnRJ0; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730330AbgI0Fvc (ORCPT + 99 others); Sun, 27 Sep 2020 01:51:32 -0400 Received: from esa1.hgst.iphmx.com ([68.232.141.245]:45808 "EHLO esa1.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729125AbgI0Fvc (ORCPT ); Sun, 27 Sep 2020 01:51:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1601185892; x=1632721892; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=Q9zHDhTOdzBFTb+QNBGZ/EKhYndqeDMWFhuF6S8aTOY=; b=hpTsgx56OMo8xdRxsmBZ6H9IReMri4zGrQqBNf/pRxA+WndFbBDmGL4G 2hddTLLTphK+IAXHdxJQk7DY1KQNpkd02HPsKQct8ncKj4unAMD3r10mp sE6E+qrVlTSkgmz8q89Gm6tnDF+QWO8ApJIdoRDncsKonfY3NIKQ0iiZQ 1JmgoeaA6cHKREo/DbhuEy6619Iqfqi7DSgiNtAWUfqKLf3RzGNRu06pw iyk30fd5AUZU34UuKyNCBU0zEcyF0j3DcetFhT3AH/NOQl6GLUfkAKzUh C5ntM7BnSjdevyDkO65Y7lbXK/jGvnh7HrnX47PSBdVD6BaBhwzsEkHei w==; IronPort-SDR: rAYvnrIDg9uT/gL+zBapAQuc0aoBkh09MAdYsWNqPa1okPxxS11fpv2l7IMT+/3+ChOTwF779j s1mDxJqys4fnKZUQ2dTaR+db5G10O55Y0QI9xguCUpoiHb/f2MNb7FSCRM3BnJ1u4PSffgysCR ba5pukJFfnbOYALwyTzvW1BxCouyCPl4LsF0VvPO7riOjya3G16DKt5oYZ9jQdCYnUr10mVe7E LmGXxA7XsfVqy51VGxWP+mrw8EE0CtO0eUvrQuTjDK9TIj7zvyhvXDTA+hmdaiqJ+PlJ/F3/DE GZI= X-IronPort-AV: E=Sophos;i="5.77,308,1596470400"; d="scan'208";a="258081525" Received: from mail-co1nam11lp2168.outbound.protection.outlook.com (HELO NAM11-CO1-obe.outbound.protection.outlook.com) ([104.47.56.168]) by ob1.hgst.iphmx.com with ESMTP; 27 Sep 2020 13:51:31 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XzKlATrT7dtun9XrSjsrZAVpwbAe3/nUHuDDoInc8cX/GFQ51yZJbrZ+MZZZtCJII3LE5Wbjl5D9I+lzO2TM351/UUf8wvUEeRyb0+z8/6qxBVqneItrRTaBv/ekH6T7ibSAibWsPTopOaPuq7G6L7zACR2wZJ7mpflNwAW0279J1ya/orXAduyp1mUuiBRDKMbYxmqpjkMfqHHcjV94mihC+S7FawP5lug5N98sDgNaLUZ5rqPy/iMSyAM5vo1nV/1WR7rSPQidujdQ0UvZTHIFkXkqOrtm0nyd+t8bFaqkfrWlkWG10HsItKjJfp2BG85JMf9oA/63/QWcc26wpw== 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=Q9zHDhTOdzBFTb+QNBGZ/EKhYndqeDMWFhuF6S8aTOY=; b=Ls63vsfE2MNdotXnE/OwMEDWzmp49xfnwpHa6Y8cSVtbFcIkSIYkxymuf271IsmYShE6tOB8JIvOV6EIfVJ7esyiqLPMDLTdVuEmV6227mTbH/aN0cowUn614o52fOsvkm3ZfO3Dz/2yw0yJczm5/H7DwTd1I5wjNnknxWo2BaZ/DzSVG2q4iE0rYflKcIgitsWgzfv8oQbjUvBlnejthEGIynWZwiPmMs6powg0E49BBMhSJI+L6yVHNJfTf/JCCNaLK/pQ+eg0R/ay2ciuV03AzBxs96wX5OsTjR1FD9oYoJq4S/iGYrFMTPFAdC72iDFGqozIynn9k9DHW7hGFw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wdc.com; dmarc=pass action=none header.from=wdc.com; dkim=pass header.d=wdc.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector2-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Q9zHDhTOdzBFTb+QNBGZ/EKhYndqeDMWFhuF6S8aTOY=; b=DBFxnRJ02o6PtLLDHug64zvKPgIsVaKsiMgmWf99OHkTVXHzcUOFENvrSLzUdno+xkx/0QiTbz1hakaqiwrlAMHmdlAxhp3VUrWZXWh1f41yygK7/beDxIb3zoPlQu2s6SvDmDDCOedeX9RubRYKPW0o2CzeCoahmFbC3cSc0WA= Received: from CY4PR04MB3751.namprd04.prod.outlook.com (2603:10b6:903:ec::14) by CY4PR04MB0568.namprd04.prod.outlook.com (2603:10b6:903:b6::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.20; Sun, 27 Sep 2020 05:51:30 +0000 Received: from CY4PR04MB3751.namprd04.prod.outlook.com ([fe80::9124:2453:fe9c:9a7]) by CY4PR04MB3751.namprd04.prod.outlook.com ([fe80::9124:2453:fe9c:9a7%12]) with mapi id 15.20.3412.024; Sun, 27 Sep 2020 05:51:29 +0000 From: Damien Le Moal To: "palmerdabbelt@google.com" , Anup Patel CC: "paul.walmsley@sifive.com" , "anup@brainfault.org" , "linux-riscv@lists.infradead.org" , Atish Patra , Alistair Francis , "linux-kernel@vger.kernel.org" , "aou@eecs.berkeley.edu" Subject: Re: [PATCH v3] RISC-V: Check clint_time_val before use Thread-Topic: [PATCH v3] RISC-V: Check clint_time_val before use Thread-Index: AQHWlJCbTT3SAnzKQkepz4y0A+6P2ql7+ggAgAABU4A= Date: Sun, 27 Sep 2020 05:51:29 +0000 Message-ID: <8aa476f17abde08d22862b2acdad091116aca54d.camel@wdc.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.36.5 (3.36.5-1.fc32) x-originating-ip: [2400:2411:43c0:6000:8d3e:27aa:85c2:44b5] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 4b51b280-1a4a-461e-e4ce-08d862a96184 x-ms-traffictypediagnostic: CY4PR04MB0568: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 57q6pC6YPzBaofPMMiCEYG+CLrKifMAzX2iwWT3KHNNrbbBMs0FtDySlnwtGDzKuDk+sjBzODpogresF4S5N4iH7tCQEIal3QafIGgyIKYNfCG3g2TaFKraX2mcOMGvg4SDSAPE83v1p+1Tkod89wRFYeWPCiHDpf5gsf/nHAhYtaz5h2YReis7KEhv9VZ/RLSvHTQXf7bJ4kpdLtZ8kVpEPBTgk0/8EQ5knAJhuaJLiTl81mWel0izk/BfmJ0L7uLlqqTEbY87OfSLQc/JwMKOFASiJgi9QOyCnc6BRSKJFe5vZKfH36LiA7+Cj2prE2wVx0caei6JA3SSxpCgveRTpJ1BW4uj7nw2jwRiWYS0AWnJC0upioKh2STiquGda x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR04MB3751.namprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(136003)(396003)(39850400004)(346002)(376002)(366004)(66946007)(66446008)(5660300002)(64756008)(86362001)(71200400001)(66476007)(66556008)(8936002)(8676002)(91956017)(76116006)(83380400001)(2906002)(6486002)(6506007)(54906003)(2616005)(110136005)(316002)(36756003)(186003)(6636002)(478600001)(6512007)(4326008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: JbRG50EMpqe2relkVLKFH0U4/yKuCld7UNf3Y4Xun7D50h9nTZLO+dzHrtFJKRTSCLqu0lrkW7kTPRmtAO0VA4bvHGNrM5J7J76CsmwOhERN8qXbHwPY2E+u7B+9k+86tA7DEKwPd1j8B2KP0XIfsi8YPUDspq6A88xJNRgCYshSqUXYOhpHnR8ZM6nTLvJbp+uOL4feFDTOgFD9mKiHHTsXOmwjTdJvTYxxjagg9mZ/wwg5XaipBF+hhnr8MhrSf2JOGovJHpdhShGAlfyw28BfCpEDQzmfn65S3QMaSYRFQew0jNe3UHZ04IAQeDrFnXVVrgFbPSkiX8yg4FOU6iYgN8RqnHqRlIbQGifTo3uw4S4W8bS8W1ybUsOT9/QjNW75ulrKXeVmPA7lcacWrzy0ZOTR+kigC+wNyk4UGz+LEbt/Zazud7dfZDOZ6qjxX3b5entnGF/f5XcsmN8gT2thMpSnsZh3+FJUvS46kb1+akEx5dK84D+8rJ5osuRAVAr1qUM64F79hOrtUzp44R7FQGNBLjcxqlBv/1tamk3x6YKP4PhVaQTDI0QcruolqXRaZvHJR2akRwxTK/hVhQMCEvqA6YgEf9syGpyGmOzzCz9Zypm2aOXBE5xWRG+q8zUQY9m1SLTlVPOU+xnk7RQ7paxVrnWDegsUukGoYWzZSqGip4VO/nI8FhEKMy6Bvy3KWNWWnkTA4kx+Mtyr9w== Content-Type: text/plain; charset="utf-8" Content-ID: <2798F362D3D0474482CFF322AE4D23D5@namprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR04MB3751.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4b51b280-1a4a-461e-e4ce-08d862a96184 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Sep 2020 05:51:29.6200 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: f9Mpjm6bBW2h/zUAmaQSJECxyGNGz4Z9W7PfSrhG7Ldkpq/o1oyp0hed94xojciYisTij7+wWtc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