From nobody Sun Sep 22 18:01:05 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XBYpW2hYvz5Wl4J for ; Sun, 22 Sep 2024 18:01:23 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-24.consmr.mail.gq1.yahoo.com (sonic311-24.consmr.mail.gq1.yahoo.com [98.137.65.205]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XBYpT1hVhz4Tls for ; Sun, 22 Sep 2024 18:01:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=j2Z4Ho1W; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.205 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1727028078; bh=bMKnuJQrCL4YnS5WIDICx50nhdKlevwh/Lssufra9ZA=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=j2Z4Ho1WQjaYCzdobEstxQ2S2AWTL70GE24qpq0CYB7TqJbtsmlxCivRq5voI8hwSBuERHelnhqN4RqRP/X2x3kHNCgw6fMCJyYk80dMq26LTLd17aL2C3jwTAL7uqrXBzJUX+dy1iHQSJwghAtFvGALNrG5bCdQWQjKk3g7KRmDaivvjbkHchw2WoDesHK1CnlVkndkffhB/NUReboA+wb/8QE68lDdXoZdhspdmUjdHmkBbZQURgcBHr3z9rgaREvbQqxzOujJg2KFz4GZCOb8RiUxPP//CU6CdAM2zJunzT5qTz4k2O1MkW8RwUmgoB7swHRpYDc9DK0fmwfLHA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1727028078; bh=zXdVxaKy4PhUBrhf/wJVTUfPEyN/dKXf+VQ8lKSrWgY=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=e1flHqRtzBVMPbg60tVyhKpo9yL3ySCDGkgxXg6OxycceOG2YslSpx9zPocr5uaB/lUopYPYciZrD9iudaC6wNla+z39Wi9U5qY6g2vzWXQ7fxbNcqskGvRN0qFWyaCixgq/7uY057zj8tqO+Sq6pXwKwQOFHvAxKSmhSm5cjkuRdjRtahy2vu1oMcTIe27qOwXWHrb2kABAYpHmkeCnYzhth0F5yL3PUo33bVkhpoSgqr4bHVGs3YWFCpftfNGs2WTOd787Hntq4nVJnXxAH9F0f6TV4IhDC4bRnusaqPsZR+EEptEEXkNKPTH9fPcsQznCKUtVUZ4RTgjfoZHnWA== X-YMail-OSG: RsaaXWYVM1k43AIObTc1oFJYFEodBydmaVFi1eLdctGN2SsazrFcTiy7bs2ZNrf jpdQq9rrTGIsJ.it34B56IHcxOId6Iub6SOWkkBTTVmSUEqaUJHEoVZ9wDWuEk39cYp7YgimWSet w61pQm6.fvhFrv4CmLgtk2aVSxhFpoJjYoICiuq8AnWHace36gVtFlrBVw7G3dXpagIuZFW0C5JO V2TC_qFBGhNH11c9AbxlSGVcKQpq0dUZ2SKFzLO8BuwQHOW.00V8a43MbhK6Tdw4jjC9wQraL3Xz o770sXuxQAuBwEnZbiDBAQb8pYnUrSDPErrM0J58kPz2bfFyeFeptnbMWMq88YmQvczLN8W8oIs9 m54cdHAFIfwpfHqq6IqaeGmxn322ogn_qLSI.aSf1ceY8w3hDMunNUAmwMa9sS3UCBeZJoZhkKMy 6gEJxOfY01rfLdHzbdxgBtQkyO.zBYZVYI5GXcPtj3LRr5CxQhD5XPD0jKD3uGAlgE_.USeDoBdb QtJaVrax9HcfTEMwkBFuaSoRvQCFIxzDs.gxHLs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QV7EuzQpWS9RXxqJZuPx_h o4wQkuH20pFwwDX6ChiaFRthXquFxK_YH58SP8Jrdr6DP64MYPpM1qb_1UGtVs1rLeK4e65xONml k_gxhdGdcfLZVr1kY_UNDofNWwYKUcC8NgnzDuVnlJ4JNNHdFbHzegpxQMdWTb924hpVpR_XECGP T2HZXVyP3W_kcntuDxsdjks_PXcq96nRkmQd2vj06bt_i_EH5ejlxdTmJUfapXqL835kXW3l26.i GFMAnepEncwsKTFH.8mw2vRPkR3o38SEJ3CKOStpYWfeymeDvao9nx_3UbIRluXHqc.RBseJDw44 osS_ESUT0K9PFBu7YB_ZQRYkMxlRGaI589AgcW3V9EeL5xyLS_bEqyiudgLHgPPd5zYjS3D0FEvR AAAe5up37SLwK61XdelFD4SG1ru.Ny4BnfS7FBPWidT6DXTcYYnNdhgFAzVDcuj2P5diSNV1iZln qK.9wRDPYbZcCMVRsKgst0.yreD3EYqJtPMIQiOwQ2wglNeUNo5jyGhwEonf4TWFsb1Sd1SOAExK ymvp.MKRFLftd72hm9V823J7QlwsYB8_9ebSjcvhRt6dNBTBtrncCIDswmc36ggmBnDbXyjR8mbM u62zO3.T2sjG9kQjWhdyU9BvRY0JnalK5d9JyZP.4oOXduQcx.jBY.gbOYmc9ML1J4k_3u2Lp4sH MgnenF9AyVbtyLWnOoMthCY0YfAkluGI- X-Sonic-MF: X-Sonic-ID: d9d479bb-315c-41fa-8a1c-cf2caf78c4ec Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Sun, 22 Sep 2024 18:01:18 +0000 Received: by hermes--production-gq1-5d95dc458-m8nfd (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID b357d77f07057ba114e3eae052a8c245; Sun, 22 Sep 2024 18:01:17 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Subject: git: 85918beb387f - main - intrng: Add support for multiple interrupt roots Message-Id: <1B971CC2-DD1F-488B-A80B-98EF29256D50@yahoo.com> Date: Sun, 22 Sep 2024 11:01:05 -0700 To: dev-commits-src-main@freebsd.org, Warner Losh , a.munoz3327@gmail.com X-Mailer: Apple Mail (2.3776.700.51) References: <1B971CC2-DD1F-488B-A80B-98EF29256D50.ref@yahoo.com> X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; DKIM_TRACE(0.00)[yahoo.com:+]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_TO(0.00)[freebsd.org,bsdimp.com,gmail.com]; MIME_TRACE(0.00)[0:+]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[dev-commits-src-main@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.205:from]; TAGGED_RCPT(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.205:from] X-Rspamd-Queue-Id: 4XBYpT1hVhz4Tls X-Spamd-Bar: --- From: Warner Losh wrote on Date: Sun, 22 Sep 2024 13:19:21 UTC : > The branch main has been updated by imp: >=20 > URL: = https://cgit.FreeBSD.org/src/commit/?id=3D85918beb387f179abc93a6c613801fb9= 761ff1e2 >=20 > commit 85918beb387f179abc93a6c613801fb9761ff1e2 > Author: Ayrton Munoz > AuthorDate: 2024-07-21 18:10:20 +0000 > Commit: Warner Losh > CommitDate: 2024-09-22 13:18:34 +0000 >=20 > intrng: Add support for multiple interrupt roots >=20 > Different types of interrupts may require using different exception > vectors so this commit adds support multiple interrupt roots to handle > these cases. Archs may opt-in to multiple interrupt roots by defining > INTR_ROOT_NUM as the number of roots in their intr.h. Based off > https://reviews.freebsd.org/D40161. >=20 > Signed-off-by: Ayrton Munoz > Co-authored-by: Kyle Evans > Co-authored-by: Andrew Turner > Reviewed-by: imp,mmel,mhorne > Pull-Request: https://github.com/freebsd/freebsd-src/pull/1363 . . . > +/* > + * Archs may define multiple roots with INTR_ROOT_NUM to support = different kinds > + * of interrupts (e.g. arm64 FIQs which use a different exception = vector than > + * IRQs). > + */ > +#if !defined(INTR_ROOT_NUM) > +#define INTR_ROOT_NUM 1 > +#endif > + . . . When I was reading the: https://github.com/freebsd/freebsd-src/pull/1363 conversation I saw: -#define INTR_ROOT_NUM 2 +#define INTR_ROOT_COUNT 2 and related discussion with 2 thumbs up, including one by ayrtonm. A similar point goes for: -void *arg, uint32_t rootnum) +void *arg, uint32_t roottype) with another ayrtonm thumbs up at the end. (I've not checked if there are more distinctions.) Such leaves me wondering if what was committed was actually the final intended code: Is it? =3D=3D=3D Mark Millard marklmi at yahoo.com