Page MenuHomeFreeBSD
Feed Advanced Search

Tue, Dec 17

ehem_freebsd_m5p.com abandoned D40474: intrng: call pic_init_secondary on all registered PICs.

This did seem a rather better approach to the issue, but I still have the other approach.

Tue, Dec 17, 8:29 PM

Fri, Dec 13

ehem_freebsd_m5p.com added inline comments to D47358: rescue: Implement a direct dumper for arm64 and amd64.
Fri, Dec 13, 4:01 AM
ehem_freebsd_m5p.com added a comment to D38602: kern/intr: have intr_event_destroy() return success on NULL event.

To put it a different way, intr_event_destroy() is called from recovery and shutdown routines. Callers have likely already received an error status from another function (since they passed a NULL event), yet now they're trying to recover and get yet another error indicator. Recovery is impossible.

Fri, Dec 13, 3:58 AM
ehem_freebsd_m5p.com added a comment to D35559: intrcompat: rename "machine/intr*.h" to "machine/a_bikeshed_string_for_sed_to_target.h".

This seemed a rather simple, yet high value point. Yet it sat here with no reviews and unable to step forward. Then the garbage of D47002 got approved in 5 seconds. I get the message, no it is not merely people got tired of trying to converge the interrupt systems. Many people simply didn't care and unintentionally made it extremely difficult.

Fri, Dec 13, 3:47 AM
ehem_freebsd_m5p.com reclaimed D39178: Working on commonizing standard interrupt functionality.
Fri, Dec 13, 3:41 AM
ehem_freebsd_m5p.com abandoned D30553: arm64/nexus: limit to INTR_IRQ_INVALID interrupts.
Fri, Dec 13, 3:38 AM
ehem_freebsd_m5p.com abandoned D31715: xen/intr: rename evtchn_cpu_(un)?mask_port() to xen_intr_*().
Fri, Dec 13, 3:37 AM
ehem_freebsd_m5p.com abandoned D31955: sys: unify boot/firmware variables.
Fri, Dec 13, 3:37 AM
ehem_freebsd_m5p.com abandoned D31957: sys/x86: check for out of range interrupt allocations.
Fri, Dec 13, 3:36 AM
ehem_freebsd_m5p.com abandoned D32132: kern/param: implement generalized enum sysctl reporting function.
Fri, Dec 13, 3:36 AM
ehem_freebsd_m5p.com abandoned D32345: sys: add uses of driver_filter_t where appropriate.
Fri, Dec 13, 3:35 AM
ehem_freebsd_m5p.com abandoned D32479: sys/conf: move libfdt path inclusion to kern.pre.mk.
Fri, Dec 13, 3:35 AM
ehem_freebsd_m5p.com abandoned D32504: kern/intr: remove "irq" from kernel event API.
Fri, Dec 13, 3:35 AM
ehem_freebsd_m5p.com abandoned D32789: xen/intr: mark several pieces unsigned.
Fri, Dec 13, 3:34 AM
ehem_freebsd_m5p.com abandoned D32795: x86/io_apic: make io_irq unsigned.
Fri, Dec 13, 3:34 AM
ehem_freebsd_m5p.com abandoned D32866: xen/intr: merge CPU assignment during port binding together.
Fri, Dec 13, 3:34 AM
ehem_freebsd_m5p.com abandoned D34701: atomic: declare atomic_load_*() operations to take constants.
Fri, Dec 13, 3:33 AM
ehem_freebsd_m5p.com abandoned D35406: intr/x86: remove ->pic_vector() from x86 interrupt framework.
Fri, Dec 13, 3:33 AM
ehem_freebsd_m5p.com abandoned D35528: intr/x86: identify IRQ 0 by intsrc instead of vector.
Fri, Dec 13, 3:33 AM
ehem_freebsd_m5p.com abandoned D35976: sys: rename linker scripts to .lds.
Fri, Dec 13, 3:33 AM
ehem_freebsd_m5p.com abandoned D36610: kern/intr: implement intrcnt/intrnames sysctl from event counters.
Fri, Dec 13, 3:33 AM
ehem_freebsd_m5p.com abandoned D37869: sys/intr: remove questionable interrupt report.
Fri, Dec 13, 3:32 AM
ehem_freebsd_m5p.com abandoned D38115: intrng: merge INTR_ISRC_NAMELEN into INTRNAME_LEN.
Fri, Dec 13, 3:32 AM
ehem_freebsd_m5p.com abandoned D38116: sys/intr: switch to index vars from table size vars.
Fri, Dec 13, 3:32 AM
ehem_freebsd_m5p.com abandoned D38234: intrng: move check for existing event to isrc_event_create().
Fri, Dec 13, 3:32 AM
ehem_freebsd_m5p.com abandoned D38448: kern/intr: add flags for multi-processor interrupts.
Fri, Dec 13, 3:32 AM
ehem_freebsd_m5p.com abandoned D38449: kern/intr: switch intr_event_handle() to return stray count.
Fri, Dec 13, 3:31 AM
ehem_freebsd_m5p.com abandoned D38450: kern/intr: replace mutex with shared-exclusive lock.
Fri, Dec 13, 3:30 AM
ehem_freebsd_m5p.com abandoned D38451: intrng: remove normal interrupts from intrcnt/intrnames.
Fri, Dec 13, 3:30 AM
ehem_freebsd_m5p.com abandoned D38453: intr/x86: remove normal interrupts from intrcnt/intrnames.
Fri, Dec 13, 3:29 AM
ehem_freebsd_m5p.com abandoned D38454: sys: move handling of hw.intrnames/hw.intrcnt to architecture.
Fri, Dec 13, 3:29 AM
ehem_freebsd_m5p.com abandoned D39178: Working on commonizing standard interrupt functionality.
Fri, Dec 13, 3:29 AM
ehem_freebsd_m5p.com abandoned D40211: intrng: adjust IPI interrupts to match driver_filter_t.
Fri, Dec 13, 3:29 AM
ehem_freebsd_m5p.com abandoned D40776: kern: remove clk_intr_event from non-ACPI.
Fri, Dec 13, 3:28 AM
ehem_freebsd_m5p.com abandoned D41430: kern/intr: add interrupt counters to intr_isrc.
Fri, Dec 13, 3:28 AM
ehem_freebsd_m5p.com abandoned D47546: sys/powerpc: cleanup device driver module setup.
Fri, Dec 13, 3:28 AM
ehem_freebsd_m5p.com abandoned D47745: intr/x86: merge pic_{dis,en}able_source() call into pic_{dis,en}able_intr().
Fri, Dec 13, 3:27 AM
ehem_freebsd_m5p.com abandoned D30297: arm64/nexus: use actual PA range for I/O memory limit.
Fri, Dec 13, 3:27 AM
ehem_freebsd_m5p.com abandoned D35417: kern/intr: allow for event allocation outside kern_intr.c.
Fri, Dec 13, 3:26 AM
ehem_freebsd_m5p.com abandoned D36611: intrng: implement use of intr_isrc_deregister().
Fri, Dec 13, 3:26 AM
ehem_freebsd_m5p.com abandoned D35519: intrng: intr_isrc_dispatch() return stray count instead of condition.
Fri, Dec 13, 3:26 AM
ehem_freebsd_m5p.com abandoned D35529: intr/x86: intr_execute_handlers() return stray count.
Fri, Dec 13, 3:26 AM
ehem_freebsd_m5p.com abandoned D35546: intr/powerpc: powerpc_dispatch_intr() return stray count.
Fri, Dec 13, 3:26 AM
ehem_freebsd_m5p.com abandoned D37063: sys/conf: add options to test for x86.
Fri, Dec 13, 3:26 AM
ehem_freebsd_m5p.com abandoned D38452: intr/powerpc: remove normal interrupts from intrcnt/intrnames.
Fri, Dec 13, 3:25 AM

Thu, Dec 12

ehem_freebsd_m5p.com accepted D48053: xen/netfront: use iflladdr_event to send ARPs.

I'm guessing Phabricator/arcanist got updated and so new things are being created with dependencies matching git commit order (which is a good rough guess, but not always perfect). Appears D48052 is not a parent of D48053, but instead a parent of . Mainly D48052 and D48053 need to be committed before D48054; but D48052 and D48053 can be committed in either order.

Thu, Dec 12, 9:33 PM

Wed, Dec 11

ehem_freebsd_m5p.com added a reviewer for D48024: Add DEV_XENTIMER option: royger.

Looks reasonable to me. Though the option is primarily to allow removing the timer on ARM/RISC-V (where it doesn't presently work). I'm unsure whether it is possible to avoid on x86.

Wed, Dec 11, 1:09 AM

Wed, Dec 4

ehem_freebsd_m5p.com added inline comments to D47745: intr/x86: merge pic_{dis,en}able_source() call into pic_{dis,en}able_intr().
Wed, Dec 4, 1:56 AM

Tue, Dec 3

ehem_freebsd_m5p.com updated the diff for D47745: intr/x86: merge pic_{dis,en}able_source() call into pic_{dis,en}able_intr().

Updating, point to possible solution for what I need @mav to review (remove ->pic_enable_intr() call from clock.c/875b8844bec hack).

Tue, Dec 3, 9:04 PM

Mon, Dec 2

ehem_freebsd_m5p.com added a comment to D47846: sys/intr.h: Make it safe to include from assembler.
In D47846#1090926, @imp wrote:

yea, the only question I have is if we move all the assembly values into machine/intr.h, duplicating one or two across architectures and include machine/intr.h for the assembler, or if I leave it as I have it inthe review. @jhb

Mon, Dec 2, 11:30 PM

Sun, Dec 1

ehem_freebsd_m5p.com added a reviewer for D47745: intr/x86: merge pic_{dis,en}able_source() call into pic_{dis,en}able_intr(): mav.

Seems the issue in sys/x86/isa/clock.c originates from rG:875b8844bec. I'm unsure how to work around the issue, rG:49ed68bbf3c makes the situation worse.

Sun, Dec 1, 5:38 AM
ehem_freebsd_m5p.com added a comment to D47848: genassym: Remove stale *if.h depends.

Yet the solution to the underlying issue is also quite simple (already have a commit on GH, I can upload to Phabricator if desired), so perhaps that should be considered? If nothing else that gives an additional option which may turn out rather superior for the long term. The underlying issue has likely been causing all sorts of (perhaps minor) trouble for some already.

Sun, Dec 1, 5:24 AM
ehem_freebsd_m5p.com added a comment to D47745: intr/x86: merge pic_{dis,en}able_source() call into pic_{dis,en}able_intr().

Then when looking for something else discover sys/x86/isa/clock.c has the call i8254_intsrc->is_pic->pic_enable_intr(i8254_intsrc); without the ->pic_enable_source(). I lack hardware to test this, so I'm unsure of the effect.

Sun, Dec 1, 12:02 AM

Sat, Nov 30

ehem_freebsd_m5p.com added a comment to D47846: sys/intr.h: Make it safe to include from assembler.
In D47846#1090953, @jhb wrote:

I don't see a compelling reason to duplicate values across architectures. That would seem to defeat the point of the shared header file.

Sat, Nov 30, 8:32 PM
ehem_freebsd_m5p.com accepted D47848: genassym: Remove stale *if.h depends.

This seems reasonable, though I'm concerned with the present approach.

Sat, Nov 30, 8:19 PM

Fri, Nov 29

ehem_freebsd_m5p.com added a comment to D47847: arm: Use constants from sys/intr.h, not genassym.

I dislike making the interrupt headers assembly-safe merely for this. If this is really desired, then have the all constants in machine/intr.h (which is better anyway).

Fri, Nov 29, 10:22 PM
ehem_freebsd_m5p.com added a comment to D47846: sys/intr.h: Make it safe to include from assembler.

Unless there is something I'm unaware of, INTR_IRQ_INVALID isn't ever used by assembly-language.

Fri, Nov 29, 10:12 PM
ehem_freebsd_m5p.com added inline comments to D47846: sys/intr.h: Make it safe to include from assembler.
Fri, Nov 29, 10:09 PM

Thu, Nov 28

ehem_freebsd_m5p.com abandoned D47756: intr/powerpc: update 0c50edff52f2 hack.

Closing in light of rG:700f7e793b3793606fbb9942eda03ac02991c126.

Thu, Nov 28, 12:19 AM

Wed, Nov 27

ehem_freebsd_m5p.com updated the diff for D47756: intr/powerpc: update 0c50edff52f2 hack.

Updating to jhibbits@ preferred method of accomplishing the goal. This is only expected to be used during a transition period, so hopefully will disappear later.

Wed, Nov 27, 8:58 PM

Nov 26 2024

ehem_freebsd_m5p.com requested review of D47756: intr/powerpc: update 0c50edff52f2 hack.
Nov 26 2024, 4:53 AM

Nov 25 2024

ehem_freebsd_m5p.com added a comment to D47745: intr/x86: merge pic_{dis,en}able_source() call into pic_{dis,en}able_intr().

Note to anyone else who happens to run across this. Indeed, (mask_fn)isrc->is_pic->pic_disable_source could be substituted for the intr_disable_srcargument to intr_event_create() inside intr_register_source(). Issue is after this commit, #1457 first modifies intr_disable_src and then later completely removes it. At the point where this is the wrapper still needs to be retained.

Nov 25 2024, 9:53 PM
ehem_freebsd_m5p.com added a comment to D47745: intr/x86: merge pic_{dis,en}able_source() call into pic_{dis,en}able_intr().

Mostly looking for a review from @royger I'm unsure whether this additional call really needs to be retained, versus being unnecessary.

Nov 25 2024, 8:37 PM
ehem_freebsd_m5p.com requested review of D47745: intr/x86: merge pic_{dis,en}able_source() call into pic_{dis,en}able_intr().
Nov 25 2024, 8:28 PM

Nov 13 2024

ehem_freebsd_m5p.com requested review of D47546: sys/powerpc: cleanup device driver module setup.
Nov 13 2024, 9:50 PM

Oct 31 2024

ehem_freebsd_m5p.com requested changes to D47358: rescue: Implement a direct dumper for arm64 and amd64.
Oct 31 2024, 5:15 PM

Oct 26 2024

ehem_freebsd_m5p.com updated the summary of D40474: intrng: call pic_init_secondary on all registered PICs.
Oct 26 2024, 10:52 PM
ehem_freebsd_m5p.com updated the diff for D40474: intrng: call pic_init_secondary on all registered PICs.

As proposed.

Oct 26 2024, 10:49 PM
ehem_freebsd_m5p.com reclaimed D40474: intrng: call pic_init_secondary on all registered PICs.

Reclaiming/reopening as per note in D47279. This could be a better solution to the issue pointed at.

Oct 26 2024, 10:49 PM
ehem_freebsd_m5p.com added a comment to D47279: intrng: address post-commit review feedback.

Says the person sending messages laced with hostile sarcasm.

Oct 26 2024, 8:30 PM
ehem_freebsd_m5p.com added a comment to D47279: intrng: address post-commit review feedback.

Wow, so friendly to revert something immediately after the person gets a rebase done and without informing them about discussion which was occurring. Also odd how there is suddenly all this discussion now when there was no activity on the original source for more than a month. I tried to get everyone's attention who is on here.

Oct 26 2024, 12:44 AM

Oct 19 2024

ehem_freebsd_m5p.com added a comment to D35417: kern/intr: allow for event allocation outside kern_intr.c.

This is part of a fascinating end point I reached in combination with other commits. Specifically, Github #1457. I think this is better to review via GitHub, since the full git support allows viewing as part of the full series. Phabicator isn't all that well suited to the role.

Oct 19 2024, 2:40 AM
ehem_freebsd_m5p.com abandoned D43980: intrng: merge separated PIC types.

The problem which this was a part of solving looks like it will be dealt with via other means. As such dumping this.

Oct 19 2024, 2:31 AM
ehem_freebsd_m5p.com abandoned D40474: intrng: call pic_init_secondary on all registered PICs.

Once the fixes to the multi-root support are in, using those will address my need. Unfortunately the problem brought up by the comment. "QQQ: Only root PIC is aware of other CPUs ???", still remains. This is no longer productive for me, so abandoning this one.

Oct 19 2024, 2:30 AM

Oct 18 2024

ehem_freebsd_m5p.com added a comment to D35559: intrcompat: rename "machine/intr*.h" to "machine/a_bikeshed_string_for_sed_to_target.h".

If someone is up for forward progress on this trivial issue, I recommend doing: (assuming your remote for FreeBSD-Github is "github")

Oct 18 2024, 10:19 PM
ehem_freebsd_m5p.com retitled D35559: intrcompat: rename "machine/intr*.h" to "machine/a_bikeshed_string_for_sed_to_target.h" from intrcompat: rename "machine/intr*.h" to "machine/a_bikeshed_string_for_Sed to intrcompat: rename "machine/intr*.h" to "machine/a_bikeshed_string_for_sed_to_target.h".
Oct 18 2024, 10:16 PM
ehem_freebsd_m5p.com requested changes to D47002: sys/intr.h: formally depend on machine/intr.h.

I had thought that it might be better, if you were going to push this through quickly, to simply push past and deal with the aftermath. Issue is you've now taken long enough for me to start organizing my thoughts better.

Oct 18 2024, 10:13 PM
ehem_freebsd_m5p.com updated the summary of D35559: intrcompat: rename "machine/intr*.h" to "machine/a_bikeshed_string_for_sed_to_target.h".
Oct 18 2024, 10:08 PM
ehem_freebsd_m5p.com retitled D35559: intrcompat: rename "machine/intr*.h" to "machine/a_bikeshed_string_for_sed_to_target.h" from intr: rename "machine/intr_machdep.h" headers to "machine/intr.h" to intrcompat: rename "machine/intr*.h" to "machine/a_bikeshed_string_for_Sed.
Oct 18 2024, 10:07 PM
ehem_freebsd_m5p.com updated the diff for D35559: intrcompat: rename "machine/intr*.h" to "machine/a_bikeshed_string_for_sed_to_target.h".

Having two distinct names for the interrupt headers serves to interfere with most efforts to converge the interrupt frameworks. Simply rename all of them to "machine/a_bikeshed_string_for_sed_to_target.h". Another name could be substituted, but right now simply have a random one for this commit.

Oct 18 2024, 10:06 PM

Oct 9 2024

ehem_freebsd_m5p.com resigned from D40161: arm64/intrng: add support for FIQs.

I was simply looking for a pause, so now removing the pause.

Oct 9 2024, 12:58 AM
ehem_freebsd_m5p.com resigned from D47002: sys/intr.h: formally depend on machine/intr.h.

I guess I'll have to leave it there then.

Oct 9 2024, 12:58 AM
ehem_freebsd_m5p.com added a comment to D47002: sys/intr.h: formally depend on machine/intr.h.
In D47002#1071817, @imp wrote:

If it breaks the Gordian Knot, let's create machine/interrupt.h to contain the APIs that are common between INTRNG and !INTRNG, lets do it. Let's see where we wind up, and we'll discover if it's too trivial or not.

Oct 9 2024, 12:00 AM

Oct 8 2024

ehem_freebsd_m5p.com added a comment to D47002: sys/intr.h: formally depend on machine/intr.h.

Take a look at the first two commits of GitHub #1286. The first two create an interrupt_t type definition for things which only handle pointers to the architecture type, but don't directly examine the contents. If you have to #include sys/intr.h, then it is literally impossible to write truly machine-independent beyond having a void *.

Where did someone dictate that you have to include sys/intr.h, and for what? With the little details you've given it sounds like you're imposing restrictions on yourself, there's no hard requirement on INTRNG to include machine/intr.h. I don't see anything in your change offhand that's prevented by INTRNG consumers wanting sys/intr.h instead of machine/intr.h. You can include just the header you actually need.

Oct 8 2024, 11:03 PM
ehem_freebsd_m5p.com added a comment to D47002: sys/intr.h: formally depend on machine/intr.h.
In D47002#1071804, @imp wrote:

If you need a type that's really MI, define it in a MI header (say machine/types.h or invent machine/interrupt.h). End of problem. There's not even a need for #ifdef anything. Just include machine/interrupt.h which has a well defined interface (because you just defined it and it has no historical issues).

Oct 8 2024, 10:48 PM
ehem_freebsd_m5p.com added a comment to D47002: sys/intr.h: formally depend on machine/intr.h.

You already need to #ifdef INTRNG for machine/intr.h, doing it for sys/intr.h is no worse in that regard. So kindly calm down.

Oct 8 2024, 10:14 PM
ehem_freebsd_m5p.com added a comment to D47002: sys/intr.h: formally depend on machine/intr.h.
In D47002#1071690, @imp wrote:

This is the more typical pattern.

See sys/endian.h including machine/endian.h for but one of many examples (though that example is a bit convoluted in spots due to slight differences between endian.h, sys/endian.h and machine/endian.h consumer expectations.

Oct 8 2024, 9:58 PM
ehem_freebsd_m5p.com requested changes to D47002: sys/intr.h: formally depend on machine/intr.h.

NO ABSOLUTELY NOT. The reason is this makes architecture-independent source impossible without a #ifdef INTRNG.

Oct 8 2024, 9:56 PM

Sep 22 2024

ehem_freebsd_m5p.com requested changes to D40161: arm64/intrng: add support for FIQs.

I suspect this needs to now be rebased onto main. I've got concerns, so I would like to take a look at what comes when the interaction with the FIQ stuff comes in. Simply asking looking for a temporary pause.

Sep 22 2024, 11:09 PM

Sep 13 2024

ehem_freebsd_m5p.com added inline comments to D40161: arm64/intrng: add support for FIQs.
Sep 13 2024, 8:59 PM
ehem_freebsd_m5p.com added inline comments to D41833: arm64: add support for FIQs.
Sep 13 2024, 8:25 PM
ehem_freebsd_m5p.com added a comment to D40161: arm64/intrng: add support for FIQs.

@jrtc27 my one concern was to alert everyone here that discussion has occurred elsewhere. I was thinking discussion might have ended here, but it is now clear it has not terminated. Now I know I need to be tracking both.

Sep 13 2024, 8:22 PM
ehem_freebsd_m5p.com added a comment to D40161: arm64/intrng: add support for FIQs.

I was trying to avoid enums because I didn't want to cement us into new KPI for other types when we can easily discriminate with an argument, and enums add room for error since they're a C construct.

Sep 13 2024, 8:19 PM
ehem_freebsd_m5p.com added a comment to D40161: arm64/intrng: add support for FIQs.

This is a real problem with having both Phabricator and GitHub. This got copied to GitHub and now there is some discussion there. This was likely due to the long pause after September 7th, someone really wanted this feature.

Sep 13 2024, 7:59 PM

Aug 1 2024

ehem_freebsd_m5p.com added inline comments to D46205: x86/xen: ignore error to fetch memory map in xen_arch_init_physmem().
Aug 1 2024, 9:51 PM
ehem_freebsd_m5p.com accepted D46205: x86/xen: ignore error to fetch memory map in xen_arch_init_physmem().

The one comment can be done on commit.

Aug 1 2024, 8:58 PM
ehem_freebsd_m5p.com added a comment to D46205: x86/xen: ignore error to fetch memory map in xen_arch_init_physmem().

This is basically okay, but there urgently needs to be a comment here. At a future point the versions of Xen which lack this hypercall will no longer have any support and the error should instead be returned. This will likely be at least 5 years before this can be done, but there should be a comment with specific information.

Aug 1 2024, 6:17 PM

Jul 30 2024

ehem_freebsd_m5p.com added a comment to D46123: x86/xen: use UNUSABLE e820 regions for external mappings.

Seems fine, though as this is x86-land so I'm not doing testing. I do strongly prefer this being a separate commit from D46122 as it now is.

Jul 30 2024, 4:02 AM
ehem_freebsd_m5p.com accepted D46122: xen: introduce a per-arch scratch mapping ranges.

I had expected to simply handle D44251 as a squash review, though this works too. I do want to note what the output of devinfo -u looks like.

Jul 30 2024, 3:57 AM

Jul 24 2024

ehem_freebsd_m5p.com added a comment to D39333: intrng: expose lower-level device interface for INTRNG.

I doubt it is possible to converge the interrupt infrastructures without exposing this interface. This interface is the common point duplicated on every architecture, so things go through here. The way to discourage access to this interface for your alternative interface to provide valuable services which simplify consumers. For my case (Xen) where the drivers already exist, using the higher-level interface would be much harder.

Jul 24 2024, 9:02 PM