Page MenuHomeFreeBSD
Feed Advanced Search

Today

bz retitled D44918: fwget: update wireless IDs for rtw88/89, ath1xk, mt76 and add iwlwifi from fwget: update wireless IDs for rtw88/89 and mt76 and add iwlwifi to fwget: update wireless IDs for rtw88/89, ath1xk, mt76 and add iwlwifi.
Thu, Apr 25, 1:10 PM
bz updated the diff for D44918: fwget: update wireless IDs for rtw88/89, ath1xk, mt76 and add iwlwifi.
  • Fix the two QCA entries which depend on two packages
  • Update the comments on Intel iwlwifi removing some initial logic in favor of a script (it is currently two but I'll try to clean it up and add it either to src or ports to generate both the fwget case pattern and the ports flavor->firmware files list generation)
Thu, Apr 25, 1:08 PM
bz added a comment to D44918: fwget: update wireless IDs for rtw88/89, ath1xk, mt76 and add iwlwifi.

Looks better now, thanks a lot.

Thu, Apr 25, 12:55 PM
bz added a comment to D44918: fwget: update wireless IDs for rtw88/89, ath1xk, mt76 and add iwlwifi.
In D44918#1024544, @imp wrote:

I don't suppose that yhese could be generated automatically? It's a huge table to maintain by hand...

Thu, Apr 25, 3:47 AM
bz added a comment to D44821: wpa: Remove the now not-needed local logic to hard-code cipher support.

Is is likely mis-sorted in the stack as this should go after D44922?

Thu, Apr 25, 3:36 AM · wireless
bz added a comment to D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites.

Are you going to change the few drivers which need change to get rid of the public exposure as well? Otherwise this is a dead code before added.

Thu, Apr 25, 3:35 AM · wireless
bz added inline comments to D44899: net80211: add the 802.11-2016 cipher list to the crypto array set..
Thu, Apr 25, 3:32 AM · wireless
bz requested changes to D44919: net80211: add initial key management suites from 802.11-2016, APIs to register them.
Thu, Apr 25, 3:28 AM · wireless
bz requested changes to D44921: net80211: add 256 bit CCMP support.

I haven't reviewed the actual function changes yet; just scrolled through

Thu, Apr 25, 3:22 AM · wireless
bz added inline comments to D44918: fwget: update wireless IDs for rtw88/89, ath1xk, mt76 and add iwlwifi.
Thu, Apr 25, 3:05 AM
bz added inline comments to D44918: fwget: update wireless IDs for rtw88/89, ath1xk, mt76 and add iwlwifi.
Thu, Apr 25, 3:03 AM
bz updated the diff for D44918: fwget: update wireless IDs for rtw88/89, ath1xk, mt76 and add iwlwifi.

Update to fine(r) grained flavored packages.

Thu, Apr 25, 3:01 AM

Yesterday

bz added a comment to D44918: fwget: update wireless IDs for rtw88/89, ath1xk, mt76 and add iwlwifi.

wifi-firmware-iwlwifi-kmod doesn't seems to exists ?

Wed, Apr 24, 4:24 PM

Tue, Apr 23

bz requested review of D44918: fwget: update wireless IDs for rtw88/89, ath1xk, mt76 and add iwlwifi.
Tue, Apr 23, 7:14 PM
bz added a comment to D44906: nfs: Default to nfs_reserved_port_only="YES".
In D44906#1023888, @bz wrote:

Should we change the in-kernel default as well? It will normally be overridden by the rc.conf setting so it doesn't have a practical impact but probably good for consistency.

Would NFS Root be affected by that? Hmm it's a tunable so less of a problem in case people do have trouble.

This is a server setting, so I wouldn't expect so.

Tue, Apr 23, 1:27 AM
bz added a comment to D44906: nfs: Default to nfs_reserved_port_only="YES".

Should we change the in-kernel default as well? It will normally be overridden by the rc.conf setting so it doesn't have a practical impact but probably good for consistency.

Tue, Apr 23, 1:17 AM

Mon, Apr 22

bz accepted D44906: nfs: Default to nfs_reserved_port_only="YES".

lgtm. I cannot recall if there is any man page change
needed for this?

Mon, Apr 22, 9:54 PM
bz added a comment to D43966: LinuxKPI: 802.11: lock MO tx/wake_tx_queue() downcalls.

@cc Adding LOCK asserts is a very good idea; not all the functions need them if I remember correctly. Should I really add it to this "fix" or should I do a separate full pass on the linux_80211_macops.c file?

Mon, Apr 22, 8:12 PM
bz updated the diff for D43967: LinuxKPI: 802.11: close race lkpi_sta_scan_to_auth()/(*iv_update_bss)().

Move the KASSERT/lsta assignment back to its original place;
I think the idea was to catch that state earlier on before more changes happen which could mask that situation but this change is really about the 2nd half so focus on that.

Mon, Apr 22, 8:09 PM
bz added a comment to D43967: LinuxKPI: 802.11: close race lkpi_sta_scan_to_auth()/(*iv_update_bss)().

@bz I put this in my wipbsd tree on Feb 18, and I have been switching between that tree and main since then. I haven't observed any issue attributable to this change. I still do see one Invalid TXQ sometime in early boot.

Mon, Apr 22, 7:48 PM
bz committed rGf4ccd1122a79: LinuxKPI: utsname.h add missing SPDX-License-Identifier (authored by bz).
LinuxKPI: utsname.h add missing SPDX-License-Identifier
Mon, Apr 22, 7:45 PM
bz committed rGb5cf81e20984: LinuxKPI: 802.11: disable early queue wakeup workaround; better classify (authored by bz).
LinuxKPI: 802.11: disable early queue wakeup workaround; better classify
Mon, Apr 22, 7:45 PM
bz committed rG6290fe776c74: LinuxKPI: add __counted_by() and __nonstring (authored by bz).
LinuxKPI: add __counted_by() and __nonstring
Mon, Apr 22, 7:45 PM
bz committed rG634fd711b003: net80211: amrr_init: change order of commands (authored by bz).
net80211: amrr_init: change order of commands
Mon, Apr 22, 7:45 PM
bz committed rGfb94767f7863: 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()
Mon, Apr 22, 7:44 PM
bz committed rG24293e9f97a4: LinuxKPI: add devm_kfree() (authored by bz).
LinuxKPI: add devm_kfree()
Mon, Apr 22, 7:44 PM
bz committed rG25e0847ef7d2: LinuxKPI: napi_schedule() requires return value, implement napi_is_scheduled() (authored by bz).
LinuxKPI: napi_schedule() requires return value, implement napi_is_scheduled()
Mon, Apr 22, 7:44 PM
bz committed rG6b2686ca9bc6: LinuxKPI: sk_buff: implement skb_queue_splice_tail_init() (authored by bz).
LinuxKPI: sk_buff: implement skb_queue_splice_tail_init()
Mon, Apr 22, 7:44 PM
bz committed rG10c94114ac5c: net8011: radiotap: add more EHT constants (authored by bz).
net8011: radiotap: add more EHT constants
Mon, Apr 22, 7:44 PM
bz committed rG8cf307284f6c: LinuxKPI: add dev_alloc_pages() (authored by bz).
LinuxKPI: add dev_alloc_pages()
Mon, Apr 22, 7:44 PM
bz committed rGa939c9544033: LinuxKPI: add BITS_TO_BYTES() (authored by bz).
LinuxKPI: add BITS_TO_BYTES()
Mon, Apr 22, 7:44 PM
bz committed rG7a52baf2805f: LinuxKPI: implement memzero_explicit() (authored by bz).
LinuxKPI: implement memzero_explicit()
Mon, Apr 22, 7:44 PM
bz committed rG0af78fa479ca: LinuxKPI: add further constants to pci.h (authored by bz).
LinuxKPI: add further constants to pci.h
Mon, Apr 22, 7:44 PM
bz committed rGf44b05ee942f: LinuxKPI: add PCI_VENDOR_ID_ITTIM (authored by bz).
LinuxKPI: add PCI_VENDOR_ID_ITTIM
Mon, Apr 22, 7:44 PM
bz updated subscribers of D44861: Initial cut at Intel AX210 bluetooth support.

I wonder if that'll support a lot more than just AX210?

Mon, Apr 22, 7:07 PM
bz added a comment to D43967: LinuxKPI: 802.11: close race lkpi_sta_scan_to_auth()/(*iv_update_bss)().

@emaste have you been running with this change the last months?

Mon, Apr 22, 6:12 PM
bz added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.
% grep -r THIS_MODULE sys/contrib/dev | wc -l
      87
% grep -r THIS_MODULE sys/contrib/dev | grep -v '\.owner =' | wc -l
       9
% grep -r THIS_MODULE sys/contrib/dev | grep -v '\.owner =' 
sys/contrib/dev/acpica/changes.txt:any "_THIS_MODULE defined but not used" messages.
sys/contrib/dev/iwlwifi/iwl-drv.c:      return request_firmware_nowait(THIS_MODULE, 1, drv->firmware_name,
sys/contrib/dev/iwlwifi/mvm/ops.c:      module_put(THIS_MODULE);
sys/contrib/dev/iwlwifi/mvm/ops.c:              if (!try_module_get(THIS_MODULE)) {
sys/contrib/dev/iwlwifi/mvm/ops.c:                      module_put(THIS_MODULE);
sys/contrib/dev/iwlwifi/pcie/trans.c:   module_put(THIS_MODULE);
sys/contrib/dev/iwlwifi/pcie/trans.c:   if (!try_module_get(THIS_MODULE)) {
sys/contrib/dev/iwlwifi/pcie/trans.c:           module_put(THIS_MODULE);
sys/contrib/dev/rtw88/main.c:   ret = request_firmware_nowait(THIS_MODULE, true, fw_name, rtwdev->dev,
Mon, Apr 22, 5:42 PM

Fri, Apr 19

bz added a comment to D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites.

eg ath(4) would do something like:

Fri, Apr 19, 11:53 PM · wireless
bz added inline comments to D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites.
Fri, Apr 19, 7:05 PM · wireless
bz accepted D44865: linuxkpi: Allow ida_destroy and idr_destroy to be called multiple times.

Thanks. If no one complains the next days I'll put this in.

Fri, Apr 19, 6:54 PM
bz added a comment to D44827: net80211: add driver / crypto methods to set the hardware / software cipher suites.

Can we shorten hardware/software to hw/sw?

Fri, Apr 19, 6:50 PM · wireless
bz committed rG563c72e2137c: LinuxKPI: utsname.h add missing SPDX-License-Identifier (authored by bz).
LinuxKPI: utsname.h add missing SPDX-License-Identifier
Fri, Apr 19, 6:26 PM
bz added inline comments to D44864: net80211: add new ciphers and RSN flags.
Fri, Apr 19, 6:05 PM · wireless
bz requested changes to D44864: net80211: add new ciphers and RSN flags.
Fri, Apr 19, 4:47 PM · wireless
bz added a comment to D44865: linuxkpi: Allow ida_destroy and idr_destroy to be called multiple times.

Nice tracking down.
Is there a PR for this somewhere we need to reference?

Fri, Apr 19, 3:52 PM

Wed, Apr 17

bz added inline comments to D44820: net80211: add a new field specifically for announcing specific ciphers.
Wed, Apr 17, 8:01 PM · wireless
bz requested changes to D44820: net80211: add a new field specifically for announcing specific ciphers.
Wed, Apr 17, 6:47 PM · wireless

Mon, Apr 15

bz committed rG2a8c50592f7f: LinuxKPI: add __counted_by() and __nonstring (authored by bz).
LinuxKPI: add __counted_by() and __nonstring
Mon, Apr 15, 7:33 PM
bz closed D44587: LinuxKPI: add __counted_by() and __nonstring.
Mon, Apr 15, 7:33 PM
bz closed D42790: git/mfc-candidates.sh: allow comments in exclude file.
Mon, Apr 15, 5:56 PM
bz committed rG3f115b864b1f: git/mfc-candidates.sh: allow comments in exclude file (authored by bz).
git/mfc-candidates.sh: allow comments in exclude file
Mon, Apr 15, 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
Mon, Apr 15, 5:52 PM
bz closed D43944: LinuxKPI: 802.11: try to fix iwlwifi("Invalid TXQ id").
Mon, Apr 15, 5:52 PM
bz added a comment to D42790: git/mfc-candidates.sh: allow comments in exclude file.

Any comments on this?

Mon, Apr 15, 5:50 PM
bz committed rGcd9fee3d2c37: net80211: amrr_init: change order of commands (authored by bz).
net80211: amrr_init: change order of commands
Mon, Apr 15, 5:41 PM
bz closed D43751: net80211: amrr_init: change order of commands.
Mon, Apr 15, 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()
Mon, Apr 15, 5:31 PM
bz closed D43965: LinuxKPI: 802.11: remove unneeded re-lookup in lkpi_80211_txq_tx_one().
Mon, Apr 15, 5:31 PM
bz committed rG170c2e0e2bb1: LinuxKPI: add devm_kfree() (authored by bz).
LinuxKPI: add devm_kfree()
Mon, Apr 15, 4:56 PM
bz closed D44589: LinuxKPI: add devm_kfree().
Mon, Apr 15, 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.

Mon, Apr 15, 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()
Mon, Apr 15, 4:21 PM
bz closed D44591: LinuxKPI: napi_schedule() requires return value.
Mon, Apr 15, 4:21 PM
bz closed D44590: LinuxKPI: sk_buff: implement skb_queue_splice_tail_init().
Mon, Apr 15, 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()
Mon, Apr 15, 4:09 PM

Sun, Apr 14

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?

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

@emaste is the logic correct now?

Sun, Apr 14, 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).

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

add logic for counted_by and also add __nonstring

Sun, Apr 14, 11:07 PM

Fri, Apr 12

bz committed rG738c02ba24c6: LinuxKPI: add dev_alloc_pages() (authored by bz).
LinuxKPI: add dev_alloc_pages()
Fri, Apr 12, 11:17 PM
bz closed D44588: LinuxKPI: add dev_alloc_pages().
Fri, Apr 12, 11:16 PM
bz closed D44603: LinuxKPI: add BITS_TO_BYTES().
Fri, Apr 12, 11:13 PM
bz committed rGf674f016c03d: LinuxKPI: add BITS_TO_BYTES() (authored by bz).
LinuxKPI: add BITS_TO_BYTES()
Fri, Apr 12, 11:13 PM
bz closed D44586: LinuxKPI: implement memzero_explicit().
Fri, Apr 12, 11:13 PM
bz committed rG218b2ccf8cc9: LinuxKPI: implement memzero_explicit() (authored by bz).
LinuxKPI: implement memzero_explicit()
Fri, Apr 12, 11:13 PM
bz committed rGa1cdddcf1596: LinuxKPI: add further constants to pci.h (authored by bz).
LinuxKPI: add further constants to pci.h
Fri, Apr 12, 11:08 PM
bz closed D44573: LinuxKPI: add further constants to pci.h.
Fri, Apr 12, 11:08 PM
bz closed D44568: Status/2024Q1/wireless.adoc: Add report.
Fri, Apr 12, 10:39 PM
bz committed R9:2ddb875f3473: Status/2024Q1/wireless.adoc: Add report (authored by bz).
Status/2024Q1/wireless.adoc: Add report
Fri, Apr 12, 10:39 PM
bz closed D44569: Status/2024Q1/ten64-whle-honeycomb.adoc: Add report.
Fri, Apr 12, 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
Fri, Apr 12, 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.

Fri, Apr 12, 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.

Fri, Apr 12, 9:00 PM

Wed, Apr 10

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

THANK YOU!

Wed, Apr 10, 6:23 PM

Tue, Apr 9

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?

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

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

Tue, Apr 9, 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?

Tue, Apr 9, 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

Tue, Apr 9, 4:23 PM

Mon, Apr 8

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
Mon, Apr 8, 9:31 PM

Sat, Apr 6

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

Sat, Apr 6, 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.

Sat, Apr 6, 10:14 PM

Thu, Apr 4

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.

Thu, Apr 4, 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.

Thu, Apr 4, 6:33 PM

Wed, Apr 3

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

Tue, Apr 2

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

Update with some more

Tue, Apr 2, 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?

Tue, Apr 2, 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.

Tue, Apr 2, 11:57 PM