Page MenuHomeFreeBSD

mizhka_gmail.com (Michael Zhilin)
User

Projects

User does not belong to any projects.

User Details

User Since
Oct 2 2015, 1:24 PM (167 w, 4 d)

Recent Activity

Sun, Dec 16

mizhka_gmail.com updated subscribers of D18543: Planned obsolete mips support removal.

I prefer to deprecate chips / sub-arch, but not removal. Honestly approach with "unimplementable" atomic_64_swap looks too aggressive.
I and @yamori813_yahoo.co.jp have boards with mips4k SoCs and to be honest such chips do their job well.
Another point: I saw plenty of emails with information that 8Mb is very slow. If it looks small for certain group of people, it doesn't mean that it's small in wide audience. I see that firmware with kernel, modules, 20Mb of uncompressed UFS/CD9660 filesystem is powerful to handle plenty of tasks: routing, monitoring of sensors, graphical output to LCD, keyboard/IR control and so on.

Sun, Dec 16, 6:36 PM

Wed, Nov 28

mizhka_gmail.com added inline comments to D18365: ubldr: Fix booting PowerPC kernels.
Wed, Nov 28, 5:32 AM

Mon, Nov 26

mizhka_gmail.com requested changes to D18339: Add two new options to "ipfw table <NAME> create" to simplify firewall reload.
Mon, Nov 26, 11:24 PM

Nov 16 2018

mizhka_gmail.com accepted D18001: cpu model display on dmesg.
Nov 16 2018, 6:34 AM

Nov 13 2018

mizhka_gmail.com accepted D17938: Add a PWM subsystem.

OK except style(9) issues.

Nov 13 2018, 7:45 AM

Nov 12 2018

mizhka_gmail.com requested changes to D17938: Add a PWM subsystem.

Thank you for submission!
Phabricator highlights style(9) issues like spacing/tabs, so it's easy to fix it.

Nov 12 2018, 7:01 PM

Nov 10 2018

mizhka_gmail.com added inline comments to D17938: Add a PWM subsystem.
Nov 10 2018, 9:04 PM

Oct 8 2018

mizhka_gmail.com accepted D17350: sysutils/flashrom: Enable buspirate interface by default.
Oct 8 2018, 8:39 AM

Oct 2 2018

mizhka_gmail.com accepted D17350: sysutils/flashrom: Enable buspirate interface by default.
Oct 2 2018, 2:55 PM

Sep 8 2018

mizhka_gmail.com created D17080: [devel/radare2] update from 2.8 to 2.9.
Sep 8 2018, 4:09 PM

Aug 29 2018

mizhka_gmail.com added a comment to D16926: [java/jattach] update to v.1.4.

Thank you for review, @mat !
Patch has been corrected according to comment. :) Hope it's OK now.

Aug 29 2018, 3:29 PM
mizhka_gmail.com updated the diff for D16926: [java/jattach] update to v.1.4.
Aug 29 2018, 3:27 PM

Aug 28 2018

mizhka_gmail.com created D16926: [java/jattach] update to v.1.4.
Aug 28 2018, 2:02 PM

Aug 12 2018

mizhka_gmail.com accepted D16656: devel/radare2: Update to 2.8.0.
Aug 12 2018, 5:38 AM

Aug 11 2018

mizhka_gmail.com added a comment to D16656: devel/radare2: Update to 2.8.0.

Many thanks for the patch!

Aug 11 2018, 5:38 AM

Jan 25 2018

mizhka_gmail.com added a comment to D14020: [mips] [ddb] few backtrace changes.

@jhb, many thanks for review!

Jan 25 2018, 9:09 PM
mizhka_gmail.com accepted D14044: Fix LINT build.
Jan 25 2018, 5:42 AM

Jan 22 2018

mizhka_gmail.com updated the test plan for D14020: [mips] [ddb] few backtrace changes.
Jan 22 2018, 10:32 PM
mizhka_gmail.com created D14020: [mips] [ddb] few backtrace changes.
Jan 22 2018, 10:32 PM

Dec 27 2017

mizhka_gmail.com requested changes to D13648: Add flashmap rootfs search function.

Small cosmetic changes are required.
But I don't get idea why this marker lookup can't be done by flash_slicer code.
Could you please clarify benefit?

Dec 27 2017, 12:46 PM

Dec 22 2017

mizhka_gmail.com accepted D13583: TMPFS_PAGES_MINRESERVED make kernel option. This is usefull small memory target at reroot capability..
Dec 22 2017, 3:34 AM

Dec 19 2017

mizhka_gmail.com created D13541: [efi/boot1] Scan all display modes rather than sequential try-fail way.
Dec 19 2017, 8:36 AM

Dec 7 2017

mizhka_gmail.com accepted D12736: i2c support for mediatek soc.

@sgalabov , @adrian , could you please look at?

Dec 7 2017, 8:13 PM

Dec 5 2017

mizhka_gmail.com accepted D13378: Rework alignment handling in __libc_allocate_tls() for Variant I of TLS layout..

MIPS is fine:

Dec 5 2017, 9:21 PM
mizhka_gmail.com abandoned D13134: [mips32/tls] change TCB size from 8 to 16 to be aligned with r324938 & r325364.

See D13378

Dec 5 2017, 7:19 PM

Dec 3 2017

mizhka_gmail.com updated the diff for D13351: [MIPS32] Restore translation of freelist to flind for page allocation.

changes:

  • move check to vm_phys_alloc_freelist_pages
  • assert input parameter freelist instead of uninitialized flind
Dec 3 2017, 8:44 PM
mizhka_gmail.com created D13351: [MIPS32] Restore translation of freelist to flind for page allocation.
Dec 3 2017, 3:05 PM

Nov 24 2017

mizhka_gmail.com updated the diff for D13134: [mips32/tls] change TCB size from 8 to 16 to be aligned with r324938 & r325364.

Cosmetic change: increase MIPS_MAX_TCB_SIZE from 0x20 to 0x1000

Nov 24 2017, 7:07 PM
mizhka_gmail.com added a comment to D13134: [mips32/tls] change TCB size from 8 to 16 to be aligned with r324938 & r325364.
In D13134#274207, @meloun-miracle-cz wrote:

with full respect, I don’t think that this is right way. Moreover, I think that you papering over real problem there.
With this patch, what’s happen if someone requests any higher alignment (that actual 16) for TLS data? Or, can patched kernel run the old init (pre r324938)?

After day of digging, I’m still not sure which TLS model mips uses. Mainly which value is expected to be returned by tls_get_tp() function.
It’s clear that mips doesn’t follow Variant I of TLS standard (which require TP pointing to TCB), but it takes relaxed model of this. Something like
“The "thread pointer register" points to some fixed offset from the beginning of the TLS segment. This offset varies by arch“.

If is this true, then my change in libc/gen/tls.h has been significantly incomplete and the arch specific bits need to be implemented.

Nov 24 2017, 7:02 PM

Nov 19 2017

mizhka_gmail.com updated the diff for D13134: [mips32/tls] change TCB size from 8 to 16 to be aligned with r324938 & r325364.

I don't touch "Summary" because original patch is still good IMHO, but it breaks ABI.
This revision of patch is only kernel change and doesn't break ABI, i.e. buildkernel/installkernel is enough.

Nov 19 2017, 9:42 PM

Nov 17 2017

mizhka_gmail.com added a comment to D13134: [mips32/tls] change TCB size from 8 to 16 to be aligned with r324938 & r325364.

On kernel side, we calculate TLS size (td->td_md.md_tls_tcb_offset) in several places used by static & dynamic at same time. So if we roundup2 it, /sbin/init works, but /bin/sh fails.
As of now, I suppose that current fix is the only quick solution :\

Nov 17 2017, 7:27 PM
mizhka_gmail.com added a comment to D13134: [mips32/tls] change TCB size from 8 to 16 to be aligned with r324938 & r325364.

Is this needed at all after rS325364? We should now be respecting the alignment of the PT_TLS section. If the PT_TLS section isn't correctly aligned then fixing that is the right answer rather than trashing the ABI.

Nov 17 2017, 5:02 PM
mizhka_gmail.com added a comment to D13134: [mips32/tls] change TCB size from 8 to 16 to be aligned with r324938 & r325364.

Why not just nuke TLS_TCB_SIZE32?

Nov 17 2017, 4:36 PM
mizhka_gmail.com updated the summary of D13134: [mips32/tls] change TCB size from 8 to 16 to be aligned with r324938 & r325364.
Nov 17 2017, 4:15 PM
mizhka_gmail.com created D13134: [mips32/tls] change TCB size from 8 to 16 to be aligned with r324938 & r325364.
Nov 17 2017, 3:44 PM

Nov 9 2017

mizhka_gmail.com added inline comments to D12518: Implement MIPS and PCI(e) interrupt support..
Nov 9 2017, 10:43 PM

Oct 30 2017

mizhka_gmail.com accepted D12833: EPSON RTC-8583 support code on i2c bus.

Few cosmetic style issues...

Oct 30 2017, 1:16 PM

Oct 21 2017

mizhka_gmail.com added inline comments to D12737: [mips/broadcom] set sysctl "hw.model" by SoC ChipCommon ID.
Oct 21 2017, 9:21 PM · MIPS
mizhka_gmail.com added inline comments to D12737: [mips/broadcom] set sysctl "hw.model" by SoC ChipCommon ID.
Oct 21 2017, 7:27 PM · MIPS
mizhka_gmail.com added inline comments to D12736: i2c support for mediatek soc.
Oct 21 2017, 6:54 PM

Oct 20 2017

mizhka_gmail.com requested changes to D12736: i2c support for mediatek soc.
Oct 20 2017, 10:20 AM
mizhka_gmail.com created D12737: [mips/broadcom] set sysctl "hw.model" by SoC ChipCommon ID.
Oct 20 2017, 7:28 AM · MIPS

Oct 16 2017

mizhka_gmail.com accepted D12648: RT2880 pin control fix.
Oct 16 2017, 12:05 PM
mizhka_gmail.com accepted D12649: FDT support for RTL8366 on etherswitch framework.

All is fine, one improvement is possible (gpio_pins for non-fdt case).

Oct 16 2017, 12:05 PM

Jul 26 2017

mizhka_gmail.com updated the test plan for D11738: [libthr] revert change of visibility of _thread_keytable to unbreak debugger.
Jul 26 2017, 3:54 PM
mizhka_gmail.com updated the test plan for D11738: [libthr] revert change of visibility of _thread_keytable to unbreak debugger.
Jul 26 2017, 3:52 PM
mizhka_gmail.com created D11738: [libthr] revert change of visibility of _thread_keytable to unbreak debugger.
Jul 26 2017, 3:36 PM

Jun 5 2017

mizhka_gmail.com updated the diff for D11050: [bhnd] reduce size of chipc_slicer.
  • styles
Jun 5 2017, 12:51 AM
mizhka_gmail.com created D11050: [bhnd] reduce size of chipc_slicer.
Jun 5 2017, 12:31 AM

May 28 2017

mizhka_gmail.com accepted D10967: fixed for BCM4712 module.
May 28 2017, 11:28 AM
mizhka_gmail.com accepted D10740: add mdioproxy support and phy4 is cpu port support and refactoring.
May 28 2017, 11:27 AM
mizhka_gmail.com accepted D10967: fixed for BCM4712 module.
May 28 2017, 5:16 AM

May 2 2017

mizhka_gmail.com accepted D10563: clang compile error fix.
May 2 2017, 5:22 AM

May 1 2017

mizhka_gmail.com added inline comments to D10557: fixed hi load traffic bug.
May 1 2017, 8:45 PM

Apr 13 2017

mizhka_gmail.com accepted D10122: Add support for dumping bcma/siba EROM tables via a new BHND_EROM_DUMP() method..

NICE!!! :)

Apr 13 2017, 3:17 PM
mizhka_gmail.com accepted D10177: cfi mx flash patch.
Apr 13 2017, 3:16 PM
mizhka_gmail.com accepted D10295: fdt away and mii hang workaround on ip17x.
Apr 13 2017, 3:15 PM
mizhka_gmail.com accepted D10336: add rt2880 support with etherswitch ip17x driver.

Generally speaking, I'm happy with patch. The only thing I worry is CD9660 image (inspired by ZRouter) vs. UFS1 zipped image (inspired by freebsd-wifi-build). This patch is based on CD9660 and it can be committed, but in future it will be nice to support both image types.

Apr 13 2017, 3:14 PM
mizhka_gmail.com accepted D8802: no hardcode tagging port setting at amd6996fc.
Apr 13 2017, 3:07 PM
mizhka_gmail.com accepted D10278: create man page for etherswitch driver.
Apr 13 2017, 3:07 PM

Mar 26 2017

mizhka_gmail.com accepted D10144: add mv88e6065 support.
Mar 26 2017, 11:22 AM

Feb 27 2017

mizhka_gmail.com accepted D9784: gpiopps support patch.

@sgalabov , could you please have a look? Thanks!

Feb 27 2017, 8:36 PM

Feb 10 2017

mizhka_gmail.com accepted D9499: Move bhnd_nexus driver out into sys/mips/broadcom to support MIPS-specific behavior..

Of course I like it. More broadcom features. I hope to see ARM BHND support in future :) I'll cross fingers before start rebase

Feb 10 2017, 12:09 PM

Feb 9 2017

mizhka_gmail.com accepted D9503: Add I2C device hints for Onion Omega.
Feb 9 2017, 7:46 AM

Jan 23 2017

mizhka_gmail.com accepted D9301: add GDMA1 Frames Destination Port to Port 0 CPU setting.
Jan 23 2017, 7:02 AM

Jan 20 2017

mizhka_gmail.com accepted D9255: add etherswitch files.
Jan 20 2017, 1:19 PM
mizhka_gmail.com retitled D9254: [gpioths] add kernel modules and correct few issues from to [gpioths] add kernel modules and correct few issues.
Jan 20 2017, 6:27 AM

Jan 14 2017

mizhka_gmail.com added a reviewer for D9185: Add driver for temperature/humidity sensor DHT11 to expose data via sysctl: gonzo.
Jan 14 2017, 10:28 PM
mizhka_gmail.com retitled D9185: Add driver for temperature/humidity sensor DHT11 to expose data via sysctl from to Add driver for temperature/humidity sensor DHT11 to expose data via sysctl.
Jan 14 2017, 10:27 PM
mizhka_gmail.com accepted D8790: Support Micrel KSZ8995MA switch chip on Etherswitch..
Jan 14 2017, 10:12 PM

Jan 9 2017

mizhka_gmail.com retitled D9107: [ONIONOMEGA] missing hints of wifi/gpio/leds from to [ONIONOMEGA] missing hints of wifi/gpio/leds.
Jan 9 2017, 7:51 PM

Dec 15 2016

mizhka_gmail.com added a comment to D8749: Delete gpio flags because of not support device. This is same as gpioiic. Add spi clock low delay. Reformat message. ar5315_spi.c spibus minor number fix..

Why delete my added gpio_delay() in gpiospi.c ? My KSZ8995MA code don't work no gpio_delay() on my target. I think current code clock is wrong.

Dec 15 2016, 7:05 AM

Dec 14 2016

mizhka_gmail.com retitled D8795: [spibus] small code refactoring from to [spibus] small code refactoring.
Dec 14 2016, 2:32 PM
mizhka_gmail.com added a reviewer for D8790: Support Micrel KSZ8995MA switch chip on Etherswitch.: ray.
Dec 14 2016, 10:03 AM

Dec 12 2016

mizhka_gmail.com accepted D8749: Delete gpio flags because of not support device. This is same as gpioiic. Add spi clock low delay. Reformat message. ar5315_spi.c spibus minor number fix..

Thanks for your contribution!

Dec 12 2016, 6:48 AM

Nov 26 2016

mizhka_gmail.com accepted D8645: bhnd: Unify NVRAM/SPROM parsing, implement compact SPROM layout encoding.
Nov 26 2016, 5:02 PM

Nov 22 2016

mizhka_gmail.com accepted D7238: Add support Ralink RT1310 soc.

Thank you, Hiroki-san!

Nov 22 2016, 8:22 AM

Nov 20 2016

mizhka_gmail.com accepted D8584: add ukswitch hint that is phy offset at mdio register..
Nov 20 2016, 5:52 AM

Nov 18 2016

mizhka_gmail.com accepted D8557: Cleanup and not depend RedBoot initalize. Compatible non INTRNG build..
Nov 18 2016, 9:07 AM

Nov 17 2016

mizhka_gmail.com updated subscribers of rS308744: [etherswitch] add infineon adm6996fc support on etherswitch.

@yamori813_yahoo.co.jp , could you please test this commit? It's slightly different from your version, I've checked compilation and i want to be sure that nothing from functional part is broken. Thanks in advance

Nov 17 2016, 7:44 AM
mizhka_gmail.com accepted D8495: add infineon adm6996fc support on etherswitch.
Nov 17 2016, 7:31 AM

Nov 16 2016

mizhka_gmail.com updated the diff for D7775: [BCMA/MIPS74k] IRQ-to-Core discovery via MIPS core mapping.

Rebased to -HEAD

Nov 16 2016, 7:37 AM
mizhka_gmail.com abandoned D6988: [BHND] (fix-regression) reboot doesn't work: PMU watchdog must be triggered on shutdown.

Closed

Nov 16 2016, 7:13 AM
mizhka_gmail.com abandoned D6880: [BHND] Change default implementation of bhnd_bus_get_chipid from NULL to GENERIC.

Abandon this revision. need to find more flexible way

Nov 16 2016, 7:12 AM

Nov 15 2016

mizhka_gmail.com added a comment to D8344: add marvell 88e6060 support on etherswitch.

I'm happy with his going into the tree as-is. We can always unify these drivers more later.

Would someone mind please committing this to -head?

Nov 15 2016, 9:39 PM
mizhka_gmail.com added a comment to D8344: add marvell 88e6060 support on etherswitch.

@yamori813_yahoo.co.jp , do you have plan to merge it with e6000sw or add VLAN support?

Nov 15 2016, 5:25 PM
mizhka_gmail.com accepted D6832: enable phy4 and mac4.
Nov 15 2016, 4:56 PM
mizhka_gmail.com added a comment to D6832: enable phy4 and mac4.

(?) I wonder what is tested KERNCONF :)
(?) any documentation source?
(+) Patch is fine against -HEAD

Nov 15 2016, 4:56 PM
mizhka_gmail.com accepted D6796: Add RTL8366SR support at etherswitch driver.

(*) Small improvements are welcome (@ray, @adrian comments)
(+) Patch is fine against current -HEAD
(+) Build has been compiled via freebsd-wifi-build/tl-wr1043nd

Nov 15 2016, 4:29 PM

Nov 14 2016

mizhka_gmail.com retitled D8516: [MIPS] Fix Config3[ULRI] printing from to [MIPS] Fix Config3[ULRI] printing.
Nov 14 2016, 9:50 PM
mizhka_gmail.com updated the diff for D8514: [MIPS] Print Config7 on boot for several MIPS architectures.
Nov 14 2016, 9:31 PM
mizhka_gmail.com added inline comments to D8514: [MIPS] Print Config7 on boot for several MIPS architectures.
Nov 14 2016, 8:21 PM
mizhka_gmail.com retitled D8514: [MIPS] Print Config7 on boot for several MIPS architectures from to [MIPS] Print Config7 on boot for several MIPS architectures.
Nov 14 2016, 8:13 PM

Nov 11 2016

mizhka_gmail.com added a comment to D8495: add infineon adm6996fc support on etherswitch.
  1. I see some "magic" constants. May be worth to add macros.
  2. DPRINTF usage: it prints function name on each call, is it useful/enough useful?
  3. "style(9)": ADM6996FC_READREG/WRITEREG - to be tab instead of space
  4. No checks on malloc results, may be NULL.
  5. Probe: can you add array of IDs to match. In future it will be easy to add IDs into array to bring support of another models.
Nov 11 2016, 5:20 AM

Nov 10 2016

mizhka_gmail.com accepted D8344: add marvell 88e6060 support on etherswitch.
Nov 10 2016, 5:04 AM
mizhka_gmail.com resigned from D8344: add marvell 88e6060 support on etherswitch.
Nov 10 2016, 5:04 AM

Nov 9 2016

mizhka_gmail.com added a comment to D8344: add marvell 88e6060 support on etherswitch.

Hi @adrian, @loos. Is there any way to make automatic check diff against style(9)?

Nov 9 2016, 7:35 AM
mizhka_gmail.com accepted D8344: add marvell 88e6060 support on etherswitch.
Nov 9 2016, 7:23 AM

Nov 2 2016

mizhka_gmail.com added inline comments to D8344: add marvell 88e6060 support on etherswitch.
Nov 2 2016, 4:39 PM

Sep 18 2016

mizhka_gmail.com accepted D7791: Split bcm_mipscore.c into bcm_mips (BMIPS32/BMIPS3300) and bcm_mips74k drivers..

Please ship it!

Sep 18 2016, 8:48 PM