Commit Graph
100 Commits
Author SHA1 Message Date
Alexander von Gluck IV acdfec1189 x86/irq_routing: Improve trace information 2017-03-19 16:29:11 -05:00
Alexander von Gluck IV d78cf60aca acpica: Return semaphores to glorious signed integers
* Reintroduce change in last 2016 acpica upgrade
* Our semaphores are int's. This is the only change needed
  to the acpica source code to get it to function under
  Haiku.
* We could also disable this int-conversion warning,
  however lets go with the "more correct" behaviour in
  something that pretty much controls how our kernel finds
  PCI devices, CPU's, etc :-|
2017-03-18 23:41:54 -05:00
Alexander von Gluck IV 0bc647d605 acpica: Upgrade to 20170303
Notable changes since 20160729:
  * Will be dual licensed going forward. We choose the Intel License.
  * Fixed two issues with auto-repair double-delete an internal object
  * New hook for sleep support (AcpiOsEnterSleep)
  * Fixed a regression introduced in 20160729, "FADT support cleanup"
    around early 64-bit address support.
  * Fixed a problem where runtime implicit conversion was
    incorrectly disabled for the ASL operators below. This brings the
    behavior into compliance with the ACPI specification:
    FromBCD,ToBCD,ToDecimalString,ToHexString,ToInteger,ToBuffer
  * Fixed a regression in the internal AcpiTbFindTable function where
    a non AE_OK exception could inadvertently be returned even if the
    function did not fail. This problem affects the following operators:
    DataTableRegion,LoadTable
2017-03-18 23:16:13 -05:00
Alexander von Gluck IV 8cc5325ad5 agg: Pull in updated scanline + basics header from 2.4
* Resolves #13382
2017-03-18 18:59:30 -05:00
Alexander von Gluck IV 63863c9849 cpu_type.h: Fix missing ;, sorry for spam 2017-03-12 15:11:02 -05:00
Alexander von Gluck IV 54066ddbb7 OS.h: Add AMD Ryzen CPU name identification.
* Update cpuidtool.c to new post-smp rework name
  calculation
2017-03-12 14:46:02 -05:00
Alexander von Gluck IV b3a29dbdb2 xhci: Ensure trb3 is correct endian 2017-02-24 10:58:42 -06:00
Alexander von Gluck IV 85f64f9049 sysinfo: Refactor CPU feature flag display
* Remove duplicated code
* Add new feature flag field introduced with Ryzen
* Add a few missing Intel cache descriptors
* Don't show 80000007 on Intel. Reserved.
* Clean up language to not show "AMD" flags on Intel
2017-02-23 17:47:25 +00:00
Alexander von Gluck IV deb1a31972 Revert "configure: Add host as valid build target in help."
This hack is no longer needed.

This reverts commit ea74aafd98.
2017-02-17 13:12:51 -06:00
Alexander von Gluck IV 2be19c58e9 build: Prevent recursive jam loops on host-only #13309
* When --host-only is used, HAIKU_*ARCH is undefined.
* Various architecture variables are undefined resulting
  in architecture dependant code paths getting called
  recursively.
  (blah/Jamfile loads blah//Jamfile vs blah/x86/Jamfile)
* Another option is setting HAIKU_*ARCH to the host arch
  if undefined, but that might have unintended impacts.
2017-02-17 13:01:31 -06:00
Alexander von Gluck IV db1dfaf891 Revert "Add SoftwareUpdater to regular image"
This reverts commit 19d8d9fa39.
2016-12-21 13:16:26 -06:00
Alexander von Gluck IV 015754479e softwareupdater: Start filling in package kit code 2016-12-12 20:52:46 +00:00
Alexander von Gluck IV 1e8a560196 SoftwareUpdater: Handle message events, Exit on cancel press. 2016-12-11 10:19:06 -06:00
Alexander von Gluck IV b4ad45f630 SoftwareUpdater: Align to our style guidelines 2016-12-09 00:35:30 +00:00
Alexander von Gluck IV 8789541f9c SoftwareUpdater: Add some glue to buttons to slide them over 2016-12-09 00:26:09 +00:00
Alexander von Gluck IV 8ee9900d37 SoftwareUpdater: Change text based on number of updates avail 2016-12-09 00:13:36 +00:00
Alexander von Gluck IV 2f5a0addde SoftwareUpdater: Add some details on what's available
* Just example text for now to be filled in with
  data from our package kit.
2016-12-08 23:38:27 +00:00
Alexander von Gluck IV c5867c77cc SoftwareUpdater: Add a fancy looking stripe view 2016-12-08 23:22:39 +00:00
Alexander von Gluck IV f7d9c0110d SoftwareUpdater: Initial work on a GUI software updater
* Planning on having a notification box when updates
  available.
* Clicking the notification box will pop up the
  SoftwareUpdater with a simple "Apply Updates" button
* Currently users need to know to 'pkgman update'
2016-12-08 18:43:39 +00:00
Alexander von Gluck IV a2b2f4d642 repo rework: Re-add compatibility url field
* We saw 3rd party repos break as well oddly.
* Reintroduces the url field in a little bit cleaner
  way.
* Should solve "Failed to open repository file" errors
* Once everyone updates beyond hrev50723 this is
  no longer needed.
2016-12-08 07:57:47 -06:00
Alexander von Gluck IV 602076ef82 repo rework: Remove stubs; Breaks repo compat.
* These stubbs satisfied older Haiku releases that
  required the URL
* Users running nightly images will need to upgrade
  to hrev50723 - hrev50744 before upgrading further
* Getting this out of the way now before the beta
  comes out.
* New installations shouldn't suffer any problems.
2016-12-07 21:27:56 -06:00
Alexander von Gluck IV 5ffaf72c8a repo rework: Remove need for repos to be self-aware
* See #12917 for details.
* Squashed to one commit to make revert easy if we
  run into any issues.
* pkgman is now pre-attached to the 'current' repo
  version within nightly images so they can be updated
  by default.
* This shouldn't impact us keeping older sets of package
  versions by commit hash for building older hrevs.
* There are XXX stubs with "Kill me". These will need
  to be dropped after users are given sufficent time to
  upgrade. We're dropping a previously required field (url)
  so making this a slowish roll out.
* Makes the repos a lot less restrictive which should
  help PM package building automation be a bit easier.
* Once this stuff smooths out, we'll add UUID's to the
  repo definitions for duplicate repo detection.
2016-12-02 00:41:06 -06:00
Alexander von Gluck IV 738ca0a3a3 build: Change anyboot output from image to iso
* Re ML discussions, this should make a lot more
  sense to users as it is inline with what most
  linux distros ship.
* This will require a tweak to the buildbot.
* First step to shipping anyboot instead of plain iso.
2016-11-29 09:41:55 -06:00
Alexander von Gluck IV d676701752 Merge branch 'master' of ssh://git.haiku-os.org/haiku
Merge split commit between two repos. tcp stack comments
2016-11-24 19:32:38 -06:00
Alexander von Gluck IV 7dffccc308 tcp: Update comment to reflect we support window scaling
* No functional change
2016-11-24 19:31:05 -06:00
Alexander von Gluck IV c6bd5d1ea5 xhci: Use 64-bit pci addresses when requested
* My skylake requests 64-bit addressing.. so I think
  Intel might start leveraging this soon.
* Hopefully won't break any builds, might have to wrap
  that << 32 shift if phys_addr_t is 32-bits anywhere.
2016-11-02 10:08:05 -05:00
Alexander von Gluck IV 8950e6dc9a radeon_hd: Add missing HD 7570. Clean up some PCI names
* Should resolve #12977. There isn't much info in the
  wild about the HD 7570.
* Clean up naming of some cards per updated AMD pci
  naming table.
2016-10-30 08:39:57 -05:00
Alexander von Gluck IV 06bb9887b4 xhci: Check and report interface version
* We could also check to make sure it isn't 0xffff and
  bail if it is... not really a solution but helps
  prevent kdl's if our mapped memory is corrupted.
* That seems like more of a hack though, i'd like to
  solve the real problem.
2016-10-30 08:39:57 -05:00
Alexander von Gluck IV 59e331631f xhci: Trace eecp register before access, not after 2016-10-29 17:49:36 -05:00
Alexander von Gluck IV 273c3bc497 usb: Bump max USB_MAX_PORTS to 255
* Seems more common to have > 16 USB ports on xHCI
  hubs (18 on my XPS 13 root hub)
* This fixes 'hub supports more ports than we do' error
* The FreeBSD USB driver works a lot like ours and
  sets the maximum USB ports on a hub to 255
* Doesn't solve #12885 but fixes one of the errors
2016-10-27 12:43:54 -05:00
Alexander von Gluck IV f4f6b874bf arm: Use new firmware repo for u-boot 2016-10-20 21:45:34 -05:00
Alexander von Gluck IV b2bdabc797 arm: Add beaglebone target, rename beagle
* beaglebone vs beagleboard
* While the boards are almost the same, they have
  diff. FDT's now (more memory, different layout etc)
* Make u-boot script more rpi-like
  (depend on u-boot for initial addresses)
* Wasn't working, still doesn't.
2016-10-20 11:05:46 -05:00
Alexander von Gluck IV d068622c37 arm: Update Raspberry Pi 1/2 fdts from FreeBSD 2016-10-09 13:29:22 -05:00
Alexander von Gluck IV b3be20cada radeon_hd: Polaris hpd is still the same as DCE 11 2016-10-05 16:00:10 -05:00
Alexander von Gluck IV 1925e1deec radeon_hd: Add new dig v5 table minor code.
* Radeon RX 480 working over DisplayPort active dongle (!!)
2016-10-05 15:40:04 -05:00
Alexander von Gluck IV 25a087bc7c radeon_hd: AtomBIOS version bump. Encoder work.
* Now pulling in latest amdgpu atombios.h headers
* Lots of DisplayPort cleanup and removal of legacy stuff
* Add obsolete atombios header for things that disappear
  (amdgpu doesn't support older cards like we do)
* Introduce new code to support later encoder tables
* Drop radeon-specific encoder service from common dp_info
* Tested on HD 5450 hdmi
2016-10-05 13:54:24 -05:00
Alexander von Gluck IV 38f17b01ce radeon_hd: Polaris10 power distribution fix
* Helps prevent mainboard explosions and other bad stuff.
* ...maybe not explosions, but bad things.
* The RX 480 reference design can pull as much as 90W
  from its PCIe slot at load. PCIe is rated for 75W.
* This change overloads the PCIe power cables vs the PCIe
  slot. The PCIe power cables can handle going over spec.
* Untested since we really can't come close to loading a
  RX 480 without hardware OpenGL ^_^
* Should be able to test on real hardware within a week.
2016-09-28 15:46:14 -05:00
Alexander von Gluck IV 6c12ba4014 radeon_hd: Add RX 460. Rename 480 to include 470. 2016-09-27 16:17:50 -05:00
Alexander von Gluck IV bccc693277 BeDecorator: Reintroduce to image 2016-09-18 14:44:18 -05:00
Alexander von Gluck IV d60b3b1b98 BeDecorator: Fix build post S&T 2016-09-18 14:38:43 -05:00
Alexander von Gluck IV 95b6439eec intel_extreme: Implement Snb PCH FDI link training 2016-07-29 17:49:59 -05:00
Alexander von Gluck IV c0d4def4e4 intel_extreme: Implement Ilk PCH FDI link training
* IronLake tested and FDI says it trains successfully
* Still no LVDS video on Ilk
2016-07-29 16:04:40 -05:00
Alexander von Gluck IV a933bb4cbc intel_extreme: IronLake reference clock activation 2016-07-17 15:25:08 -05:00
Alexander von Gluck IV 49cabb0d5d intel_extreme: Fix regression from hrev50410; #12855 2016-07-12 10:04:50 -05:00
Alexander von Gluck IV 17ecf642b5 intel_extreme: LVDS pipe only *has* to be B when gen < 4 2016-07-11 21:49:00 -05:00
Alexander von Gluck IV 92e254d047 intel_extreme: Improve PCH detection
* Detect PCH model based on ISA bridge and save
  into shared info for later use.
* On CougarPoint PCH systems, assign pipes via
  special CPT registers
* Drop HasPlatformControlHub as PCH should be
  based on more than just generation.
2016-07-10 21:02:01 -05:00
Alexander von Gluck IV e52593c403 ahci: Disable tracing, make tracing more chatty
* AHCI has been shipping with tracing enabled which
  account for most of the chatty messages in #12634
* Instead of covering up a bunch of AHCI trace messages,
  lets disable tracing by default and make tracing more
  chatty overall.
* Tracing now should give you a ton of insight into
  whats going on to an obnoxious degree.  Disable tracing
  and things are silent (minus the nice link port speed)
2016-07-08 12:52:37 -05:00
Alexander von Gluck IV 4b99d297b5 mediaplayer/consumer: Fix 64-bit debug tracing 2016-07-05 22:38:37 -05:00
Alexander von Gluck IV 7d842421ab media/ffmpeg: Fix a few parentheses warnings; no change 2016-07-05 22:02:04 -05:00
Alexander von Gluck IV d1175e07f8 media/ffmpeg: Fix a few minor x86_64 warnings 2016-07-05 21:51:59 -05:00
Alexander von Gluck IV 9be1b5a16f ahci: Improve emulated SCSI vendor/model info
* Make some educated gusses on SCSI vendor/model
  information vs just blasting it across the fields.
* Should resolve a lot of the weird split SCSI vendor
  and model information of AHCI backed devices.
2016-07-04 15:05:39 -05:00
Alexander von Gluck IV 30d631c821 radeon_hd: Add new Polaris GPU, untested 2016-06-30 15:09:59 -05:00
Alexander von Gluck IV c9e6b4e096 jam: Extend wget wait
* I shrunk this down, but it seems like packages.haiku-os.org
  is taking an long time to access some packages (>10 sec)
* This should help relability of package downloads until
  someone checks out why connections take so long
2016-06-30 15:09:17 -05:00
Alexander von Gluck IV c8cfaef631 intel_extreme: Fix PLL calculation on g4x and later 2016-06-18 16:44:31 -05:00
Alexander von Gluck IV 699b2cbcf9 intel_extreme: Introduce PLL simulation mode
* Intel extreme PLL calculations are insane at times
* This code allows us to simulate PLL calculations on
  cards without the real hardware.
2016-06-18 11:49:42 -05:00
Alexander von Gluck IV f76e95bde1 h2debug: Drop reserved debug define 2016-06-03 22:47:11 -05:00
Alexander von Gluck IV 7017be48e8 Revert "h2generic: don't mess with DEBUG."
This reverts commit 63806897ef.
As discussed on the ML. Doesn't align to our normal debug practices
2016-06-03 21:55:01 -05:00
Alexander von Gluck IV a32e815673 intel_extreme: Shorten graphics family names 2016-05-11 12:35:50 -05:00
Alexander von Gluck IV 9407ab29c4 intel_extreme: Rework PLL calculation
* More like linux, improved G4x calculations
* Reduce un-needed pll limit complexity
* Improved pll limits on ports based on type
2016-05-11 12:34:51 -05:00
Alexander von Gluck IV 95e38537e0 intel_extreme: Tab cleanup; no functional change.
* It seems like the Atom editor has been injecting
  spaces in strange spots.
* Clean up spaces. Should help gcc6 as well.
* Sorry for the mess! Atom is on probation.
2016-05-09 16:36:25 -05:00
Alexander von Gluck IV 8fe5054828 intel_extreme: Extend DDI port probing to A-E
* The Linux code made this a bit hard to figure out via
  complex define functions, however there can be up to
  5 DDI ports (A-E)
2016-05-08 15:40:57 -05:00
Alexander von Gluck IV 9503c26b5d intel_gart: Add SkyLake bridge ID's to match accelerant 2016-04-28 21:10:20 -05:00
Alexander von Gluck IV 1b9ee9d382 intel_gart: Add Atom DMI bridge ID's to match accelerant 2016-04-28 20:49:37 -05:00
Alexander von Gluck IV dee0f365e1 intel_extreme: Improve LVDS panel detection robustness
* If older generation, check for mobile. If mobile GPU
  is found, make an assumption that a LVDS panel exists
  and attempt to leverage the vbios or VESA EDID.
2016-04-28 10:45:31 -05:00
Alexander von Gluck IV 42b7678198 netresolv: Fix build issues under Ubuntu 16.04 and OS X
* Either gcc or bison version changes are throwing a
  sign-compare Werror in the generateda irs nslexer.c
* This simply targets that Werror and disabled it in irs
2016-04-28 00:16:32 -05:00
Alexander von Gluck IV 00c9b19b31 intel_extrme: Add more Atom gpu PCI id's 2016-04-27 22:44:27 -05:00
Alexander von Gluck IV 3218cf3b36 ohci: Fix x86_64 usb tracing 2016-04-23 14:26:22 -05:00
Alexander von Gluck IV 78fc8fe7a0 xhci: 1.1 spec actually specifies 1023 maximum scratch pads.
* While my test XHCI machine only requested 36, the spec for 1.1
  actually states the controller can now "request up to 1023"
2016-04-23 13:03:43 -05:00
Alexander von Gluck IV cf9e522172 xhci: 1.1 spec bumped scratchpads to 36. Set to sane 48 max 2016-04-23 12:49:10 -05:00
Alexander von Gluck IV 1b6e91d3b9 xhci: Tab cleanup of hw defines. No functional change 2016-04-23 12:47:59 -05:00
Alexander von Gluck IV 23cd7065bd intel_extreme: Disable register dumps
* Could cause instability in rare cases.
2016-04-23 09:13:23 -05:00
Alexander von Gluck IV 8d1cb54aac intel_extreme: Add in some code for the lakes (unused) 2016-04-22 22:41:52 -05:00
Alexander von Gluck IV e54df51727 x86/kernel: Up kernel max page table to 16
* New Intel SkyLake seems to have 9 mapped ranges
  at boot.  It seems like this define has been creeping
  up for a while.
* Resolves the inital issue reported in #11377 on SkyLake
  as well. Bonefish mentioned it might need to be raised
  again... he had some good foresight there :-)
* I'm seeing the same no bootable partitions issue though
  via USB after this raise. (maybe a USB 3.1 thing?)
2016-04-22 19:05:19 -05:00
Alexander von Gluck IV abde6a01f8 bluetooth: Re-introduce to image
* Previous enablement broke gcc2 and hybrid builds
* gcc2 builds fixed and tested working now
* Fix Hybrid builds via missing MultiArch Jam
* Sorry for the noise, enjoy early Bluetooth support
2016-04-22 14:55:55 -05:00
Alexander von Gluck IV db706cb504 bluetooth_server: Fix fatal warning under gcc2 2016-04-22 14:48:05 -05:00
Alexander von Gluck IV e29ff32374 bluetooth_server: Fix multi-arch build 2016-04-22 14:32:51 -05:00
Alexander von Gluck IV 52da2024d0 Revert "bluetooth: Add kit, server, and preflet to image"
This reverts commit d16a0a9fc2.
2016-04-19 22:28:16 -05:00
Alexander von Gluck IV f0f01d2a89 bluetooth: Fix preferences build? Works here (again) 2016-04-17 15:07:41 -05:00
Alexander von Gluck IV d16a0a9fc2 bluetooth: Add kit, server, and preflet to image
* Server not started until requested (via preflet) for now.
2016-04-17 13:39:16 -05:00
Alexander von Gluck IV 30f6fed181 bluetooth: Fix preferences build 2016-04-17 13:38:04 -05:00
Alexander von Gluck IV 3b0f09dbfd intel_extreme: Fix blurry native LVDS mode
* Intel panel scaling was making native mode blury
* Resolutions < native result in a non-scaled screen for now.
* We should look into using the hardware scaler vs
  doing fake scaling.
* Resolves #12716
2016-04-15 18:05:04 -05:00
Alexander von Gluck IV 0421aa8cbe bluetooth: Add h2generic driver to image 2016-04-10 11:28:42 -05:00
Alexander von Gluck IV ca7e8e5b20 bluetooth: Add kernel stack to image 2016-04-10 11:18:57 -05:00
Alexander von Gluck IV e91079d501 bluetooth/server: Don't show blackboard on start 2016-04-10 09:27:44 -05:00
Alexander von Gluck IV 94215f0da3 bluetooth: Give server a simpler tray icon 2016-04-10 08:53:00 -05:00
Alexander von Gluck IV 05e1165520 h2generic: Stop using btDebug + style fixes 2016-04-10 01:01:07 -05:00
Alexander von Gluck IV c58e1d7feb l2cap: Fix x86_64 build and refactor trace 2016-04-10 00:49:32 -05:00
Alexander von Gluck IV e1e291b063 bluetooth: Drop vanity trace colors 2016-04-10 00:49:31 -05:00
Alexander von Gluck IV 1f2fa6cd09 bluetooth: Refactor debugging and trace calls
* The old debug system was too complex and made
  troubleshooring difficult. (it also was unique
  like a snowflake... which we don't want)
* Move to the classic TRACE / ERROR a large majority
  of the code has changed to.
* I like trace statements, but drop some obvious ones
* Fix style issues along the way
2016-04-09 23:40:54 -05:00
Alexander von Gluck IV a4a85baea1 bluetooth/preflet: Fix x86_64 build 2016-04-09 21:43:53 -05:00
Alexander von Gluck IV 837845c53d bluetooth/hci: Add missing api_version 2016-04-09 21:35:55 -05:00
Alexander von Gluck IV ebffd5b138 bluetooth/btCoreData: Add missing api_version 2016-04-09 21:34:29 -05:00
Alexander von Gluck IV 13afb4fb37 bluetooth/hci: x86_64 build fixes 2016-04-09 21:19:16 -05:00
Alexander von Gluck IV 73e3d8d20c bluetooth/btCoreData: x86_64 build fixes 2016-04-09 21:09:19 -05:00
Alexander von Gluck IV f29863944e h2generic: Fix x86_64 build 2016-04-09 20:57:34 -05:00
Alexander von Gluck IV b4a9d9a6d6 bluetooth: Fix x86_64 build of server 2016-04-09 20:25:33 -05:00
Alexander von Gluck IV 5bb75b4464 bluetooth: Quick style cleanup. No functional change 2016-04-09 19:29:05 -05:00
Alexander von Gluck IV 03b9db1a1a Merge branch 'intel-extreme'
Rework of the intel-extreme driver. Don't expect anything special yet.
2016-04-09 14:12:52 -05:00
Alexander von Gluck IV debb71f548 intel_extreme: Disable 'experimental' GPUs SNB or higher
* VESA under Intel GPU's is generally native resolution
* These never worked well pre-rewrite, so lets disable
  them for now.
* I'd like testers to enable them slowly and report
  problems as enhancements.
2016-04-09 14:08:27 -05:00
Alexander von Gluck IV 10f2e843a6 intel_extreme: Power up DDI 2016-04-09 14:02:09 -05:00