Page MenuHomeFreeBSD
Feed Advanced Search

Oct 1 2020

bz added inline comments to D26598: linuxkpi: upstream drm-kmod conflicting changes.
Oct 1 2020, 2:01 PM
bz added a member for linuxkpi: bz.
Oct 1 2020, 1:58 PM
bz updated the diff for D26598: linuxkpi: upstream drm-kmod conflicting changes.

Address comments from kib mostly.

Oct 1 2020, 1:38 PM
bz added a comment to D26598: linuxkpi: upstream drm-kmod conflicting changes.

I'll wait to see what @manu or others in case of kobject_uevent_env() say and then upload the final diff. Interim version coming in a minute.

Oct 1 2020, 1:36 PM

Sep 29 2020

bz abandoned D26277: linuxkpi: firmware.

Abandon in favour of D26598

Sep 29 2020, 10:37 PM
bz requested review of D26598: linuxkpi: upstream drm-kmod conflicting changes.
Sep 29 2020, 10:20 PM
bz committed rS366268: rtwn: narrow the epoch area.
rtwn: narrow the epoch area
Sep 29 2020, 8:46 PM
bz closed D26554: rtwn: narrow the epoch area.
Sep 29 2020, 8:46 PM

Sep 28 2020

bz added a reviewer for D26578: nd6: Count packets dropped due to an invalid hop limit: hrs.

While I agree on the counter I am not yet sure I entirely want to lose all these messages.
Some are helpful in that they tell us things. If you are on multiple network as most of my devices are it can become a pain otherwise to retroactively debug.
Given none of them are logged by default (nd6_debug = 0 unless -DND6_DEBUG is used at compile time and nd6.h:#define nd6log(x) do { if (V_nd6_debug) log x; } while (/*CONSTCOND*/ 0) ) can we not just do both?

Sep 28 2020, 5:43 PM

Sep 27 2020

bz updated the summary of D26554: rtwn: narrow the epoch area.
Sep 27 2020, 11:59 AM

Sep 26 2020

bz updated the summary of D26554: rtwn: narrow the epoch area.
Sep 26 2020, 7:00 PM
bz updated the diff for D26554: rtwn: narrow the epoch area.

Rework as suggested by adrian.

Sep 26 2020, 6:58 PM

Sep 25 2020

bz accepted D26548: ng_l2tp: Fix callout synchronization in the RACK timeout handler.
Sep 25 2020, 6:26 PM
bz added a reviewer for D26541: net80211: factor out the priv(9) checks into OS specifc code.: martin_NetBSD.org.
Sep 25 2020, 5:01 PM
bz added a comment to D26554: rtwn: narrow the epoch area.

I'm not a huge fan of this cause honestly we should be doing the epoch enter/exit around a batch.

What I was hoping to do was to create a list of frames from calls to rtwn_rx_frame and then push them up to the stack in a second pass under (a) no lock, avoiding the relock, and (b) being done in NET_EPOCH.

Wanna do that or should I?

Sep 25 2020, 4:54 PM
bz requested review of D26554: rtwn: narrow the epoch area.
Sep 25 2020, 10:36 AM

Sep 24 2020

bz requested changes to D26548: ng_l2tp: Fix callout synchronization in the RACK timeout handler.
Sep 24 2020, 9:59 PM
bz requested review of D26545: net80211: split up ieee80211_probereq().
Sep 24 2020, 12:49 PM
bz accepted D26537: devfs.rules: unhide pf in vnet jails.

We'll probably want to add more of these in the future for vnets, so happy we start to lay the grounds.
Will you work on jail/jail.conf to also pick the right set for devfs depending on whether the vnet option is given? If not you should given @jamie a ping6.

Sep 24 2020, 11:42 AM
bz added a comment to D26537: devfs.rules: unhide pf in vnet jails.
In D26537#591051, @kp wrote:
In D26537#590825, @bz wrote:

Did we ever fix this one?

https://www.openbsd.org/errata48.html
005: SECURITY FIX: December 17, 2010 All architectures
Insufficent initialization of the pf rule structure in the ioctl handler may allow userland to modify kernel memory. By default root privileges are needed to add or modify pf rules.

https://ftp.openbsd.org/pub/OpenBSD/patches/4.8/common/005_pf.patch

I believe you did: https://svnweb.freebsd.org/base?view=revision&revision=302117

Sep 24 2020, 11:40 AM
bz closed D26539: Provide MS() and SM() macros for 80211..

This landed by accident in head as https://svnweb.freebsd.org/changeset/base/366112 (not sure why the review wasn't automatically closed either).

Sep 24 2020, 11:02 AM
bz added a comment to D26539: Provide MS() and SM() macros for 80211..

Arg. Sorry, used the wrong alias and pushed the change into head instead of here. Please do a post-commit review in head then.

Sep 24 2020, 10:59 AM
bz committed rS366112: Provide MS() and SM() macros for 80211 and wireless drivers..
Provide MS() and SM() macros for 80211 and wireless drivers.
Sep 24 2020, 10:58 AM

Sep 23 2020

bz added a comment to D26539: Provide MS() and SM() macros for 80211..

I am mostly interested if the names are okay. I did not want to use _IEEE80211_MS() as that might be confused with some time operation MS_TO_xxx. If the names are okay, I'll wrap the lines and upload a new version for actual review.

Sep 23 2020, 10:09 PM
bz set the repository for D26541: net80211: factor out the priv(9) checks into OS specifc code. to rS FreeBSD src repository - subversion.
Sep 23 2020, 10:07 PM
bz updated the summary of D26539: Provide MS() and SM() macros for 80211..
Sep 23 2020, 10:07 PM
bz requested review of D26541: net80211: factor out the priv(9) checks into OS specifc code..
Sep 23 2020, 10:06 PM
bz requested review of D26539: Provide MS() and SM() macros for 80211..
Sep 23 2020, 10:02 PM
bz added a comment to D26537: devfs.rules: unhide pf in vnet jails.

Did we ever fix this one?

Sep 23 2020, 8:38 PM

Sep 12 2020

bz committed rS365673: MFS r365630 (markj, bz).
MFS r365630 (markj, bz)
Sep 12 2020, 9:50 PM
bz committed rS365670: MFS r365608:.
MFS r365608:
Sep 12 2020, 7:34 PM

Sep 11 2020

bz committed rS365633: iwm: fix regression from r365419 (ieee80211_media_change()).
iwm: fix regression from r365419 (ieee80211_media_change())
Sep 11 2020, 2:18 PM
bz committed rS365630: MFC r342788,354926,364771 (markj, bz).
MFC r342788,354926,364771 (markj, bz)
Sep 11 2020, 12:36 PM

Sep 10 2020

bz committed rD54474: Document __FreeBSD_version 1201526 after merging net80211 incl priv(9).
Document __FreeBSD_version 1201526 after merging net80211 incl priv(9)
Sep 10 2020, 9:40 PM
bz committed rS365608: MFC r344749-344750,344841-344843,345284,346405,346470,347140-347141,348331,.
MFC r344749-344750,344841-344843,345284,346405,346470,347140-347141,348331,
Sep 10 2020, 7:01 PM

Sep 7 2020

bz added reviewers for D26344: bcm2838_pci.c: Respect DMA limits of controller.: ARM, arm64.
Sep 7 2020, 4:35 PM
bz committed rS365419: WiFi: fix ieee80211_media_change() callers.
WiFi: fix ieee80211_media_change() callers
Sep 7 2020, 3:36 PM
bz committed rS365416: MFC r364466:.
MFC r364466:
Sep 7 2020, 2:22 PM

Sep 5 2020

bz closed D26331: bbr: remove unused static function.
Sep 5 2020, 12:20 AM
bz committed rS365350: bbr: remove unused static function.
bbr: remove unused static function
Sep 5 2020, 12:20 AM
bz committed rS365349: uipc_ktls: remove unused static function.
uipc_ktls: remove unused static function
Sep 5 2020, 12:20 AM
bz closed D26330: uipc_ktls: remove unused static function.
Sep 5 2020, 12:20 AM
bz requested review of D26334: cxgbe: Apply more checks for INET and INET6.
Sep 5 2020, 12:18 AM

Sep 4 2020

bz requested review of D26331: bbr: remove unused static function.
Sep 4 2020, 6:35 PM
bz requested review of D26330: uipc_ktls: remove unused static function.
Sep 4 2020, 6:32 PM
bz committed rS365335: umass: enhance debugging.
umass: enhance debugging
Sep 4 2020, 6:30 PM
bz committed rS365334: umass: fix a cam_sim leak in error case.
umass: fix a cam_sim leak in error case
Sep 4 2020, 6:27 PM
bz closed D26287: umass: fix a leak in error case and enhance debugging.
Sep 4 2020, 6:27 PM
bz committed rS365333: cam_sim: harmonize code related to acquiring a mtx.
cam_sim: harmonize code related to acquiring a mtx
Sep 4 2020, 6:18 PM
bz closed D26286: cam_sim: harmonize code related to acquiring a mtx.
Sep 4 2020, 6:18 PM

Sep 2 2020

bz added a comment to D26287: umass: fix a leak in error case and enhance debugging.

Thanks!

Sep 2 2020, 7:31 AM

Sep 1 2020

bz committed rS365230: Release thj from mentorship..
Release thj from mentorship.
Sep 1 2020, 10:36 PM
bz added a comment to D26277: linuxkpi: firmware.

The kernel linker i FreeBSD has a subtle feature, that if multiple symbols with the same name exist, only the first one is resolved, and no warning is given. Can only be found by a LINT compile.

Sep 1 2020, 10:33 PM
bz accepted D26273: inet6_option_space is deprecated, refer directly to inet6_opt_init.
Sep 1 2020, 10:04 PM
bz added a comment to D26287: umass: fix a leak in error case and enhance debugging.

In case this is correct, should I commit the missing cam_sim_free() call on its own?

Sep 1 2020, 9:16 PM
bz set the repository for D26287: umass: fix a leak in error case and enhance debugging to rS FreeBSD src repository - subversion.
Sep 1 2020, 8:30 PM
bz requested review of D26287: umass: fix a leak in error case and enhance debugging.
Sep 1 2020, 8:28 PM
bz set the repository for D26286: cam_sim: harmonize code related to acquiring a mtx to rS FreeBSD src repository - subversion.
Sep 1 2020, 8:15 PM
bz requested review of D26286: cam_sim: harmonize code related to acquiring a mtx.
Sep 1 2020, 8:14 PM
bz committed rS365059: MFC r364018:.
MFC r364018:
Sep 1 2020, 7:54 PM
bz added a comment to D26277: linuxkpi: firmware.
In D26277#584196, @manu wrote:
In D26277#584194, @bz wrote:
In D26277#584193, @manu wrote:
In D26277#584190, @bz wrote:
In D26277#584185, @bz wrote:
In D26277#584141, @manu wrote:

Note that this commit, once approved, should be synced with ports update to drm-current-kmod and drm-devel-kmod.

I'll do the due-diligens based on the URL you gave me earlier to see what else we have as common code; which of the branches there do I need to check?

Then we can put it all up (either yours or mine) in here for review, cross-check that all still works and get it into FreeBSD in one go, which should make checking in ports for available functionality in base a lot easier. In other words, I'll not push this into head alone if there's other stuff.

Question: given the linux_firmware.c file there has no author or license on it, do I have to assume the files there are indeed as the directory tree suggests gplv2? Because if they are I don't want to go near their contents.

No, if you look at the history it was imported by markj from drm-next, mmacy is the author I think

Cool. Which branches should I all check or is the linuxkpi basically identical?

The firmware part is identical everywhere (even at https://github.com/FreeBSDDesktop/kms-drm)

Sep 1 2020, 6:32 PM
bz added a comment to D26277: linuxkpi: firmware.
In D26277#584193, @manu wrote:
In D26277#584190, @bz wrote:
In D26277#584185, @bz wrote:
In D26277#584141, @manu wrote:

Note that this commit, once approved, should be synced with ports update to drm-current-kmod and drm-devel-kmod.

I'll do the due-diligens based on the URL you gave me earlier to see what else we have as common code; which of the branches there do I need to check?

Then we can put it all up (either yours or mine) in here for review, cross-check that all still works and get it into FreeBSD in one go, which should make checking in ports for available functionality in base a lot easier. In other words, I'll not push this into head alone if there's other stuff.

Question: given the linux_firmware.c file there has no author or license on it, do I have to assume the files there are indeed as the directory tree suggests gplv2? Because if they are I don't want to go near their contents.

No, if you look at the history it was imported by markj from drm-next, mmacy is the author I think

Sep 1 2020, 6:14 PM
bz added a comment to D26277: linuxkpi: firmware.
In D26277#584185, @bz wrote:
In D26277#584141, @manu wrote:

Note that this commit, once approved, should be synced with ports update to drm-current-kmod and drm-devel-kmod.

I'll do the due-diligens based on the URL you gave me earlier to see what else we have as common code; which of the branches there do I need to check?

Then we can put it all up (either yours or mine) in here for review, cross-check that all still works and get it into FreeBSD in one go, which should make checking in ports for available functionality in base a lot easier. In other words, I'll not push this into head alone if there's other stuff.

Sep 1 2020, 5:50 PM
bz added a comment to D26277: linuxkpi: firmware.
In D26277#584141, @manu wrote:

Note that this commit, once approved, should be synced with ports update to drm-current-kmod and drm-devel-kmod.

Sep 1 2020, 5:39 PM
bz added inline comments to D26277: linuxkpi: firmware.
Sep 1 2020, 4:23 PM
bz added inline comments to D26277: linuxkpi: firmware.
Sep 1 2020, 4:00 PM
bz requested review of D26277: linuxkpi: firmware.
Sep 1 2020, 3:43 PM
bz accepted D26272: Correct section reference for examples in RFC3542.
Sep 1 2020, 1:52 PM
bz added inline comments to D26272: Correct section reference for examples in RFC3542.
Sep 1 2020, 1:32 PM
bz added a reviewer for D26273: inet6_option_space is deprecated, refer directly to inet6_opt_init: hrs.
Sep 1 2020, 1:30 PM

Aug 30 2020

bz accepted D26226: ng_ether: Enter NET_EPOCH where required.
Aug 30 2020, 8:46 AM

Aug 29 2020

bz accepted D26226: ng_ether: Enter NET_EPOCH where required.
Aug 29 2020, 9:07 AM

Aug 28 2020

bz accepted D21180: Add Parameter Problem type for Incomplete Header Chain.
Aug 28 2020, 11:21 AM

Aug 26 2020

bz added a watcher for bhyve: bz.
Aug 26 2020, 4:07 PM

Aug 25 2020

bz added inline comments to D26074: NetFPGA SUME Reference NIC (RIFFA DMA) device driver.
Aug 25 2020, 9:42 PM
bz updated subscribers of D25085: netinet6: In tcp_lro_rx_ipv6(), check for IPv6 flow ID..
Aug 25 2020, 4:40 PM · network
bz committed rS364771: rtsol(d): add script for "M bit".
rtsol(d): add script for "M bit"
Aug 25 2020, 4:09 PM
bz closed D26099: rtsol(d): add script for "M bit".
Aug 25 2020, 4:09 PM
bz added inline comments to D25085: netinet6: In tcp_lro_rx_ipv6(), check for IPv6 flow ID..
Aug 25 2020, 3:54 PM · network
bz requested changes to D25085: netinet6: In tcp_lro_rx_ipv6(), check for IPv6 flow ID..
Aug 25 2020, 3:25 PM · network
bz added a comment to D26099: rtsol(d): add script for "M bit".
In D26099#581614, @hrs wrote:

Sorry for the delay. Looks good to me.

Aug 25 2020, 3:14 PM

Aug 24 2020

bz updated subscribers of D25236: [net80211] First part of A-MSDU offload handling - don't bump A-MPDU reordering seqno.
Aug 24 2020, 8:26 PM
bz updated subscribers of D26173: Permit vm_page_wire() for pages not belonging to an object..
Aug 24 2020, 8:05 PM
bz closed D26091: net80211: enhance getflags*() and ieee80211_add_channel*().
Aug 24 2020, 1:15 PM
bz committed rS364673: net80211: enhance getflags*() and ieee80211_add_channel*().
net80211: enhance getflags*() and ieee80211_add_channel*()
Aug 24 2020, 1:15 PM

Aug 23 2020

bz added inline comments to D26091: net80211: enhance getflags*() and ieee80211_add_channel*().
Aug 23 2020, 9:49 PM
bz added inline comments to D26091: net80211: enhance getflags*() and ieee80211_add_channel*().
Aug 23 2020, 9:48 PM
bz added a comment to D26099: rtsol(d): add script for "M bit".

Anyone else comments? Otherwise I'll get it in no later than Tuesday.

Aug 23 2020, 9:44 PM
bz committed rS364553: net80211: improve media information for VHT5GHZ.
net80211: improve media information for VHT5GHZ
Aug 23 2020, 9:42 PM
bz closed D26089: net80211: improve media information for VHT5GHZ.
Aug 23 2020, 9:42 PM
bz closed D26088: net80211: set_vht_extchan() reverse order to always return best.
Aug 23 2020, 9:37 PM
bz committed rS364551: net80211: set_vht_extchan() reverse order to always return best.
net80211: set_vht_extchan() reverse order to always return best
Aug 23 2020, 9:37 PM

Aug 21 2020

bz committed rS364466: After the clang/llvm version 11 import LLD_VERSION is no longer used.
After the clang/llvm version 11 import LLD_VERSION is no longer used
Aug 21 2020, 10:32 PM

Aug 20 2020

bz added a comment to D26091: net80211: enhance getflags*() and ieee80211_add_channel*().

Any further comments? I'd love to commit this Monday morning UTC.

Aug 20 2020, 10:49 PM
bz added a comment to D26089: net80211: improve media information for VHT5GHZ.

Any further comments? I'd love to commit this Monday morning UTC.

Aug 20 2020, 10:49 PM
bz added a comment to D26088: net80211: set_vht_extchan() reverse order to always return best.

Any further comments? I'd love to commit this Monday morning UTC.

Aug 20 2020, 10:49 PM

Aug 19 2020

bz updated the diff for D26099: rtsol(d): add script for "M bit".

Apply the changes suggested by @markj and myself.

Aug 19 2020, 9:15 PM
bz added inline comments to D26091: net80211: enhance getflags*() and ieee80211_add_channel*().
Aug 19 2020, 3:01 PM
bz added inline comments to D26089: net80211: improve media information for VHT5GHZ.
Aug 19 2020, 2:59 PM
bz added inline comments to D26088: net80211: set_vht_extchan() reverse order to always return best.
Aug 19 2020, 2:56 PM