Page MenuHomeFreeBSD
Feed Advanced Search

Apr 15 2024

bz committed rG3f115b864b1f: git/mfc-candidates.sh: allow comments in exclude file (authored by bz).
git/mfc-candidates.sh: allow comments in exclude file
Apr 15 2024, 5:56 PM
bz committed rG1665ef979d3a: LinuxKPI: 802.11: disable early queue wakeup workaround; better classify (authored by bz).
LinuxKPI: 802.11: disable early queue wakeup workaround; better classify
Apr 15 2024, 5:52 PM
bz closed D43944: LinuxKPI: 802.11: try to fix iwlwifi("Invalid TXQ id").
Apr 15 2024, 5:52 PM
bz added a comment to D42790: git/mfc-candidates.sh: allow comments in exclude file.

Any comments on this?

Apr 15 2024, 5:50 PM
bz committed rGcd9fee3d2c37: net80211: amrr_init: change order of commands (authored by bz).
net80211: amrr_init: change order of commands
Apr 15 2024, 5:41 PM
bz closed D43751: net80211: amrr_init: change order of commands.
Apr 15 2024, 5:41 PM
bz committed rGac867c20e674: LinuxKPI: 802.11: remove unneeded re-lookup in lkpi_80211_txq_tx_one() (authored by bz).
LinuxKPI: 802.11: remove unneeded re-lookup in lkpi_80211_txq_tx_one()
Apr 15 2024, 5:31 PM
bz closed D43965: LinuxKPI: 802.11: remove unneeded re-lookup in lkpi_80211_txq_tx_one().
Apr 15 2024, 5:31 PM
bz committed rG170c2e0e2bb1: LinuxKPI: add devm_kfree() (authored by bz).
LinuxKPI: add devm_kfree()
Apr 15 2024, 4:56 PM
bz closed D44589: LinuxKPI: add devm_kfree().
Apr 15 2024, 4:56 PM
bz added a comment to D44587: LinuxKPI: add __counted_by() and __nonstring.

@emaste it seems most attributes in cdef.h have the __x__ instea dof just x. This seems to work with gcc as well for as much as I could test. It seems up-to gcc14-devel non of our gccs recognizes the counter_by in either spelling.

Apr 15 2024, 4:54 PM
bz committed rG21761f2ede4e: LinuxKPI: napi_schedule() requires return value, implement napi_is_scheduled() (authored by bz).
LinuxKPI: napi_schedule() requires return value, implement napi_is_scheduled()
Apr 15 2024, 4:21 PM
bz closed D44591: LinuxKPI: napi_schedule() requires return value.
Apr 15 2024, 4:21 PM
bz closed D44590: LinuxKPI: sk_buff: implement skb_queue_splice_tail_init().
Apr 15 2024, 4:09 PM
bz committed rG3d3ec17825a1: LinuxKPI: sk_buff: implement skb_queue_splice_tail_init() (authored by bz).
LinuxKPI: sk_buff: implement skb_queue_splice_tail_init()
Apr 15 2024, 4:09 PM

Apr 14 2024

bz added a comment to D44792: vmm: Add ppt device list sysctl.

Does this give any information pciconf -l would not already give? I would rather we'd improve our tooling than use a sysctl for that? I'd almost want something like ifconfig -g bridge -l in devctl or somewhere appropriate?

Apr 14 2024, 11:57 PM
bz added a comment to D44590: LinuxKPI: sk_buff: implement skb_queue_splice_tail_init().

@emaste is the logic correct now?

Apr 14 2024, 11:36 PM
bz requested changes to D44774: carp: support VRRPv3.

I will simply express that this will not only open a can of worms by mixing both but the original reasons not to include VRRPv2/3 and hence the "existence" of CARP is also ignored.
Should people think this can go in, I would highly advise to make it 100% compile time option and there's quite a few things to polish (including quoting from copyrighted material without reference).

Apr 14 2024, 11:34 PM
bz committed rGab95bca9988a: net8011: radiotap: add more EHT constants (authored by bz).
net8011: radiotap: add more EHT constants
Apr 14 2024, 11:10 PM
bz retitled D44587: LinuxKPI: add __counted_by() and __nonstring from LinuxKPI: add __counted_by() to LinuxKPI: add __counted_by() and __nonstring.
Apr 14 2024, 11:09 PM
bz updated the diff for D44587: LinuxKPI: add __counted_by() and __nonstring.

add logic for counted_by and also add __nonstring

Apr 14 2024, 11:07 PM

Apr 12 2024

bz committed rG738c02ba24c6: LinuxKPI: add dev_alloc_pages() (authored by bz).
LinuxKPI: add dev_alloc_pages()
Apr 12 2024, 11:17 PM
bz closed D44588: LinuxKPI: add dev_alloc_pages().
Apr 12 2024, 11:16 PM
bz closed D44603: LinuxKPI: add BITS_TO_BYTES().
Apr 12 2024, 11:13 PM
bz committed rGf674f016c03d: LinuxKPI: add BITS_TO_BYTES() (authored by bz).
LinuxKPI: add BITS_TO_BYTES()
Apr 12 2024, 11:13 PM
bz closed D44586: LinuxKPI: implement memzero_explicit().
Apr 12 2024, 11:13 PM
bz committed rG218b2ccf8cc9: LinuxKPI: implement memzero_explicit() (authored by bz).
LinuxKPI: implement memzero_explicit()
Apr 12 2024, 11:13 PM
bz committed rGa1cdddcf1596: LinuxKPI: add further constants to pci.h (authored by bz).
LinuxKPI: add further constants to pci.h
Apr 12 2024, 11:08 PM
bz closed D44573: LinuxKPI: add further constants to pci.h.
Apr 12 2024, 11:08 PM
bz closed D44568: Status/2024Q1/wireless.adoc: Add report.
Apr 12 2024, 10:39 PM
bz committed R9:2ddb875f3473: Status/2024Q1/wireless.adoc: Add report (authored by bz).
Status/2024Q1/wireless.adoc: Add report
Apr 12 2024, 10:39 PM
bz closed D44569: Status/2024Q1/ten64-whle-honeycomb.adoc: Add report.
Apr 12 2024, 10:35 PM
bz committed R9:46755aa3f849: Status/2024Q1/ten64-whle-honeycomb.adoc: Add report (authored by bz).
Status/2024Q1/ten64-whle-honeycomb.adoc: Add report
Apr 12 2024, 10:35 PM
bz added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.
In D44306#1020417, @jhb wrote:

Oh, if it is just a global symbol that isn't a ton of work to handle. You just need to recognize that symbol name when resolving symbols and resolve the pointer to the right thing instead. Probably what we would want to do is having __this_module store the pointer to the current linker_file_t when you are resolving symbols and require it to be the same size as a pointer.

Apr 12 2024, 9:39 PM
bz added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.
In D44306#1020400, @jhb wrote:

I do think that GCC and clang (and really ld.bfd and lld) will collapse duplicate copies of the same anonymous string down to the same storage.

However, is insmod equivalent to just kldload and is __this_module only valid during then? If so, you can hang a suitable pointer to the current struct linker_file off of struct thread that gets set during kldload(2) and cleared before it exits (probably a bit further down in linker_load_file or the like). Then you can #define __this_module to something like curthread->td_current_linker_file with a suitable wrapper cast or whatever.

Apr 12 2024, 9:00 PM

Apr 10 2024

bz accepted D44735: vmm: Define a dummy _start symbol in vmm_hyp_blob.elf.

THANK YOU!

Apr 10 2024, 6:23 PM

Apr 9 2024

bz updated subscribers of D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

At this point I will ask -- has anyone considered checking how much linker work would be needed for this?

Apr 9 2024, 10:06 PM
bz added a comment to D44568: Status/2024Q1/wireless.adoc: Add report.

@salvadore can I commit this? Anything further to do?

Apr 9 2024, 4:25 PM
bz added a comment to D44569: Status/2024Q1/ten64-whle-honeycomb.adoc: Add report.

@salvadore can I commit this? Anything further to do?

Apr 9 2024, 4:25 PM
bz abandoned D44602: LinuxKPI: add flex_array_size().

Got imported along the whole file in https://cgit.FreeBSD.org/src/commit/?id=3208d4ad2b8320a24af4a8293f7fd3ef9c35caa6

Apr 9 2024, 4:23 PM

Apr 8 2024

bz added a comment to D44587: LinuxKPI: add __counted_by() and __nonstring.

From a textcase in the LLVM review that introduced it (https://reviews.llvm.org/D148381):

#if !__has_attribute(counted_by)
#error "has attribute broken"
#endif

#ifdef COUNTED_BY
#define __counted_by(member)    __attribute__((__counted_by__(member)))
#else
#define __counted_by(member)
#endif
Apr 8 2024, 9:31 PM

Apr 6 2024

bz added a comment to D44587: LinuxKPI: add __counted_by() and __nonstring.

In general __has_attribute(foo) to check
I think this is fine to get the driver compiling but ought to have a TODO comment

Apr 6 2024, 10:15 PM
bz added a comment to D44586: LinuxKPI: implement memzero_explicit().

You made me have a look; grep -r HAVE_EXPLICIT_BZERO seems to be a pattern which reveals a few more implementations in the tree; we should probably make sure if we migrate this into more general code to make sure we set the appropriate #defines for the various kernel code bits to switch to the one common implementation then; I'll leave it for someone who can better drive this at this point.

Apr 6 2024, 10:14 PM

Apr 4 2024

bz added a comment to D44583: LinuxKPI: Remove an unused local var fileid from the macro request_module.

I don't know if the code path in drm_encoder_slave.c actually uses this

I don't think the change in this review should have any effect - we just go from discarding the returned fileid to not requesting it at all.

Apr 4 2024, 6:48 PM
bz accepted D44583: LinuxKPI: Remove an unused local var fileid from the macro request_module.

I don't know if the code path in drm_encoder_slave.c actually uses this; I hit it in iwlwifi yesterday and still have to investigate but having this run from kldloading a module made the system hang in a way that ^T did not work anymore on the console.

Apr 4 2024, 6:33 PM

Apr 3 2024

bz requested review of D44603: LinuxKPI: add BITS_TO_BYTES().
Apr 3 2024, 12:04 AM
bz requested review of D44602: LinuxKPI: add flex_array_size().
Apr 3 2024, 12:03 AM

Apr 2 2024

bz updated the diff for D44591: LinuxKPI: napi_schedule() requires return value.

Update with some more

Apr 2 2024, 11:59 PM
bz added a comment to D44590: LinuxKPI: sk_buff: implement skb_queue_splice_tail_init().

Okay, let's see if it is correct now?

Apr 2 2024, 11:57 PM
bz updated the diff for D44590: LinuxKPI: sk_buff: implement skb_queue_splice_tail_init().

Fix logic from NOP to doing something.

Apr 2 2024, 11:57 PM
bz planned changes to D44590: LinuxKPI: sk_buff: implement skb_queue_splice_tail_init().
Apr 2 2024, 7:29 PM
bz requested review of D44591: LinuxKPI: napi_schedule() requires return value.
Apr 2 2024, 10:07 AM
bz requested review of D44590: LinuxKPI: sk_buff: implement skb_queue_splice_tail_init().
Apr 2 2024, 10:06 AM
bz committed rGce707e674f79: LinuxKPI: add PCI_VENDOR_ID_ITTIM (authored by bz).
LinuxKPI: add PCI_VENDOR_ID_ITTIM
Apr 2 2024, 10:04 AM
bz requested review of D44589: LinuxKPI: add devm_kfree().
Apr 2 2024, 10:02 AM
bz requested review of D44588: LinuxKPI: add dev_alloc_pages().
Apr 2 2024, 10:02 AM
bz requested review of D44587: LinuxKPI: add __counted_by() and __nonstring.
Apr 2 2024, 10:01 AM
bz requested review of D44586: LinuxKPI: implement memzero_explicit().
Apr 2 2024, 9:59 AM
bz committed rG465e5f1b8b80: ath_hal/ar9300: allow JUPITER cards to read eeprom (authored by bz).
ath_hal/ar9300: allow JUPITER cards to read eeprom
Apr 2 2024, 9:54 AM

Apr 1 2024

bz committed rGd1aff3556656: vf_i2c: split up and add ACPI attachments in addition to FDT (authored by pldrouin_gmail.com).
vf_i2c: split up and add ACPI attachments in addition to FDT
Apr 1 2024, 11:48 PM
bz committed rG4197e21ed39c: vf_i2c: update I2C controller logic (authored by pldrouin_gmail.com).
vf_i2c: update I2C controller logic
Apr 1 2024, 11:48 PM
bz committed rGe74405a4d648: LinuxKPI: 802.11: return proper value for IEEE80211_CRYPTO_AES_CCM (authored by bz).
LinuxKPI: 802.11: return proper value for IEEE80211_CRYPTO_AES_CCM
Apr 1 2024, 11:48 PM
bz committed rGdd167e59079b: LinuxKPI: 802.11: implement a deferred RX path (authored by bz).
LinuxKPI: 802.11: implement a deferred RX path
Apr 1 2024, 11:48 PM
bz committed rG4bce8178af85: iicbus/mux/pca954x: add support for PCA9546 I2C Switch (authored by bz).
iicbus/mux/pca954x: add support for PCA9546 I2C Switch
Apr 1 2024, 11:48 PM
bz committed rG21b6420f67cf: ath_hal/ar9300: allow JUPITER cards to read eeprom (authored by bz).
ath_hal/ar9300: allow JUPITER cards to read eeprom
Apr 1 2024, 11:47 PM
bz committed rGfaf66c373ab7: ath(4): always enable 11n (authored by bz).
ath(4): always enable 11n
Apr 1 2024, 11:47 PM

Mar 31 2024

bz requested review of D44573: LinuxKPI: add further constants to pci.h.
Mar 31 2024, 5:34 PM
bz added a comment to D44569: Status/2024Q1/ten64-whle-honeycomb.adoc: Add report.

Applied more changes

Mar 31 2024, 9:18 AM
bz updated the diff for D44569: Status/2024Q1/ten64-whle-honeycomb.adoc: Add report.

Address more review comments

Mar 31 2024, 9:18 AM
bz added inline comments to D44569: Status/2024Q1/ten64-whle-honeycomb.adoc: Add report.
Mar 31 2024, 3:09 AM
bz updated the diff for D44569: Status/2024Q1/ten64-whle-honeycomb.adoc: Add report.

Address review comments.

Mar 31 2024, 3:08 AM
bz added a comment to D44568: Status/2024Q1/wireless.adoc: Add report.

Update to mark the requested changes done.

Mar 31 2024, 2:58 AM
bz updated the diff for D44568: Status/2024Q1/wireless.adoc: Add report.

Address review comments using markup for man pages.

Mar 31 2024, 2:57 AM
bz requested review of D44569: Status/2024Q1/ten64-whle-honeycomb.adoc: Add report.
Mar 31 2024, 1:18 AM
bz requested review of D44568: Status/2024Q1/wireless.adoc: Add report.
Mar 31 2024, 12:02 AM

Mar 30 2024

bz committed rG298b8f1cf0f4: dts: Fix arm dts path for marvell too (authored by bz).
dts: Fix arm dts path for marvell too
Mar 30 2024, 2:34 AM

Mar 29 2024

bz committed rG44847114bd4c: vf_i2c: update I2C controller logic (authored by pldrouin_gmail.com).
vf_i2c: update I2C controller logic
Mar 29 2024, 11:14 PM
bz closed D44021: Revamping the existing Vybrid I2C Controller Driver to Include Support for the QorIQ LX2160A Controller.
Mar 29 2024, 11:14 PM · arm64, ARM
bz closed D44020: Splitting the existing Vybrid I2C Controller Driver to Add ACPI Support.
Mar 29 2024, 11:14 PM · arm64, ARM
bz committed rG5ca8e32633c4: vf_i2c: split up and add ACPI attachments in addition to FDT (authored by pldrouin_gmail.com).
vf_i2c: split up and add ACPI attachments in addition to FDT
Mar 29 2024, 11:14 PM
bz committed rGde2a4e80d7d3: LinuxKPI: remove dummy header files with implementation (authored by bz).
LinuxKPI: remove dummy header files with implementation
Mar 29 2024, 7:11 PM

Mar 20 2024

bz added a comment to D44434: KASSERT(9): add assertion message guidelines.

Thank you!
Can we also adjust the comment above MPASS() in the header file?

Mar 20 2024, 12:16 AM

Mar 15 2024

bz added inline comments to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.
Mar 15 2024, 7:14 PM

Mar 12 2024

bz closed D44208: LinuxKPI: 802.11: return proper value for IEEE80211_CRYPTO_AES_CCM.
Mar 12 2024, 11:01 PM
bz committed rG906521f8176b: LinuxKPI: 802.11: return proper value for IEEE80211_CRYPTO_AES_CCM (authored by bz).
LinuxKPI: 802.11: return proper value for IEEE80211_CRYPTO_AES_CCM
Mar 12 2024, 11:01 PM
bz committed rGf254aad33dfb: ath_hal/ar9300: allow JUPITER cards to read eeprom (authored by bz).
ath_hal/ar9300: allow JUPITER cards to read eeprom
Mar 12 2024, 9:59 PM
bz closed D44328: ath_hal/ar9300: allow JUPITER cards to read eeprom.
Mar 12 2024, 9:59 PM
bz added a comment to D44328: ath_hal/ar9300: allow JUPITER cards to read eeprom.

oh, you have a jupiter card with eeprom, rather than just OTP? ooer. Good catch! I likely only have OTP AR9462s :(

Mar 12 2024, 9:56 PM
bz requested review of D44332: pca963x: add support for the PCA9633 4-bit Fm+ I2C-bus LED driver.
Mar 12 2024, 9:42 PM
bz requested review of D44328: ath_hal/ar9300: allow JUPITER cards to read eeprom.
Mar 12 2024, 9:23 PM
bz added inline comments to D44310: inpcb: remove unused KPIs to manipulate inpcbs.
Mar 12 2024, 3:37 PM
bz added a comment to D44219: ipsec_accel: kernel infrastructure.
In D44219#1008810, @kib wrote:
Mar 12 2024, 9:18 AM
bz accepted D44310: inpcb: remove unused KPIs to manipulate inpcbs.

Otherwise looks good to me.

Mar 12 2024, 9:16 AM
bz added inline comments to D44310: inpcb: remove unused KPIs to manipulate inpcbs.
Mar 12 2024, 9:16 AM
bz added inline comments to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.
Mar 12 2024, 9:13 AM
bz added a reviewer for D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE: linuxkpi.
Mar 12 2024, 9:09 AM

Mar 6 2024

bz requested changes to D44260: LinuxKPI: LKPI_80211_HW_CRYPTO: add crypto debug flag in LinuxKPI.
Mar 6 2024, 10:56 PM
bz added inline comments to D43648: LinuxKPI: 802.11: hardware crypto offload improvements.
Mar 6 2024, 7:56 PM
bz added a comment to D44020: Splitting the existing Vybrid I2C Controller Driver to Add ACPI Support.
In D44020#1009469, @bz wrote:

This may not be based on your latest version but the general idea is: call i2c_update_div_val() before taking the lock, get the div_reg value back (maybe you can avoid passing it as pointer and checking for error by simply checking for sc->freq == UINT32_MAX in the caller (reset function) afterwards to see if you should change anything or not (just came to my mind, haven't checked all code paths). Then do the register writes all together under lock.

My assumption here is that it is the reset function is not called twice at the same time in parallel from the bus.

What you describe is what I do in the latest version, but it does not work, since without the lock, i2c_get_div_val gets executed before the attach function has the chance to set the variables that are used by i2c_get_div_val. So I need to delay the call to i2c_get_div_val until the attach function completes. Without that I end up with the wrong divider value. Note that this problem seems to only occur at boot time and not if I load the driver as a module after booting.

Mar 6 2024, 7:34 PM · arm64, ARM
bz added a comment to D44020: Splitting the existing Vybrid I2C Controller Driver to Add ACPI Support.

This may not be based on your latest version but the general idea is: call i2c_update_div_val() before taking the lock, get the div_reg value back (maybe you can avoid passing it as pointer and checking for error by simply checking for sc->freq == UINT32_MAX in the caller (reset function) afterwards to see if you should change anything or not (just came to my mind, haven't checked all code paths). Then do the register writes all together under lock.

Mar 6 2024, 7:14 PM · arm64, ARM