Lucid Patch Review

Stefan Bader stefan.bader at canonical.com
Thu Nov 26 11:11:35 UTC 2009


Andy Whitcroft wrote:
> Below is our review of the patches we are carrying in Lucid as of
> 2.6.32-4.5.  They are split into some logical sections, those we are
> clearly keeping, those which clearly should be dropped, and those which
> require further study.  For the latter we are looking to those who remember
> the patches to chime in as appropriate.  If you have comments please do
> so on this thread.  We will likely start the process of dropping patches
> shortly.
> 
> The following patches are our own patches which we are not pushing
> upstream and we expect to continue to carry:
> 
>     0002-UBUNTU-SAUCE-no-up-Enable-ubuntu-extra-subdirectory.patch
>     0003-UBUNTU-SAUCE-no-up-ports-Build-drivers-in-ubuntu-sub.patch
> 	ubuntu directory handling
> 
>     0042-UBUNTU-SAUCE-pm-Config-option-to-disable-handling-of.patch
> 	allows us to control the console powermanagement
> 
>     0051-UBUNTU-SAUCE-no-up-Modularize-vesafb.patch
> 	makes vesafb modularlisable
> 
>     0054-UBUNTU-SAUCE-no-up-version-Implement-version_signatu.patch
> 	adds /proc/version_signature
> 
>     0064-UBUNTU-SAUCE-libata-Ignore-HPA-by-default.patch
>     0065-UBUNTU-SAUCE-hostap-Change-initial-operation-mode-to.patch
>     0067-UBUNTU-SAUCE-nbd-Change-default-partitions-per-devic.patch
> 	patches to implement modules.conf parameter changes
> 
>     0074-UBUNTU-SAUCE-disable-adding-scsi-headers-to-linux-li.patch
> 	packaging changes
> 
>     0116-UBUNTU-SAUCE-Raise-the-default-console-quiet-level-t.patch
> 	quieten the console output before X starts
> 
>     0059-UBUNTU-SAUCE-toshiba_acpi-pull-in-current-dev-versio.patch
>     0060-UBUNTU-SAUCE-toshiba_acpi-add-acpi-hotkey-kernel-thr.patch
> 	updated toshiba_acpi driver (will review under the drivers review)
> 
>     0072-UBUNTU-SAUCE-x86-implement-cs-limit-nx-emulation-for.patch
>     0133-UBUNTU-SAUCE-x86-fix-report-of-cs-limit-nx-emulation.patch
>     0154-UBUNTU-SAUCE-Fix-nx_enable-reporting.patch
> 	nx support from Kees Cook <kees at ubuntu.com>
> 	
>     0076-UBUNTU-SAUCE-trace-add-trace_event-for-the-open-sysc.patch
>     0144-Revert-UBUNTU-SAUCE-trace-add-trace_event-for-the-op.patch
>     0145-UBUNTU-SAUCE-trace-add-trace-events-for-open-exec-an.patch
> 	ureadahead tracing from Scott James Remnant <scott at ubuntu.com>
> 
> 
> The patches below all either are now upstream in some form or clearly
> no longer needed.  These will be dropped:
> 
>     0034-UBUNTU-SAUCE-Lower-warning-level-of-some-PCI-message.patch
> 	we are already dropping the default output level so this is
> 	not needed
> 
>     0040-UBUNTU-SAUCE-tulip-Define-ULI-PCI-ID-s.patch
> 	this is already upstream in another form
> 
>     0047-UBUNTU-SAUCE-Correctly-blacklist-Thinkpad-r40e-in-AC.patch
> 	this appears to have gone upstream and then been removed once
> 	it was fixed, this patch is also has been dammaged around the
> 	karmic rebase and includes some code it should not for the
> 	Medion 41700
> 
>     0050-UBUNTU-Add-Dell-Dimension-9200-reboot-quirk.patch
> 	this is already upstream
> 
>     0053-mac80211-fix-two-issues-in-debugfs.patch
> 	this claims to be fixed in 2.6.27
> 
>     0056-UBUNTU-SAUCE-Dell-laptop-digital-mic-does-not-work-P.patch
>     0057-UBUNTU-SAUCE-Enable-HDMI-audio-codec-on-Studio-XPS-1.patch
> 	these are backport of an upstream fix and should be not required
> 
>     0061-UBUNTU-SAUCE-LPIA-Reboot-fix-for-Intel-Crownbeach-de.patch
>     0062-UBUNTU-SAUCE-LPIA-Logical-reset-of-USB-port-on-resum.patch
> 	both lpia specific and therefore no longer enabled
> 
>     0063-UBUNTU-SAUCE-Link-acpi-cpufreq.o-first.patch
> 	this is already linked first, and indeed the patch adds only a
> 	blank line
> 
>     0068-UBUNTU-SAUCE-Dell-XPS710-reboot-quirk.patch
> 	this is already upstream in another form
> 
>     0075-UBUNTU-SAUCE-default-ATI-Radeon-KMS-to-off-until-use.patch
> 	we now want to enable Radeon by default
> 
> The next block all appear to be upstream material and should be pushed
> upstream, I include the owners to make this easier:
> 
>     0029-UBUNTU-SAUCE-PATCH-Add-extra-headers-to-linux-libc-d.patch
>     0035-UBUNTU-SAUCE-Catch-nonsense-keycodes-and-silently-ig.patch
>     0048-UBUNTU-SAUCE-Enable-an-e1000e-Intel-Corporation-8256.patch
>     0070-UBUNTU-Sony-laptop-Some-Sony-Vaia-laptops-do-not-ena.patch
>     0110-UBUNTU-SAUCE-Created-MODULE_EXPORT-MODULE_IMPORT-mac.patch
>     0111-UBUNTU-SAUCE-Use-MODULE_IMPORT-macro-to-tie-intel_ag.patch
>     0113-UBUNTU-SAUCE-Fix-MODULE_IMPORT-MODULE_EXPORT.patch
> 	Tim Gardner <tim.gardner at canonical.com>
> 
>     0031-UBUNTU-SAUCE-ata-blacklist-FUJITSU-MHW2160BH-PL.patch
> 	Chuck Short <zulcss at ubuntu.com>
> 
>     0033-UBUNTU-SAUCE-Enable-speedstep-for-sonoma-processors.patch
>     0083-UBUNTU-SAUCE-wireless-hostap-fix-oops-due-to-early-p.patch
> 	Colin Ian King <colin.king at canonical.com>
> 
>     0044-UBUNTU-SAUCE-drivers-Remove-some-duplicate-device-en.patch
> 	Ben Collins <ben.collins at canonical.com>
> 
>     0049-UBUNTU-SAUCE-Adds-support-for-COMPAL-JHL90-webcam.patch
> 	Amit Kucheria <amit.kucheria at ubuntu.com>
> 
>     0058-UBUNTU-Fix-webcam-having-USB-ID-0ac8-303b.patch
> 	Jani Monoses <jani at ubuntu.com>
> 
>     0084-UBUNTU-SAUCE-ipw2200-Enable-LED-by-default.patch
> 	ubuntu at tjworld.net <ubuntu at tjworld.net>
> 
>     0085-UBUNTU-SAUCE-Added-quirk-to-recognize-GE0301-3G-mode.patch
> 	Manoj Iyer <manoj.iyer at canonical.com>
> 
>     0069-UBUNTU-SAUCE-hotkey-quirks-for-various-Zeptro-Znote-.patch
>     0156-UBUNTU-Upstream-add-local-prefix-to-oss-local-change.patch
> 	Andy Whitcroft <apw at canonical.com>
> 
> The remainder need more review, for each I point out the original
> submitter in the hope they can help us understand whether these patches
> are still needed:
> 
>     0030-UBUNTU-SAUCE-make-fc-transport-removal-of-target-con.patch
> 	Amit Kucheria <amit.kucheria at ubuntu.com>
> 	This patch was highly resisted upstream and is now very old
> 	indeed, it is entirly possible this is now fixed some other way.
> 

>     0032-UBUNTU-SAUCE-Restore-VT-fonts-on-switch.patch
> 	Stefan Bader <stefan.bader at canonical.com>
> 	Again this is very old, do we still have issues here?  I suspect
> 	with KMS in the mix it is no longer required.

Originally from Matthew Garret, so we might ask him. But I actually think I
saw code in the vga console driver that saves and restores fonts, so I guess
we should drop it and see what happens.

> 
>     0036-UBUNTU-SAUCE-input-mouse-alps-Do-not-call-psmouse_re.patch
> 	Ben Collins <bcollins at ubuntu.com>
> 	This one stops us reseting alps mice on resume.  Again pretty
> 	anchient, I would like to drop it to see if things break these
> 	days.
> 
>     0037-UBUNTU-SAUCE-Guest-OS-does-not-recognize-a-lun-with-.patch
> 	Tim Gardner <tim.gardner at canonical.com>
> 	This I think is only required with very old vmware?  Is it still
> 	required?
> 
>     0038-UBUNTU-SAUCE-r8169-disable-TSO-by-default-for-RTL811.patch
> 	Phillip Lougher <phillip at ubuntu.com>
> 	This claims to be a temporary work around for a problem, added
> 	in Jun 2007.  Is it still needed.
> 
>     0039-UBUNTU-SAUCE-tulip-Let-dmfe-handle-davicom-on-non-sp.patch
> 	Ben Collins <bcollins at ubuntu.com>
> 	This appears to pass some devices off to another driver.  The tulip
> 	driver doess seem to handle handing them off another way, though
> 	its not clear its all devices or not.  Is this still needed.
> 
>     0041-UBUNTU-SAUCE-hostap-send-events-on-data-interface-as.patch
> 	Matthew Garrett <mjg59 at srcf.ucam.org>
> 	This duplicates packates on both sides of the hostap interface.
> 	Seem incomplete following driver changes, and I think it was to
> 	work round broken userspace.  Is this still needed.
> 
>     0045-UBUNTU-SAUCE-fix-kernel-oops-in-VirtualBox-during-pa.patch
> 	Colin Ian King <colin.king at canonical.com>
> 	Its not clear that this additional locking is still needed.
> 	Need to test without this patch.
> 
>     0046-Revert-Bluetooth-Eliminate-checks-for-impossible-con.patch
> 	Colin Ian King <colin.king at canonical.com>
> 	This looks safe enough but do we really need it any more?
> 
>     0071-UBUNTU-SAUCE-Add-MODULE_ALIAS-for-Dell-WMI-module.patch
> 	Tim Gardner <tim.gardner at canonical.com>
> 	This is waiting for a more correct upstream fix.  Has that
> 	appeared?
> 

>     0073-UBUNTU-Upstream-mmc-prevent-dangling-block-device-fr.patch
> 	Stefan Bader <stefan.bader at canonical.com>
> 	This is waiting for a more correct upstream fix.  Has that
> 	appeared?

No, though the code around it might have changed. I need to have a look
at the current code to see. And then probably should poke the maintainer
again (depending on the outcome). It might be possible that the corruption
could go away depending on the timing. If the drive can successfully be thrown
away before the suspend is complete it is ok. Alternative might be to set the
option to keep the drive active and check the mmc id on resume. The code is there
but tagged as dangerous.

>     0077-UBUNTU-SAUCE-Add-config-option-to-set-a-default-LSM.patch
> 	John Johansen <john.johansen at canonical.com>
> 	This I believe has hit upstream security tree and likely to
> 	appear in 2.6.33.
> 
>     0079-UBUNTU-Upstream-PATCH-dell-laptop-Fix-rfkill-state-q.patch
> 	Matthew Garrett <mjg at redhat.com>
> 
>     0080-UBUNTU-Upstream-drop-after-2.6.31-dell-laptop-don-t-.patch
>     0081-UBUNTU-Upstream-drop-after-2.6.31-compal-laptop-Add-.patch
>     0082-UBUNTU-Upstream-drop-after-2.6.31-compal-laptop-Repl.patch
>     0114-UBUNTU-SAUCE-drop-after-2.6.31-input-Add-support-for.patch
>     0115-UBUNTU-SAUCE-drop-after-2.6.31-dell-laptop-Trigger-r.patch
>     0129-UBUNTU-SAUCE-dell-laptop-Store-the-HW-switch-status-.patch
>     0130-UBUNTU-SAUCE-dell-laptop-Blacklist-machines-not-supp.patch
> 	Mario Limonciello <Mario_Limonciello at Dell.com>
> 	This lot seem to be dell related updates which claim to be
> 	on their way upstream.  Mario are they there yet?
> 
>     0091-UBUNTU-staging-android-disable.patch
>     0094-UBUNTU-staging-comdi-disable.patch
>     0095-UBUNTU-staging-go7007-disable.patch
> 	Andy Whitcroft <apw at canonical.com>
> 	All broken drivers currently.
> 

>     0119-UBUNTU-Upstream-acerhdf-Limit-modalias-matching-to-s.patch
> 	Stefan Bader <stefan.bader at canonical.com>
> 	This is waiting for a more correct upstream fix.  Has that
> 	appeared?

No, I got the ack from the author of the driver, but we both fight with the
acpi maintainers blindfold to certain submits (it seems). I resend several
times with no reaction. last try went to mm on cc.
 
> -apw
> 





More information about the kernel-team mailing list